From: Florian L. <f.l...@ti...> - 2001-06-08 13:08:49
|
ANYBODY OUT there to help me? So my Question: I'm trying to rotate the fb by 180°. Reason: I have an embedded board ElanSC400, C&T 65550, etc. I'm reading the driver/video code for a couple of days now, and pinned down myself to three points where I have to do changes to rotate the display. fbcon.c --> fbcon_putc fbcon.c --> fbcon_putcs fbmem.c --> fb_write Is that correct? Kind regards Florian ANYBODY OUT there to help me? |
From: Geert U. <ge...@li...> - 2001-06-08 13:47:31
|
On Fri, 8 Jun 2001, Florian Lechner wrote: > ANYBODY OUT there to help me? >=20 > So my Question: >=20 > I'm trying to rotate the fb by 180=B0.=20 In the console, or in X? > Reason: > I have an embedded board ElanSC400, C&T 65550, etc.=20 >=20 > I'm reading the driver/video code for a couple of days now, and pinned > down myself to three points where I have to do changes to rotate the > display. >=20 > fbcon.c --> fbcon_putc > fbcon.c --> fbcon_putcs > fbmem.c --> fb_write >=20 > Is that correct? For the console, I'd just write my own fbcon-*.c replacement (e.g. fbcon-cfb8-r180.c, cloned from fbcon-cfb8.c) where you take the rotation = in mind in the following functions: - bmove - clear - putc - putcs - revc - clear_margins =20 Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m6= 8k.org In personal conversations with technical people, I call myself a hacker. = But when I'm talking to journalists I just say "programmer" or something like= that. -- Linus Torvalds |
From: Florian L. <f.l...@ti...> - 2001-06-08 14:02:41
|
Thanks a lot for your fast answer!!! Would you mind sending me your code, cos at the moment my screen is pretty much screwed up, but not rotated. I just tried to rotate the *s on putcs. last to first and mirrored every byte. Result--> mixed up screen color and chars. As far as I figured, the *s holds a bunch of bytes for the video_mem. Regards Florian Geert Uytterhoeven wrote: > > On Fri, 8 Jun 2001, Florian Lechner wrote: > > ANYBODY OUT there to help me? > > > > So my Question: > > > > I'm trying to rotate the fb by 180°. > > In the console, or in X? > > > Reason: > > I have an embedded board ElanSC400, C&T 65550, etc. > > > > I'm reading the driver/video code for a couple of days now, and pinned > > down myself to three points where I have to do changes to rotate the > > display. > > > > fbcon.c --> fbcon_putc > > fbcon.c --> fbcon_putcs > > fbmem.c --> fb_write > > > > Is that correct? > > For the console, I'd just write my own fbcon-*.c replacement (e.g. > fbcon-cfb8-r180.c, cloned from fbcon-cfb8.c) where you take the rotation in > mind in the following functions: > > - bmove > - clear > - putc > - putcs > - revc > - clear_margins > > Gr{oetje,eeting}s, > > Geert > > -- > Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@li... > > In personal conversations with technical people, I call myself a hacker. But > when I'm talking to journalists I just say "programmer" or something like that. > -- Linus Torvalds > > _______________________________________________ > Linux-fbdev-devel mailing list > Lin...@li... > http://lists.sourceforge.net/lists/listinfo/linux-fbdev-devel |
From: Geert U. <ge...@li...> - 2001-06-08 14:29:27
|
On Fri, 8 Jun 2001, Florian Lechner wrote: > Would you mind sending me your code, cos at the moment my screen is > pretty much screwed up, but not rotated.=20 I don't ave code for it. > I just tried to rotate the *s on putcs. last to first and mirrored ever= y > byte.=20 > Result--> mixed up screen color and chars.=20 >=20 > As far as I figured, the *s holds a bunch of bytes for the video_mem.=20 Yes, the string contains both characters and attributes. But you don't have to change the fbcon_putcs() routine, you have to chang= e the drawing routines in one of fbcon-*.c. > Geert Uytterhoeven wrote: > > On Fri, 8 Jun 2001, Florian Lechner wrote: > > > ANYBODY OUT there to help me? > > > > > > So my Question: > > > > > > I'm trying to rotate the fb by 180=B0. > >=20 > > In the console, or in X? > >=20 > > > Reason: > > > I have an embedded board ElanSC400, C&T 65550, etc. > > > > > > I'm reading the driver/video code for a couple of days now, and pin= ned > > > down myself to three points where I have to do changes to rotate th= e > > > display. > > > > > > fbcon.c --> fbcon_putc > > > fbcon.c --> fbcon_putcs > > > fbmem.c --> fb_write > > > > > > Is that correct? > >=20 > > For the console, I'd just write my own fbcon-*.c replacement (e.g. > > fbcon-cfb8-r180.c, cloned from fbcon-cfb8.c) where you take the rotat= ion in > > mind in the following functions: > >=20 > > - bmove > > - clear > > - putc > > - putcs > > - revc > > - clear_margins Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m6= 8k.org In personal conversations with technical people, I call myself a hacker. = But when I'm talking to journalists I just say "programmer" or something like= that. -- Linus Torvalds |
From: Jordan C. <jo...@Ce...> - 2001-06-11 14:23:47
|
If you end up making any C&T 65550 specific changes, would you mind sendi= ng=20 them to Adrian Cox <ad...@hu...> and myself? We are working on= =20 drivers for the 69XXX chips and I would love to include any rotating code= if=20 I could. Jordan On Friday 08 June 2001 07:04, Florian Lechner mentioned: > ANYBODY OUT there to help me? > > So my Question: > > I'm trying to rotate the fb by 180=B0. > > Reason: > I have an embedded board ElanSC400, C&T 65550, etc. > > I'm reading the driver/video code for a couple of days now, and pinned > down myself to three points where I have to do changes to rotate the > display. > > fbcon.c --> fbcon_putc > fbcon.c --> fbcon_putcs > fbmem.c --> fb_write > > Is that correct? > > Kind regards Florian > > ANYBODY OUT there to help me? > > _______________________________________________ > Linux-fbdev-devel mailing list > Lin...@li... > http://lists.sourceforge.net/lists/listinfo/linux-fbdev-devel |
From: James S. <jsi...@tr...> - 2001-06-11 17:41:37
|
What would be nice if we could give them CVS access to linux-fbdev and they could work out of a common area. > If you end up making any C&T 65550 specific changes, would you mind sending > them to Adrian Cox <ad...@hu...> and myself? We are working on > drivers for the 69XXX chips and I would love to include any rotating code if > I could. P.S Rotation is starting to appear in hardware on different device. Perhaps a ioctl call? |
From: Jordan C. <jo...@Ce...> - 2001-06-11 17:58:20
|
On Monday 11 June 2001 11:40, James Simmons mentioned: > What would be nice if we could give them CVS access to linux-fbdev and > they could work out of a common area. That would be most excellent if we could get that set up. > Rotation is starting to appear in hardware on different device. Perhaps > a ioctl call? Another great idea, especially for the various embedded devices. Jordan |
From: Geert U. <ge...@li...> - 2001-06-11 19:36:46
|
On Mon, 11 Jun 2001, Jordan Crouse wrote: > On Monday 11 June 2001 11:40, James Simmons mentioned: > > What would be nice if we could give them CVS access to linux-fbdev and > > they could work out of a common area. > > That would be most excellent if we could get that set up. Make sure they have a SourceForge account and the linux-fbdev administrators can add them to the project. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@li... In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds |
From: James S. <jsi...@tr...> - 2001-06-11 19:50:52
|
> > That would be most excellent if we could get that set up. > > Make sure they have a SourceForge account and the linux-fbdev administrators I believe you are one of the admins. Brad being the other. |
From: Geert U. <ge...@li...> - 2001-06-12 05:52:52
|
On Mon, 11 Jun 2001, James Simmons wrote: > > > That would be most excellent if we could get that set up. > > > > Make sure they have a SourceForge account and the linux-fbdev administrators > > I believe you are one of the admins. Brad being the other. Yes. Should I make you the other admin, since Brad left? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@li... In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds |
From: James S. <jsi...@tr...> - 2001-06-12 15:37:19
|
> > I believe you are one of the admins. Brad being the other. > > Yes. Should I make you the other admin, since Brad left? Sure. I been using sourceforge for a while so I know my way around. |
From: Brad D. <br...@ne...> - 2001-06-12 19:04:56
|
On 12 Jun 2001 07:46:36 +0200, Geert Uytterhoeven wrote: > On Mon, 11 Jun 2001, James Simmons wrote: > > > > That would be most excellent if we could get that set up. > > > > > > Make sure they have a SourceForge account and the linux-fbdev administrators > > > > I believe you are one of the admins. Brad being the other. > > Yes. Should I make you the other admin, since Brad left? If you like, I can take care of some administrative stuff for a week or so. I'm fully recovered from the last surgery (which was unsuccessful) and waiting to be scheduled for the next... Just thought I'd offer and take some of the mundane tasks off your hands. Brad Douglas br...@ne... |
From: James S. <jsi...@tr...> - 2001-06-12 20:44:50
|
> > Yes. Should I make you the other admin, since Brad left? > > If you like, I can take care of some administrative stuff for a week or so. > I'm fully recovered from the last surgery (which was unsuccessful) and > waiting to be scheduled for the next... > > Just thought I'd offer and take some of the mundane tasks off your hands. If you feel up to it. |
From: James S. <jsi...@tr...> - 2001-06-11 19:52:40
|
> > Rotation is starting to appear in hardware on different device. Perhaps > > a ioctl call? > > Another great idea, especially for the various embedded devices. Yep. Just how to implement it? |
From: Florian L. <f.l...@ti...> - 2001-06-12 19:12:43
|
Dear Mr. Simmons, as far as I know I read the whole docu of the 65550 chip, there was nothing like it. Rotating is on its progress, my vga16 console is allready upsidedown. I sure will mail U any 65550 specificas. Regards Florian James Simmons wrote: > > What would be nice if we could give them CVS access to linux-fbdev and > they could work out of a common area. > > > If you end up making any C&T 65550 specific changes, would you mind sending > > them to Adrian Cox <ad...@hu...> and myself? We are working on > > drivers for the 69XXX chips and I would love to include any rotating code if > > I could. > > P.S > > Rotation is starting to appear in hardware on different device. Perhaps > a ioctl call? |
From: James S. <jsi...@tr...> - 2001-06-12 19:24:41
|
> Rotating is on its progress, my vga16 console is allready upsidedown. > > I sure will mail U any 65550 specificas. Okay. I recommend placing the software rotation code in a seperate file and having it as a loadable module. |