Am Donnerstag, 2. Mai 2002 14:20 schrieb Manoj Sharma: > Brad, > > It is a HID device. > I need to run X based applications over this LCD display. > Since X server uses /dev/fb to write to the frame buffer, I thought of > writing a frame buffer driver that reads the buffer (allocated by the > driver) and passes its contents to the the LCD controller over USB. > I don't know if there is a better way to do it.
You could write an X module to talks directly to /dev/hiddev. This may or may not be easier depending on your level of experience. It will, however, result in a crippled screen that cannot be used for everything all other screens can be used. If you want your device to be equal in capability you need to write an fb driver. This won't be easy, because you have to translate mmap into read/write. You should take special care to export any acceleration features, because performance will suck if X touches the emulated video memory. Regards Oliver _______________________________________________________________ Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [EMAIL PROTECTED] _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel