Hi Bjorn, Bjørn Mork wrote: > Martin Mokrejs <mmokrejs@xxxxxxxxxxxxxxxxxx> writes: > >> Hi, >> while here is the discussion about 3G modems and whether they should use one or another >> driver and that usbserial should be avoided, I just bought Huawei E372 but it is using on >> 3.4-rc7 I see it uses: >> >> cdc_wdm >> usbserial_generic >> option > > It should not use usbserial_generic, but it should use the qmi_wwan > driver in addition to cdc_wdm and option. Did you build that? It's new > in 3.4 so you may need to enable it if you are reusing an old config. > You'll find it under > > Device Drivers > Network device support > USB Network Adapters > Multi-purpose USB Networking Framework > QMI WWAN driver for Qualcomm MSM based 3G and LTE modems > > in menuconfig. just to let you know how it went when I compiled the missing modules in 3.4.rc7. [ 604.820919] hub 2-1.2:1.0: state 7 ports 4 chg 0000 evt 0002 [ 604.821501] hub 2-1.2:1.0: port 1, status 0101, change 0001, 12 Mb/s [ 604.974734] hub 2-1.2:1.0: debounce: port 1: total 100ms stable 100ms status 0x101 [ 605.054615] usb 2-1.2.1: new high-speed USB device number 11 using ehci_hcd [ 605.166340] usb 2-1.2.1: skipped 1 descriptor after endpoint [ 605.166350] usb 2-1.2.1: skipped 3 descriptors after interface [ 605.166967] usb 2-1.2.1: default language 0x0409 [ 605.168047] usb 2-1.2.1: udev 11, busnum 2, minor = 138 [ 605.168057] usb 2-1.2.1: New USB device found, idVendor=12d1, idProduct=1506 [ 605.168063] usb 2-1.2.1: New USB device strings: Mfr=4, Product=3, SerialNumber=0 [ 605.168070] usb 2-1.2.1: Product: HUAWEI Mobile [ 605.168075] usb 2-1.2.1: Manufacturer: Huawei Technologies [ 605.168223] usb 2-1.2.1: usb_probe_device [ 605.168225] usb 2-1.2.1: configuration #1 chosen from 1 choice [ 605.169947] usb 2-1.2.1: adding 2-1.2.1:1.0 (config #1, interface 0) [ 605.170096] usb 2-1.2.1: adding 2-1.2.1:1.1 (config #1, interface 1) [ 605.170141] usb 2-1.2.1: adding 2-1.2.1:1.2 (config #1, interface 2) [ 605.170175] usb 2-1.2.1: adding 2-1.2.1:1.3 (config #1, interface 3) [ 605.170222] usb 2-1.2.1: adding 2-1.2.1:1.4 (config #1, interface 4) [ 605.170257] usb 2-1.2.1: adding 2-1.2.1:1.5 (config #1, interface 5) [ 605.170279] uas 2-1.2.1:1.5: usb_probe_interface [ 605.170288] uas 2-1.2.1:1.5: usb_probe_interface - got id [ 605.170296] usb-storage 2-1.2.1:1.5: usb_probe_interface [ 605.170299] usb-storage 2-1.2.1:1.5: usb_probe_interface - got id [ 605.170443] scsi13 : usb-storage 2-1.2.1:1.5 [ 605.170516] usb 2-1.2.1: adding 2-1.2.1:1.6 (config #1, interface 6) [ 605.170540] uas 2-1.2.1:1.6: usb_probe_interface [ 605.170549] uas 2-1.2.1:1.6: usb_probe_interface - got id [ 605.170556] usb-storage 2-1.2.1:1.6: usb_probe_interface [ 605.170559] usb-storage 2-1.2.1:1.6: usb_probe_interface - got id [ 605.170676] scsi14 : usb-storage 2-1.2.1:1.6 [ 605.170772] hub 2-1.2:1.0: state 7 ports 4 chg 0000 evt 0002 [ 605.175569] cdc_wdm 2-1.2.1:1.1: usb_probe_interface [ 605.175573] cdc_wdm 2-1.2.1:1.1: usb_probe_interface - got id [ 605.175577] cdc_wdm 2-1.2.1:1.1: Ignoring extra header, type 15, length 13 [ 605.175579] cdc_wdm 2-1.2.1:1.1: Ignoring extra header, type 6, length 5 [ 605.175591] cdc_wdm 2-1.2.1:1.1: looking for a minor, starting at 0 [ 605.176128] cdc_wdm 2-1.2.1:1.1: cdc-wdm0: USB WDM device [ 605.176160] usbcore: registered new interface driver cdc_wdm [ 605.176656] usbcore: registered new interface driver usbserial [ 605.176670] usbcore: registered new interface driver usbserial_generic [ 605.176684] USB Serial support registered for generic [ 605.176695] usbserial_generic 2-1.3:1.0: usb_probe_interface [ 605.176697] usbserial_generic 2-1.3:1.0: usb_probe_interface - got id [ 605.176709] usbserial_generic 2-1.2.1:1.0: usb_probe_interface [ 605.176711] usbserial_generic 2-1.2.1:1.0: usb_probe_interface - got id [ 605.176718] usbserial_generic 2-1.2.1:1.2: usb_probe_interface [ 605.176720] usbserial_generic 2-1.2.1:1.2: usb_probe_interface - got id [ 605.176726] usbserial_generic 2-1.2.1:1.3: usb_probe_interface [ 605.176728] usbserial_generic 2-1.2.1:1.3: usb_probe_interface - got id [ 605.176733] usbserial_generic 2-1.2.1:1.4: usb_probe_interface [ 605.176735] usbserial_generic 2-1.2.1:1.4: usb_probe_interface - got id [ 605.176739] usbserial: USB Serial Driver core [ 605.177002] qmi_wwan 2-1.2.1:1.2: usb_probe_interface [ 605.177006] qmi_wwan 2-1.2.1:1.2: usb_probe_interface - got id [ 605.177468] qmi_wwan 2-1.2.1:1.2: Use "cdc_wdm" for QMI interface 2-1.2.1:1.1 [ 605.177649] usbcore: registered new interface driver option [ 605.177667] USB Serial support registered for GSM modem (1-port) [ 605.178098] qmi_wwan 2-1.2.1:1.2: wwan0: register 'qmi_wwan' at usb-0000:00:1d.0-1.2.1, QMI speaking wwan device, 02:50:f3:00:00:00 [ 605.178124] usbcore: registered new interface driver qmi_wwan [ 605.178506] option 2-1.2.1:1.0: usb_probe_interface [ 605.178510] option 2-1.2.1:1.0: usb_probe_interface - got id [ 605.178518] option 2-1.2.1:1.0: GSM modem (1-port) converter detected [ 605.178537] usb 2-1.2.1: link qh2-0001/ffff88040bdc5ac0 start 0 [2/0 us] [ 605.178610] usb 2-1.2.1: GSM modem (1-port) converter now attached to ttyUSB0 [ 605.178632] option 2-1.2.1:1.3: usb_probe_interface [ 605.178636] option 2-1.2.1:1.3: usb_probe_interface - got id [ 605.178642] option 2-1.2.1:1.3: GSM modem (1-port) converter detected [ 605.178720] usb 2-1.2.1: GSM modem (1-port) converter now attached to ttyUSB1 [ 605.178728] option 2-1.2.1:1.4: usb_probe_interface [ 605.178731] option 2-1.2.1:1.4: usb_probe_interface - got id [ 605.178736] option 2-1.2.1:1.4: GSM modem (1-port) converter detected [ 605.178807] usb 2-1.2.1: GSM modem (1-port) converter now attached to ttyUSB2 [ 606.164772] scsi 13:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 2 [ 606.164912] scsi 14:0:0:0: Direct-Access HUAWEI TF CARD Storage 2.31 PQ: 0 ANSI: 2 [ 606.165061] sd 14:0:0:0: Attached scsi generic sg2 type 0 [ 606.168735] sr1: scsi-1 drive [ 606.168799] sr 13:0:0:0: Attached scsi CD-ROM sr1 [ 606.168870] sr 13:0:0:0: Attached scsi generic sg3 type 5 [ 606.168919] sd 14:0:0:0: [sdb] Attached SCSI removable disk # lsmod Module Size Used by option 19255 1 usb_wwan 11439 1 option qmi_wwan 4774 0 usbnet 17444 1 qmi_wwan usbserial 34827 4 option,usb_wwan cdc_wdm 8752 1 qmi_wwan usb_storage 45723 0 ppp_async 6375 1 ppp_generic 22416 5 ppp_async slhc 4846 1 ppp_generic iwlwifi 236411 0 # ppp0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 1500 inet 10.82.111.165 netmask 255.255.255.255 destination 10.64.64.64 ppp txqueuelen 3 (Point-to-Point Protocol) RX packets 331572 bytes 439272595 (418.9 MiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 315580 bytes 17731549 (16.9 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 wwan0: flags=4098<BROADCAST,MULTICAST> mtu 1500 ether 02:50:f3:00:00:00 txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 119 bytes 8970 (8.7 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 I am not sure if the device should be using the option usbserial drivers or not. Although I can assign wwan0 interface an IP address I somehow cannot connect to anywhere in the world. So, I have to assign an IP back to ppp0 interface to get on the network. I would hope I do have to provide the gprs username and password for the wwan0 interface as they are the defaults I think on the SIM card already. Googling around for some manual how to configure wwan connection did not help much yet. Everything leads to to wvdial and other and looks all is PPP-based stuff, actually. Thanks, Martin -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html