Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 25/08/2008, à 20:46

boulaskov

Portable LG KE520 en USB

Bonjour,

Je viens d'acquérir un téléphone mobile LG KE520 (cf. http://fr.lge.com/products/model/detail … e520.jhtml).

Il  est livré avec de quoi le connecter en USB à un ordinateur, et on peut le régler pour soi-disant se comporter comme périphérique de stockage de masse.

Par ailleurs j'ai Xubuntu Hardy, avec le dernier noyau à disposition pour mon architecture (2.6.24-19-386).

Quand je branche en USB le portable, celui-ci reconnaît qu'il est branché à un ordinateur (écran "Stockage de masse", petits dessins animés et portable bloqué en attendant la suite).
Mais l'ordinateur ne reconnaît rien, lui.

Pas exactement.
"sudo lsusb -vv" me donne :

Bus 006 Device 008: ID 0104:6022  
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x0104 
  idProduct          0x6022 
  bcdDevice            0.01
  iManufacturer           1 
  iProduct                2 TISD Helen-DC EVM
  iSerial                 3 ???????
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           39
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xc0
      Self Powered
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk (Zip)
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0010  1x 16 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
Device Status:     0x0001
  Self Powered

et dmesg :

[13102.238583] usb 6-2.4: new full speed USB device using ehci_hcd and address 8
[13107.323688] usb 6-2.4: configuration #1 chosen from 1 choice
[13107.416536] scsi3 : SCSI emulation for USB Mass Storage devices
[13107.435264] usb-storage: device found at 8
[13107.435270] usb-storage: waiting for device to settle before scanning
[13112.429041] usb-storage: device scan complete
[13112.429790] scsi 3:0:0:0: Direct-Access     TI       Mobile Phone     1000 PQ: 0 ANSI: 5
[13117.993869] usb 6-2.4: reset full speed USB device using ehci_hcd and address 8
[13128.145424] usb 6-2.4: reset full speed USB device using ehci_hcd and address 8
[13134.301924] usb 6-2.4: reset full speed USB device using ehci_hcd and address 8
[13144.453489] usb 6-2.4: reset full speed USB device using ehci_hcd and address 8
[13144.545892] scsi 3:0:0:1: Device offlined - not ready after error recovery
[13174.581464] usb 6-2.4: reset full speed USB device using ehci_hcd and address 8
[13184.739845] usb 6-2.4: reset full speed USB device using ehci_hcd and address 8
[13190.900547] usb 6-2.4: reset full speed USB device using ehci_hcd and address 8
[13201.052116] usb 6-2.4: reset full speed USB device using ehci_hcd and address 8
[13201.144512] sd 3:0:0:0: Device offlined - not ready after error recovery
[13201.144637] sd 3:0:0:0: rejecting I/O to offline device
[13201.144646] sd 3:0:0:0: rejecting I/O to offline device
[13201.144651] sd 3:0:0:0: rejecting I/O to offline device
[13201.144654] sd 3:0:0:0: [sdc] READ CAPACITY failed
[13201.144656] sd 3:0:0:0: [sdc] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK,SUGGEST_OK
[13201.144659] sd 3:0:0:0: [sdc] Sense not available.
[13201.144664] sd 3:0:0:0: rejecting I/O to offline device
[13201.144667] sd 3:0:0:0: [sdc] Write Protect is off
[13201.144670] sd 3:0:0:0: [sdc] Mode Sense: 00 00 00 00
[13201.144672] sd 3:0:0:0: [sdc] Assuming drive cache: write through
[13201.144737] sd 3:0:0:0: [sdc] Attached SCSI removable disk
[13201.144783] sd 3:0:0:0: Attached scsi generic sg4 type 0

Je n'ai pas tout à fait les mêmes messages suivant la manière dont je branche le téléphone, mais je n'ai reproduit que ceux qui me paraissent les plus intéressants et prometteurs.
J'ai googlisé sur ces messages, mais n'ai rien trouvé si ce n'est beaucoup de littérature sur les périphériques USB, et je m'y perds un peu.

Quelqu'un aurait une idée, une piste, ou une expérience fructueuse avec cet appareil ?

Merci.

#2 Le 26/08/2008, à 21:26

boulaskov

Re : Portable LG KE520 en USB

Je continue en attendant...

J'ai déduit de ce qui précède que mon périphérique était affecté à /dev/sdc (ou parfois /dev/sdd).
J'ai donc essayé un truc simple : pmount.

"pmount -d /dev/sdd" me donne :

resolved /dev/sdd to device /dev/sdd
Checking for device '/dev/sdd' in '/etc/fstab'
mount point to be used: /media/sdd
no iocharset given, current locale encoding is ISO-8859-1
Cleaning lock directory /var/lock/pmount_dev_sdd
Checking for device '/dev/sdd' in '/etc/mtab'
Checking for device '/dev/sdd' in '/proc/mounts'
device_whitelist: checking /etc/pmount.allow...
device_whitlisted(): nothing matched, returning 0
find_sysfs_device: looking for sysfs directory for device 8:48
find_sysfs_device: checking whether /dev/sdd is on /sys/block/ram0 (1:0)
(...)
find_sysfs_device: checking whether /dev/sdd is on /sys/block/sdd (8:48)
find_sysfs_device: major device numbers match
find_sysfs_device: minor device numbers also match, /dev/sdd is a raw device
device_removable: corresponding block device for /dev/sdd is /sys/block/sdd
get_blockdev_attr: value of /sys/block/sdd/removable == 1
policy check passed
spawnv(): executing /sbin/cryptsetup '/sbin/cryptsetup' 'isLuks' '/dev/sdd'
spawn(): /sbin/cryptsetup terminated with status 255
device is not LUKS encrypted, or cryptsetup with LUKS support is not installed
locking mount point directory
mount point directory locked
spawnv(): executing /bin/mount '/bin/mount' '-t' 'udf' '-o' 'nosuid,nodev,user,async,atime,noexec,uid=1000,gid=1000,umask=000' '/dev/sdd' '/media/sdd'
spawn(): /bin/mount terminated with status 32
spawnv(): executing /bin/mount '/bin/mount' '-t' 'iso9660' '-o' 'nosuid,nodev,user,async,atime,noexec,uid=1000,gid=1000' '/dev/sdd' '/media/sdd'
spawn(): /bin/mount terminated with status 32
spawnv(): executing /bin/mount '/bin/mount' '-t' 'vfat' '-o' 'nosuid,nodev,user,quiet,shortname=mixed,async,atime,noexec,uid=1000,gid=1000,umask=077,fmask=0177,dmask=0077' '/dev/sdd' '/media/sdd'
spawn(): /bin/mount terminated with status 32
spawnv(): executing /bin/mount '/bin/mount' '-t' 'ntfs' '-o' 'nosuid,nodev,user,async,atime,noexec,uid=1000,gid=1000,umask=077' '/dev/sdd' '/media/sdd'
spawn(): /bin/mount terminated with status 17

spawnv(): executing /bin/mount '/bin/mount' '-t' 'hfsplus' '-o' 'nosuid,nodev,user,async,atime,noexec,uid=1000,gid=1000' '/dev/sdd' '/media/sdd'
spawn(): /bin/mount terminated with status 32
spawnv(): executing /bin/mount '/bin/mount' '-t' 'hfs' '-o' 'nosuid,nodev,user,async,atime,noexec,uid=1000,gid=1000,umask=077,file_umask=0177,dir_umask=0077' '/dev/sdd' '/media/sdd'
spawn(): /bin/mount terminated with status 32
spawnv(): executing /bin/mount '/bin/mount' '-t' 'ext3' '-o' 'nodev,noauto,nosuid,user,errors=continue,async,atime,noexec' '/dev/sdd' '/media/sdd'
spawn(): /bin/mount terminated with status 32
spawnv(): executing /bin/mount '/bin/mount' '-t' 'ext2' '-o' 'nodev,noauto,nosuid,user,errors=continue,async,atime,noexec' '/dev/sdd' '/media/sdd'
spawn(): /bin/mount terminated with status 32
spawnv(): executing /bin/mount '/bin/mount' '-t' 'reiserfs' '-o' 'nodev,noauto,nosuid,user,async,atime,noexec' '/dev/sdd' '/media/sdd'
spawn(): /bin/mount terminated with status 32
spawnv(): executing /bin/mount '/bin/mount' '-t' 'reiser4' '-o' 'nodev,noauto,nosuid,user,async,atime,noexec' '/dev/sdd' '/media/sdd'
spawn(): /bin/mount terminated with status 32
spawnv(): executing /bin/mount '/bin/mount' '-t' 'xfs' '-o' 'nodev,noauto,nosuid,user,async,atime,noexec' '/dev/sdd' '/media/sdd'
spawn(): /bin/mount terminated with status 32
spawnv(): executing /bin/mount '/bin/mount' '-t' 'jfs' '-o' 'nodev,noauto,nosuid,user,errors=continue,async,atime,noexec' '/dev/sdd' '/media/sdd'
spawn(): /bin/mount terminated with status 32
spawnv(): executing /bin/mount '/bin/mount' '-t' 'omfs' '-o' 'nodev,noauto,nosuid,user,async,atime,noexec' '/dev/sdd' '/media/sdd'
spawn(): /bin/mount terminated with status 32
unlocking mount point directory
mount point directory unlocked
zsh: exit 5     pmount -d /dev/sdd

"/bin/mount terminated with status 17" quand il essaie de le monter en ntfs me donne à penser que ntfs est le bon système de fichier.

J'essaie donc :

% sudo ntfs-3g /dev/sdd tmp/
Error opening partition device: Aucun périphérique ou adresse
Failed to mount '/dev/sdd': Aucun périphérique ou adresse
You seem to have a SoftRAID/FakeRAID hardware and must use an activated,
different device under /dev/mapper/, (e.g. /dev/mapper/nvidia_eahaabcc1)
to mount NTFS. Please see the 'dmraid' documentation for help.
zsh: exit 17    sudo ntfs-3g /dev/sdd tmp/

Et là je ne comprends pas...
Quelqu'un pourrait m'aider svp ?

#3 Le 02/09/2008, à 18:31

jbalibeux

Re : Portable LG KE520 en USB

salut a toi, j'ai aussi ce téléphone et j'ai aussi chercher (g laisser tombé ^^)
je ne sais pas si ça peu t'aider ( ta l'air plus fort que moi^^)mais voila ce que j'ai fait:

je l'ai trouver dans /dev/usb.. , j'ai betement essayer de le monter
mais il est reconnu comme un peripherique de caractere au lieu d'etre de type bloc.
donc voila : peu de chose big_smile

voila, depuis je cherche des forum qui en parle alors courage! (je suis ce forum avec interret)

Hors ligne

#4 Le 03/09/2008, à 14:34

thoduv

Re : Portable LG KE520 en USB

Même problème chez moi ! yikes
Pourtant, ça marche sans problème sur Windows, le deux "partitions" (mémoire interne et lecteur de micro SD) sont reconnues. Ça sent le bug noyau à plein nez...

#5 Le 06/09/2008, à 15:46

elrenardo

Re : Portable LG KE520 en USB

Pas trop mal ce telephone, surtout le prix cool

J'ai donc le meme probleme que vous, par contre j'ai lu quelque part que ça marchait sous knoppix, je viens de tester et effectivement ça passe : ça lance nand (kde daemon) et une partition sdb est accessible.

Le kernel est un 2.6.19 #7 SMP PREEMPT .

Pour info :

# sudo lsusb -vv

Bus 004 Device 002: ID 0104:6022
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x0104
  idProduct          0x6022
  bcdDevice            0.01
  iManufacturer           1
  iProduct                2 TISD Helen-DC EVM
  iSerial                 3 ???????
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           39
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xc0
      Self Powered
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk (Zip)
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0010  1x 16 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
Device Status:     0x0001
  Self Powered

# dmesg

usb 4-1: new full speed USB device using uhci_hcd and address 2
usb 4-1: configuration #1 chosen from 1 choice
scsi2 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
scsi 2:0:0:0: Direct-Access     TI       Mobile Phone     1000 PQ: 0 ANSI: 5
SCSI device sdb: 106848 512-byte hdwr sectors (55 MB)
sdb: Write Protect is off
sdb: Mode Sense: 07 00 00 00
sdb: assuming drive cache: write through
SCSI device sdb: 106848 512-byte hdwr sectors (55 MB)
sdb: Write Protect is off
sdb: Mode Sense: 07 00 00 00
sdb: assuming drive cache: write through
 sdb:
sd 2:0:0:0: Attached scsi removable disk sdb
usb-storage: device scan complete
usb 4-1: usbfs: USBDEVFS_CONTROL failed cmd lsusb rqt 128 rq 6 len 255 ret -110

Le pmount fait appel à mount et les options dans la fstab sont :

/dev/sdb /media/sdb vfat noauto,users,exec,umask=000,shor
tname=winnt,uid=knoppix,gid=knoppix 0 0

fstype vfat donc !

Je retourne sous ubuntu faire quelques tests wink

Hors ligne

#6 Le 02/12/2008, à 19:12

jbalibeux

Re : Portable LG KE520 en USB

help, du nouveau?

Hors ligne

#7 Le 16/02/2009, à 19:10

boulaskov

Re : Portable LG KE520 en USB

Up up ! J'avais pas vu toutes ces réponses, et si elrenardo tu avais une solution ubuntu, ce serait chouette.

#8 Le 20/10/2010, à 12:16

jbalibeux

Re : Portable LG KE520 en USB

jbalibeux a écrit :

help, du nouveau?

bon, c'est plus la peine j'ai changer de portable pour un avec android: un vrai bonheur smile

Hors ligne