Skip to contentSkip to conversation

Linux 2.6 fbcon rotation - in software

DISCUSSION Hasjim Williams 3 participants 4 messages Oct 26, 2005 – Oct 27, 2005 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

Hi all,

I am looking to rotate the framebuffer console on an embedded ARM device. I know that both OPIE and GPE (X Windows) support screen rotation in software. I think they use a shadow framebuffer... Has anyone on either of the lists started implementing this in 2.6.x ??? I know the Zaurus CL-3xxx series use the pxafb driver and fbcon is rotated on these devices. My platform uses the amba_clcd driver and fbcon is also rotated on this device.

See http://sourceforge.net/mailarchive/message.php?msg_id=12904686 for the Zaurus info.

Is there some easy / good way to add rotated console support to the kernel? Or do we have to use a shadow framebuffer?

Thanks for any help / suggestions ...

-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information

#1 lore raw
Quoted 10 lines · Hasjim Williams

Hi all,

I am looking to rotate the framebuffer console on an embedded ARM device. I know that both OPIE and GPE (X Windows) support screen rotation in software. I think they use a shadow framebuffer... Has anyone on either of the lists started implementing this in 2.6.x ??? I know the Zaurus CL-3xxx series use the pxafb driver and fbcon is rotated on these devices. My platform uses the amba_clcd driver and fbcon is also rotated on this device.

Quoted 5 lines

See http://sourceforge.net/mailarchive/message.php?msg_id=12904686 for the Zaurus info.

Is there some easy / good way to add rotated console support to the kernel? Or do we have to use a shadow framebuffer?

I had a patch that does software rotation for the framebuffer console. But this was during 2.5. The patch does this by having different putcs, putc, bmove, fill, and cursor methods depending on the orientation.

If this is really desired, I may try to revive that patch...

Tony

PS: The i810fb driver for 2.4 (http://i810fb.sf.net) supports console rotation in software.

-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information

#2 lore raw
Quoted 14 lines · Antonino A. Daplas
Quoted 13 lines · Hasjim Williams

Hi all,

I am looking to rotate the framebuffer console on an embedded ARM device. I know that both OPIE and GPE (X Windows) support screen rotation in software. I think they use a shadow framebuffer... Has anyone on either of the lists started implementing this in 2.6.x ??? I know the Zaurus CL-3xxx series use the pxafb driver and fbcon is rotated on these devices. My platform uses the amba_clcd driver and fbcon is also rotated on this device.

See http://sourceforge.net/mailarchive/message.php?msg_id=12904686 for the Zaurus info.

Quoted 8 lines
Quoted 2 lines

Is there some easy / good way to add rotated console support to the kernel? Or do we have to use a shadow framebuffer?

I had a patch that does software rotation for the framebuffer console. But this was during 2.5. The patch does this by having different putcs, putc, bmove, fill, and cursor methods depending on the orientation.

If this is really desired, I may try to revive that patch...

I was asked about this offlist and sent Hasjim a copy of the 2.5 patch.

Console rotation would be extremely useful for several of the Zaurus devices (Collie, Spitz, Akita and Borzoi). These use pxafb or sa1100fb which don't support rotation in hardware. (The other Zaurus models use w100fb which does support hardware rotation).

I've been planning to make the patch apply to recent kernels but haven't found the time to do that yet...

Richard

-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information

#3 lore raw
Quoted 21 lines · Richard Purdie
Quoted 20 lines · Antonino A. Daplas
Quoted 10 lines · Hasjim Williams

Hi all,

I am looking to rotate the framebuffer console on an embedded ARM device. I know that both OPIE and GPE (X Windows) support screen rotation in software. I think they use a shadow framebuffer... Has anyone on either of the lists started implementing this in 2.6.x ??? I know the Zaurus CL-3xxx series use the pxafb driver and fbcon is rotated on these devices. My platform uses the amba_clcd driver and fbcon is also rotated on this device.

Quoted 5 lines

See http://sourceforge.net/mailarchive/message.php?msg_id=12904686 for the Zaurus info.

Is there some easy / good way to add rotated console support to the kernel? Or do we have to use a shadow framebuffer?

I had a patch that does software rotation for the framebuffer console. But this was during 2.5. The patch does this by having different putcs, putc, bmove, fill, and cursor methods depending on the orientation.

Quoted 9 lines
Quoted 1 line

If this is really desired, I may try to revive that patch...

I was asked about this offlist and sent Hasjim a copy of the 2.5 patch.

Console rotation would be extremely useful for several of the Zaurus devices (Collie, Spitz, Akita and Borzoi). These use pxafb or sa1100fb which don't support rotation in hardware. (The other Zaurus models use w100fb which does support hardware rotation).

Ok, I have some spare time this weekend to update the patch.

Tony

-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information