From owner-freebsd-usb@FreeBSD.ORG Thu Oct 16 06:48:12 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C94EF531 for ; Thu, 16 Oct 2014 06:48:12 +0000 (UTC) Received: from smtp-5-out.integrity.hu (smtp-5-out.integrity.hu [212.52.165.215]) by mx1.freebsd.org (Postfix) with ESMTP id 8595EFD1 for ; Thu, 16 Oct 2014 06:48:11 +0000 (UTC) Received: from webmail.integrity.hu (mail-fe-1.integrity.hu [10.1.64.120]) by mail-smtp.integrity.hu (Postfix) with ESMTPA id 95EE440AD4; Thu, 16 Oct 2014 08:48:07 +0200 (CEST) Received: from hFaJYlDdQj/4llZH0uNhb0PtLmp1UZuG by webmail.integrity.hu with HTTP (HTTP/1.1 POST); Thu, 16 Oct 2014 08:48:07 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 16 Oct 2014 08:48:07 +0200 From: gabor@zahemszky.hu To: Hans Petter Selasky Subject: Re: u3g and Vodafone k3772 (not k3772z) In-Reply-To: <543F662E.2010801@bitfrost.no> References: <543F662E.2010801@bitfrost.no> Message-ID: X-Sender: gabor@zahemszky.hu User-Agent: Roundcube Webmail/0.8.4 Cc: freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2014 06:48:12 -0000 >> I tried to switch it to USB-modem mode, but none of the usb_quirks >> worked. And with EJECT_HUAWEI, I got an error, too. >> >> # usbconfig -d ugen4.3 add_quirk UQ_MSC_EJECT_HUAWEI >> Adding quirk 'UQ_MSC_EJECT_HUAWEI' failed, continuing. >> # > > Did you load the u3g and usb_quirk modules first? Yes. My method was: - first I plugged in the stick. - Found, that nothing know about it. - Pulled out # kldload u3g - plugged it second time - nothing - pulled out # kldload usb_quirk # man usb_quirk - plugged the stick - tried all of the u3g quirks, found in the manual and in the usbconfig dump_quirk_names list with the command: usbconfig -d useg4.3 add_quirk UQ_MSC_EJECT_* one after the other. Actually I've just found, that there is a remove_quirk subcommand, too. Maybe I need to remove a quirk if it's not the correct one? >> Under Linux, with usb_modeswitch, I could switch it to modem, with >> the >> >> MessageContent="55534243123456780000000000000011062000000100000000000000000000" >> >> string, and after it, it will be Vendor=12d1 ProdID=14cf. There are >> some >> interesting information about this modem in this forum thread: >> >> >> http://www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?f=4&t=1114 >> >> Is it possible, to use this modem under FreeBSD? And if yes, how? >> > > Modeswitch is available under FreeBSD too. Check the ports Hm, I didn't know about it, At the evening, I'll try it. > collection. Although we prefer putting the quirks into the kernel. Isn't it a good idea to make it possible to add new quirks from userspace? Thanks, Gabor < Gabor at Zahemszky dot HU >