On Wed, Mar 18, 2015 at 08:52:29 +0100, Oliver Neukum wrote: > On Tue, 2015-03-17 at 20:49 +0100, Bjørn Mork wrote: > > Sami Farin <hvtaifwkbgefbaei@xxxxxxxxx> writes: > > > On Mon, Feb 23, 2015 at 11:59:14 +0100, Bjørn Mork wrote: > > >> So my conclusion is that there is some higher level USB communication > > >> problem here, not directly involving neither usbnet nor the minidriver. > > > > > > Do you have new ideas as to where the problem might be? > > > I have now used the cdc_ether driver to transfer 1 TiB with zero rx/tx errors. > > > > OK, that is an indication that my wild guess was wrong. > > > > I have really no idea why this fails. We obviously do something the > > modem doesn't like, but I don't know what it is. Sorry > > > > > I also noticed cdc_ether initialization or something does not work with kernel > > > 4.0.0-rc4, I have to first setup it in 3.18.9 and then reboot to 4.0.0-rc4. > > > > That is unexpected and even more difficult to explain. There aren't > > many changes to usbnet or cdc_ether between v3.18 and v4.0-rc4: > > > > bjorn@nemi:/usr/local/src/git/linux$ git log --oneline v3.18..v4.0-rc4 -- drivers/net/usb/{usbnet,cdc_ether}.c > > 51487ae736fe usbnet: re-use native hex2bin() > > f46ad73ac696 cdc-ether: implement MULTICAST flag on the device > > 55b42b5ca2dc Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net > > > > > > I gues the only possibility is the multicast filter change, but it > > doesn't look like that should change anything by default. Any ideas on > > this one, Oliver? > > Are you sure there's no firmware upload involved? Otherwise, yes > the most likely is the multicast change. > > Regards > Oliver I tried reverting f46ad73ac696 in 4.0.0-rc5, did not help. Have to reboot first into 3.18.9. This happens: [ 2765.268081] usb 2-1.4.4: USB disconnect, device number 16 [ 2777.209388] usb 2-1.4.4: new high-speed USB device number 17 using ehci-pci [ 2777.303172] usb 2-1.4.4: New USB device found, idVendor=12d1, idProduct=157d [ 2777.303174] usb 2-1.4.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 2777.303176] usb 2-1.4.4: Product: HUAWEI_MOBILE [ 2777.303177] usb 2-1.4.4: Manufacturer: HUAWEI_MOBILE [ 2777.303178] usb 2-1.4.4: SerialNumber: 0123456789ABCDEF [ 2777.325198] usb-storage 2-1.4.4:1.0: USB Mass Storage device detected [ 2777.325282] scsi host37: usb-storage 2-1.4.4:1.0 [ 2777.903039] usb 2-1.4.4: usbfs: interface 0 claimed by usb-storage while 'usb_modeswitch' sets config #2 [ 2778.359341] usb-storage 2-1.4.4:2.2: USB Mass Storage device detected [ 2778.359429] scsi host38: usb-storage 2-1.4.4:2.2 [ 2779.363860] scsi 38:0:0:0: Direct-Access HUAWEI TF CARD Storage 2.31 PQ: 0 ANSI: 2 [ 2779.364626] sd 38:0:0:0: Attached scsi generic sg5 type 0 [ 2779.367101] sd 38:0:0:0: [sde] Attached SCSI removable disk in 3.18.9, usb_modeswitch switches to 12d1:14dc, and cdc_ether works, 4.0.0-rc5 stays in 12d1:157d .. 3.18.9 dmesg: [ 1.924582] usb 3-1: New USB device found, idVendor=12d1, idProduct=157d [ 1.924642] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 1.924697] usb 3-1: Product: HUAWEI_MOBILE [ 1.924754] usb 3-1: Manufacturer: HUAWEI_MOBILE [ 1.924807] usb 3-1: SerialNumber: 0123456789ABCDEF [ 73.094489] usb 3-1: USB disconnect, device number 2 [ 73.956013] usb 3-1: new high-speed USB device number 3 using xhci_hcd [ 74.125893] usb 3-1: New USB device found, idVendor=12d1, idProduct=14dc [ 74.125906] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 74.125909] usb 3-1: Product: HUAWEI_MOBILE [ 74.125911] usb 3-1: Manufacturer: HUAWEI_MOBILE [ 74.210164] usb-storage 3-1:1.2: USB Mass Storage device detected [ 74.210435] scsi host12: usb-storage 3-1:1.2 [ 75.181489] usbcore: registered new interface driver cdc_ether [ 75.211529] scsi 12:0:0:0: Direct-Access HUAWEI TF CARD Storage 2.31 PQ: 0 ANSI: 2 [ 75.212156] sd 12:0:0:0: Attached scsi generic sg5 type 0 [ 75.213172] sd 12:0:0:0: [sde] Attached SCSI removable disk [ 75.693336] cdc_ether 3-1:1.0 lte: renamed from eth0 3.18.9, usb_modeswitch says: no MBIM driver found, switch to legacy modem mode 4.0.0-rc5: driver for MBIM devices is available Find MBIM configuration number ... /etc/usb_modeswitch.d/12d1:157d has: # Huawei E3331 TargetVendor=0x12d1 TargetProduct=0x14db HuaweiNewMode=1 If there exists a working device I can use in bridge mode (LTE, Sonera Opengate), I'd be happy to hear. -- Do what you love because life is too short for anything else. -- 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