[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: any known working USB/serial converters? [drifting off...]



fred smith wrote:
> 
> Um, not sure how to tell which usb device it is...
> 
You can get the product ID information by running lsusb. You can
look at the log to see what device name was assigned to it. You
should see something like: (trimmed to fit.)

usb 1-1.3: new full speed USB device using ehci_hcd and address 17
usb 1-1.3: configuration #1 chosen from 1 choice
usb 1-1.3: New USB device found, idVendor=067b, idProduct=2303
usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 1-1.3: Product: USB-Serial Controller
usb 1-1.3: Manufacturer: Prolific Technology Inc.
usbcore: registered new interface driver usbserial
usbserial: USB Serial support registered for generic
usbcore: registered new interface driver usbserial_generic
usbserial: USB Serial Driver core
usbserial: USB Serial support registered for pl2303
pl2303 1-1.3:1.0: pl2303 converter detected
usb 1-1.3: pl2303 converter now attached to ttyUSB0
usbcore: registered new interface driver pl2303
pl2303: Prolific PL2303 USB to serial adaptor driver

Depending on the chip they use, the messages may be different, but
the important one is "pl2303 converter now attached to ttyUSB0" - it
tells you that the device is /dev/ttyUSB0. If you get something like
that when you plug the UPS in, then you can use it that way. But I
would probably create a udev rule that creates a /dev/USP alias.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

Attachment: signature.asc
Description: OpenPGP digital signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]