Fujitsu with MC8305

Aleksander Morgado aleksander at aleksander.es
Tue Sep 16 23:49:00 PDT 2014


On Tue, Sep 16, 2014 at 5:30 PM, Harald Jung <jung at ecos.de> wrote:
> update.... did it manually ... :
>
> /lib/udev/gobi_loader -2000 /dev/ttyUSB1 /lib/firmware/gobi/
>
> after a while the broadband connection came up.
> But the question is, how can i fetch the right interface for upload?
>

You sure you needed to do that? gobi_loader is only for Gobi2k modems,
Gobi3k don't need it.

Actually, you were already getting a pair of QMI+WWAN ports in the
first logs you posted, *but* it seems you didn't have ModemManager
compiled with libqmi support (as per the "ignoring QMI net port" logs)


>
> Am 16.09.2014 um 17:28 schrieb Harald Jung:
>>
>> Hi,
>>
>> first of all the gobiloader isn't triggerd because it founds no device to
>> do so.
>> udev rule:
>> ATTRS{idVendor}=="1199", ATTRS{idProduct}=="9011", RUN+="gobi_loader -2000
>> $env{DEVNAME} /lib/firmware/11999011"
>>
>> usb-devices:
>> T:  Bus=01 Lev=02 Prnt=02 Port=04 Cnt=03 Dev#=  6 Spd=480 MxCh= 0
>> D:  Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs=  2
>> P:  Vendor=1199 ProdID=9011 Rev=00.02
>> S:  Manufacturer=Sierra Wireless Inc
>> S:  Product=MC8305
>> C:  #Ifs= 2 Cfg#= 2 Atr=e0 MxPwr=500mA
>> I:  If#= 5 Alt= 0 #EPs= 1 Cls=02(commc) Sub=0e Prot=00 Driver=(none)
>> I:  If#= 6 Alt= 0 #EPs= 0 Cls=0a(data ) Sub=00 Prot=02 Driver=(none)
>>
>> ThinClient,initial:root:~ $ cat /sys/bus/usb/devices/1-1.5/product
>> MC8305
>> ThinClient,initial:root:~ $ cat
>> /sys/bus/usb/devices/1-1.5/bConfigurationValue
>> 2
>>
>> I think the problem could be the value 2 in bConfigurationValue
>>
>> echo 1 > /sys/bus/usb/devices/1-1.5/bConfigurationValue
>>
>> qcserial 1-1.5:1.1: Qualcomm USB modem converter detected
>> usb 1-1.5: Qualcomm USB modem converter now attached to ttyUSB0
>> qcserial 1-1.5:1.2: Qualcomm USB modem converter detected
>> usb 1-1.5: Qualcomm USB modem converter now attached to ttyUSB1
>> qcserial 1-1.5:1.3: Qualcomm USB modem converter detected
>> usb 1-1.5: Qualcomm USB modem converter now attached to ttyUSB2
>> usbcore: registered new interface driver cdc_wdm
>> qmi_wwan 1-1.5:1.0: cdc-wdm0: USB WDM device
>> qmi_wwan 1-1.5:1.0 wwan0: register 'qmi_wwan' at usb-0000:00:1a.0-1.5,
>> WWAN/QMI device, e2:0d:d9:13:1d:49
>> usbcore: registered new interface driver qmi_wwan
>> Sep 16 17:22:04 ThinClient ModemManager[2532]: <info> Creating modem with
>> plugin 'Generic' and '2' ports
>> Sep 16 17:22:04 ThinClient ModemManager[2532]: <warn>  Could not grab port
>> (net/wwan0): 'ignoring QMI net port'
>> Sep 16 17:22:04 ThinClient ModemManager[2532]: <warn>  Could not grab port
>> (usbmisc/cdc-wdm0): 'Cannot add port 'usbmisc/cdc-wdm0', unsupported'
>> Sep 16 17:22:04 ThinClient ModemManager[2532]: <warn> Couldn't create
>> modem for device at '/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5':
>> Failed to find primary AT port
>> Sep 16 17:27:57 ThinClient ModemManager[6215]: <warn> (ttyUSB0): port
>> attributes not fully set
>> Sep 16 17:27:57 ThinClient ModemManager[6215]: <warn> (ttyUSB1): port
>> attributes not fully set
>> Sep 16 17:27:57 ThinClient ModemManager[6215]: <warn> (ttyUSB2): port
>> attributes not fully set
>> Sep 16 17:28:00 ThinClient ModemManager[6215]: <warn> Couldn't find
>> support for device at '/sys/devices/pci0000:00/0000:00:19.0': not supported
>> by any plugin
>> Sep 16 17:28:00 ThinClient ModemManager[6215]: <warn> Couldn't find
>> support for device at '/sys/devices/pci0000:00/0000:00:1c.2/0000:02:00.0':
>> not supported by any plugin
>> Sep 16 17:28:34 ThinClient ModemManager[6215]: <warn> (ttyUSB0): close
>> blocked by driver for more than 7 seconds!
>> Sep 16 17:28:43 ThinClient ModemManager[6215]: <info> Creating modem with
>> plugin 'Gobi' and '5' ports
>> Sep 16 17:28:43 ThinClient ModemManager[6215]: <warn>  Could not grab port
>> (usbmisc/cdc-wdm0): 'Cannot add port 'usbmisc/cdc-wdm0', unsupported'
>> Sep 16 17:28:43 ThinClient ModemManager[6215]: <warn>  Could not grab port
>> (net/wwan0): 'ignoring QMI net port'
>> Sep 16 17:28:43 ThinClient ModemManager[6215]: <warn>  Could not grab port
>> (tty/ttyUSB2): 'Cannot add port 'tty/ttyUSB2', unhandled serial type'
>> Sep 16 17:28:43 ThinClient ModemManager[6215]: <warn>  Could not grab port
>> (tty/ttyUSB0): 'Cannot add port 'tty/ttyUSB0', unhandled serial type'
>> Sep 16 17:28:43 ThinClient ModemManager[6215]: <warn> (ttyUSB1): port
>> attributes not fully set
>> Sep 16 17:28:43 ThinClient ModemManager[6215]: <info>  Modem for device at
>> '/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5' successfully created
>> Sep 16 17:28:43 ThinClient ModemManager[6215]: <warn> couldn't load
>> Supported Modes: 'Couldn't retrieve supported modes'
>> Sep 16 17:28:43 ThinClient ModemManager[6215]: <warn> couldn't load
>> Supported IP families: 'Unknown error'
>> Sep 16 17:28:43 ThinClient ModemManager[6215]: <info> Modem: state changed
>> (unknown -> locked)
>> Sep 16 17:28:43 ThinClient ModemManager[6215]: <warn> couldn't load SIM
>> identifier: 'Operation not allowed'
>> Sep 16 17:28:43 ThinClient ModemManager[6215]: <warn> couldn't load IMSI:
>> 'Unknown error'
>> Sep 16 17:28:43 ThinClient ModemManager[6215]: <warn> couldn't load
>> Operator identifier: 'Operation not allowed'
>> Sep 16 17:28:43 ThinClient ModemManager[6215]: <warn> couldn't load
>> Operator name: 'Operation not allowed'
>> Sep 16 17:28:43 ThinClient ModemManager[6215]: <warn> couldn't load list
>> of Own Numbers: 'Unknown error'
>>
>>
>> but gobi_loader doen't seem to be triggered, how can i find the device to
>> trigger the gobi_loader manually?
>>
>>
>> T:  Bus=01 Lev=02 Prnt=02 Port=04 Cnt=03 Dev#=  6 Spd=480 MxCh= 0
>> D:  Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs=  2
>> P:  Vendor=1199 ProdID=9011 Rev=00.02
>> S:  Manufacturer=Sierra Wireless Inc
>> S:  Product=MC8305
>> C:  #Ifs= 4 Cfg#= 1 Atr=e0 MxPwr=500mA
>> I:  If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=qmi_wwan
>> I:  If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=qcserial
>> I:  If#= 2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=qcserial
>> I:  If#= 3 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=qcserial
>>
>>
>>
>>
>>
>> lsusb:
>> Bus 001 Device 006: ID 1199:9011 Sierra Wireless, Inc.
>> Device Descriptor:
>>   bLength                18
>>   bDescriptorType         1
>>   bcdUSB               2.00
>>   bDeviceClass          239 Miscellaneous Device
>>   bDeviceSubClass         2 ?
>>   bDeviceProtocol         1 Interface Association
>>   bMaxPacketSize0        64
>>   idVendor           0x1199 Sierra Wireless, Inc.
>>   idProduct          0x9011
>>   bcdDevice            0.02
>>   iManufacturer           4 Sierra Wireless Inc
>>   iProduct                3 MC8305
>>   iSerial                 0
>>   bNumConfigurations      2
>>   Configuration Descriptor:
>>     bLength                 9
>>     bDescriptorType         2
>>     wTotalLength          157
>>     bNumInterfaces          4
>>     bConfigurationValue     1
>>     iConfiguration          1 Qualcomm Configuration
>>     bmAttributes         0xe0
>>       Self Powered
>>       Remote Wakeup
>>     MaxPower              500mA
>>     Interface Descriptor:
>>       bLength                 9
>>       bDescriptorType         4
>>       bInterfaceNumber        0
>>       bAlternateSetting       0
>>       bNumEndpoints           3
>>       bInterfaceClass       255 Vendor Specific Class
>>       bInterfaceSubClass    255 Vendor Specific Subclass
>>       bInterfaceProtocol    255 Vendor Specific Protocol
>>       iInterface              0
>>       Endpoint Descriptor:
>>         bLength                 7
>>         bDescriptorType         5
>>         bEndpointAddress     0x81  EP 1 IN
>>         bmAttributes            3
>>           Transfer Type            Interrupt
>>           Synch Type               None
>>           Usage Type               Data
>>         wMaxPacketSize     0x0040  1x 64 bytes
>>         bInterval               5
>>       Endpoint Descriptor:
>>         bLength                 7
>>         bDescriptorType         5
>>         bEndpointAddress     0x82  EP 2 IN
>>         bmAttributes            2
>>           Transfer Type            Bulk
>>           Synch Type               None
>>           Usage Type               Data
>>         wMaxPacketSize     0x0200  1x 512 bytes
>>         bInterval              32
>>       Endpoint Descriptor:
>>         bLength                 7
>>         bDescriptorType         5
>>         bEndpointAddress     0x01  EP 1 OUT
>>         bmAttributes            2
>>           Transfer Type            Bulk
>>           Synch Type               None
>>           Usage Type               Data
>>         wMaxPacketSize     0x0200  1x 512 bytes
>>         bInterval              32
>>     Interface Descriptor:
>>       bLength                 9
>>       bDescriptorType         4
>>       bInterfaceNumber        1
>>       bAlternateSetting       0
>>       bNumEndpoints           2
>>       bInterfaceClass       255 Vendor Specific Class
>>       bInterfaceSubClass    255 Vendor Specific Subclass
>>       bInterfaceProtocol    255 Vendor Specific Protocol
>>       iInterface              0
>>       Endpoint Descriptor:
>>         bLength                 7
>>         bDescriptorType         5
>>         bEndpointAddress     0x83  EP 3 IN
>>         bmAttributes            2
>>           Transfer Type            Bulk
>>           Synch Type               None
>>           Usage Type               Data
>>         wMaxPacketSize     0x0200  1x 512 bytes
>>         bInterval              32
>>       Endpoint Descriptor:
>>         bLength                 7
>>         bDescriptorType         5
>>         bEndpointAddress     0x02  EP 2 OUT
>>         bmAttributes            2
>>           Transfer Type            Bulk
>>           Synch Type               None
>>           Usage Type               Data
>>         wMaxPacketSize     0x0200  1x 512 bytes
>>         bInterval              32
>>     Interface Descriptor:
>>       bLength                 9
>>       bDescriptorType         4
>>       bInterfaceNumber        2
>>       bAlternateSetting       0
>>       bNumEndpoints           3
>>       bInterfaceClass       255 Vendor Specific Class
>>       bInterfaceSubClass    255 Vendor Specific Subclass
>>       bInterfaceProtocol    255 Vendor Specific Protocol
>>       iInterface              0
>>       Endpoint Descriptor:
>>         bLength                 7
>>         bDescriptorType         5
>>         bEndpointAddress     0x84  EP 4 IN
>>         bmAttributes            3
>>           Transfer Type            Interrupt
>>           Synch Type               None
>>           Usage Type               Data
>>         wMaxPacketSize     0x0040  1x 64 bytes
>>         bInterval               5
>>       Endpoint Descriptor:
>>         bLength                 7
>>         bDescriptorType         5
>>         bEndpointAddress     0x85  EP 5 IN
>>         bmAttributes            2
>>           Transfer Type            Bulk
>>           Synch Type               None
>>           Usage Type               Data
>>         wMaxPacketSize     0x0200  1x 512 bytes
>>        bInterval              32
>>       Endpoint Descriptor:
>>         bLength                 7
>>         bDescriptorType         5
>>         bEndpointAddress     0x03  EP 3 OUT
>>         bmAttributes            2
>>           Transfer Type            Bulk
>>           Synch Type               None
>>           Usage Type               Data
>>         wMaxPacketSize     0x0200  1x 512 bytes
>>         bInterval              32
>>     Interface Descriptor:
>>       bLength                 9
>>       bDescriptorType         4
>>       bInterfaceNumber        3
>>       bAlternateSetting       0
>>       bNumEndpoints           2
>>       bInterfaceClass       255 Vendor Specific Class
>>       bInterfaceSubClass    255 Vendor Specific Subclass
>>       bInterfaceProtocol    255 Vendor Specific Protocol
>>       iInterface              0
>>       ** UNRECOGNIZED:  05 24 00 10 01
>>       ** UNRECOGNIZED:  05 24 15 00 01
>>       ** UNRECOGNIZED:  05 24 06 03 03
>>       ** UNRECOGNIZED:  15 24 12 20 01 98 b0 6a 49 b0 9e 48 96 94 46 d9 9a
>> 28 ca 4e 5d
>>       ** UNRECOGNIZED:  06 24 13 00 01 20
>>       Endpoint Descriptor:
>>         bLength                 7
>>         bDescriptorType         5
>>         bEndpointAddress     0x86  EP 6 IN
>>         bmAttributes            2
>>           Transfer Type            Bulk
>>           Synch Type               None
>>           Usage Type               Data
>>         wMaxPacketSize     0x0200  1x 512 bytes
>>         bInterval              32
>>       Endpoint Descriptor:
>>         bLength                 7
>>         bDescriptorType         5
>>         bEndpointAddress     0x04  EP 4 OUT
>>         bmAttributes            2
>>           Transfer Type            Bulk
>>           Synch Type               None
>>           Usage Type               Data
>>         wMaxPacketSize     0x0200  1x 512 bytes
>>         bInterval              32
>>   Configuration Descriptor:
>>     bLength                 9
>>     bDescriptorType         2
>>     wTotalLength           82
>>     bNumInterfaces          2
>>     bConfigurationValue     2
>>     iConfiguration          2 Qualcomm Configuration
>>     bmAttributes         0xe0
>>       Self Powered
>>       Remote Wakeup
>>     MaxPower              500mA
>>     Interface Association:
>>       bLength                 8
>>       bDescriptorType        11
>>       bFirstInterface         5
>>       bInterfaceCount         2
>>       bFunctionClass          2 Communications
>>       bFunctionSubClass      14
>>       bFunctionProtocol       0
>>       iFunction               0
>>     Interface Descriptor:
>>       bLength                 9
>>       bDescriptorType         4
>>       bInterfaceNumber        5
>>       bAlternateSetting       0
>>       bNumEndpoints           1
>>       bInterfaceClass         2 Communications
>>       bInterfaceSubClass     14
>>       bInterfaceProtocol      0
>>       iInterface              0
>>       CDC Header:
>>         bcdCDC               1.10
>>       CDC MBIM:
>>         bcdMBIMVersion       1.00
>>         wMaxControlMessage   4096
>>         bNumberFilters       16
>>         bMaxFilterSize       128
>>         wMaxSegmentSize      4064
>>         bmNetworkCapabilities 0x20
>>           8-byte ntb input size
>>       Endpoint Descriptor:
>>         bLength                 7
>>         bDescriptorType         5
>>         bEndpointAddress     0x81  EP 1 IN
>>         bmAttributes            3
>>           Transfer Type            Interrupt
>>           Synch Type               None
>>           Usage Type               Data
>>         wMaxPacketSize     0x0040  1x 64 bytes
>>         bInterval               5
>>     Interface Descriptor:
>>       bLength                 9
>>       bDescriptorType         4
>>       bInterfaceNumber        6
>>       bAlternateSetting       0
>>       bNumEndpoints           0
>>       bInterfaceClass        10 CDC Data
>>       bInterfaceSubClass      0 Unused
>>       bInterfaceProtocol      2
>>       iInterface              0
>>     Interface Descriptor:
>>       bLength                 9
>>       bDescriptorType         4
>>       bInterfaceNumber        6
>>       bAlternateSetting       1
>>       bNumEndpoints           2
>>       bInterfaceClass        10 CDC Data
>>       bInterfaceSubClass      0 Unused
>>       bInterfaceProtocol      2
>>       iInterface              0
>>       Endpoint Descriptor:
>>         bLength                 7
>>         bDescriptorType         5
>>         bEndpointAddress     0x82  EP 2 IN
>>         bmAttributes            2
>>           Transfer Type            Bulk
>>           Synch Type               None
>>           Usage Type               Data
>>         wMaxPacketSize     0x0200  1x 512 bytes
>>         bInterval              32
>>       Endpoint Descriptor:
>>         bLength                 7
>>         bDescriptorType         5
>>         bEndpointAddress     0x01  EP 1 OUT
>>         bmAttributes            2
>>           Transfer Type            Bulk
>>           Synch Type               None
>>           Usage Type               Data
>>         wMaxPacketSize     0x0200  1x 512 bytes
>>         bInterval              32
>> Device Qualifier (for other device speed):
>>   bLength                10
>>   bDescriptorType         6
>>   bcdUSB               2.00
>>   bDeviceClass          239 Miscellaneous Device
>>   bDeviceSubClass         2 ?
>>   bDeviceProtocol         1 Interface Association
>>   bMaxPacketSize0        64
>>   bNumConfigurations      2
>> Device Status:     0x0000
>>   (Bus Powered)
>>
>> _______________________________________________
>> ModemManager-devel mailing list
>> ModemManager-devel at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/modemmanager-devel
>>
>> !DSPAM:416,5418571320922053923754!
>
>
> _______________________________________________
> ModemManager-devel mailing list
> ModemManager-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/modemmanager-devel



-- 
Aleksander
https://aleksander.es


More information about the ModemManager-devel mailing list