Bonjour,
Je me permets de vous contacter pour un besoin d'aide à propos de la carte micro SD de mon téléphone (Huawei P9). Il s'agit d'une carte ADATA 32 GB.
Depuis quelques jours, je ne peux plus la lire ni directement dans le téléphone, ni via le câble USB ni en l'insérant dans le lecteur de carte mon ordinateur avec un adaptateur micro SD. Le téléphone propose de la formater, ce qui entraînera la perte de toutes les données.
En démarrant avec Windows sur le même ordinateur, j'ai vu qu'elle était "RAW". Cela me fait penser que le lecteur de carte fonctionne mais que la carte micro SD n'est pas détectée sous Linux.
Est-il possible de récupérer les données ? Comment procéder ?
Par avance, merci de votre aide
Yannick
Voici quelques précisions sur ma configuration :
- PC HP-Compaq 6530b
- 4 ports USB
- 1 lecteur de cartes SD-MS/Pro-MMC-XD
- Xubuntu 18.04
- Dual boot : Windows 7 (très lent) / Linux avec plusieurs partitions
Il me semble qu'on peut considérer une carte micro SD comme un produit USB. Du coup, voici la log de la commande lsusb
yannick@yannick-HP-Compaq-6530b-GB974ET-ABF:~$ lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 004: ID 04f2:b059 Chicony Electronics Co., Ltd CKF7037 HP webcam
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 08ff:2810 AuthenTec, Inc. AES2810
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 03f0:171d Hewlett-Packard Bluetooth 2.0 Interface [Broadcom BCM2045]
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
yannick@yannick-HP-Compaq-6530b-GB974ET-ABF:~$
Dans le doute voici aussi la log de la commande lspci
yannick@yannick-HP-Compaq-6530b-GB974ET-ABF:~$ lspci
00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
00:1a.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
00:1a.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
00:1a.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 03)
00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 03)
00:1c.5 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 6 (rev 03)
00:1d.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation 82801IBM/IEM (ICH9M/ICH9M-E) 4 port SATA Controller [AHCI mode] (rev 03)
02:00.0 Network controller: Intel Corporation PRO/Wireless 5100 AGN [Shiloh] Network Connection
85:00.0 Ethernet controller: Broadcom Inc. and subsidiaries NetLink BCM5787M Gigabit Ethernet PCI Express (rev 02)
86:02.0 FireWire (IEEE 1394): LSI Corporation FW322/323 [TrueFire] 1394a Controller (rev 70)
yannick@yannick-HP-Compaq-6530b-GB974ET-ABF:~$
Et puis dans le sujet suivant
[Tuto] Ma clef (ou autre support amovible) ne monte pas ou mal, j'ai vu que la commande ci-dessous pouvait aider au diagnostic. Donc voici le résultat ci-après (j'avoue ne pas comprendre comment utiliser ces éléments)
yannick@yannick-HP-Compaq-6530b-GB974ET-ABF:~$ dmesg | tail -1 > /tmp/tail.txt; sleep 45 && echo -e "\n\tLes 3 derniers systèmes de fichiers montés :"; mount -l | tail -3 ; echo -e "\n\tUSB, les puces :"; lsusb | sort; echo -e "\n\tUSB, les modules :"; lsusb -t; echo -e "\n\tDMESG :"; dmesg | grep -A999 "$(sed -r 's/([].[])/\\\1/g' /tmp/tail.txt)" | grep -Evi "80211|associate|authenticat|dhclient|dhcp|forcedeth|ipv6|link is not ready|network|no link during initialization|phy[0-9]|tx/rx|tx status|ufw|wlan"; echo -e "\n\tContenu de /media :"; ls -la /media; echo -e "\n\tContenu de /media/moi :"; ls -la "/media/$USER"; echo -e "\n\tGestionnaire(s) de fichiers :"; dpkg -l | grep -i "file .*manager" | awk '!/plugin|profile|theme/{print $1,$2,$3,$4}' | column -s' ' -t ; echo -e "\n\tNombre d'éléments de /home/moi ne m'appartenant pas :"; find ~ -mount \( ! -user $USER -o ! -group $USER \) | wc -l; echo -e "\n\tDésignation STABLE des périphériques :"; ls -l /dev/disk/by-id | grep -iEv "\-part[3-9]|total|\-part[1-9][0-9]" | sort -k 10; echo; lsb_release -d; echo -e "\nNoyau en service : $(uname -mr)\n"; echo "Logué en tant que : $(whoami)"
Les 3 derniers systèmes de fichiers montés :
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=196900k,mode=700,uid=1000,gid=1000)
/dev/fuse on /run/user/1000/appimagelauncherfs type fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
USB, les puces :
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 04f2:b059 Chicony Electronics Co., Ltd CKF7037 HP webcam
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 004: ID 03f0:0423 Hewlett-Packard HS-COMBO Cardreader
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 03f0:171d Hewlett-Packard Bluetooth 2.0 Interface [Broadcom BCM2045]
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 08ff:2810 AuthenTec, Inc. AES2810
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
USB, les modules :
/: Bus 08.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 07.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 06.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
|__ Port 1: Dev 2, If 0, Class=Vendor Specific Class, Driver=, 12M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
|__ Port 1: Dev 2, If 0, Class=Wireless, Driver=btusb, 12M
|__ Port 1: Dev 2, If 1, Class=Wireless, Driver=btusb, 12M
|__ Port 1: Dev 2, If 2, Class=Vendor Specific Class, Driver=, 12M
|__ Port 1: Dev 2, If 3, Class=Application Specific Interface, Driver=, 12M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/6p, 480M
|__ Port 4: Dev 4, If 0, Class=Mass Storage, Driver=usb-storage, 480M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/6p, 480M
|__ Port 5: Dev 4, If 0, Class=Video, Driver=uvcvideo, 480M
|__ Port 5: Dev 4, If 1, Class=Video, Driver=uvcvideo, 480M
DMESG :
[ 2080.964157] usb 2-4: new high-speed USB device number 4 using ehci-pci
[ 2081.175073] usb 2-4: New USB device found, idVendor=03f0, idProduct=0423
[ 2081.175081] usb 2-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2081.175086] usb 2-4: Product: HP Flash Media Reader
[ 2081.175090] usb 2-4: Manufacturer: HP
[ 2081.175093] usb 2-4: SerialNumber: 070706100002
[ 2081.175748] usb-storage 2-4:1.0: USB Mass Storage device detected
[ 2081.180651] scsi host6: usb-storage 2-4:1.0
[ 2082.218861] scsi 6:0:0:0: Direct-Access HP USB20 HS-COMBO 5.58 PQ: 0 ANSI: 0
[ 2082.219712] sd 6:0:0:0: Attached scsi generic sg2 type 0
[ 2082.333212] sd 6:0:0:0: [sdb] 252968960 512-byte logical blocks: (130 GB/121 GiB)
[ 2082.338015] sd 6:0:0:0: [sdb] Write Protect is off
[ 2082.338021] sd 6:0:0:0: [sdb] Mode Sense: 23 00 00 00
[ 2082.342836] sd 6:0:0:0: [sdb] No Caching mode page found
[ 2082.342847] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[ 2082.385121] sd 6:0:0:0: [sdb] Attached SCSI removable disk
Contenu de /media :
total 12
drwxr-xr-x 3 root root 4096 févr. 4 2020 .
drwxr-xr-x 24 root root 4096 juil. 22 07:58 ..
drwxr-x---+ 14 root root 4096 sept. 1 11:01 yannick
Contenu de /media/moi :
total 56
drwxr-x---+ 14 root root 4096 sept. 1 11:01 .
drwxr-xr-x 3 root root 4096 févr. 4 2020 ..
drwxr-xr-x 2 root root 4096 mars 5 20:12 'My CDROM'
drwxr-xr-x 2 root root 4096 mars 11 09:16 'My CDROM1'
drwxr-xr-x 2 root root 4096 août 22 15:35 'My CDROM10'
drwxr-xr-x 2 root root 4096 sept. 1 10:32 'My CDROM11'
drwxr-xr-x 2 root root 4096 mai 13 11:45 'My CDROM2'
drwxr-xr-x 2 root root 4096 juin 24 16:17 'My CDROM3'
drwxr-xr-x 2 root root 4096 juin 24 16:24 'My CDROM4'
drwxr-xr-x 2 root root 4096 août 7 16:43 'My CDROM5'
drwxr-xr-x 2 root root 4096 août 14 15:03 'My CDROM6'
drwxr-xr-x 2 root root 4096 août 17 19:49 'My CDROM7'
drwxr-xr-x 2 root root 4096 août 17 19:49 'My CDROM8'
drwxr-xr-x 2 root root 4096 août 22 15:34 'My CDROM9'
Gestionnaire(s) de fichiers :
ii thunar 1.6.15-0ubuntu1.18.04.1 amd64
Nombre d'éléments de /home/moi ne m'appartenant pas :
0
Désignation STABLE des périphériques :
lrwxrwxrwx 1 root root 9 sept. 3 12:24 ata-FUJITSU_MHZ2160BH_G2_K616T882NHGB -> ../../sda
lrwxrwxrwx 1 root root 9 sept. 3 12:24 wwn-0x500000e04279ba9c -> ../../sda
lrwxrwxrwx 1 root root 10 sept. 3 12:24 ata-FUJITSU_MHZ2160BH_G2_K616T882NHGB-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 sept. 3 12:24 wwn-0x500000e04279ba9c-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 sept. 3 12:24 ata-FUJITSU_MHZ2160BH_G2_K616T882NHGB-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 sept. 3 12:24 wwn-0x500000e04279ba9c-part2 -> ../../sda2
lrwxrwxrwx 1 root root 9 sept. 3 12:26 usb-HP_USB20_HS-COMBO_070706100002-0:0 -> ../../sdb
lrwxrwxrwx 1 root root 9 sept. 3 12:24 ata-HL-DT-ST_DVDRAM_GSA-T30L_KZ087OI5718 -> ../../sr0
Description: Ubuntu 18.04.5 LTS
Noyau en service : 4.15.0-112-generic x86_64
Logué en tant que : yannick
yannick@yannick-HP-Compaq-6530b-GB974ET-ABF:~$