Connecting android smartphone to debian linux
by chiendarret from LinuxQuestions.org on (#5G3C2)
Although often posted question, unable to connect android smartphone (Wiko Lenny3 marshmallow) to debian linux (buster)
Issue:
root@vaio:/home/francesco# mtp-detect
libmtp version: 1.1.16
Listing raw device(s)
Device 0 (VID=0e8d and PID=2008) is a MediaTek Inc MT65xx.
Found 1 device(s):
MediaTek Inc: MT65xx (0e8d:2008) @ bus 2, dev 9
Attempting to connect device(s)
Android device detected, assigning default bug flags
Error 1: Get Storage information failed.
USB low-level info:
bcdUSB: 512
bDeviceClass: 0
bDeviceSubClass: 0
bDeviceProtocol: 0
idVendor: 0e8d
idProduct: 2008
IN endpoint maxpacket: 512 bytes
OUT endpoint maxpacket: 512 bytes
Raw device info:
Bus location: 2
Device number: 9
Device entry info:
Vendor: MediaTek Inc
etc....
Following debian bug report https://bugs.debian.org/cgi-bin/bugr...cgi?bug=686840 quite often redistributed by imitators (ubuntu)
I commented out the line
ATTRS{idVendor}=="0e8d", ATTRS{idProduct}=="0002", RUN+="usb_modeswitch
'%b/%k'"
in /lib/udev/rules.d/40-usb_modeswitch.rules,
at no avail.
Asking for kind help


Issue:
root@vaio:/home/francesco# mtp-detect
libmtp version: 1.1.16
Listing raw device(s)
Device 0 (VID=0e8d and PID=2008) is a MediaTek Inc MT65xx.
Found 1 device(s):
MediaTek Inc: MT65xx (0e8d:2008) @ bus 2, dev 9
Attempting to connect device(s)
Android device detected, assigning default bug flags
Error 1: Get Storage information failed.
USB low-level info:
bcdUSB: 512
bDeviceClass: 0
bDeviceSubClass: 0
bDeviceProtocol: 0
idVendor: 0e8d
idProduct: 2008
IN endpoint maxpacket: 512 bytes
OUT endpoint maxpacket: 512 bytes
Raw device info:
Bus location: 2
Device number: 9
Device entry info:
Vendor: MediaTek Inc
etc....
Following debian bug report https://bugs.debian.org/cgi-bin/bugr...cgi?bug=686840 quite often redistributed by imitators (ubuntu)
I commented out the line
ATTRS{idVendor}=="0e8d", ATTRS{idProduct}=="0002", RUN+="usb_modeswitch
'%b/%k'"
in /lib/udev/rules.d/40-usb_modeswitch.rules,
at no avail.
Asking for kind help