From owner-freebsd-usb@FreeBSD.ORG Mon Feb 5 19:04:27 2007 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0DE6916A4E9 for ; Mon, 5 Feb 2007 19:04:23 +0000 (UTC) (envelope-from argonaut@vodafone.es) Received: from vodafone.es (back.vodafone.es [212.73.32.158]) by mx1.freebsd.org (Postfix) with ESMTP id 9FBF813C4B6 for ; Mon, 5 Feb 2007 19:04:19 +0000 (UTC) (envelope-from argonaut@vodafone.es) Received: from zurich.theworld.es ([62.87.104.154]) by mail-smtp03-p.vodafone.es (Messaging) with ESMTP id <0JD00050W3CUOR60@mail-smtp03-p.vodafone.es> for freebsd-usb@freebsd.org; Mon, 05 Feb 2007 18:31:45 +0100 (MET) Date: Mon, 05 Feb 2007 18:35:07 +0100 From: Jes In-reply-to: <45B0D4DD.3030607@vwsoft.com> To: Volker Message-id: <20070205183507.0f5b3903@zurich.theworld.es> MIME-version: 1.0 X-Mailer: Sylpheed-Claws 2.5.6 (GTK+ 2.8.20; i486-slackware-linux-gnu) Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: quoted-printable References: <20061218170041.23257117.argonaut@airtel.net> <45B0D4DD.3030607@vwsoft.com> Cc: freebsd-usb@freebsd.org Subject: Re: Huawei E220 3G devices 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: Mon, 05 Feb 2007 19:04:27 -0000 Hi Volker: I've got the usbctl printouts. First the 'dmesg': ucom0: HUAWEI Technologies HUAWEI Mobile, rev 1.10/0.00, addr 2 ucom0: Could not find interrupt in device_attach: ucom0 attach returned 6 ucom0: HUAWEI Technologies HUAWEI Mobile, rev 1.10/0.00, addr 2 ucom0: Could not find interrupt in device_attach: ucom0 attach returned 6 usbctl -f /dev/usb0 USB device 1: 9 USB device 2: 0 2 USB devices found DEVICE addr 1 DEVICE descriptor: bLength=3D18 bDescriptorType=3Ddevice(1) bcdUSB=3D1.00 bDeviceClass=3D9 bDeviceSubClass=3D0 bDeviceProtocol=3D0 bMaxPacketSize=3D64 idVendor=3D0x00= 00 idProduct=3D0x0000 bcdDevice=3D100 iManufacturer=3D1(Intel) iProduct=3D2(UH= CI root hub) iSerialNumber=3D0() bNumConfigurations=3D1 CONFIGURATION descriptor 0: bLength=3D9 bDescriptorType=3Dconfig(2) wTotalLength=3D25 bNumInterface=3D1 bConfigurationValue=3D1 iConfiguration=3D0() bmAttributes=3D40 bMaxPower=3D= 0 mA INTERFACE descriptor 0: bLength=3D9 bDescriptorType=3Dinterface(4) bInterfaceNumber=3D0 bAlternateSetting=3D0 bNumEndpoints=3D1 bInterfaceClass=3D9 bInterfaceSubClass=3D0 bInterfaceProtocol=3D0 iInterface=3D0() ENDPOINT descriptor: bLength=3D7 bDescriptorType=3Dendpoint(5) bEndpointAddress=3D1-in bmAttributes=3Dinterrupt wMaxPacketSize=3D8 bInterval=3D255 current configuration 1 HUB descriptor: bDescLength=3D9 bDescriptorType=3D41 bNbrPorts=3D2 wHubCharacteristics=3D0a bPwrOn2PwrGood=3D50 bHubContrCurrent=3D0 DeviceRemovable=3D0 Hub status 0000 0000 Port 1 status=3D0103 change=3D0000 Port 2 status=3D0100 change=3D0000 ---------- DEVICE addr 2 DEVICE descriptor: bLength=3D18 bDescriptorType=3Ddevice(1) bcdUSB=3D1.10 bDeviceClass=3D0 bDeviceSubClass=3D0 bDeviceProtocol=3D0 bMaxPacketSize=3D64 idVendor=3D0x12= d1 idProduct=3D0x1003 bcdDevice=3D0 iManufacturer=3D1(\u0c05=A4) iProduct=3D2(\u0c05=A4) iSerialNumber=3D0() bNumConfigurations=3D1 CONFIGURATION descriptor 0: bLength=3D9 bDescriptorType=3Dconfig(2) wTotalLength=3D32 bNumInterface=3D1 bConfigurationValue=3D1 iConfiguration=3D0() bmAttributes=3Da0 bMaxPower=3D= 500 mA INTERFACE descriptor 0: bLength=3D9 bDescriptorType=3Dinterface(4) bInterfaceNumber=3D0 bAlternateSetting=3D0 bNumEndpoints=3D2 bInterfaceClass=3D8 bInterfaceSubClass=3D6 bInterfaceProtocol=3D80 iInterface=3D0() ENDPOINT descriptor: bLength=3D7 bDescriptorType=3Dendpoint(5) bEndpointAddress=3D3-in bmAttributes=3Dbulk wMaxPacketSize=3D64 bInterval=3D0 ENDPOINT descriptor: bLength=3D7 bDescriptorType=3Dendpoint(5) bEndpointAddress=3D4-out bmAttributes=3Dbulk wMaxPacketSize=3D64 bInterval=3D0 current configuration 1 ---------- usbctl -f /dev/usb1 USB device 1: 9 1 USB devices found DEVICE addr 1 DEVICE descriptor: bLength=3D18 bDescriptorType=3Ddevice(1) bcdUSB=3D1.00 bDeviceClass=3D9 bDeviceSubClass=3D0 bDeviceProtocol=3D0 bMaxPacketSize=3D64 idVendor=3D0x00= 00 idProduct=3D0x0000 bcdDevice=3D100 iManufacturer=3D1(Intel) iProduct=3D2(UH= CI root hub) iSerialNumber=3D0() bNumConfigurations=3D1 CONFIGURATION descriptor 0: bLength=3D9 bDescriptorType=3Dconfig(2) wTotalLength=3D25 bNumInterface=3D1 bConfigurationValue=3D1 iConfiguration=3D0() bmAttributes=3D40 bMaxPower=3D= 0 mA INTERFACE descriptor 0: bLength=3D9 bDescriptorType=3Dinterface(4) bInterfaceNumber=3D0 bAlternateSetting=3D0 bNumEndpoints=3D1 bInterfaceClass=3D9 bInterfaceSubClass=3D0 bInterfaceProtocol=3D0 iInterface=3D0() ENDPOINT descriptor: bLength=3D7 bDescriptorType=3Dendpoint(5) bEndpointAddress=3D1-in bmAttributes=3Dinterrupt wMaxPacketSize=3D8 bInterval=3D255 current configuration 1 HUB descriptor: bDescLength=3D9 bDescriptorType=3D41 bNbrPorts=3D2 wHubCharacteristics=3D0a bPwrOn2PwrGood=3D50 bHubContrCurrent=3D0 DeviceRemovable=3D0 Hub status 0000 0000 Port 1 status=3D0100 change=3D0000 Port 2 status=3D0100 change=3D0000 ---------- usbctl -f /dev/usb2 USB device 1: 9 1 USB devices found DEVICE addr 1 DEVICE descriptor: bLength=3D18 bDescriptorType=3Ddevice(1) bcdUSB=3D1.00 bDeviceClass=3D9 bDeviceSubClass=3D0 bDeviceProtocol=3D0 bMaxPacketSize=3D64 idVendor=3D0x00= 00 idProduct=3D0x0000 bcdDevice=3D100 iManufacturer=3D1(Intel) iProduct=3D2(UH= CI root hub) iSerialNumber=3D0() bNumConfigurations=3D1 CONFIGURATION descriptor 0: bLength=3D9 bDescriptorType=3Dconfig(2) wTotalLength=3D25 bNumInterface=3D1 bConfigurationValue=3D1 iConfiguration=3D0() bmAttributes=3D40 bMaxPower=3D= 0 mA INTERFACE descriptor 0: bLength=3D9 bDescriptorType=3Dinterface(4) bInterfaceNumber=3D0 bAlternateSetting=3D0 bNumEndpoints=3D1 bInterfaceClass=3D9 bInterfaceSubClass=3D0 bInterfaceProtocol=3D0 iInterface=3D0() ENDPOINT descriptor: bLength=3D7 bDescriptorType=3Dendpoint(5) bEndpointAddress=3D1-in bmAttributes=3Dinterrupt wMaxPacketSize=3D8 bInterval=3D255 current configuration 1 HUB descriptor: bDescLength=3D9 bDescriptorType=3D41 bNbrPorts=3D2 wHubCharacteristics=3D0a bPwrOn2PwrGood=3D50 bHubContrCurrent=3D0 DeviceRemovable=3D0 Hub status 0000 0000 Port 1 status=3D0100 change=3D0000 Port 2 status=3D0100 change=3D0000 ---------- usbctl -f /dev/usb3=20 USB device 1: 9 1 USB devices found DEVICE addr 1 DEVICE descriptor: bLength=3D18 bDescriptorType=3Ddevice(1) bcdUSB=3D2.00 bDeviceClass=3D9 bDeviceSubClass=3D0 bDeviceProtocol=3D1 bMaxPacketSize=3D64 idVendor=3D0x00= 00 idProduct=3D0x0000 bcdDevice=3D100 iManufacturer=3D1(Intel) iProduct=3D2(EH= CI root hub) iSerialNumber=3D0() bNumConfigurations=3D1 CONFIGURATION descriptor 0: bLength=3D9 bDescriptorType=3Dconfig(2) wTotalLength=3D25 bNumInterface=3D1 bConfigurationValue=3D1 iConfiguration=3D0() bmAttributes=3D40 bMaxPower=3D= 0 mA INTERFACE descriptor 0: bLength=3D9 bDescriptorType=3Dinterface(4) bInterfaceNumber=3D0 bAlternateSetting=3D0 bNumEndpoints=3D1 bInterfaceClass=3D9 bInterfaceSubClass=3D0 bInterfaceProtocol=3D0 iInterface=3D0() ENDPOINT descriptor: bLength=3D7 bDescriptorType=3Dendpoint(5) bEndpointAddress=3D1-in bmAttributes=3Dinterrupt wMaxPacketSize=3D8 bInterval=3D255 current configuration 1 HUB descriptor: bDescLength=3D11 bDescriptorType=3D41 bNbrPorts=3D8 wHubCharacteristics=3D80 bPwrOn2PwrGood=3D200 bHubContrCurrent=3D0 DeviceRemovable=3D0 Hub status 0000 0000 Port 1 status=3D0500 change=3D0000 Port 2 status=3D0500 change=3D0000 Port 3 status=3D0500 change=3D0000 Port 4 status=3D0500 change=3D0000 Port 5 status=3D0500 change=3D0000 Port 6 status=3D0500 change=3D0000 Port 7 status=3D0500 change=3D0000 Port 8 status=3D0500 change=3D0000 ---------- Thanks in advance,=20 Jes On Fri, 19 Jan 2007 15:25:33 +0100 Volker wrote: > Jes, >=20 > sorry for the huge delay in respone... apologies >=20 > On 12/18/06 17:00, Jes wrote: > > Hi: > >=20 > > I have not such 'usbctl'... What is 'usbctl'? only 'usbdevs' and > > usbhidctl... and this, usbhidctl, is not very useful I guess... > > so... I put /var/log/messages and 'usbdevs'. Note that I haven't > > 'usbmass' in my kernel; it's compiled as a module and not loaded. > > Then the huawei modem cannot be interpreted as a mass-storage > > devices.... can it? >=20 > usbctl is part of a package called usbutil. >=20 > You may download a package from the website of Bernd Walter: > http://www.cosmo-project.de/~bernd/usbutil.tgz >=20 > However, I don't why such a great tool isn't part of the ports tree > (obsd + nbsd do have it in the tree). >=20 > usbctl shows the interfaces and endpoints of a usb device. You may > find a sample output of usbctl at > http://bsd.vwsoft.com/3g/merlin_u740.html >=20 > I would like to see the same output for the Huawei devices. I guess > they have different interfaces and the first driver attaching to > _and_ interface wins the whole device as the driver might return > with UMATCH_DEVCLASS*, UMATCH_VENDOR* or similar. >=20 > Greetings, >=20 > Volker >=20