Debian non legge smartphone Android via USB [Risolto]

Discussioni sulla compatibilità dell'Hardware con linux, Drivers, ...
Rispondi
MariaRothbarda
Newbie
Newbie
Messaggi: 3
Iscritto il: 24/01/2024, 11:49

Debian non legge smartphone Android via USB [Risolto]

Messaggio da MariaRothbarda »

Buongiorno, utilizzo Debian 12 Bookworm. Non riesco a far leggere lo smartphone android collegandolo via USB. Ho provato a fare numerose ricerche ma senza ottenere nulla. Lo smartphone è uno Xiaomi. Ho installato i drivers android ADB e ho installato il pacchetto gmtp.

Questo è ciò che appare quando utilizzo il comando $ lsblk

NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 465.8G 0 disk
├─sda1 8:1 0 512M 0 part /boot/efi
├─sda2 8:2 0 7.4G 0 part [SWAP]
└─sda3 8:3 0 457.8G 0 part /

Quindi mi pare che lo spartphone non venga rilevato, anche se quando lo collego mi viene chiesto sullo smartphone se attivare la condivisione dei file e io seleziono di si.

Qualcuno ha qualche suggerimento su come potrei risolvere il problema?
Ultima modifica di MariaRothbarda il 24/01/2024, 17:13, modificato 1 volta in totale.
Avatar utente
azioga
Hero Member
Hero Member
Messaggi: 1329
Iscritto il: 03/09/2018, 7:53

Re: Debian non legge smartphone Android via USB

Messaggio da azioga »

usi gnome? gvfs-backends è installato?
MariaRothbarda
Newbie
Newbie
Messaggi: 3
Iscritto il: 24/01/2024, 11:49

Re: Debian non legge smartphone Android via USB

Messaggio da MariaRothbarda »

azioga ha scritto: 24/01/2024, 12:38 usi gnome? gvfs-backends è installato?
uso interfaccia cinnamon. No gvfs-backends non mi risulta essere installato. Provvedo?

Riporto in seguito cosa mi appare con i seguenti comandi:


con il comando

Codice: Seleziona tutto

lsusb
viene riportato questo:

Codice: Seleziona tutto

Bus 001 Device 006: ID 138a:0010 Validity Sensors, Inc. VFS Fingerprint sensor
Bus 001 Device 005: ID 13d3:5188 IMC Networks USB2.0 UVC HD Webcam
Bus 001 Device 004: ID 13d3:3402 IMC Networks Bluetooth USB Host Controller
Bus 001 Device 003: ID 25a7:fa23 Areson Technology Corp 2.4G Receiver
Bus 001 Device 002: ID 8087:8000 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 005: ID 2717:ff48 Xiaomi Inc. Mi/Redmi series (MTP + ADB)
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Codice: Seleziona tutto

sudo dmesg | grep usb

Codice: Seleziona tutto

[    1.338290] usbcore: registered new interface driver usbfs
[    1.338301] usbcore: registered new interface driver hub
[    1.338314] usbcore: registered new device driver usb
[    1.368780] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01
[    1.368784] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.368786] usb usb1: Product: EHCI Host Controller
[    1.368788] usb usb1: Manufacturer: Linux 6.1.0-17-amd64 ehci_hcd
[    1.368790] usb usb1: SerialNumber: 0000:00:1d.0
[    1.370626] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01
[    1.370631] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.370633] usb usb2: Product: xHCI Host Controller
[    1.370635] usb usb2: Manufacturer: Linux 6.1.0-17-amd64 xhci-hcd
[    1.370637] usb usb2: SerialNumber: 0000:00:14.0
[    1.373852] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.01
[    1.373856] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.373858] usb usb3: Product: xHCI Host Controller
[    1.373859] usb usb3: Manufacturer: Linux 6.1.0-17-amd64 xhci-hcd
[    1.373860] usb usb3: SerialNumber: 0000:00:14.0
[    1.624725] usb 1-1: new high-speed USB device number 2 using ehci-pci
[    1.796889] usb 1-1: New USB device found, idVendor=8087, idProduct=8000, bcdDevice= 0.04
[    1.796894] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.084764] usb 1-1.2: new full-speed USB device number 3 using ehci-pci
[    2.195897] usb 1-1.2: New USB device found, idVendor=25a7, idProduct=fa23, bcdDevice= 2.41
[    2.195909] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    2.195914] usb 1-1.2: Product: 2.4G Receiver
[    2.195918] usb 1-1.2: Manufacturer: Compx
[    2.276814] usb 1-1.4: new full-speed USB device number 4 using ehci-pci
[    2.387655] usb 1-1.4: New USB device found, idVendor=13d3, idProduct=3402, bcdDevice= 0.02
[    2.387668] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.387673] usb 1-1.4: Product: Bluetooth USB Host Controller
[    2.387677] usb 1-1.4: Manufacturer: Atheros Communications
[    2.387680] usb 1-1.4: SerialNumber: Alaska Day 2006
[    2.472816] usb 1-1.5: new high-speed USB device number 5 using ehci-pci
[    2.687397] usb 1-1.5: New USB device found, idVendor=13d3, idProduct=5188, bcdDevice= 9.03
[    2.687410] usb 1-1.5: New USB device strings: Mfr=3, Product=1, SerialNumber=2
[    2.687415] usb 1-1.5: Product: USB2.0 UVC HD Webcam
[    2.687420] usb 1-1.5: Manufacturer: Azurewave
[    2.687423] usb 1-1.5: SerialNumber: NULL
[    2.772816] usb 1-1.6: new full-speed USB device number 6 using ehci-pci
[    2.882650] usb 1-1.6: New USB device found, idVendor=138a, idProduct=0010, bcdDevice= 0.78
[    2.882662] usb 1-1.6: New USB device strings: Mfr=0, Product=0, SerialNumber=1
[    2.882667] usb 1-1.6: SerialNumber: 4ca4490a8e4c
[    3.321610] usbcore: registered new interface driver usbhid
[    3.321618] usbhid: USB HID core driver
[    3.325475] input: Compx 2.4G Receiver as /devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1.2/1-1.2:1.0/0003:25A7:FA23.0001/input/input13
[    3.385233] hid-generic 0003:25A7:FA23.0001: input,hidraw0: USB HID v1.10 Keyboard [Compx 2.4G Receiver] on usb-0000:00:1d.0-1.2/input0
[    3.385857] input: Compx 2.4G Receiver Mouse as /devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1.2/1-1.2:1.1/0003:25A7:FA23.0002/input/input14
[    3.386050] input: Compx 2.4G Receiver as /devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1.2/1-1.2:1.1/0003:25A7:FA23.0002/input/input15
[    3.386156] input: Compx 2.4G Receiver Consumer Control as /devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1.2/1-1.2:1.1/0003:25A7:FA23.0002/input/input16
[    3.444900] input: Compx 2.4G Receiver System Control as /devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1.2/1-1.2:1.1/0003:25A7:FA23.0002/input/input17
[    3.445247] hid-generic 0003:25A7:FA23.0002: input,hiddev0,hidraw1: USB HID v1.10 Mouse [Compx 2.4G Receiver] on usb-0000:00:1d.0-1.2/input1
[    5.174179] usb 1-1.5: Found UVC 1.00 device USB2.0 UVC HD Webcam (13d3:5188)
[    5.217748] input: USB2.0 UVC HD Webcam: USB2.0 UV as /devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1.5/1-1.5:1.0/input/input25
[    5.221879] usbcore: registered new interface driver uvcvideo
[    5.513537] usbcore: registered new interface driver btusb
[    5.517777] usbcore: registered new interface driver ath3k
[  115.200617] usb 2-1: new high-speed USB device number 2 using xhci_hcd
[  115.361319] usb 2-1: New USB device found, idVendor=2717, idProduct=ff08, bcdDevice= 2.23
[  115.361331] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  115.361336] usb 2-1: Product: Redmi Note 12 Pro+ 5G
[  115.361340] usb 2-1: Manufacturer: Xiaomi
[  115.361343] usb 2-1: SerialNumber: ww887dj6gdnbfwd
[  118.713685] usb 2-1: USB disconnect, device number 2
[  119.230625] usb 2-1: new high-speed USB device number 3 using xhci_hcd
[  119.379489] usb 2-1: New USB device found, idVendor=2717, idProduct=ff48, bcdDevice= 2.23
[  119.379502] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  119.379508] usb 2-1: Product: Redmi Note 12 Pro+ 5G
[  119.379512] usb 2-1: Manufacturer: Xiaomi
[  119.379516] usb 2-1: SerialNumber: ww887dj6gdnbfwd
[ 1292.686503] usb 2-1: USB disconnect, device number 3
[ 3507.936693] usb 2-1: new high-speed USB device number 4 using xhci_hcd
[ 3508.085213] usb 2-1: New USB device found, idVendor=2717, idProduct=ff08, bcdDevice= 2.23
[ 3508.085221] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 3508.085223] usb 2-1: Product: Redmi Note 12 Pro+ 5G
[ 3508.085225] usb 2-1: Manufacturer: Xiaomi
[ 3508.085227] usb 2-1: SerialNumber: ww887dj6gdnbfwd
[ 3510.492039] usb 2-1: USB disconnect, device number 4
[ 3510.976732] usb 2-1: new high-speed USB device number 5 using xhci_hcd
[ 3511.125547] usb 2-1: New USB device found, idVendor=2717, idProduct=ff48, bcdDevice= 2.23
[ 3511.125560] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 3511.125566] usb 2-1: Product: Redmi Note 12 Pro+ 5G
[ 3511.125571] usb 2-1: Manufacturer: Xiaomi
[ 3511.125575] usb 2-1: SerialNumber: ww887dj6gdnbfwd

Codice: Seleziona tutto

dpkg -l | grep mtp

Codice: Seleziona tutto

ii  gmtp                                          1.3.11-3.1+b1                        amd64        simple file transfer program for MTP based devices
ii  libmtp-common                                 1.1.20-1                             all          Media Transfer Protocol (MTP) common files
ii  libmtp-runtime                                1.1.20-1                             amd64        Media Transfer Protocol (MTP) runtime tools
ii  libmtp9:amd64                                 1.1.20-1                             amd64        Media Transfer Protocol (MTP) library
ii  libnet-smtp-ssl-perl                          1.04-2                               all          Perl module providing SSL support to Net::SMTP
ii  gmtp                                          1.3.11-3.1+b1                        amd64        simple file transfer program for MTP based devices
ii  libmtp-common                                 1.1.20-1                             all          Media Transfer Protocol (MTP) common files
ii  libmtp-runtime                                1.1.20-1                             amd64        Media Transfer Protocol (MTP) runtime tools
ii  libmtp9:amd64                                 1.1.20-1                             amd64        Media Transfer Protocol (MTP) library
ii  libnet-smtp-ssl-perl                          1.04-2                               all          Perl module providing SSL support to Net::SMTP
Avatar utente
azioga
Hero Member
Hero Member
Messaggi: 1329
Iscritto il: 03/09/2018, 7:53

Re: Debian non legge smartphone Android via USB

Messaggio da azioga »

Io proverei ;)
Mal che vada lo rimuovi
thangbrand
Full Member
Full Member
Messaggi: 229
Iscritto il: 14/08/2018, 15:27

Re: Debian non legge smartphone Android via USB

Messaggio da thangbrand »

Anch'io ho cinnamon. Se collego il smartphone (Android - Samsung), ci navigo dentro senza problemi.

Il pacchetto gvfs-backends ce l'avevo installato di default. O almeno non ho ricordi di averlo installato io.
Debian 11 - Cinnamon
Asus P552LA
MariaRothbarda
Newbie
Newbie
Messaggi: 3
Iscritto il: 24/01/2024, 11:49

Re: Debian non legge smartphone Android via USB

Messaggio da MariaRothbarda »

azioga ha scritto: 24/01/2024, 13:26 Io proverei ;)
Mal che vada lo rimuovi

Grazie tante ho risolto! Ho installato il pacchetto gvfs-backends e poi ho riavviato e ora lo smartphone viene letto perfettamente! Grazie!
Avatar utente
azioga
Hero Member
Hero Member
Messaggi: 1329
Iscritto il: 03/09/2018, 7:53

Re: Debian non legge smartphone Android via USB

Messaggio da azioga »

Perfetto.
Metti [Risolto] modificando il titolo del tuo primo post ;)
Rispondi