[Fwd: [PLUG] USB serial support]

Greg KH greg at kroah.com
Tue Dec 9 17:07:01 UTC 2003


>   I just purchased a USB->serial converter manufactured (or, at least sold)
> under the brand name "SIIG". No model number.
> 
>   According to the linux-usb.org USB-Guide, I need to "turn on USB Serial
> Converter support, and then select whichever of the various particular
> drivers you need. The Generic Serial Driver can be used with a wide range of
> converters, by specifying the vendor and product ID codes when you load the
> USB serial converter module: insmod usb-serial.o vendor=0xVVVV
> product-0xPPPP, where you need to change the VVVV and PPPP to match your
> device."
> 
>   Can someone suggest where I get the vendor and product codes for this
> puppy? Also, I do not have usb-serial.o on my new laptop; only usb-serial.h.
> However, I do have /dev/ttyUSB0 and /dev/ttySUB1.

Ick, no, do not use the generic usb serial driver.  Almost NO ONE should
use that driver for a real usb serial device.

Instead, use the driver that is for your device.  What does
/proc/bus/usb/devices show with your device plugged in?

Oh, and there is no such thing as "usb-serial.o" anymore, that's quite
old docs.  It's usbserial.o (usbserial.ko for 2.6).  Just modprobe it
and away you go:
	modprobe usbserial

And on all "modern" distros, the hotplug scripts would just
automatically load the proper driver for your device when it is plugged
in.  Why isn't this happening for you?  Are you using a custom kernel?
An old distro?

greg k-h




More information about the PLUG mailing list