Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Mar 2015 11:08:26 +0200
From:      Matthias Apitz <guru@unixarea.de>
To:        Hans Petter Selasky <hps@selasky.org>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: Fwd: Re: [Ubuntu-phone] Ethernet through USB
Message-ID:  <20150330090826.GA17010@c720-r276659>
In-Reply-To: <551910A9.2080709@selasky.org>
References:  <20150330085746.GA16832@c720-r276659> <551910A9.2080709@selasky.org>

next in thread | previous in thread | raw e-mail | index | archive | help
El día Monday, March 30, 2015 a las 11:00:25AM +0200, Hans Petter Selasky escribió:

> On 03/30/15 10:57, Matthias Apitz wrote:
> >
> > Hello,
> >
> > I have a new cellphone, the BQ Aquaris E 4.5 Ubuntu Edition, i.e. it
> > runs Ubuntu 14.10.
> >
> > When I connect this to the USB port of my 11-CURRENT netbook it gives in
> > /var/log/messages:
> >
> > Mar 30 10:25:17 c720-r276659 kernel: ugen0.4: <BQ> at usbus0
> > Mar 30 10:25:17 c720-r276659 root: Unknown USB device: vendor 0x2a47 product 0x2008 bus uhub0
> >
> > I'm attaching as well what the ubuntu-phone folks think about their side
> > of the story.
> >
> > Any chance that we could get support for it into the if_cdce driver? The
> > vendorID is not listed in sys/dev/usb/usbdevs until now.
> >
> 
> Can you dump the USB device and configuration descriptors of your phone?
> 

Hi,

Here they are:

# usbconfig -d 0.4 dump_device_desc
ugen0.4: <AquarisE4.5 BQ> at usbus0, cfg=255 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA)

  bLength = 0x0012 
  bDescriptorType = 0x0001 
  bcdUSB = 0x0200 
  bDeviceClass = 0x0000  <Probed by interface class>
  bDeviceSubClass = 0x0000 
  bDeviceProtocol = 0x0000 
  bMaxPacketSize0 = 0x0040 
  idVendor = 0x2a47 
  idProduct = 0x2008 
  bcdDevice = 0x0216 
  iManufacturer = 0x0002  <BQ>
  iProduct = 0x0003  <Aquaris_E4.5>
  iSerialNumber = 0x0004  <JU000435>
  bNumConfigurations = 0x0001 

# usbconfig -d 0.4 dump_all_config_desc
ugen0.4: <AquarisE4.5 BQ> at usbus0, cfg=255 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA)

 Configuration index 0

    bLength = 0x0009 
    bDescriptorType = 0x0002 
    wTotalLength = 0x0027 
    bNumInterfaces = 0x0001 
    bConfigurationValue = 0x0001 
    iConfiguration = 0x0000  <no string>
    bmAttributes = 0x00c0 
    bMaxPower = 0x00fa 

    Interface 0
      bLength = 0x0009 
      bDescriptorType = 0x0004 
      bInterfaceNumber = 0x0000 
      bAlternateSetting = 0x0000 
      bNumEndpoints = 0x0003 
      bInterfaceClass = 0x00ff  <Vendor specific>
      bInterfaceSubClass = 0x00ff 
      bInterfaceProtocol = 0x0000 
      iInterface = 0x0005  <MTP>

     Endpoint 0
        bLength = 0x0007 
        bDescriptorType = 0x0005 
        bEndpointAddress = 0x0081  <IN>
        bmAttributes = 0x0002  <BULK>
        wMaxPacketSize = 0x0200 
        bInterval = 0x0000 
        bRefresh = 0x0000 
        bSynchAddress = 0x0000 

     Endpoint 1
        bLength = 0x0007 
        bDescriptorType = 0x0005 
        bEndpointAddress = 0x0001  <OUT>
        bmAttributes = 0x0002  <BULK>
        wMaxPacketSize = 0x0200 
        bInterval = 0x0000 
        bRefresh = 0x0000 
        bSynchAddress = 0x0000 

     Endpoint 2
        bLength = 0x0007 
        bDescriptorType = 0x0005 
        bEndpointAddress = 0x0082  <IN>
        bmAttributes = 0x0003  <INTERRUPT>
        wMaxPacketSize = 0x001c 
        bInterval = 0x0006 
        bRefresh = 0x0000 
        bSynchAddress = 0x0000 



-- 
Matthias Apitz, guru@unixarea.de, http://www.unixarea.de/ +49-170-4527211
"Wenn der Mensch von den Umständen gebildet wird, so muß man die Umstände menschlich bilden."
"Si el hombre es formado por las circunstancias entonces es necesario formar humanamente
las circunstancias", Karl Marx in Die heilige Familie / La sagrada familia (MEW 2, 138)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150330090826.GA17010>