View previous topic :: View next topic |
Author |
Message |
polu n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/17809642544ba4bb1d1b46b.jpg)
Joined: 02 Mar 2007 Posts: 16
|
Posted: Thu Jan 31, 2008 4:13 pm Post subject: HTvision USB2LCD |
|
|
I have an HTvision USB LCD device. It's an HD44780 compatible character LCD.
When I hook the LCD up to a Windows computer, a new serial port is created (COM3), and I can use the LCD using the Crystalfontz driver. (16x2, 9600)
But when I connect it to my Gentoo machine, it's not recognized at all. Not even as Serial device:
Code: | usb 2-1: new full speed USB device using ohci_hcd and address 4
usb 2-1: configuration #1 chosen from 1 choice
usb 2-1: USB disconnect, address 4
usb 2-1: new full speed USB device using ohci_hcd and address 5
usb 2-1: configuration #1 chosen from 1 choice |
I have USBSerial enabled in my kernel:
Code: | CONFIG_USB_SERIAL=y |
Well, maybe it does work, but how do I know which device in "/dev/" is my USB LCD? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
polu n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/17809642544ba4bb1d1b46b.jpg)
Joined: 02 Mar 2007 Posts: 16
|
Posted: Thu Jan 31, 2008 6:42 pm Post subject: |
|
|
Never mind. I've got it working.
Make sure usbserial is a module. (NOT included in the kernel)
Run "lsusb -v" to grep the vendor and product id:
Code: |
Bus 002 Device 002: ID 04d8:000a Microchip Technology, Inc.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 2 Communications
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x04d8 Microchip Technology, Inc.
idProduct 0x000a
bcdDevice 0.00
iManufacturer 1 HTvision
iProduct 2 USB-LCD
iSerial 3 V08.0b
|
Modprobe usbserial with these parameters:
Code: | modprobe usbserial vendor=0x04d8 product-0x000a |
Create an usbserial device:
Code: | mknod /dev/ttyUSB0 c 188 0 |
I can now send data to the LCD using LCD4Linux. The text doesn't show up 100% correctly but it's a start! ![Very Happy :D](images/smiles/icon_biggrin.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|