0

On my Windows 11 PC I installed Ubuntu 24.04. I have an old-fashioned cell phone (no internet connection), with an USB cable for connection to computers :

enter image description here

When I'm in the Windows 11 OS and I connect the phone through the cable, the connection is correctly and immediately detected :

enter image description here

When I'm on the Ubuntu OS however, the phone is nearly not detected at all, not even in the Disks application (even though my phone screen says "USB Connected" when I plug in the cable), so I cannot even format it. I say "nearly" because the lsusb command detects it :

lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 0489:e0e2 Foxconn / Hon Hai Wireless_Device
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 003: ID 0e8d:0002 MediaTek Inc. phone (mass storage mode) [Doro Primo 413] <- THAT'S MY PHONE.
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 002: ID 3277:0033 Shinetech USB2.0 FHD UVC WebCam
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 009 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 010 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

I tried sudo modprobe usb-storage as suggested in an older answer here but it changed nothing.

On the other hand, USB connection of just about anything else (USB key, external hard drive etc) works fine on my Ubuntu.

Any ideas on what is going on here and how to fix this ?

Ewan Delanoy
  • 149
  • 6

2 Answers2

1

Just had the same issue, and solved it:

Edit, with root privileges, /etc/usb_modeswitch.conf

Therein change:

DisableSwitching=0

to

DisableSwitching=1

Reconnect the device, and it should "just work" and be seen as a USB stick. Good luck!

mpboden
  • 3,046
0

when you connect your phone (that has android OS) it isn't mounted in /mnt or /media directory in root file system (other usb devices are mounted in /media directory as you know and you can access them there).

that's why when you use fdisk command or other similar commands you can not see your phone.

the android OS use media transfer protocol (MTP) to communicate with your Linux machine. but you have to be able to access your phone via file manager but if you can't, you should use gvfs-mtp or jmtpfs packages to access you phone in command line.

check this manual to understand more about these command https://www.baeldung.com/linux/mounting-mtp-devices