rndis_host drops connection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi There,


Not sure if this might need to go to networking instead.

The issue is related to getting USB tethering for my phone. 
It works with a galaxy-s4, but not with oneplus-3t. I think
 it's a kernel related bug. All log excerpts are from my
 linux-laptop to which i plug the phone via USB.

Asking to phone to do tethering via USB, I'm supposed to
have an ethernet interface somehow via rndis_host.
Unfortunately, right after seeing it, rndis unregisters:

Dec 28 16:49:13 tuna kernel: [30092.296098] rndis_host 1-1:1.0 usb0: register 'rndis_host' at usb-0000:00:14.0-1, RNDIS device, da:12:fe:3d:d4:85
Dec 28 16:49:13 tuna kernel: [30092.378554] rndis_host 1-1:1.0 enp0s20u1: renamed from usb0
Dec 28 16:49:14 tuna kernel: [30092.872547] rndis_host 1-1:1.0 enp0s20u1: unregister 'rndis_host' usb-0000:00:14.0-1, RNDIS device

Now, if I unload and reload the rndis_host module, everything works fine:


modprobe -r rndis_host ; sleep 0.5; modprobe rndis_host

Dec 28 16:50:28 tuna kernel: [30166.659337] usbcore: deregistering interface driver rndis_host
Dec 28 16:50:28 tuna kernel: [30167.206169] rndis_host 1-1:1.0 usb0: register 'rndis_host' at usb-0000:00:14.0-1, RNDIS device, 0e:6c:50:ee:d1:ab
Dec 28 16:50:28 tuna kernel: [30167.206238] usbcore: registered new interface driver rndis_host
Dec 28 16:50:28 tuna kernel: [30167.208197] rndis_host 1-1:1.0 enp0s20u1: renamed from usb0

I.e. the "unregister 'rndis_host'......" line does not appear
(i.e. only after turning tethering off on the phone).

I was wondering if this is s.th. that can / needs to be fixed.

I did have this error with these kernels that shipped with my debian/testing
- linux-image-4.8.0-2-amd64
- linux-image-3.18.0-trunk-amd64
-- 
M.

Attachment: pgpzWszq1rZvm.pgp
Description: PGP signature


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux