From owner-freebsd-usb@FreeBSD.ORG Fri Feb 12 08:49:44 2010 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D4C15106566C for ; Fri, 12 Feb 2010 08:49:44 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe16.tele2.se [212.247.155.225]) by mx1.freebsd.org (Postfix) with ESMTP id 6ABDE8FC08 for ; Fri, 12 Feb 2010 08:49:44 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=aZY2YbYMAAAA:8 a=Gqc2ueXbvr0b_JTBPoUA:9 a=ZhgqDf1jCPjwLRTPkHkA:7 a=7AEoRyYRbgMhv1MMQBkPb6BLWxcA:4 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe16.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 600067844; Fri, 12 Feb 2010 09:49:42 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Fri, 12 Feb 2010 09:48:14 +0100 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.4; amd64; ; ) References: <201002101050.08302.freebsd-usb@dino.sk> In-Reply-To: <201002101050.08302.freebsd-usb@dino.sk> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201002120948.14930.hselasky@c2i.net> Cc: Subject: Re: Huawei E1752 under FreeBSD X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Feb 2010 08:49:44 -0000 On Wednesday 10 February 2010 10:50:08 Milan Obuch wrote: > Hi, > > I got this 3G modem, it is not recognised under FreeBSD (tested with fresh > 9-CURRENT). > > I found no relevant information googling for "huawei e1752 freebsd", > but "huawei e1752 linux" got me > > http://www.blogcatalog.com/blog/iwrite-2/dbbfb38ae5ef9ccef8540aad7f9edbd6 > > and there is part about usb modeswitch, part of config reproduced here: > > # Huawei E1752 > # > # Contributor: > > DefaultVendor= 0x12d1 > DefaultProduct= 0x1446 > > TargetVendor= 0x12d1 > TargetProdct= 0x1001 > > MessageEndpoint= 0x01 > > MessageContent= > "55534243000000000000000000000011060000000000000000000000000000" > > It looks like this is the message necessary for switching this device into > modem mode, but I have no idea how to issue such comm and. Also, for my use > I need to get this working under 8.0-RELEASE/STABLE. > The last 16-hex bytes of the message is a SCSI command. Please make a new one in: usb/usb_msctest.c Then test and make a patch for usb/usbdevs and usb/serial/u3g.c . --HPS