Subject: how to recognize a USB modem?
To: None <tech-kern@NetBSD.org>
From: Hubert Feyrer <hubert@feyrer.de>
List: tech-kern
Date: 03/04/2006 13:55:27
[please keep Robert Doerfler on CC:!]


I have a E-Plus UMTS card here, that is not really recognized by NetBSD 
here, see dmesg below. My line of thinking is that the device shouled be 
attached as umodem instead of ugen, how do I do that?

I have vendor and product ID from usbdevs output (see #2 below), and I can 
put it into usbdevs, but how id the mapping from vendor and product ID to 
the umodem driver done?

(If someone wants to put up a kernel or send me a patch, that'd be great!_

Thanks!


   - Hubert


dmesg:

ohci0 at cardbus1 dev 0 function 0: NEC USB Host Controller (rev. 0x43)
ohci0: interrupting at 11
ohci0: OHCI version 1.0
usb1 at ohci0: USB revision 1.0
uhub1 at usb1
uhub1: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 1 port with 1 removable, self powered
ohci1 at cardbus1 dev 0 function 1: NEC USB Host Controller (rev. 0x43)
ohci1: interrupting at 11
ohci1: OHCI version 1.0
usb2 at ohci1: USB revision 1.0
uhub2 at usb2
uhub2: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 1 port with 1 removable, self powered
ugen0 at uhub2 port 1
ugen0: Option N.V. Fusion UMTS Quad-GPRS, rev 1.10/0.00, addr 2


#2:

 	noon% sudo 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: low speed, power 100 mA, config 1, USB Mouse STD.(0x7134), NOVATEK(0x0603), rev 1.00
 	 port 2 powered
 	Controller /dev/usb1:
 	addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), NEC(0x1033), rev 1.00
 	 port 1 powered
 	Controller /dev/usb2:
===>	addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), NEC(0x1033), rev 1.00
===>	 port 1 addr 2: full speed, power 100 mA, config 1, Fusion UMTS Quad-GPRS(0x6300), Option N.V.(0x0af0), rev 0.00