Subject: kern/13001: USB dev can't decide what product/vendor it is
To: None <gnats-bugs@gnats.netbsd.org>
From: John Hawkinson <jhawk@mit.edu>
List: netbsd-bugs
Date: 05/21/2001 19:21:00
>Number:         13001
>Category:       kern
>Synopsis:       USB dev can't decide what product/vendor it is
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon May 21 16:21:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     John Hawkinson
>Release:        -current of circa 1 May 2001
>Organization:
MIT
>Environment:
	
System: NetBSD zorkmid.mit.edu 1.5U NetBSD 1.5U (ZORKMID-$Revision: 1.10 $) #101: Mon May 21 18:13:13 EDT 2001 jhawk@zorkmid.mit.edu:/usr/local/netbsd-current/src/sys/arch/i386/compile/ZORKMID i386


>Description:
	I got an IOGEAR UC232A USB/Serial adapter. [It's nice and sleek,
all the logic in the db9 rs232 shell]. It appears as an ATEN product
at boot time (IOGEAR's parent company), or as a Prolific Technology
(chipset manufacturer) if I plug it in while the machine is booted.
Plugging into a bunch of macintoshes, I usually get the Prolific
ID, but sometimes the ATEN. Not sure about Windows machines.

>How-To-Repeat:
	Kernel with usbdebug=-1; with the adapter plugged in while booting:
usbd_new_device bus=0xc07fd000 port=2 depth=1 lowspeed=0
usbd_new_device: adding unit addr=2, rev=110, class=0, subclass=0, protocol=0, m
axpacket=8, len=18, ls=0
usbd_new_device: new dev (addr 2), dev=0xc0820400, parent=0xc07f6580
usbd_probe_and_attach: trying device specific drivers
uplcom0 at uhub0 port 2
uplcom0: ATEN International Co. Ltd. Serial adapter, rev 1.10/0.01, addr 2
usbd_set_config_index: (addr 1) cno=2 attr=0xa0, selfpowered=0, power=100
usbd_set_config_index: set config 1
ucom0 at uplcom0

When it's hot-plugged:

usbd_new_device bus=0xc07fd000 port=2 depth=1 lowspeed=0
usbd_new_device: adding unit addr=2, rev=110, class=0, subclass=0, protocol=0, m
axpacket=8, len=18, ls=0
usbd_new_device: new dev (addr 2), dev=0xc0820180, parent=0xc07f6580
usbd_probe_and_attach: trying device specific drivers
uplcom0 at uhub0 port 2
uplcom0: Prolific Technology Inc. PL2303 Serial adapter (ATEN/IOGEAR UC232A), re
v 1.10/2.00, addr 2
usbd_set_config_index: (addr 1) cno=2 attr=0xa0, selfpowered=0, power=100
usbd_set_config_index: set config 1
ucom0 at uplcom0

This is with this usbdevs entry added:

+product PROLIFIC UC232                 0x2303  PL2303 Serial adapter (ATEN/IOGEAR UC232A)


>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted: