LCDInfo.com
http://forum.lcdinfo.com/

X.org driver for the USBD480
http://forum.lcdinfo.com/viewtopic.php?f=19&t=2817
Page 1 of 1

Author:  rmax [ Tue Dec 15, 2009 16:43 ]
Post subject:  X.org driver for the USBD480

Hi,

a few months ago I wrote an X.org driver for the USBD480 which I want to introduce here.

You may ask, why a dedicated driver for X.org when there is the framebuffer kernel driver for the USBD480 on top of which an X server can be run using existing drivers?

Well, the answer is efficiency. The kernel based driver has to push out the whole frame buffer at fixed (short) intervals regardless whether or not the content has changed. This eats up quite some CPU cycles and more importantly USB bandwidth.

In contrast, my driver only sends more data to the display when something has changed on the screen. As a further optimisation (thanks to an extension Henri made to the USBD480 firmware), only those areas of the screen that have actually changed (as reported to the driver by the X server) get re-sent.

This makes the X server appear very snappy on the little display without pushing tons and tons of needless transfers down the USB pipe.

For now, the driver is available as source and binary RPMs for openSUSE 11.1, 11.2 and Factory from the openSUSE build service: http://download.opensuse.org/repositori ... :/USBD480/.

The RPM contains a template xorg.conf file (/etc/X11/xorg.conf.usbd480), which is completed by the included startup script (/usr/bin/Xusbd480) and then used to start the X server. It expects the kernel module for the USBD480 touch screen to be loaded, which is also provided as RPMs in the same repository. I can change that if there are people who want to use the display without a touch panel.

Please try the driver and report here about your success or failure.

Author:  dl9pf [ Tue Dec 29, 2009 23:07 ]
Post subject:  Steps to enable the driver ?

I downloaded your packages, but how can i enable the driver ?

I'm stuck with

dl9pf@frodo:~> Xusbd480
USBD480 not attached or usb480ts kernel module not loaded
dl9pf@frodo:~> lsmod | grep usbd
usbd480ts 7368 0
dl9pf@frodo:~>

Page 1 of 1 All times are UTC + 2 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/