>I don't think it's a problem with starting Xfbdev, it's a problem with the
>kernel. Just try to hardcode the "PutColours" function to directly access
>your Hardware and it might work.
>

If it were the kernel.... why does microwindows framebuffer works ok? The 
only thing that it is different (between microwindows and Xfbdev) is that X 
runs in another console, microwindows runs in the same console from where it 
is started...... maybe what I'm saying is totally stupid, but...... but.....

Anyway, I'll try it. So, please correct me if I'm wrong, the idea is:

In fbdevPutColors, where it says:

    cmap.start = min;
    cmap.len = max - min + 1;
    cmap.red = &priv->red[min];
    cmap.green = &priv->green[min];
    cmap.blue = &priv->blue[min];
    cmap.transp = 0;
    ioctl (priv->fd, FBIOPUTCMAP, &cmap);

change it with some code to directly access the video chip color palette???

Thanks for the tip ref. PS2. You're right. So.... hands on a driver! Of 
course.... when colors gets working..... arrrrrgggggg!!!!!!!!

Saludos,

Carlos.

>From: Christian Berger <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: Re: [Xpert]kdrive
>Date: Thu, 1 Aug 2002 23:10:00 +0200
>
>Am Donnerstag, 1. August 2002 22:40 schrieben Sie:
> > nop, I don't have touchscreen. I'm still using a PS/2 mouse and
> > keyboard.
> >
> > As soon as I can have the ^!&@#&*!$#! colormap working,
>
>Ever tried to "hardcode" the function setting your palette for your
>graphics chip. This shouldn't be to hard, usually just accessing a few
>ports.
>
> > I'll work on a
> > custom keyboard. I'm still wondering what will be better... do a driver
> > to emulate a PS2 keyboard, or do a hardware to generate PS2 signals....
>
>Hardware PS2 might take considerably more electrical power.
>
> > But now I'm concerned with the colors..... did it work in your system?
> > How are you starting Xfbdev?
>
>I don't think it's a problem with starting Xfbdev, it's a problem with the
>kernel. Just try to hardcode the "PutColours" function to directly access
>your Hardware and it might work.
>
> > From: Sharad Gupta <[EMAIL PROTECTED]>
> >
> > >To: Carlos Dri <[EMAIL PROTECTED]>
> > >Subject: Re: [Xpert]kdrive
> > >Date: Thu, 01 Aug 2002 15:51:28 -0400
> > >
> > >thanks,
> > >
> > >it worked for me too ...
> > >
> > >have you been able to get the touchscreen support working for your
> > > hardware ?
> > >
> > >thanks once again
> > >Sharad.
> > >
> > >----- Original Message -----
> >
> > From: "Carlos Dri" <[EMAIL PROTECTED]>
> >
> > >To: <[EMAIL PROTECTED]>
> > >Sent: Thursday, August 01, 2002 2:06 PM
> > >Subject: Re: [Xpert]kdrive
> > >
> > > > you have to modify cross.def, look for:
> > > >
> > > > #define ServerXdmcpDefines
> > > >
> > > > take it out, and that's all. It worked for me...
> > > >
> > > > >From: Sharad Gupta <[EMAIL PROTECTED]>
> > > > >To: [EMAIL PROTECTED]
> > > > >Subject: Re: [Xpert]kdrive
> > > > >Date: Thu, 01 Aug 2002 13:33:12 -0400
> > > > >
> > > > >How did you get the support for -broadcast option with Xfbdev ? I
> > > > > was looking for the similar thing to do but could not find out
> > > > > what to change/modify in the config files.
> > > > >
> > > > >Can you please point me how to get -broadcast or -query options to
> > > > > work woth
> > > > >Xfbdev ?
> > > > >
> > > > >thanks a lot
> > > > >Sharad.
> > > > >
> > > > >----- Original Message -----
> > > > >From: "Carlos Dri" <[EMAIL PROTECTED]>
> > > > >To: <[EMAIL PROTECTED]>
> > > > >Sent: Thursday, August 01, 2002 12:45 PM
> > > > >Subject: [Xpert]kdrive
> > > > >
> > > > > > Hi,
> > > > > >
> > > > > > I'm rewriting this mail, got some troubles while sending it.....
> > > > > >
> > > > > > I've posted a question about colormap in this mailing list,
> > >
> > >regarding
> > >
> > > > >tinyX.
> > > > >
> > > > > > Well, I've compiled it, runned it, Xfbdev -broadcast, and I get
> > > > > > the
> > > > >
> > > > >*wrong*
> > > > >
> > > > > > colormap. Compiled it for ARM and x86 target, tested in ARM
> > > > > > hardware
> > >
> > >and
> > >
> > > > > > Athlon, both get the same *wrong* colormap.
> > > > > >
> > > > > > I got a snapshot from my ARM hardware for sending it to this
> > > > > > mailing
> > > > >
> > > > >list
> > > > >
> > > > > > with the hope to show you, guys, the fancy colors I get. Ok,
> > > > > > ok...
> > > > >
> > > > >stupid
> > > > >
> > > > > > me, the indexes are ok, so you will be seeing the right colors.
> > > > > >
> > > > > > My ARM box has Linux 2.4.13 with framebuffer 640x480x8, with
> > >
> > >busybox.
> > >
> > > > >I'm
> > > > >
> > > > > > starting Xfbdev from a rc script (suggested in this mailing
> > > > > > list),
> > >
> > >and
> > >
> > > > >it
> > > > >is
> > > > >
> > > > > > running in another tty (I can switch back and forth from X to
> > > > > > text
> > > > >
> > > > >console,
> > > > >
> > > > > > ctrl+alt+F1 and ctrl+alt+F2).
> > > > > >
> > > > > > I've looking at fbdevPutColor and fbdevGetColor, in fbdev.c .
> > > > > > Did
> > >
> > >some
> > >
> > > > > > changes, even took away all the code! yes, just leave {}, and
> > >
> > >nothing
> > >
> > > > > > changed.....
> > > > > >
> > > > > > I hope some kindly soul in this mailing list gives me some
> > > > > > hints.
> > > > >
> > > > >There's
> > > > >no
> > > > >
> > > > > > doc about kdrive (only source code, didn't find anything in the
> > >
> > >web),
> > >
> > > > >and
> > > > >I
> > > > >
> > > > > > want to spend some time trying to fix this... but need some help
> > >
> > >from
> > >
> > > > >you.
> > > > >
> > > > > > TIA
> > > > > >
> > > > > > Carlos.
> > > > > >
> > > > > > ________________________________________________________________
> > > > > >_ Join the world�s largest e-mail service with MSN Hotmail.
> > > > > > http://www.hotmail.com
> > > > > >
> > > > > > _______________________________________________
> > > > > > Xpert mailing list
> > > > > > [EMAIL PROTECTED]
> > > > > > http://XFree86.Org/mailman/listinfo/xpert
> > > >
> > > > _________________________________________________________________
> > > > Send and receive Hotmail on your mobile device:
> > > > http://mobile.msn.com
> >
> > _________________________________________________________________
> > Join the world�s largest e-mail service with MSN Hotmail.
> > http://www.hotmail.com
> >
> > _______________________________________________
> > Xpert mailing list
> > [EMAIL PROTECTED]
> > http://XFree86.Org/mailman/listinfo/xpert
>
>--
>My e-mail is in danger of beeing changed.
>So please check http://casandro.dyndns.org/
>for any information on this.
>_______________________________________________
>Xpert mailing list
>[EMAIL PROTECTED]
>http://XFree86.Org/mailman/listinfo/xpert




_________________________________________________________________
Join the world�s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com

_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to