After You plug-in the usb cable, and you find out that your driver was unknown, by seeing it from dmesg output
localhost tty# dmesg | grep usb
--- truncated ---
usb 4-1: USB disconnect, address 2
usb 4-1: new full speed USB device using uhci_hcd and address 3
usb 4-1: configuration #1 chosen from 1 choice
Then, check whether the module is loaded by the kernel. If not, then weve found the cure :)
localhost tty # cat /usr/src/linux/.config | grep CONFIG_USB_SERIALNow, you need to re-compile your kernel, u can do it manually or using genkernel
---truncated --
CONFIG_USB_SERIAL_NAVMAN=m
# CONFIG_USB_SERIAL_PL2303 is not set
# CONFIG_USB_SERIAL_HP4X is not set
--- truncated ---
to compile it for you, what u need to do is activate the module, so it can be loaded
by the kernel. Use make menuconfig commands, or genkernel --menuconfig all
Device Drivers --->Then re-compile it, after that u can check the dmesg output again, make sure to use the new kernel :)
USB Support --->
---- USB Serial Converter support ----->
[M] USB prolific 2303 Single Port Serial Driver
localhost ~ # dmesg | grep usbthere u go, now just use /dev/ttyUSB0.
---truncated--
usbcore: registered new interface driver pl2303
drivers/usb/serial/pl2303.c: Prolific PL2303 USB to serial adaptor driver
usbcore: registered new interface driver hci_usb
usb 4-1: USB disconnect, address 2
usb 4-1: new full speed USB device using uhci_hcd and address 3
usb 4-1: configuration #1 chosen from 1 choice
usb 4-1: pl2303 converter now attached to ttyUSB0
--truncated---
thats all folk, hope it helps
No comments:
Post a Comment