You are not logged in.

#1 2018-02-09 01:21:47

sputnick
Member
From: Near Paris
Registered: 2009-05-27
Posts: 40

[SOLVED] No more usb0 pseudo device with Android USB tethering

Hi,

my phone is a Galaxy J5 with model code SM-J500FN running rooted  Android 6.0.1

- tested tethering on my laptop (ubuntu) : work as a charm
- tested on my archlinux, PC ASUSTeK COMPUTER INC H170M-PLUS, no more usb0 device
- uname -a

Linux freakylab 4.14.13-ARCH #1 SMP PREEMPT Mon Jan 15 21:17:15 CET 2018 x86_64 GNU/Linux

(compiled my own kernel to be able to use a usb to serial (module usbserial not loadable by default) adapter pl203, started my config from /proc/config.gz from arch kernel)
- lsusb (recognised as tethering mode + usb debug ON)

...
Bus 001 Device 046: ID 04e8:6864 Samsung Electronics Co., Ltd GT-I9070 (network tethering, USB debugging enabled)
...

- journalctl -xf when plugging and turning on tethering on the phone :

févr. 09 02:05:10 freakylab kernel: usb 1-7: USB disconnect, device number 46
févr. 09 02:05:10 freakylab upowerd[678]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb1/1-7
févr. 09 02:05:13 freakylab kernel: usb 1-7: new high-speed USB device number 47 using xhci_hcd
févr. 09 02:05:13 freakylab gvfs-gphoto2-vo[1147]: device (null) has no BUSNUM property, ignoring
févr. 09 02:05:13 freakylab gvfs-gphoto2-vo[1147]: device (null) has no BUSNUM property, ignoring
févr. 09 02:05:13 freakylab colord[515]: CdMain: failed to emit DeviceAdded: failed to register object: An object is already exported for the interface org.freedesktop.ColorManager.Device at /org/freedesktop/ColorManager/devices/sysfs__null_
févr. 09 02:05:13 freakylab gvfs-gphoto2-vo[1147]: device (null) has no BUSNUM property, ignoring
févr. 09 02:05:13 freakylab colord[515]: CdMain: failed to emit DeviceAdded: failed to register object: An object is already exported for the interface org.freedesktop.ColorManager.Device at /org/freedesktop/ColorManager/devices/sysfs__null_
févr. 09 02:05:13 freakylab gvfs-gphoto2-vo[1147]: device (null) has no BUSNUM property, ignoring
févr. 09 02:05:13 freakylab colord[515]: CdMain: failed to emit DeviceAdded: failed to register object: An object is already exported for the interface org.freedesktop.ColorManager.Device at /org/freedesktop/ColorManager/devices/sysfs__null_
févr. 09 02:05:13 freakylab upowerd[678]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:14.0/usb1/1-7
févr. 09 02:05:13 freakylab upowerd[678]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.3
févr. 09 02:05:14 freakylab kernel: usb 1-7: USB disconnect, device number 47
févr. 09 02:05:14 freakylab upowerd[678]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.3
févr. 09 02:05:14 freakylab upowerd[678]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb1/1-7
févr. 09 02:05:14 freakylab kernel: usb 1-7: new high-speed USB device number 48 using xhci_hcd
févr. 09 02:05:15 freakylab mtp-probe[18225]: checking bus 1, device 48: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-7"
févr. 09 02:05:15 freakylab mtp-probe[18225]: bus: 1, device: 48 was not an MTP device
févr. 09 02:05:15 freakylab upowerd[678]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:14.0/usb1/1-7
févr. 09 02:05:17 freakylab colord-sane[18165]: io/hpmud/pp.c 627: unable to read device-id ret=-1

- find /etc/udev

/etc/udev
/etc/udev/udev.conf
/etc/udev/rules.d
/etc/udev/hwdb.d
/etc/udev/hwdb.bin

- testing adb shell

shell@j5nlte:/ $

- lsmod | grep usb

usb_storage            69632  1 uas
usbserial              45056  1 pl2303
usbhid                 53248  0
hid                   114688  3 i2c_hid,hid_generic,usbhid
usbcore               245760  23 usbhid,usb_storage,usbserial,xhci_pci,uas,pl2303,xhci_hcd
scsi_mod              180224  6 sd_mod,usb_storage,libata,uas,sr_mod,sg
usb_common             16384  1 usbcore

- nothing interesting in dmesg
Any idea ?

Last edited by sputnick (2018-02-09 18:40:01)

Offline

#2 2018-02-09 18:39:06

sputnick
Member
From: Near Paris
Registered: 2009-05-27
Posts: 40

Re: [SOLVED] No more usb0 pseudo device with Android USB tethering

OK, removing linux from excluded packages from pacman.conf and done a pacman -Syu resolve the problem smile

And usbserial become available

Last edited by sputnick (2018-02-09 18:39:28)

Offline

Board footer

Powered by FluxBB