| Author |
Message |
|
|
johanjpk
|
Posted: Wed Aug 12, 2015 9:55 am |
|
|
| Posts: 2Joined: Wed Aug 12, 2015 9:14 am
|
I'would like to have the modeswitch message content for the Alcatel Onetouch L850V. This is what I know now: Code: DefaultVendor= 0x1bbb DefaultProduct= 0xf000
TargetVendor= 0x1bbb TargetProduct= 0x0191 usb-devices: Code: T: Bus=02 Lev=04 Prnt=07 Port=00 Cnt=01 Dev#= 13 Spd=480 MxCh= 0 D: Ver= 2.01 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=1bbb ProdID=f000 Rev=02.28 S: Manufacturer=Alcatel S: Product=MobileBroadBand S: SerialNumber=0123456789ABCDEF C: #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=(none)
how do I go from here, Regards, Johan
|
|
Top
|
|
|
Josh
|
Posted: Wed Aug 12, 2015 10:17 am |
|
|
| Site AdminPosts: 6288Joined: Sat Nov 03, 2007 12:30 am
|
Did you have a look at the existing configurations for other devices from that manufacturer?
See data package, config files starting with "1bbb:..."
|
|
Top
|
|
|
LOM
|
Posted: Wed Aug 12, 2015 10:26 am |
|
|
| Posts: 1108Location: Koh Samui, THJoined: Wed Jul 11, 2012 3:14 pm
|
download the latest datapackage from http://www.draisberghof.de/usb_modeswitch/and look at the 1bbb:f000 file which has the switch message and also the 1bbb:0191 id in the target list. When you have got it to switch then please paste here the output from: lsusb -v -d 1bbb:0191
|
|
Top
|
|
|
johanjpk
|
Posted: Thu Aug 13, 2015 9:38 am |
|
|
| Posts: 2Joined: Wed Aug 12, 2015 9:14 am
|
I was wrong for some reason. Targetproduct should be 0195 so this worked: Code: usb_modeswitch -W -v 1bbb -p f000 -V 1bbb -P 0195 --message-content 55534243123456788000000080000606f50402527000000000000000000000 Output lsusb -v -d 1bbb:0195: Code: Bus 002 Device 016: ID 1bbb:0195 T & A Mobile Phones Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.01 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 idVendor 0x1bbb T & A Mobile Phones idProduct 0x0195 bcdDevice 2.28 iManufacturer 1 Alcatel iProduct 2 MobileBroadBand iSerial 3 0123456789ABCDEF bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 79 bNumInterfaces 3 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x80 (Bus Powered) MaxPower 500mA Interface Association: bLength 8 bDescriptorType 11 bFirstInterface 0 bInterfaceCount 2 bFunctionClass 224 Wireless bFunctionSubClass 1 Radio Frequency bFunctionProtocol 3 RNDIS iFunction 7 RNDIS Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 224 Wireless bInterfaceSubClass 1 Radio Frequency bInterfaceProtocol 3 RNDIS iInterface 5 RNDIS Communications Control Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x82 EP 2 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0008 1x 8 bytes bInterval 9 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 10 CDC Data bInterfaceSubClass 0 Unused bInterfaceProtocol 0 iInterface 6 RNDIS Ethernet Data Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 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 0 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 2 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 8 Mass Storage bInterfaceSubClass 6 SCSI bInterfaceProtocol 80 Bulk-Only iInterface 4 Mass Storage 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 1 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 0 Binary Object Store Descriptor: bLength 5 bDescriptorType 15 wTotalLength 12 bNumDeviceCaps 1 USB 2.0 Extension Device Capability: bLength 7 bDescriptorType 16 bDevCapabilityType 2 bmAttributes 0x00000002 Link Power Management (LPM) Supported Device Status: 0x0000 (Bus Powered)
I see two ttyUSB's /dev/ttyUSB0 /dev/ttyUSB1 I can connect to them but I can't issue AT commands to them.
|
|
Top
|
|
|
LOM
|
Posted: Thu Aug 13, 2015 10:49 am |
|
|
| Posts: 1108Location: Koh Samui, THJoined: Wed Jul 11, 2012 3:14 pm
|
There shouldn't be any ttyUSB devices created for this dongle so the ones you have is either from another device or from you forcing a serial driver onto 1bbb:0195.
The lsusb list you pasted clearly shows that this a not a serial dial-up modem but a direct ethernet adapter for which you need the linux rndis_host driver.
|
|
Top
|
|
|
mmokrejs
|
Posted: Fri Oct 16, 2015 11:01 am |
|
|
| Posts: 1Joined: Thu Oct 15, 2015 10:21 pm
|
I had a brief grasp of this device and I can confirm it works fine with Linux 3.18.19. From .config I can quote: Code: CONFIG_USB_NET_RNDIS_HOST=m CONFIG_USB_NET_RNDIS_WLAN=m CONFIG_USB_NET_CDCETHER=m Code: [ 1424.813009] usb 1-2: new high-speed USB device number 8 using xhci_hcd [ 1424.973875] usb 1-2: New USB device found, idVendor=1bbb, idProduct=f000 [ 1424.973878] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 1424.973880] usb 1-2: Product: MobileBroadBand [ 1424.973881] usb 1-2: Manufacturer: Alcatel [ 1424.973883] usb 1-2: SerialNumber: 0123456789ABCDEF [ 1424.988463] usb-storage 1-2:1.0: USB Mass Storage device detected [ 1424.988579] scsi host8: usb-storage 1-2:1.0 [ 1425.663039] usb 1-2: USB disconnect, device number 8 [ 1426.064110] usb 1-2: new high-speed USB device number 9 using xhci_hcd [ 1426.286265] usb 1-2: New USB device found, idVendor=1bbb, idProduct=0195 [ 1426.286269] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 1426.286271] usb 1-2: Product: MobileBroadBand [ 1426.286272] usb 1-2: Manufacturer: Alcatel [ 1426.286273] usb 1-2: SerialNumber: 0123456789ABCDEF [ 1426.317318] rndis_host 1-2:1.0 usb0: register 'rndis_host' at usb-0000:00:14.0-2, RNDIS device, xx:xx:xx:xx:xx:xx [ 1426.322005] usb-storage 1-2:1.2: USB Mass Storage device detected [ 1426.323430] scsi host9: usb-storage 1-2:1.2 [ 1426.518270] userif-2: sent link down event. [ 1426.518276] userif-2: sent link up event. [ 1427.317808] scsi 9:0:0:0: Direct-Access ONETOUCH ESTORIL 2.31 PQ: 0 ANSI: 2 [ 1427.318470] sd 9:0:0:0: Attached scsi generic sg2 type 0 [ 1427.326086] sd 9:0:0:0: [sdb] Attached SCSI removable disk [ 1431.348942] bridge-usb0: can't bridge with usb0, bad header length 58 [ 1431.348948] bridge-usb0: attached Code: Bus 001 Device 009: ID 1bbb:0195 T & A Mobile Phones Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.01 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 idVendor 0x1bbb T & A Mobile Phones idProduct 0x0195 bcdDevice 2.28 iManufacturer 1 Alcatel iProduct 2 MobileBroadBand iSerial 3 0123456789ABCDEF bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 79 bNumInterfaces 3 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x80 (Bus Powered) MaxPower 500mA Interface Association: bLength 8 bDescriptorType 11 bFirstInterface 0 bInterfaceCount 2 bFunctionClass 224 Wireless bFunctionSubClass 1 Radio Frequency bFunctionProtocol 3 RNDIS iFunction 7 RNDIS Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 224 Wireless bInterfaceSubClass 1 Radio Frequency bInterfaceProtocol 3 RNDIS iInterface 5 RNDIS Communications Control Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x82 EP 2 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0008 1x 8 bytes bInterval 9 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 10 CDC Data bInterfaceSubClass 0 Unused bInterfaceProtocol 0 iInterface 6 RNDIS Ethernet Data Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 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 0 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 2 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 8 Mass Storage bInterfaceSubClass 6 SCSI bInterfaceProtocol 80 Bulk-Only iInterface 4 Mass Storage 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 1 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 0 Binary Object Store Descriptor: bLength 5 bDescriptorType 15 wTotalLength 12 bNumDeviceCaps 1 USB 2.0 Extension Device Capability: bLength 7 bDescriptorType 16 bDevCapabilityType 2 bmAttributes 0x00000002 Link Power Management (LPM) Supported Device Status: 0x0000 (Bus Powered) The device introduced a /dev/usb0 IMHO, at least that was reported in 'ifconfig -a' output. NetworkManager-1.0.6 (Debian stretch) detected the device automatically and fetched the IP/DNS/route information from T-Mobile network. Aside from the fact it has no connector for an external antenna it would be a nice thingie and just working well!
|
|
Top
|
|
|
|