Re: Elsa MicroLink 56k USB is not picked up by umodem

From: Hans Petter Selasky <hselasky_at_c2i.net>
Date: Tue, 1 Sep 2009 23:57:41 +0200
On Tuesday 01 September 2009 23:48:54 Stefan Bethke wrote:
> Am 01.09.2009 um 22:50 schrieb Hans Petter Selasky:
> > On Tuesday 01 September 2009 22:45:15 Stefan Bethke wrote:
> >> # dmesg
> >> ...
> >> ugen0.3: <vendor 0x05cc> at usbus0
> >
> > Did you load umodem ??
> >
> > kldstat ?
>
> Double checked, it's loaded.
>
> > Also check if your modem has multiple configurations. Maybe you have
> > to set a
> > configuration different from config index = 0.
> >
> > usbconfig -u XXX -a YYY set_config 1
>
> Aha! That does seem to do the trick.  How would this get added into
> umodem or the quirks, or do I have to do some devd magic?
>
> # usbconfig -u 0 -a 3 set_config 1
> umodem0: <vendor 0x05cc product 0x2265, class 2/0, rev 1.00/1.00, addr
> 3> on usbus0
> umodem0: data interface 1, has CM over data, has break
>
> Checking quickly with cu, I can make it dial out.

kldload usb_quirk

usbconfig dump_quirk_names

And then run something like:

usbconfig add_dev_quirk_vplh 0x??? 0x??? 0x0000 0xFFFF UQ_CFG_INDEX_1

Will make the quirk permanent.

If you make a patch for usbdevs and the usb_quirk.c in /sys/dev/usb/quirk/ 
then I can commit that.

--HPS
Received on Tue Sep 01 2009 - 19:57:29 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:54 UTC