lire carte SDHC d'un téléphone

トップ ページ

このメッセージに返信
著者: Hervé de Dianous
日付:  
To: ML Guilde
題目: lire carte SDHC d'un téléphone
Bonjour.

Grâce à "la brocante de mamie" j'ai acquis un vieux phone Samsung 
GT-B2710, excellent, modem etc.
Wammu me permet d'accéder aux fonctionnalités (envoie de SMS ...)
ce qui montre que le système reconnaît le SIM identifier sous le mode 
modem.
Lorsque je le branche en USB en mode "mass-storage" il apparaît bien 
sous ce mode :
  kernel: [  166.508155] usb 3-6: new high-speed USB device number 4 
using xhci_hcd
  kernel: [  166.527375] usb 3-6: New USB device found, idVendor=04e8, 
idProduct=684e
  kernel: [  166.527384] usb 3-6: New USB device strings: Mfr=3, 
Product=2, SerialNumber=0
  kernel: [  166.527390] usb 3-6: Product: GT-B2710
  kernel: [  166.527395] usb 3-6: Manufacturer: Samsung Electronics
  mtp-probe: checking bus 3, device 4: 
"/sys/devices/pci0000:00/0000:00:14.0/usb3/3-6"
  mtp-probe: bus: 3, device: 4 was not an MTP device
  kernel: [  166.708072] cdc_acm 3-6:1.0: ttyACM0: USB ACM device
  kernel: [  166.709186] usbcore: registered new interface driver cdc_acm
  kernel: [  166.709187] cdc_acm: USB Abstract Control Model driver 
for USB modems and ISDN adapters
  ModemManager[864]: <info>  Creating modem with plugin 'Generic' and 
'1' ports
  ModemManager[864]: <info>  Modem for device at 
'/sys/devices/pci0000:00/0000:00:14.0/usb3/3-6' successfully created
  ModemManager[864]: <warn>  couldn't load SIM identifier: 'Unknown error'
  ModemManager[864]: <warn>  couldn't load Operator identifier: 
'Unknown error'
  ModemManager[864]: <warn>  couldn't load Operator name: 'Unknown error'
  ModemManager[864]: <info>  Modem: state changed (unknown -> disabled)
  NetworkManager[1173]: <warn> (ttyACM0): failed to look up interface 
index
  NetworkManager[1173]: <info> (ttyACM0): new Broadband device 
(driver: 'cdc_acm' ifindex: 0)
  NetworkManager[1173]: <info> (ttyACM0): exported as 
/org/freedesktop/NetworkManager/Devices/1
  NetworkManager[1173]: <info> (ttyACM0): device state change: 
unmanaged -> unavailable (reason 'managed') [10 20 2]
  NetworkManager[1173]: <info> (ttyACM0): deactivating device (reason 
'managed') [2]
  NetworkManager[1173]: <info> (ttyACM0): device state change: 
unavailable -> disconnected (reason 'none') [20 30 0]
  kernel: [  174.260210] usb 3-6: USB disconnect, device number 4
  ModemManager[864]: <info>  (tty/ttyACM0): released by modem 
/sys/devices/pci0000:00/0000:00:14.0/usb3/3-6
  NetworkManager[1173]: <info> (ttyACM0): device state change: 
disconnected -> unmanaged (reason 'removed') [30 10 36]
  NetworkManager[1173]: <info> (ttyACM0): cleaning up...
Aug 21 10:11:47 her-BM6AD-BM1AD-BP1AD NetworkManager[1173]: <info> 
(ttyACM0): taking down device.
  kernel: [  174.626686] usb 3-6: new high-speed USB device number 5 
using xhci_hcd
  kernel: [  174.646036] usb 3-6: New USB device found, idVendor=04e8, 
idProduct=f000
  kernel: [  174.646045] usb 3-6: New USB device strings: Mfr=3, 
Product=2, SerialNumber=4
  kernel: [  174.646051] usb 3-6: Product: Qualcomm CDMA Technologies MSM
  kernel: [  174.646055] usb 3-6: Manufacturer: Qualcomm, Incorporated
  kernel: [  174.646059] usb 3-6: SerialNumber: 356092052257224
  mtp-probe: checking bus 3, device 5: 
"/sys/devices/pci0000:00/0000:00:14.0/usb3/3-6"
  mtp-probe: bus: 3, device: 5 was not an MTP device
  kernel: [  174.714654] usb-storage 3-6:1.0: USB Mass Storage device 
detected
  kernel: [  174.714757] scsi6 : usb-storage 3-6:1.0
  kernel: [  174.714810] usbcore: registered new interface driver 
usb-storage
  kernel: [  175.723763] scsi 6:0:0:0: Direct-Access     Samsung 
GT-B2710-CARD    2.31 PQ: 0 ANSI: 2
  kernel: [  175.724295] sd 6:0:0:0: Attached scsi generic sg3 type 0
  kernel: [  175.725110] sd 6:0:0:0: [sdc] 3862528 512-byte logical 
blocks: (1.97 GB/1.84 GiB)
  kernel: [  175.725841] sd 6:0:0:0: [sdc] Write Protect is off
  kernel: [  175.725849] sd 6:0:0:0: [sdc] Mode Sense: 0f 0e 00 00
  kernel: [  175.726345] sd 6:0:0:0: [sdc] Write cache: enabled, read 
cache: enabled, doesn't support DPO or FUA
  kernel: [  175.732157]  sdc: sdc1
  kernel: [  175.735460] sd 6:0:0:0: [sdc] Attached SCSI removable disk
  usb_modeswitch: switch device 04e8:f000 on 003/005
  kernel: [  175.790970] sd 6:0:0:0: [sdc] Synchronizing SCSI cache


D'abord, le système le voit comme un modem :)
Puis se ravise et le voit comme usb-storage et lui donne l'ID device
/dev/sdc.
Apparemment le système ne reconnaît pas le système de fichier (VFAT).
Comment lire et écrire sur ce média ?

Merci
RV2D