From owner-freebsd-usb@FreeBSD.ORG Wed Jan 12 21:59:09 2011 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 CA0C81065672 for ; Wed, 12 Jan 2011 21:59:09 +0000 (UTC) (envelope-from nagilum@nagilum.org) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.8]) by mx1.freebsd.org (Postfix) with ESMTP id 74F8E8FC0A for ; Wed, 12 Jan 2011 21:59:09 +0000 (UTC) Received: from cakebox.homeunix.net (p5081387C.dip0.t-ipconnect.de [80.129.56.124]) by mrelayeu.kundenserver.de (node=mreu1) with ESMTP (Nemesis) id 0M6RPb-1QW5kg1R63-00xi0N; Wed, 12 Jan 2011 22:46:33 +0100 Received: from cakebox.homeunix.net (localhost [127.0.0.1]) by cakebox.homeunix.net (Postfix) with ESMTP id 6C949682F9 for ; Wed, 12 Jan 2011 22:46:20 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on cakebox.tis X-Spam-Level: X-Spam-Status: No, score=-2.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.3.1 Received: by cakebox.homeunix.net (Postfix, from userid 80) id 1FC2B682F7; Wed, 12 Jan 2011 22:46:19 +0100 (CET) Received: from p5081387C.dip0.t-ipconnect.de (p5081387C.dip0.t-ipconnect.de [80.129.56.124]) by cakebox.homeunix.net (Horde Framework) with HTTP; Wed, 12 Jan 2011 22:46:18 +0100 Message-ID: <20110112224618.6755686s21gibkw0@cakebox.homeunix.net> Date: Wed, 12 Jan 2011 22:46:18 +0100 From: Nagilum To: freebsd-usb@freebsd.org References: <20110112222905.34721sg5mx73iry8@cakebox.homeunix.net> In-Reply-To: <20110112222905.34721sg5mx73iry8@cakebox.homeunix.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Dynamic Internet Messaging Program (DIMP) H3 (1.1.6) X-Provags-ID: V02:K0:VxO66qntrkdW23q1IzGUxwW1Lh9rUSzL6leTm6WFaBY bC9OYLtzDYxEfXhuzGQOV0n1hoYKofoiEodTRVdXob1CecLfQT 13sV41OQpWfoJOW2F/71pwwb0AlIlbzOEKgqT4kgA/iyDa+Lpi z3qUJbHB3Rt7dXvwYNb+6QfFOphZeAY/Deiq8DCqp9vyxJOjCj bCdZXifWgypnNJmRjASnzInfKEW2PLv3afemgF0imE= Subject: Re: ZTE MF 190 USB 3G stick 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: Wed, 12 Jan 2011 21:59:10 -0000 Actually there is a bit more information I can extract: root@cakebox ~ > usbconfig -d ugen1.2 dump_device_desc ugen1.2: <1&1 Surf-stick ZTE,Incorporated> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x0000 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0040 idVendor = 0x19d2 idProduct = 0x0117 bcdDevice = 0x0000 iManufacturer = 0x0003 iProduct = 0x0002 <1&1 Surf-stick> iSerialNumber = 0x0004 bNumConfigurations = 0x0001 root@cakebox ~ > usbconfig -d ugen1.2 dump_curr_config_desc ugen1.2: <1&1 Surf-stick ZTE,Incorporated> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON Configuration index 0 bLength = 0x0009 bDescriptorType = 0x0002 wTotalLength = 0x006c bNumInterfaces = 0x0004 bConfigurationValue = 0x0001 iConfiguration = 0x0001 bmAttributes = 0x00e0 bMaxPower = 0x00fa Interface 0 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0000 bAlternateSetting = 0x0000 bNumEndpoints = 0x0002 bInterfaceClass = 0x00ff bInterfaceSubClass = 0x00ff bInterfaceProtocol = 0x00ff iInterface = 0x0000 Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0081 bmAttributes = 0x0002 wMaxPacketSize = 0x0200 bInterval = 0x0020 bRefresh = 0x0000 bSynchAddress = 0x0000 Endpoint 1 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0001 bmAttributes = 0x0002 wMaxPacketSize = 0x0200 bInterval = 0x0020 bRefresh = 0x0000 bSynchAddress = 0x0000 Interface 1 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0001 bAlternateSetting = 0x0000 bNumEndpoints = 0x0002 bInterfaceClass = 0x00ff bInterfaceSubClass = 0x00ff bInterfaceProtocol = 0x00ff iInterface = 0x0000 Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0082 bmAttributes = 0x0002 wMaxPacketSize = 0x0200 bInterval = 0x0020 bRefresh = 0x0000 bSynchAddress = 0x0000 Endpoint 1 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0002 bmAttributes = 0x0002 wMaxPacketSize = 0x0200 bInterval = 0x0020 bRefresh = 0x0000 bSynchAddress = 0x0000 Interface 2 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0002 bAlternateSetting = 0x0000 bNumEndpoints = 0x0003 bInterfaceClass = 0x00ff bInterfaceSubClass = 0x00ff bInterfaceProtocol = 0x00ff iInterface = 0x0000 Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0083 bmAttributes = 0x0003 wMaxPacketSize = 0x0040 bInterval = 0x0005 bRefresh = 0x0000 bSynchAddress = 0x0000 Endpoint 1 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0084 bmAttributes = 0x0002 wMaxPacketSize = 0x0200 bInterval = 0x0020 bRefresh = 0x0000 bSynchAddress = 0x0000 Endpoint 2 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0003 bmAttributes = 0x0002 wMaxPacketSize = 0x0200 bInterval = 0x0020 bRefresh = 0x0000 bSynchAddress = 0x0000 Interface 3 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0003 bAlternateSetting = 0x0000 bNumEndpoints = 0x0002 bInterfaceClass = 0x0008 bInterfaceSubClass = 0x0006 bInterfaceProtocol = 0x0050 iInterface = 0x0000 Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0004 bmAttributes = 0x0002 wMaxPacketSize = 0x0200 bInterval = 0x0000 bRefresh = 0x0000 bSynchAddress = 0x0000 Endpoint 1 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0085 bmAttributes = 0x0002 wMaxPacketSize = 0x0200 bInterval = 0x0000 bRefresh = 0x0000 bSynchAddress = 0x0000 I hope that helps, Alex. ----- Message from freebsd@nagilum.org --------- Date: Wed, 12 Jan 2011 22:29:05 +0100 From: Alexander Subject: ZTE MF 190 USB 3G stick To: freebsd-usb@freebsd.org > Hi, > I'm trying to get a ZTE MF 190 USB stick to work on > FreeBSD8.2(tag=RELENG_8), so far with little success. > I checked that the thing is working using Windows and it appears > that has switched the device persistently from storage into 'modem' > mode. > At least usb_modeswitch keeps telling me the device is already switched: > > $ usb_modeswitch -W -c /etc/usb_modeswitch.d/19d2\:2000 > > Reading config file: /etc/usb_modeswitch.d/19d2:2000 > > * usb_modeswitch: handle USB devices with multiple modes > * Version 1.1.6 (C) Josua Dietze 2010 > * Based on libusb0 (0.1.12 and above) > > ! PLEASE REPORT NEW CONFIGURATIONS ! > > DefaultVendor= 0x19d2 > DefaultProduct= 0x2000 > TargetVendor= 0x19d2 > TargetProduct= not set > TargetClass= not set > TargetProductList="0001,0002,0015,0016,0017,0031,0037,0052,0055,0063,0064,0108,0 > 128" > > DetachStorageOnly=0 > HuaweiMode=0 > SierraMode=0 > SonyMode=0 > GCTMode=0 > KobilMode=0 > MessageEndpoint= not set > MessageContent="5553424312345678000000000000061e000000000000000000000000000000" > MessageContent2="5553424312345679000000000000061b000000020000000000000000000000" > MessageContent3="55534243123456702000000080000c85010101180101010101000000000000" > NeedResponse=1 > ResponseEndpoint= not set > Interface=0x00 > > InquireDevice enabled (default) > Success check enabled, max. wait time 20 seconds > System integration mode disabled > > Looking for target devices ... > searching devices, found USB ID 19d2:0117 > found matching vendor ID > searching devices, found USB ID 0000:0000 > searching devices, found USB ID 0000:0000 > No devices in target mode or class found > Looking for default devices ... > searching devices, found USB ID 19d2:0117 > found matching vendor ID > searching devices, found USB ID 0000:0000 > searching devices, found USB ID 0000:0000 > No devices in default mode found. Nothing to do. Bye. > > (I copied /etc/usb_modeswitch.d from an Ubuntu10.10 install) > usbconfig: > ugen0.1: at usbus0, cfg=0 md=HOST spd=FULL > (12Mbps) pwr=SAVE > ugen1.1: at usbus1, cfg=0 md=HOST spd=HIGH > (480Mbps) pwr=SAVE > ugen1.2: <1&1 Surf-stick ZTE,Incorporated> at usbus1, cfg=0 md=HOST > spd=HIGH (480Mbps) pwr=ON > > kldstat: > Id Refs Address Size Name > 1 24 0xc0400000 6a92bc kernel > 2 1 0xc309c000 e000 fuse.ko > 3 1 0xc32bc000 2000 accf_http.ko > 4 1 0xc32be000 2000 accf_data.ko > 5 1 0xc32c0000 4000 cryptodev.ko > 6 1 0xc33df000 12000 geom_eli.ko > 8 1 0xc35c2000 3000 nfslock.ko > 12 1 0xc5568000 5000 u3g.ko > 13 2 0xc52e4000 4000 ucom.ko > 14 1 0xc380b000 3000 ubsa.ko > > The stick also has an SD card slot or something and that seems to be > visible when I load umass: > ugen1.2: at usbus1 > (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 > (probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error > (probe0:umass-sim0:0:0:0): SCSI status: Check Condition > (probe0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium > not present) > da0 at umass-sim0 bus 0 scbus0 target 0 lun 0 > da0: Removable Direct Access SCSI-2 device > da0: 40.000MB/s transfers > da0: Attempt to query device size failed: NOT READY, Medium not present > > But I think that's ok and the other "sub-devices" should also be > visible but it seems not yet recognized by u3g or ubsa. > I've also attached the "lsusb -v" output. > Ok, that's about all the information I can currently think of that > could be useful. > Any help would be greatly appreciated. > Alex. > > ======================================================================== > # _ __ _ __ http://www.nagilum.org/ \n icq://69646724 # > # / |/ /__ ____ _(_) /_ ____ _ nagilum@nagilum.org \n +491776461165 # > # / / _ `/ _ `/ / / // / ' \ Amiga (68k/PPC): AOS/NetBSD/Linux # > # /_/|_/\_,_/\_, /_/_/\_,_/_/_/_/ Mac (PPC): MacOS-X / Linux / MacOS-X # > # /___/ x86: FreeBSD/Linux/Solaris/Win2k ARM9: EPOC EV6 # > ======================================================================== > > > ---------------------------------------------------------------- > cakebox.homeunix.net - all the machine one needs.. > > ----- End message from freebsd@nagilum.org ----- ======================================================================== # _ __ _ __ http://www.nagilum.org/ \n icq://69646724 # # / |/ /__ ____ _(_) /_ ____ _ nagilum@nagilum.org \n +491776461165 # # / / _ `/ _ `/ / / // / ' \ Amiga (68k/PPC): AOS/NetBSD/Linux # # /_/|_/\_,_/\_, /_/_/\_,_/_/_/_/ Mac (PPC): MacOS-X / NetBSD /Linux # # /___/ x86: FreeBSD/Linux/Solaris/Win2k ARM9: EPOC EV6 # ======================================================================== ---------------------------------------------------------------- cakebox.homeunix.net - all the machine one needs..