Subject: kern/27291: umct USB to serial adapter usbd_setup_pipe: failed to start endpoint, TIMEOUT
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <ctribo@dtcc.edu>
List: netbsd-bugs
Date: 10/18/2004 17:59:15
>Number: 27291
>Category: kern
>Synopsis: umct USB to serial adapter usbd_setup_pipe: failed to start endpoint, TIMEOUT
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Oct 18 18:00:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Chris Tribo
>Release: 2.0 RC4
>Organization:
>Environment:
NetBSD mybox.dtcc.edu 2.0_RC4 NetBSD 2.0_RC4 (GENERIC) #0: Mon Oct 11 23:12:21 UTC 2004 autobuild@tgm.netbsd.org:/autobuild/netbsd-2-0/i386/OBJ/autobuild/netbsd-2-0/src/sys/arch/i386/compile/GENERIC i386
>Description:
This device seems to work fine umct0: Belkin USB PDA Adapter Belkin Components, rev 1.10/1.02, addr 2
but the DB-25 umct1: USB-RS232 Interface Converter USB Ver1.1 Device, rev 1.10/1.02, addr 3 adapter fails with the endpoint timeout when I try to open the port in minicom at 2400 n81.
minicom: cannot open /dev/ttyU1: Input/output error
# usbdevs -v
Controller /dev/usb0:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x8086), rev 1.00
port 1 addr 2: full speed, power 100 mA, config 1, Belkin Components(0x0109), Belkin USB PDA Adapter(0x050d), rev 1.02
port 2 addr 3: full speed, power 100 mA, config 1, USB Ver1.1 Device(0x0230), USB-RS232 Interface Converter(0x0711), rev 1.02
NetBSD 2.0_RC4 (GENERIC) #0: Mon Oct 11 23:12:21 UTC 2004
autobuild@tgm.netbsd.org:/autobuild/netbsd-2-0/i386/OBJ/autobuild/netbsd-2-0/src/sys/arch/i386/compile/GENERIC
total memory = 381 MB
avail memory = 365 MB
BIOS32 rev. 0 found at 0xffe90
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel Pentium III (686-class), 797.45 MHz, id 0x686
cpu0: features 383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR>
cpu0: features 383f9ff<PGE,MCA,CMOV,PAT,PSE36,MMX>
cpu0: features 383f9ff<FXSR,SSE>
cpu0: I-cache 16 KB 32B/line 4-way, D-cache 16 KB 32B/line 4-way
cpu0: L2 cache 256 KB 32B/line 8-way
cpu0: ITLB 32 4 KB entries 4-way, 2 4 MB entries fully associative
cpu0: DTLB 64 4 KB entries 4-way, 8 4 MB entries 4-way
cpu0: 8 page colors
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82815 Hub (rev. 0x02)
pchb0: random number generator enabled
agp0 at pchb0: aperture at 0xf4000000, size 0x4000000
vga1 at pci0 dev 2 function 0: Intel 82815 Graphics (rev. 0x02)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
ppb0 at pci0 dev 30 function 0: Intel 82801BA Hub-to-PCI Bridge (rev. 0x02)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
ex0 at pci1 dev 12 function 0: 3Com 3c905C-TX 10/100 Ethernet with mngmt (rev. 0x78)
ex0: interrupting at irq 11
ex0: MAC address xx:xx:xx:xx:xx:xx
bmtphy0 at ex0 phy 24: Broadcom 3c905C internal PHY, rev. 7
bmtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcib0 at pci0 dev 31 function 0
pcib0: Intel 82801BA LPC Interface Bridge (rev. 0x02)
piixide0 at pci0 dev 31 function 1
piixide0: Intel 82801BA IDE Controller (ICH2) (rev. 0x02)
piixide0: bus-master DMA support present
piixide0: primary channel wired to compatibility mode
piixide0: primary channel interrupting at irq 14
atabus0 at piixide0 channel 0
piixide0: secondary channel wired to compatibility mode
piixide0: secondary channel interrupting at irq 15
atabus1 at piixide0 channel 1
uhci0 at pci0 dev 31 function 2: Intel 82801BA USB Controller (rev. 0x02)
uhci0: interrupting at irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
Intel 82801BA SMBus Controller (SMBus serial bus, revision 0x02) at pci0 dev 31 function 3 not configured
auich0 at pci0 dev 31 function 5: i82801BA (ICH2) AC-97 Audio
auich0: interrupting at irq 10
auich0: ac97: Analog Devices AD1885 codec; headphone, Analog Devices Phat Stereo
auich0: ac97: ext id 1<VRA>
isa0 at pcib0
lpt0 at isa0 port 0x378-0x37b irq 7
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
isapnp0: no ISA Plug 'n Play devices found
auich0: measured ac97 link rate at 55134 Hz, will use 55000 Hz
audio0 at auich0: full duplex, mmap, independent
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
Kernelized RAIDframe activated
umct0 at uhub0 port 1
umct0: Belkin USB PDA Adapter Belkin Components, rev 1.10/1.02, addr 2
ucom0 at umct0
wd0 at atabus0 drive 0: <Maxtor 51536H2>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 14594 MB, 29651 cyl, 16 head, 63 sec, 512 bytes/sect x 29888820 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA data transfers)
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 0: <LG CD-RW CED-8080B, 2000/03/05, 1.04> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2
cd0(piixide0:1:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
lfs_mountfs: please consider increasing BUFPAGES to at least 0
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
umct1 at uhub0 port 2
umct1: USB-RS232 Interface Converter USB Ver1.1 Device, rev 1.10/1.02, addr 3
ucom1 at umct1
usbd_setup_pipe: failed to start endpoint, TIMEOUT
umct0: at uhub0 port 1 (addr 2) disconnected
ucom0 detached
umct0 detached
umct0 at uhub0 port 1
umct0: Belkin USB PDA Adapter Belkin Components, rev 1.10/1.02, addr 2
ucom0 at umct0
umct1: at uhub0 port 2 (addr 3) disconnected
ucom1 detached
umct1 detached
umct1 at uhub0 port 2
umct1: USB-RS232 Interface Converter USB Ver1.1 Device, rev 1.10/1.02, addr 3
ucom1 at umct1
usbd_setup_pipe: failed to start endpoint, TIMEOUT
>How-To-Repeat:
connect the following usb to serial adapter and try to use it in minicom.
port 2 addr 3: full speed, power 100 mA, config 1, USB Ver1.1 Device(0x0230), USB-RS232 Interface Converter(0x0711), rev 1.02
>Fix:
Not known. I will say that while this adapter works on Linux and Windows, if I unplug it while the port is in use, it blue screens windows XP and kernel panics Linux. NetBSD is the first operating system I've plugged a USB to serial adapter into, opened the port and removed the device and it hasn't paniced. Excellent work.
>Release-Note:
>Audit-Trail:
>Unformatted: