glcd + ftdi + usb
Hi,
i has the LCD from tilofranz.net/lcdshop The Display has an ftdi232bm chip to communicate with USB and an S1D13305F for Display. USB VendorID=0x403 and ProductID=0xe588 I added to ftdio_sio.h and ftdi_sio.c the product ID and recompile the ftdi_sio kernel modul. Then i add : BUS="usb", SYSFS{idProduct}="e588", NAME="lcd", SYMLINK="usb/lcd", MODE="0666" to my udev rules. Now when i connect the Display dmesg say: drivers/usb/serial/usb-serial.c: USB Serial support registered for FTDI USB Serial Device ftdi_sio 2-2:1.0: FTDI USB Serial Device converter detected drivers/usb/serial/ftdi_sio.c: Detected FT232BM usb 2-2: FTDI USB Serial Device converter now attached to ttyUSB0 usbcore: registered new driver ftdi_sio drivers/usb/serial/ftdi_sio.c: v1.4.3:USB FTDI Serial Converters Driver and i has an dev in /dev/usb/lcd But how can i send some informations to Display? First i thought that serdisplib can help, but at this time there is no rs232 support. Then i asked the manufactur if there is any linux library for this display, but the answer was "Not now, maybe later". Has anyone expirience with this Display in Linux? My System: AMD64 3200+, Kernel 2.6.13.1, LFS pure64. Hope you can read my english ;) mfg tooly |
Hi again,
i never unterstand how i can send data to the LCD via kernel. So i conntect the LCD to an windows computer and record the data with usbsnoop (http://benoit.papillaut.free.ft/usbsnoop). lsusb -v : Code:
Bus 002 Device 002: ID 0403:e588 Future Technology Devices International, Ltd Code:
#ifdef HAVE_CONFIG_H Take a look at // First DATA to LCD, the second and third byte are the lengt of data that follow, but dont know for what is 0x04 and 0x4f? // Second DATA to LCD First byte 0x08 ? Second and third byte = 0x03FD = lengt of the follow data rest is easy, my Name and some spaces. Anyone know for what is 0x04, 0x4f and 0x08? Hope you can read my english. mfg tooly |
All times are GMT -5. The time now is 04:43 PM. |