Date: Mon, 05 Feb 2007 18:35:07 +0100 From: Jes <argonaut@vodafone.es> To: Volker <volker@vwsoft.com> Cc: freebsd-usb@freebsd.org Subject: Re: Huawei E220 3G devices Message-ID: <20070205183507.0f5b3903@zurich.theworld.es> In-Reply-To: <45B0D4DD.3030607@vwsoft.com> References: <20061218170041.23257117.argonaut@airtel.net> <45B0D4DD.3030607@vwsoft.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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=18 bDescriptorType=device(1) bcdUSB=1.00 bDeviceClass=9 bDeviceSubClass=0 bDeviceProtocol=0 bMaxPacketSize=64 idVendor=0x0000 idProduct=0x0000 bcdDevice=100 iManufacturer=1(Intel) iProduct=2(UHCI root hub) iSerialNumber=0() bNumConfigurations=1 CONFIGURATION descriptor 0: bLength=9 bDescriptorType=config(2) wTotalLength=25 bNumInterface=1 bConfigurationValue=1 iConfiguration=0() bmAttributes=40 bMaxPower=0 mA INTERFACE descriptor 0: bLength=9 bDescriptorType=interface(4) bInterfaceNumber=0 bAlternateSetting=0 bNumEndpoints=1 bInterfaceClass=9 bInterfaceSubClass=0 bInterfaceProtocol=0 iInterface=0() ENDPOINT descriptor: bLength=7 bDescriptorType=endpoint(5) bEndpointAddress=1-in bmAttributes=interrupt wMaxPacketSize=8 bInterval=255 current configuration 1 HUB descriptor: bDescLength=9 bDescriptorType=41 bNbrPorts=2 wHubCharacteristics=0a bPwrOn2PwrGood=50 bHubContrCurrent=0 DeviceRemovable=0 Hub status 0000 0000 Port 1 status=0103 change=0000 Port 2 status=0100 change=0000 ---------- DEVICE addr 2 DEVICE descriptor: bLength=18 bDescriptorType=device(1) bcdUSB=1.10 bDeviceClass=0 bDeviceSubClass=0 bDeviceProtocol=0 bMaxPacketSize=64 idVendor=0x12d1 idProduct=0x1003 bcdDevice=0 iManufacturer=1(\u0c05¤) iProduct=2(\u0c05¤) iSerialNumber=0() bNumConfigurations=1 CONFIGURATION descriptor 0: bLength=9 bDescriptorType=config(2) wTotalLength=32 bNumInterface=1 bConfigurationValue=1 iConfiguration=0() bmAttributes=a0 bMaxPower=500 mA INTERFACE descriptor 0: bLength=9 bDescriptorType=interface(4) bInterfaceNumber=0 bAlternateSetting=0 bNumEndpoints=2 bInterfaceClass=8 bInterfaceSubClass=6 bInterfaceProtocol=80 iInterface=0() ENDPOINT descriptor: bLength=7 bDescriptorType=endpoint(5) bEndpointAddress=3-in bmAttributes=bulk wMaxPacketSize=64 bInterval=0 ENDPOINT descriptor: bLength=7 bDescriptorType=endpoint(5) bEndpointAddress=4-out bmAttributes=bulk wMaxPacketSize=64 bInterval=0 current configuration 1 ---------- usbctl -f /dev/usb1 USB device 1: 9 1 USB devices found DEVICE addr 1 DEVICE descriptor: bLength=18 bDescriptorType=device(1) bcdUSB=1.00 bDeviceClass=9 bDeviceSubClass=0 bDeviceProtocol=0 bMaxPacketSize=64 idVendor=0x0000 idProduct=0x0000 bcdDevice=100 iManufacturer=1(Intel) iProduct=2(UHCI root hub) iSerialNumber=0() bNumConfigurations=1 CONFIGURATION descriptor 0: bLength=9 bDescriptorType=config(2) wTotalLength=25 bNumInterface=1 bConfigurationValue=1 iConfiguration=0() bmAttributes=40 bMaxPower=0 mA INTERFACE descriptor 0: bLength=9 bDescriptorType=interface(4) bInterfaceNumber=0 bAlternateSetting=0 bNumEndpoints=1 bInterfaceClass=9 bInterfaceSubClass=0 bInterfaceProtocol=0 iInterface=0() ENDPOINT descriptor: bLength=7 bDescriptorType=endpoint(5) bEndpointAddress=1-in bmAttributes=interrupt wMaxPacketSize=8 bInterval=255 current configuration 1 HUB descriptor: bDescLength=9 bDescriptorType=41 bNbrPorts=2 wHubCharacteristics=0a bPwrOn2PwrGood=50 bHubContrCurrent=0 DeviceRemovable=0 Hub status 0000 0000 Port 1 status=0100 change=0000 Port 2 status=0100 change=0000 ---------- usbctl -f /dev/usb2 USB device 1: 9 1 USB devices found DEVICE addr 1 DEVICE descriptor: bLength=18 bDescriptorType=device(1) bcdUSB=1.00 bDeviceClass=9 bDeviceSubClass=0 bDeviceProtocol=0 bMaxPacketSize=64 idVendor=0x0000 idProduct=0x0000 bcdDevice=100 iManufacturer=1(Intel) iProduct=2(UHCI root hub) iSerialNumber=0() bNumConfigurations=1 CONFIGURATION descriptor 0: bLength=9 bDescriptorType=config(2) wTotalLength=25 bNumInterface=1 bConfigurationValue=1 iConfiguration=0() bmAttributes=40 bMaxPower=0 mA INTERFACE descriptor 0: bLength=9 bDescriptorType=interface(4) bInterfaceNumber=0 bAlternateSetting=0 bNumEndpoints=1 bInterfaceClass=9 bInterfaceSubClass=0 bInterfaceProtocol=0 iInterface=0() ENDPOINT descriptor: bLength=7 bDescriptorType=endpoint(5) bEndpointAddress=1-in bmAttributes=interrupt wMaxPacketSize=8 bInterval=255 current configuration 1 HUB descriptor: bDescLength=9 bDescriptorType=41 bNbrPorts=2 wHubCharacteristics=0a bPwrOn2PwrGood=50 bHubContrCurrent=0 DeviceRemovable=0 Hub status 0000 0000 Port 1 status=0100 change=0000 Port 2 status=0100 change=0000 ---------- usbctl -f /dev/usb3 USB device 1: 9 1 USB devices found DEVICE addr 1 DEVICE descriptor: bLength=18 bDescriptorType=device(1) bcdUSB=2.00 bDeviceClass=9 bDeviceSubClass=0 bDeviceProtocol=1 bMaxPacketSize=64 idVendor=0x0000 idProduct=0x0000 bcdDevice=100 iManufacturer=1(Intel) iProduct=2(EHCI root hub) iSerialNumber=0() bNumConfigurations=1 CONFIGURATION descriptor 0: bLength=9 bDescriptorType=config(2) wTotalLength=25 bNumInterface=1 bConfigurationValue=1 iConfiguration=0() bmAttributes=40 bMaxPower=0 mA INTERFACE descriptor 0: bLength=9 bDescriptorType=interface(4) bInterfaceNumber=0 bAlternateSetting=0 bNumEndpoints=1 bInterfaceClass=9 bInterfaceSubClass=0 bInterfaceProtocol=0 iInterface=0() ENDPOINT descriptor: bLength=7 bDescriptorType=endpoint(5) bEndpointAddress=1-in bmAttributes=interrupt wMaxPacketSize=8 bInterval=255 current configuration 1 HUB descriptor: bDescLength=11 bDescriptorType=41 bNbrPorts=8 wHubCharacteristics=80 bPwrOn2PwrGood=200 bHubContrCurrent=0 DeviceRemovable=0 Hub status 0000 0000 Port 1 status=0500 change=0000 Port 2 status=0500 change=0000 Port 3 status=0500 change=0000 Port 4 status=0500 change=0000 Port 5 status=0500 change=0000 Port 6 status=0500 change=0000 Port 7 status=0500 change=0000 Port 8 status=0500 change=0000 ---------- Thanks in advance, Jes On Fri, 19 Jan 2007 15:25:33 +0100 Volker <volker@vwsoft.com> wrote: > Jes, > > sorry for the huge delay in respone... apologies > > On 12/18/06 17:00, Jes wrote: > > Hi: > > > > 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? > > usbctl is part of a package called usbutil. > > You may download a package from the website of Bernd Walter: > http://www.cosmo-project.de/~bernd/usbutil.tgz > > However, I don't why such a great tool isn't part of the ports tree > (obsd + nbsd do have it in the tree). > > 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 > > 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. > > Greetings, > > Volker >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070205183507.0f5b3903>
