Re: [SLE] USB to serial Cable under SuSE 9.2
Sid, Thank you for the procedure. I just located the solution (in addition to yours). While this is NOT a recommended way to solve this, I pass this along in case anyone else fat fingers their distro with respect to updates. Even though I had updated 9.2 as of 31 Jan 2005, I did not reboot the laptop. Thus, I was still running the 2.6.8-5 version of the kernel rather than the 2.6.8-24.11 version. Big difference with respect to the USB Serial support. I noticed this once I started poking around in /boot and then comparing the dmesg file with 'uname -r'. I mistakenly figure that the 2.6.8-* versions of the kernel were similar enough that all the support for USB was there. Wrong assumption. Once I rebooted the laptop, the new kernel found and configured correctly the the USB cable, and MINICOM found /dev/ttyUSB0 without complaint. Here is the dmesg output: uhci_hcd 0000:00:1d.0: irq 11, io base 00001800 uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 1 usb usb1: Product: UHCI Host Controller usb usb1: Manufacturer: Linux 2.6.8-24.11-default uhci_hcd usb usb1: SerialNumber: 0000:00:1d.0 hub 1-0:1.0: USB hub found hub 1-0:1.0: 2 ports detected ACPI: PCI interrupt 0000:00:1d.1[B] -> GSI 11 (level, low) -> IRQ 11 uhci_hcd 0000:00:1d.1: UHCI Host Controller PCI: Setting latency timer of device 0000:00:1d.1 to 64 uhci_hcd 0000:00:1d.1: irq 11, io base 00001820 uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 2 usb usb2: Product: UHCI Host Controller usb usb2: Manufacturer: Linux 2.6.8-24.11-default uhci_hcd usb usb2: SerialNumber: 0000:00:1d.1 hub 2-0:1.0: USB hub found hub 2-0:1.0: 2 ports detected ACPI: PCI interrupt 0000:00:1d.2[C] -> GSI 11 (level, low) -> IRQ 11 uhci_hcd 0000:00:1d.2: UHCI Host Controller PCI: Setting latency timer of device 0000:00:1d.2 to 64 uhci_hcd 0000:00:1d.2: irq 11, io base 00001840 uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 3 usb usb3: Product: UHCI Host Controller usb usb3: Manufacturer: Linux 2.6.8-24.11-default uhci_hcd usb usb3: SerialNumber: 0000:00:1d.2 hub 3-0:1.0: USB hub found hub 3-0:1.0: 2 ports detected usb 2-1: new low speed USB device using address 2 usb 2-1: Product: Microsoft Trackball Optical usb 2-1: Manufacturer: Microsoft usb 2-2: new full speed USB device using address 3 * ***** See Here *** **usb 2-2: Product: USB SERIAL CANSERTOR usb 2-2: Manufacturer: FIDI usb 2-2: SerialNumber: FTBT8RZI* hw_random hardware driver 1.0.0 loaded ACPI: PCI interrupt 0000:00:1d.7[D] -> GSI 11 (level, low) -> IRQ 11 ehci_hcd 0000:00:1d.7: EHCI Host Controller PCI: Setting latency timer of device 0000:00:1d.7 to 64 ehci_hcd 0000:00:1d.7: irq 11, pci mem f9174000 ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 4 PCI: cache line size of 32 is not supported by device 0000:00:1d.7 ehci_hcd 0000:00:1d.7: USB 2.0 enabled, EHCI 1.00, driver 2004-May-10 usb usb4: Product: EHCI Host Controller usb usb4: Manufacturer: Linux 2.6.8-24.11-default ehci_hcd usb usb4: SerialNumber: 0000:00:1d.7 ....<snip> usb 2-2: USB disconnect, address 3 usb 2-1: new low speed USB device using address 4 usb 2-1: Product: Microsoft Trackball Optical usb 2-1: Manufacturer: Microsoft Adding 2096472k swap on /dev/hda3. Priority:42 extents:1 * *** See Here *** usb 2-2: new full speed USB device using address 5 usb 2-2: Product: USB SERIAL CANSERTOR usb 2-2: Manufacturer: FIDI usb 2-2: SerialNumber: FTBT8RZI* ....<snip> drivers/usb/serial/usb-serial.c: USB Serial support registered for Generic usbcore: registered new driver usbserial_generic usbcore: registered new driver usbserial drivers/usb/serial/usb-serial.c: USB Serial Driver core v2.0 * ***** See Here *** **drivers/usb/serial/usb-serial.c: USB Serial support registered for FTDI SIO drivers/usb/serial/usb-serial.c: USB Serial support registered for FTDI 8U232AM Compatible drivers/usb/serial/usb-serial.c: USB Serial support registered for FTDI FT232BM Compatible drivers/usb/serial/usb-serial.c: USB Serial support registered for FTDI FT2232C Compatible* drivers/usb/serial/usb-serial.c: USB Serial support registered for USB-UIRT Infrared Tranceiver drivers/usb/serial/usb-serial.c: USB Serial support registered for Home-Electronics TIRA-1 IR Transceiver * ***** See Here **** * ftdi_sio 2-2:1.0: FTDI FT232BM Compatible converter detected usb 2-2: FTDI FT232BM Compatible converter now attached to ttyUSB0 usbcore: registered new driver ftdi_sio drivers/usb/serial/ftdi_sio.c: v1.4.1:USB FTDI Serial Converters Driver* usbcore: registered new driver hiddev evdev_connect: evdev c18efb40 handle c18efb5c name event4 input: USB HID v1.00 Mouse [Microsoft Microsoft Trackball Optical] on usb-0000:00:1d.1-1 usbcore: registered new driver usbhid drivers/usb/input/hid-core.c: v2.0:USB HID core driver Regards, ...Paul Sid Boyce wrote:
Sid Boyce wrote:
Paul Penrod wrote:
Folks,
I'm a bit stumped here and hope someone has seen this before.
I just bought a USB->serial cable from PCClub. It's advertised as a USB 2.0 Certified Interface (usbview diagrees with that), and SuSE does recognize it, but I can not get minicom to talk to it. When I set it to /dev/ttyUSB0 or any USB tagged port, it comes back and complains that the port is not found.
I have it plugged into the top USB slot of the laptop.
What I need it for is to configure telecom equipment that uses serial ports for the interface (VT100 9600/N/8/1). I've been playing with this for about a day and need to move on or get it to work.
Any suggestions would be appreciated. I'll even buy a different cable if there is one proven to work.
Thanks,
...Paul
Here are the particulars:
OS SuSE 9.2 (updated 1/31/05 from the Chicago Site). Kernel: Stock SuSE 2.6.8-24.11 Computer: IBM Thinkpad T42p 1GB memory, 60GB disk
USBview output: USB SERIAL CANSERTOR Manufacturer: FIDI Serial Number: FTBT8RZI Speed: 12 MB/sec (full) USB Version: 1.10 Device Class: 00 (>ifc) Device Subclass: 00 Device Protocol: 00 Maximum Default Endpoint Size: 8 Number of Configurations: 1 Vendor ID: 0403 Product ID: 6001 Revision Number: 4.00 Configuration Number: 1 Number of Interfaces: 1 Attributes: a0 Max Power Needed: 44 mA Interface Number: 0 Name: (none) Alternate Number: 0 Class: ff (vend) Subclass: 0 Protocol: 0 Number of Endpoints: 2 End Point Address: 81 Direction: in Attribute: 2 Type: Bulk Max Packet Size: 64 Interval: 0 ms End Point Address: 02 Direction: out Attribute: 2 Type: Bulk Max Packet Size: 64 Interval: 0 ms
Have a look at this article, this may be a way to do it, I may try it later. http://www.linuxjournal.com/article/6573 Regards Sid.
Hmmmm... surprise, it works - I have CONFIG_USB_SERIAL_GENERIC=y, but there may be a module for the SuSE kernels. Boycie:/ftp/jan05/udev-050 # lsusb Bus 004 Device 001: ID 0000:0000 Bus 003 Device 003: ID 05a9:a511 OmniVision Technologies, Inc. OV511+ WebCam Bus 003 Device 001: ID 0000:0000 Bus 002 Device 003: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial ========= Port Bus 002 Device 001: ID 0000:0000 Bus 001 Device 003: ID 067b:3507 Prolific Technology, Inc. Bus 001 Device 001: ID 0000:0000
Boycie:/ftp/jan05/udev-050 # rmmod pl2303 Boycie:/ftp/jan05/udev-050 # rmmod usbserial Boycie:/ftp/jan05/udev-050 # modprobe usbserial vendor=0x067b product=0x2303
Boycie:/ftp/jan05/udev-050 # kermit C-Kermit 8.0.211, 10 Apr 2004, for Linux Copyright (C) 1985, 2004, Trustees of Columbia University in the City of New York. Type ? or HELP for help. (/ftp/jan05/udev-050/) C-Kermit>set line /dev/ttyUSB0 (/ftp/jan05/udev-050/) C-Kermit>set carrier-watch off (/ftp/jan05/udev-050/) C-Kermit>c Connecting to /dev/ttyUSB0, speed 9600 Escape character: Ctrl-\ (ASCII 28, FS): enabled Type the escape character followed by C to get back, or followed by ? to see other options.
Regards Sid.
participants (1)
-
Paul Penrod