LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-02-2008, 04:05 PM   #1
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
Usb Serial cable issues


Hello all!

I have a standard Radio Shack USB to Serial cable, needed for my laptop since it lacks a serial port. The cable worked in the past as, as I have minicom installed, and the default device it uses is /dev/ttyUSB0. It no longer works, the short reason is that the USB cable is seen when it is plugged in, but it never assigns the USB to any /dev/ttuUSBX port. It doesn't assign the cable to anything. I'll print out the dmesg, lsmod lsusb and such.

Dmesg is abridged, due to post length
Code:
jim@jimsworktop:~$ dmesg
Linux version 2.6.23.1-take1 (root@jimsworktop) (gcc version 4.2.3 20071014 (prerelease) (Debian 4.2.2-3)) #1 SMP Fri Nov 9 11:01:36 EST 2007


PCI: Setting latency timer of device 0000:00:1e.0 to 64
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11
PCI: setting IRQ 11 as level-triggered
ACPI: PCI Interrupt 0000:02:00.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 11
ACPI: PCI Interrupt 0000:02:00.1[B] -> Link [LNKB] -> GSI 11 (level, low) -> IRQ 11
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 8, 1572864 bytes)
TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
checking if image is initramfs... it is
Switched to high resolution mode on CPU 0
Freeing initrd memory: 5438k freed
Simple Boot Flag at 0x35 set to 0x1
audit: initializing netlink socket (disabled)
audit(1199289124.804:1): initialized
highmem bounce pool size: 64 pages
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
Boot video device is 0000:01:00.0
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
pnp: Device 00:0a activated.
00:0a: ttyS0 at I/O 0x3f8 (irq = 4) is a NS16550A
ACPI: PCI Interrupt 0000:00:1f.6[B] -> Link [LNKB] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI interrupt for device 0000:00:1f.6 disabled
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
mice: PS/2 mouse device common for all mice
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI No-Shortcut mode
Freeing unused kernel memory: 232k freed
input: AT Translated Set 2 keyboard as /class/input/input0
ACPI: CPU0 (power states: C1[C1] C2[C2] C3[C3])
ACPI: Processor [CPU] (supports 8 throttling states)
ACPI: Thermal Zone [THM0] (44 C)
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
USB Universal Host Controller Interface driver v3.0
ACPI: PCI Interrupt 0000:00:1d.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
PCI: Setting latency timer of device 0000:00:1d.0 to 64
uhci_hcd 0000:00:1d.0: UHCI Host Controller
uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 1
uhci_hcd 0000:00:1d.0: irq 11, io base 0x00001800
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
SCSI subsystem initialized
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11
ACPI: PCI Interrupt 0000:00:1d.1[B] -> Link [LNKD] -> GSI 11 (level, low) -> IRQ 11
PCI: Setting latency timer of device 0000:00:1d.1 to 64
uhci_hcd 0000:00:1d.1: UHCI Host Controller
uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 2
uhci_hcd 0000:00:1d.1: irq 11, io base 0x00001820
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
libata version 2.21 loaded.
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11
ACPI: PCI Interrupt 0000:00:1d.2[C] -> Link [LNKC] -> GSI 11 (level, low) -> IRQ 11
PCI: Setting latency timer of device 0000:00:1d.2 to 64
uhci_hcd 0000:00:1d.2: UHCI Host Controller
uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 3
uhci_hcd 0000:00:1d.2: irq 11, io base 0x00001840
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
Floppy drive(s): fd0 is 1.44M
Intel(R) PRO/1000 Network Driver - version 7.3.20-k2-NAPI
Copyright (c) 1999-2006 Intel Corporation.
FDC 0 is a National Semiconductor PC87306
ACPI: PCI Interrupt 0000:02:01.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI Interrupt Link [LNKH] enabled at IRQ 11
ACPI: PCI Interrupt 0000:00:1d.7[D] -> Link [LNKH] -> GSI 11 (level, low) -> IRQ 11
PCI: Setting latency timer of device 0000:00:1d.7 to 64
ehci_hcd 0000:00:1d.7: EHCI Host Controller
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 4
ehci_hcd 0000:00:1d.7: debug port 1
PCI: cache line size of 32 is not supported by device 0000:00:1d.7
ehci_hcd 0000:00:1d.7: irq 11, io mem 0xc0000000
ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb4: configuration #1 chosen from 1 choice
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 6 ports detected
e1000: 0000:02:01.0: e1000_probe: (PCI:33MHz:32-bit) 00:11:25:18:41:c0
Marking TSC unstable due to: possible TSC halt in C2.
Time: acpi_pm clocksource has been installed.
e1000: eth0: e1000_probe: Intel(R) PRO/1000 Network Connection
ata_piix 0000:00:1f.1: version 2.12
PCI: Enabling device 0000:00:1f.1 (0005 -> 0007)
ACPI: PCI Interrupt 0000:00:1f.1[A] -> Link [LNKC] -> GSI 11 (level, low) -> IRQ 11
PCI: Setting latency timer of device 0000:00:1f.1 to 64
scsi0 : ata_piix
scsi1 : ata_piix
ata1: PATA max UDMA/100 cmd 0x000101f0 ctl 0x000103f6 bmdma 0x00011860 irq 14
ata2: PATA max UDMA/100 cmd 0x00010170 ctl 0x00010376 bmdma 0x00011868 irq 15
ata1.00: ATA-6: HTS541040G9AT00, MB2IA60A, max UDMA/100
ata1.00: 78140160 sectors, multi 16: LBA
ata1.00: configured for UDMA/100
ata2.00: ATAPI: HL-DT-STCD-RW/DVD DRIVE GCC-4242N, 0201, max UDMA/33
usb 2-1: new full speed USB device using uhci_hcd and address 2
ata2.00: configured for UDMA/33
scsi 0:0:0:0: Direct-Access     ATA      HTS541040G9AT00  MB2I PQ: 0 ANSI: 5
scsi 1:0:0:0: CD-ROM            HL-DT-ST RW/DVD GCC-4242N 0201 PQ: 0 ANSI: 5
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
usb 2-1: configuration #1 chosen from 1 choice
sd 0:0:0:0: [sda] 78140160 512-byte hardware sectors (40008 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 0:0:0:0: [sda] 78140160 512-byte hardware sectors (40008 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sda: sda1 sda2 sda3 sda4 < sda5 sda6 >
sd 0:0:0:0: [sda] Attached SCSI disk
sr0: scsi3-mmc drive: 24x/24x writer cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.20
sr 1:0:0:0: Attached scsi CD-ROM sr0
sd 0:0:0:0: Attached scsi generic sg0 type 0
sr 1:0:0:0: Attached scsi generic sg1 type 5
ReiserFS: sda6: found reiserfs format "3.6" with standard journal
ReiserFS: sda6: using ordered data mode
ReiserFS: sda6: journal params: device sda6, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: sda6: checking transaction log (sda6)
ReiserFS: sda6: Using r5 hash to sort names
input: PC Speaker as /class/input/input1
Real Time Clock Driver v1.12ac
parport_pc 00:0b: reported by Plug and Play ACPI
parport0: PC-style at 0x3bc, irq 7 [PCSPP,TRISTATE]
intel_rng: FWH not detected
Linux agpgart interface v0.102
agpgart: Detected an Intel 855PM Chipset.
agpgart: AGP aperture is 256M @ 0xd0000000
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
ACPI: PCI Interrupt 0000:00:1f.3[B] -> Link [LNKB] -> GSI 11 (level, low) -> IRQ 11
Non-volatile memory driver v1.2
thinkpad_acpi: ThinkPad ACPI Extras v0.16
thinkpad_acpi: http://ibm-acpi.sf.net/
thinkpad_acpi: ThinkPad BIOS 1RETDPWW (3.21 ), EC 1RHT71WW-3.04
thinkpad_acpi: IBM ThinkPad T42
input: ThinkPad Extra Buttons as /class/input/input2
iTCO_wdt: Intel TCO WatchDog Timer Driver v1.02 (26-Jul-2007)
irda_init()
NET: Registered protocol family 23
input: Power Button (FF) as /class/input/input3
ACPI: Power Button (FF) [PWRF]
input: Lid Switch as /class/input/input4
ACPI: Lid Switch [LID]
input: Sleep Button (CM) as /class/input/input5
ACPI: Sleep Button (CM) [SLPB]
Synaptics Touchpad, model: 1, fw: 5.9, id: 0x2c6ab1, caps: 0x884793/0x0
serio: Synaptics pass-through port at isa0060/serio1/input0
input: SynPS/2 Synaptics TouchPad as /class/input/input6
iTCO_wdt: Found a ICH4-M TCO device (Version=1, TCOBASE=0x1060)
iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
pnp: Device 00:0c activated.
nsc_ircc_pnp_probe() : From PnP, found firbase 0x2F8 ; irq 3 ; dma 1.
nsc-ircc, chip->init
nsc-ircc, Found chip at base=0x02e
nsc-ircc, driver loaded (Dag Brattli)
IrDA: Registered device irda0
nsc-ircc, Found dongle: HP HSDL-1100/HSDL-2100
ACPI: Battery Slot [BAT0] (battery present)
ACPI: AC Adapter [AC] (on-line)
input: Video Bus as /class/input/input7
ACPI: Video Device [VID] (multi-head: yes  rom: no  post: no)
Yenta: CardBus bridge found at 0000:02:00.0 [1014:0552]
Yenta: Using INTVAL to route CSC interrupts to PCI
Yenta: Routing CardBus interrupts to PCI
Yenta TI: socket 0000:02:00.0, mfunc 0x01d21b22, devctl 0x64
ieee80211_crypt: registered algorithm 'NULL'
Yenta: ISA IRQ mask 0x0430, PCI irq 11
Socket status: 30000086
pcmcia: parent PCI bridge I/O window: 0x4000 - 0x8fff
cs: IO port probe 0x4000-0x8fff: clean.
pcmcia: parent PCI bridge Memory window: 0xc0200000 - 0xcfffffff
pcmcia: parent PCI bridge Memory window: 0xe8000000 - 0xefffffff
Yenta: CardBus bridge found at 0000:02:00.1 [1014:0552]
Yenta: Using INTVAL to route CSC interrupts to PCI
Yenta: Routing CardBus interrupts to PCI
Yenta TI: socket 0000:02:00.1, mfunc 0x01d21b22, devctl 0x64
ieee80211: 802.11 data/management/control stack, git-1.1.13
ieee80211: Copyright (C) 2004-2005 Intel Corporation <jketreno@linux.intel.com>
ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, 1.2.2kmq
ipw2200: Copyright(c) 2003-2006 Intel Corporation
Yenta: ISA IRQ mask 0x0430, PCI irq 11
Socket status: 30000086
pcmcia: parent PCI bridge I/O window: 0x4000 - 0x8fff
cs: IO port probe 0x4000-0x8fff: clean.
pcmcia: parent PCI bridge Memory window: 0xc0200000 - 0xcfffffff
pcmcia: parent PCI bridge Memory window: 0xe8000000 - 0xefffffff
ACPI: PCI Interrupt 0000:02:02.0[A] -> Link [LNKC] -> GSI 11 (level, low) -> IRQ 11
ipw2200: Detected Intel PRO/Wireless 2200BG Network Connection
ipw2200: Detected geography ZZM (11 802.11bg channels, 0 802.11a channels)
ACPI: PCI Interrupt 0000:00:1f.6[B] -> Link [LNKB] -> GSI 11 (level, low) -> IRQ 11
PCI: Setting latency timer of device 0000:00:1f.6 to 64
MC'97 1 converters and GPIO not ready (0xff00)
ACPI: PCI Interrupt 0000:00:1f.5[B] -> Link [LNKB] -> GSI 11 (level, low) -> IRQ 11
PCI: Setting latency timer of device 0000:00:1f.5 to 64
cs: IO port probe 0x100-0x3af: clean.
cs: IO port probe 0x3e0-0x4ff: excluding 0x4d0-0x4d7
cs: IO port probe 0x820-0x8ff: clean.
cs: IO port probe 0xc00-0xcf7: clean.
cs: IO port probe 0xa00-0xaff: clean.
cs: IO port probe 0x100-0x3af: clean.
cs: IO port probe 0x3e0-0x4ff: excluding 0x4d0-0x4d7
cs: IO port probe 0x820-0x8ff: clean.
cs: IO port probe 0xc00-0xcf7: clean.
cs: IO port probe 0xa00-0xaff: clean.
intel8x0_measure_ac97_clock: measured 55456 usecs
intel8x0: clocking to 48000
Adding 489940k swap on /dev/sda5.  Priority:-1 extents:1 across:489940k
IBM TrackPoint firmware: 0x0e, buttons: 3/3
input: TPPS/2 IBM TrackPoint as /class/input/input8
loop: module loaded
device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised: dm-devel@redhat.com
ReiserFS: sda3: found reiserfs format "3.6" with standard journal
ReiserFS: sda3: using ordered data mode
ReiserFS: sda3: journal params: device sda3, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: sda3: checking transaction log (sda3)
ReiserFS: sda3: Using r5 hash to sort names
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
ADDRCONF(NETDEV_UP): eth0: link is not ready
eth1: no IPv6 routers present
IBM machine detected. Enabling interrupts during APM calls.
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac)
apm: overridden by ACPI.
lp0: using parport0 (interrupt-driven).
ppdev: user-space parallel port driver
Clocksource tsc unstable (delta = -245000857 ns)
input: /usr/sbin/thinkpad-keys as /class/input/input9
Bluetooth: Core ver 2.11
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP ver 2.8
Bluetooth: L2CAP socket layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM ver 1.8
[drm] Initialized drm 1.1.0 20060810
ACPI: PCI Interrupt 0000:01:00.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
[drm] Initialized radeon 1.28.0 20060524 on minor 0
agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 1x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 1x mode
[drm] Setting GART location based on new memory map
[drm] writeback test succeeded in 2 usecs
usb 2-1: USB disconnect, address 2
usb 2-1: new full speed USB device using uhci_hcd and address 3
usb 2-1: configuration #1 chosen from 1 choice
pccard: CardBus card inserted into slot 0
ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
PCI: Enabling device 0000:03:00.0 (0000 -> 0002)
ACPI: PCI Interrupt 0000:03:00.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
PCI: Setting latency timer of device 0000:03:00.0 to 64
ohci_hcd 0000:03:00.0: OHCI Host Controller
ohci_hcd 0000:03:00.0: new USB bus registered, assigned bus number 5
ohci_hcd 0000:03:00.0: irq 11, io mem 0xc4000000
usb usb5: configuration #1 chosen from 1 choice
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 1 port detected
PCI: Enabling device 0000:03:00.1 (0000 -> 0002)
ACPI: PCI Interrupt 0000:03:00.1[B] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
PCI: Setting latency timer of device 0000:03:00.1 to 64
ohci_hcd 0000:03:00.1: OHCI Host Controller
ohci_hcd 0000:03:00.1: new USB bus registered, assigned bus number 6
ohci_hcd 0000:03:00.1: irq 11, io mem 0xc4001000
usb usb6: configuration #1 chosen from 1 choice
hub 6-0:1.0: USB hub found
hub 6-0:1.0: 1 port detected
usb 5-1: new full speed USB device using ohci_hcd and address 2
usb 5-1: configuration #1 chosen from 1 choice
usbcore: registered new interface driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
usbcore: registered new interface driver usbserial_generic
drivers/usb/serial/usb-serial.c: USB Serial Driver core
drivers/usb/serial/usb-serial.c: USB Serial support registered for Sierra USB modem (1 port)
drivers/usb/serial/usb-serial.c: USB Serial support registered for Sierra USB modem (3 port)
sierra 5-1:1.0: Sierra USB modem (3 port) converter detected
usb 5-1: Sierra USB modem (3 port) converter now attached to ttyUSB0
usb 5-1: Sierra USB modem (3 port) converter now attached to ttyUSB1
usb 5-1: Sierra USB modem (3 port) converter now attached to ttyUSB2
usbcore: registered new interface driver sierra
drivers/usb/serial/sierra.c: USB Driver for Sierra Wireless USB modems: v.1.2.5b
PPP generic driver version 2.4.2
PPP BSD Compression module registered
PPP Deflate Compression module registered
usb 2-1: USB disconnect, address 3
usb 2-1: new full speed USB device using uhci_hcd and address 4
usb 2-1: configuration #1 chosen from 1 choice
ohci_hcd 0000:03:00.0: HC died; cleaning up
ohci_hcd 0000:03:00.1: HC died; cleaning up
pccard: card ejected from slot 0
usb 5-1: USB disconnect, address 2
sierra3 ttyUSB0: Sierra USB modem (3 port) converter now disconnected from ttyUSB0
sierra3 ttyUSB1: Sierra USB modem (3 port) converter now disconnected from ttyUSB1
sierra3 ttyUSB2: Sierra USB modem (3 port) converter now disconnected from ttyUSB2
sierra 5-1:1.0: device disconnected
ohci_hcd 0000:03:00.0: remove, state 0
usb usb5: USB disconnect, address 1
ohci_hcd 0000:03:00.0: USB bus 5 deregistered
ACPI: PCI interrupt for device 0000:03:00.0 disabled
ohci_hcd 0000:03:00.1: remove, state 0
usb usb6: USB disconnect, address 1
ohci_hcd 0000:03:00.1: USB bus 6 deregistered
ACPI: PCI interrupt for device 0000:03:00.1 disabled
usb 2-1: USB disconnect, address 4
usb 2-1: new full speed USB device using uhci_hcd and address 5
usb 2-1: configuration #1 chosen from 1 choice
pccard: CardBus card inserted into slot 0
PCI: Enabling device 0000:03:00.0 (0000 -> 0002)
ACPI: PCI Interrupt 0000:03:00.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
PCI: Setting latency timer of device 0000:03:00.0 to 64
ohci_hcd 0000:03:00.0: OHCI Host Controller
ohci_hcd 0000:03:00.0: new USB bus registered, assigned bus number 5
ohci_hcd 0000:03:00.0: irq 11, io mem 0xc4000000
usb usb5: configuration #1 chosen from 1 choice
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 1 port detected
PCI: Enabling device 0000:03:00.1 (0000 -> 0002)
ACPI: PCI Interrupt 0000:03:00.1[B] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
PCI: Setting latency timer of device 0000:03:00.1 to 64
ohci_hcd 0000:03:00.1: OHCI Host Controller
ohci_hcd 0000:03:00.1: new USB bus registered, assigned bus number 6
ohci_hcd 0000:03:00.1: irq 11, io mem 0xc4001000
usb usb6: configuration #1 chosen from 1 choice
hub 6-0:1.0: USB hub found
hub 6-0:1.0: 1 port detected
usb 5-1: new full speed USB device using ohci_hcd and address 2
usb 5-1: configuration #1 chosen from 1 choice
sierra 5-1:1.0: Sierra USB modem (3 port) converter detected
usb 5-1: Sierra USB modem (3 port) converter now attached to ttyUSB0
usb 5-1: Sierra USB modem (3 port) converter now attached to ttyUSB1
usb 5-1: Sierra USB modem (3 port) converter now attached to ttyUSB2
usb 2-1: USB disconnect, address 5
usb 2-1: new full speed USB device using uhci_hcd and address 6
usb 2-1: configuration #1 chosen from 1 choice
You can see me plugging the usb part of the cable in and out, it shows a disconnect and such, but never assigns the cable to anything in /dev like it does to the EVDO ttyUSB0 card.

The Sierra USB modem that got assigned to ttyUSB0-2 is a EVDO card, getting me online to write this up. When that is not plugged in, my /dev looks like this:

Code:
jim@jimsworktop:~$ ls /dev/
adsp     loop3     ram14    stdin   tty30  tty55           usbdev3.1_ep81
agpgart  loop4     ram15    stdout  tty31  tty56           usbdev4.1_ep00
audio    loop5     ram2     tty     tty32  tty57           usbdev4.1_ep81
audio1   loop6     ram3     tty0    tty33  tty58           usbdev5.1_ep00
bus      loop7     ram4     tty1    tty34  tty59           usbdev5.1_ep81
cdrom1   lp0       ram5     tty10   tty35  tty6            usbdev6.1_ep00
cdrw1    MAKEDEV   ram6     tty11   tty36  tty60           usbdev6.1_ep81
console  mapper    ram7     tty12   tty37  tty61           vcs
core     mem       ram8     tty13   tty38  tty62           vcs1
disk     mixer     ram9     tty14   tty39  tty63           vcs2
dri      mixer1    random   tty15   tty4   tty7            vcs3
dsp      net       rtc      tty16   tty40  tty8            vcs4
dsp1     null      scd0     tty17   tty41  tty9            vcs5
dvd1     nvram     sda      tty18   tty42  ttyS0           vcs6
fd       parport0  sda1     tty19   tty43  ttyS1           vcs7
fd0      port      sda2     tty2    tty44  ttyS2           vcsa
full     ppp       sda3     tty20   tty45  ttyS3           vcsa1
hpet     printer   sda4     tty21   tty46  urandom         vcsa2
initctl  psaux     sda5     tty22   tty47  usbdev1.1_ep00  vcsa3
input    ptmx      sda6     tty23   tty48  usbdev1.1_ep81  vcsa4
kmem     pts       sg0      tty24   tty49  usbdev2.1_ep00  vcsa5
kmsg     ram0      sg1      tty25   tty5   usbdev2.1_ep81  vcsa6
log      ram1      shm      tty26   tty50  usbdev2.3_ep00  vcsa7
loop     ram10     snd      tty27   tty51  usbdev2.3_ep02  watchdog
loop0    ram11     sndstat  tty28   tty52  usbdev2.3_ep81  xconsole
loop1    ram12     sr0      tty29   tty53  usbdev2.3_ep83  zero
loop2    ram13     stderr   tty3    tty54  usbdev3.1_ep00
And with the Sierra modem:

Code:
jim@jimsworktop:~$ ls /dev/
adsp     loop5     ram4     tty11  tty38  tty7            usbdev5.2_ep81
agpgart  loop6     ram5     tty12  tty39  tty8            usbdev5.2_ep82
audio    loop7     ram6     tty13  tty4   tty9            usbdev5.2_ep84
audio1   lp0       ram7     tty14  tty40  ttyS0           usbdev5.2_ep85
bus      MAKEDEV   ram8     tty15  tty41  ttyS1           usbdev6.1_ep00
cdrom1   mapper    ram9     tty16  tty42  ttyS2           usbdev6.1_ep81
cdrw1    mem       random   tty17  tty43  ttyS3           vcs
console  mixer     rtc      tty18  tty44  ttyUSB0         vcs1
core     mixer1    scd0     tty19  tty45  ttyUSB1         vcs2
disk     net       sda      tty2   tty46  ttyUSB2         vcs3
dri      null      sda1     tty20  tty47  urandom         vcs4
dsp      nvram     sda2     tty21  tty48  usbdev1.1_ep00  vcs5
dsp1     parport0  sda3     tty22  tty49  usbdev1.1_ep81  vcs6
dvd1     port      sda4     tty23  tty5   usbdev2.1_ep00  vcs7
fd       ppp       sda5     tty24  tty50  usbdev2.1_ep81  vcsa
fd0      printer   sda6     tty25  tty51  usbdev2.3_ep00  vcsa1
full     psaux     sg0      tty26  tty52  usbdev2.3_ep02  vcsa2
hpet     ptmx      sg1      tty27  tty53  usbdev2.3_ep81  vcsa3
initctl  pts       shm      tty28  tty54  usbdev2.3_ep83  vcsa4
input    ram0      snd      tty29  tty55  usbdev3.1_ep00  vcsa5
kmem     ram1      sndstat  tty3   tty56  usbdev3.1_ep81  vcsa6
kmsg     ram10     sr0      tty30  tty57  usbdev4.1_ep00  vcsa7
log      ram11     stderr   tty31  tty58  usbdev4.1_ep81  watchdog
loop     ram12     stdin    tty32  tty59  usbdev5.1_ep00  xconsole
loop0    ram13     stdout   tty33  tty6   usbdev5.1_ep81  zero
loop1    ram14     tty      tty34  tty60  usbdev5.2_ep00
loop2    ram15     tty0     tty35  tty61  usbdev5.2_ep02
loop3    ram2      tty1     tty36  tty62  usbdev5.2_ep04
loop4    ram3      tty10    tty37  tty63  usbdev5.2_ep05
Here are the modules I have with usb in them:

Code:
jim@jimsworktop:~$ lsmod |grep usb
usbserial              31920  4 sierra
usbcore               129968  6 sierra,usbserial,ohci_hcd,ehci_hcd,uhci_hcd
Here is lsusb:

Code:
jim@jimsworktop:~$ lsusb
Bus 004 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Kernel is a custom build one on Debian Sid:

Code:
jim@jimsworktop:~$ uname -r
2.6.23.1-take1
Some module info:
Code:
jim@jimsworktop:~$ sudo modinfo usbserial
filename:       /lib/modules/2.6.23.1-take1/kernel/drivers/usb/serial/usbserial.ko
license:        GPL
description:    USB Serial Driver core
author:         Greg Kroah-Hartman, greg@kroah.com, http://www.kroah.com/linux/
depends:        usbcore
vermagic:       2.6.23.1-take1 SMP mod_unload 686
parm:           vendor:User specified USB idVendor (ushort)
parm:           product:User specified USB idProduct (ushort)
parm:           debug:Debug enabled or not (bool)
So basically, I see it not assigning any /dev address to the cable, which it used to do. I did the most distasteful thing in the world, and rebooting into another unmentionable OS, and some crap program called hyper-terminal connected through the same cable without issue, so the hardware itself is ok. What can I do to get the cable addresses as ttyUSB0, or anything so minicom can reach it?

Thanks,
JimBass
 
Old 01-02-2008, 07:15 PM   #2
deepumnit
Member
 
Registered: Dec 2006
Location: NOIDA, India
Distribution: Debian, SUSE, Fedora
Posts: 334
Blog Entries: 1

Rep: Reputation: 31
Have you tried this:
Code:
wvdialconf create
 
Old 01-03-2008, 12:30 AM   #3
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Original Poster
Rep: Reputation: 49
I use wvdial for the Sierra wireless EVDO card. I haven't tried using it to go over the USB to serial cable. When I'm at work I'll see if I can get that to work, although I don't think it has anything to do with the problem at hand. Of course, if I knew what the problem was, I would simply fix it rather than post about it, so I'll certainly try your suggestion.

Peace,
JimBass
 
Old 01-03-2008, 01:39 AM   #4
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 481Reputation: 481Reputation: 481Reputation: 481Reputation: 481
according to your #dmesg out put it is set for ttyUSB0 and above it is says choice 1 which is ttyUSB0 choice 2 is ttyUSB1 etc. so do this
plug it in reboot go to BIOS make sure it is set for none plug and play or none windos O/S. then type ls /dev/ttyUSB0 and the screen will out put
/dev/ttyUSB0 then do ls -l /dev/ttyUSB0 out put will be somthing like this. crw--rw---1 root 14 62, 64 2008-01-02 21:45./dev/ttyUSB0 now lets link it to that device.ln -s /dev/ttyUSB0 /dev/modem
dont un plug it ok because this is a linux kernel problem every time you unplug it gives it a new address same port though replug it turns in to ttyUSB1 it will do this all the way to 72 that is why you cant find it. now
if your modem is already linked then. you will have to do a
ls -l /dev/modem it should respond /dev/modem ---> /dev/ttyUSB0
if not and it says somthing like /dev/modem ---> /dev/ttyS0 then type
rm /dev/modem then type ln -s /dev/ttyUSB0 /dev/modem. your modem will work now.if when you reboot later on and you have the same problem you will have to retype the link again. or creat a autoload in you rcd or profild or what ever system your using. now in your dial up program set the modem to /dev/modem
 
Old 01-03-2008, 06:58 AM   #5
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Original Poster
Rep: Reputation: 49
Thanks Drakeo, but I don't have a problem with a modem, the modem/EVDO card works wonderfully. The problem is with the USB serial cable. It doesn't show up in /dev at all. If you look at the results of ls /dev above, you'll see the first has no ttyUSB items, and the second has ttyUSB0 through ttyUSB2. The change is that I added the EVDO modem in, but plugging in the USB serial cable never shows up in /dev. The USB serial cable used to show as ttyUSB0, or if I have the EVDO modem in, it would be ttyUSB3, as you suggest it should be. Now it is nothing. I don't mind hunting the item down in /dev, that isn't a problem, it is the fact that it doesn't show up in /dev that I have an issue with.

Peace,
JimBass

Last edited by JimBass; 01-03-2008 at 06:59 AM.
 
Old 01-03-2008, 08:41 AM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 21,628

Rep: Reputation: 4187Reputation: 4187Reputation: 4187Reputation: 4187Reputation: 4187Reputation: 4187Reputation: 4187Reputation: 4187Reputation: 4187Reputation: 4187Reputation: 4187
The Radio Shack USB serial adapter cable uses the PL2303 module. You can try loading the module manually and see if the adapter is recognized. However, I do not see it being recognized via the output of lsusb. I also can not tell when you plug/unplug the RS adapter via the dmesg command.

I assume the cable worked after you modified the kernel.
 
Old 01-04-2008, 12:10 AM   #7
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Original Poster
Rep: Reputation: 49
Solved!

Most wonderful, thanks so much michaelk! After modprobe pl2303 -

Code:
drivers/usb/serial/usb-serial.c: USB Serial support registered for pl2303
usbcore: registered new interface driver pl2303
drivers/usb/serial/pl2303.c: Prolific PL2303 USB to serial adaptor driver
usb 2-2: new full speed USB device using uhci_hcd and address 2
usb 2-2: configuration #1 chosen from 1 choice
pl2303 2-2:1.0: pl2303 converter detected
usb 2-2: pl2303 converter now attached to ttyUSB0
Interestingly enough, even though it works, lsusb still has nothing to report:

Code:
jim@jimsworktop:~$ lsusb
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
These were some sample output when I would disconnect/reconnect the cable:

Code:
usb 2-1: USB disconnect, address 2
usb 2-1: new full speed USB device using uhci_hcd and address 3
usb 2-1: configuration #1 chosen from 1 choice
Thanks to everyone who helped out!

Peace,
JimBass

Last edited by JimBass; 01-04-2008 at 12:12 AM.
 
Old 01-05-2008, 12:24 AM   #8
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 481Reputation: 481Reputation: 481Reputation: 481Reputation: 481
Quote:
Originally Posted by JimBass View Post
Thanks Drakeo, but I don't have a problem with a modem, the modem/EVDO card works wonderfully. The problem is with the USB serial cable. It doesn't show up in /dev at all. If you look at the results of ls /dev above, you'll see the first has no ttyUSB items, and the second has ttyUSB0 through ttyUSB2. The change is that I added the EVDO modem in, but plugging in the USB serial cable never shows up in /dev. The USB serial cable used to show as ttyUSB0, or if I have the EVDO modem in, it would be ttyUSB3, as you suggest it should be. Now it is nothing. I don't mind hunting the item down in /dev, that isn't a problem, it is the fact that it doesn't show up in /dev that I have an issue with.

Peace,
JimBass
help me out jim what I get from you is that the serial cable is connected to an addapter and that conect to the usb serial port. I'm lost if you do not plug anything device into the cable it will never see the cable sorry but thats how it works. but if you do have stuff conected to it and it isnt seeing it then we have the problem. you can 72 serial ports all empty and never see it. it will never load the module unless you have it set to load at boot up.
 
Old 01-05-2008, 12:39 AM   #9
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Original Poster
Rep: Reputation: 49
Drakeo,

The problem was solved by michaelk almost 2 days ago - I was missing the pl2303 module. Read posts 6 and 7.

Peace,
JimBass
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
USB Serial issues MGE Programming 4 12-13-2007 02:43 PM
Networking with serial cable? Man in the Redhat Linux - Hardware 2 11-13-2006 07:04 PM
Connecting two computers with a USB cable (data cable) seran Linux - General 5 08-01-2006 04:51 PM
Serial/Console Cable nistelrooy Linux - Newbie 4 07-29-2005 12:21 AM
usb serial cable siemnes c55 mobile ferosekhanj Linux - Hardware 1 01-27-2005 08:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration