From owner-freebsd-current@FreeBSD.ORG Tue Sep 1 21:57:29 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9BFEF106566C for ; Tue, 1 Sep 2009 21:57:28 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe16.swipnet.se [212.247.155.225]) by mx1.freebsd.org (Postfix) with ESMTP id 2FB958FC13 for ; Tue, 1 Sep 2009 21:57:27 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=g63cz5HrQV0A:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=Qo2W_4t6YABqB0whtiAA:9 a=2uK0TgkL9oxRRfRiWSuJn6OcAt4A:4 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe16.swip.net (CommuniGate Pro SMTP 5.2.13) with ESMTPA id 562254754; Tue, 01 Sep 2009 23:57:26 +0200 From: Hans Petter Selasky To: freebsd-current@freebsd.org Date: Tue, 1 Sep 2009 23:57:41 +0200 User-Agent: KMail/1.11.4 (FreeBSD/9.0-CURRENT; KDE/4.2.4; i386; ; ) References: <15577E21-9A9B-45CA-BC56-D1AB1FF6A5A9@lassitu.de> <200909012250.48439.hselasky@c2i.net> In-Reply-To: X-Face: (%:6u[ldzJ`0qjD7sCkfdMmD*RxpOwEEQ+KWt[{J#x6ow~JO:,zwp.(t; @Aq :4:&nFCgDb8[3oIeTb^'",;u{5{}C9>"PuY\)!=#\u9SSM-nz8+SR~B\!qBv MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200909012357.42238.hselasky@c2i.net> Cc: Stefan Bethke Subject: Re: Elsa MicroLink 56k USB is not picked up by umodem X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 21:57:29 -0000 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: 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: 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