Linux.general : Ports Usb HS ?

Posté par palm123 (page perso, ) le 08 juillet 2008
0

Bonjour



J'ai un vieux Keynux Impac avec 3 ports Usb, sous Xubuntu 7.10



Depuis hier, quand je mets une clé Usb ou Wifi dans l'un des ports, il n'est pas vu.



Quelques infos



$ dmesg | grep usb

[ 3.424000] usbcore: registered new interface driver usbfs

[ 3.424000] usbcore: registered new interface driver hub

[ 3.424000] usbcore: registered new device driver usb

[ 3.424000] usb usb1: configuration #1 chosen from 1 choice

[ 3.528000] usb usb2: configuration #1 chosen from 1 choice

[ 3.632000] usb usb3: configuration #1 chosen from 1 choice

[ 3.744000] usb usb4: configuration #1 chosen from 1 choice



Lspci montre bien mes 3 ports



$ lspci -v | grep HCI

00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 03) (prog-if 00 [UHCI])

00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 03) (prog-if 00 [UHCI])

00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 03) (prog-if 00 [UHCI])

00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 03) (prog-if 20 [EHCI])

02:09.2 FireWire (IEEE 1394): Ricoh Co Ltd R5C552 IEEE 1394 Controller (rev 04) (prog-if 10 [OHCI])



J'ai démarré avec divers Live-cd sans plus de succès :-(



Un mount -t usbfs none /proc/bus/usb n'a rien changé.



Un tail -f /var/log/messages suivi de l'insertion d'une clé dans un port Usb ne montre rien, aucune activité.



Merci pour toute idée

> Lire le message (13 commentaires, moyenne: 1,9).  

Vous avez demandé le commentaire #948962.

OK..

Posté par TheBreton () le 09/07/2008 à 10:27. (lien). Évalué à 2.

c'est un debut mais ca manque d'info , que donne la commande "lsusb -vv" (<-il s'agit de 2 v et pas d'un w)) ?
que donne "lsmod" ?
que donne la sequence (en root)
"mkdir mnt/clef"
"mount -t vfat /dev/sda1 /mnt/clef"
(message dmesg aussi)
pourrait tu mettre la suite des messages de dmesg (notemment la couche scsi qui doit demarrer suite à l'insertion de la clef)

--
Merde, ca fait trois fois que je le coupe il est toujours trop court!
-(un stagiaire hardware qui devait connaitre le grand pere de Sylvain Sauvage ;-) )-

[ Répondre ]

  • [^]Re: OK..

    Posté par palm123 (page perso, ) le 09/07/2008 à 13:03. (lien). Évalué à 2.

    Alors voilà ce que tu demandais :

    lsusb -vv

    Bus 004 Device 001: ID 0000:0000
    Device Descriptor:
    bLength 18
    bDescriptorType 1
    bcdUSB 2.00
    bDeviceClass 9 Hub
    bDeviceSubClass 0 Unused
    bDeviceProtocol 1 Single TT
    bMaxPacketSize0 64
    idVendor 0x0000
    idProduct 0x0000
    bcdDevice 2.06
    iManufacturer 3 Linux 2.6.22-14-generic ehci_hcd
    iProduct 2 EHCI Host Controller
    iSerial 1 0000:00:1d.7
    bNumConfigurations 1
    Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 25
    bNumInterfaces 1
    bConfigurationValue 1
    iConfiguration 0
    bmAttributes 0xe0
    Self Powered
    Remote Wakeup
    MaxPower 0mA
    Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber 0
    bAlternateSetting 0
    bNumEndpoints 1
    bInterfaceClass 9 Hub
    bInterfaceSubClass 0 Unused
    bInterfaceProtocol 0 Full speed hub
    iInterface 0
    Endpoint Descriptor:
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x81 EP 1 IN
    bmAttributes 3
    Transfer Type Interrupt
    Synch Type None
    Usage Type Data
    wMaxPacketSize 0x0004 1x 4 bytes
    bInterval 12
    Hub Descriptor:
    bLength 9
    bDescriptorType 41
    nNbrPorts 6
    wHubCharacteristic 0x000a
    No power switching (usb 1.0)
    Per-port overcurrent protection
    TT think time 8 FS bits
    bPwrOn2PwrGood 10 * 2 milli seconds
    bHubContrCurrent 0 milli Ampere
    DeviceRemovable 0x00
    PortPwrCtrlMask 0xff
    Hub Port Status:
    Port 1: 0000.0100 power
    Port 2: 0000.0100 power
    Port 3: 0000.0100 power
    Port 4: 0000.0100 power
    Port 5: 0000.0100 power
    Port 6: 0000.0100 power
    Device Status: 0x0003
    Self Powered
    Remote Wakeup Enabled

    Bus 003 Device 001: ID 0000:0000
    Device Descriptor:
    bLength 18
    bDescriptorType 1
    bcdUSB 1.10
    bDeviceClass 9 Hub
    bDeviceSubClass 0 Unused
    bDeviceProtocol 0 Full speed hub
    bMaxPacketSize0 64
    idVendor 0x0000
    idProduct 0x0000
    bcdDevice 2.06
    iManufacturer 3 Linux 2.6.22-14-generic uhci_hcd
    iProduct 2 UHCI Host Controller
    iSerial 1 0000:00:1d.2
    bNumConfigurations 1
    Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 25
    bNumInterfaces 1
    bConfigurationValue 1
    iConfiguration 0
    bmAttributes 0xe0
    Self Powered
    Remote Wakeup
    MaxPower 0mA
    Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber 0
    bAlternateSetting 0
    bNumEndpoints 1
    bInterfaceClass 9 Hub
    bInterfaceSubClass 0 Unused
    bInterfaceProtocol 0 Full speed hub
    iInterface 0
    Endpoint Descriptor:
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x81 EP 1 IN
    bmAttributes 3
    Transfer Type Interrupt
    Synch Type None
    Usage Type Data
    wMaxPacketSize 0x0002 1x 2 bytes
    bInterval 255
    Hub Descriptor:
    bLength 9
    bDescriptorType 41
    nNbrPorts 2
    wHubCharacteristic 0x000a
    No power switching (usb 1.0)
    Per-port overcurrent protection
    bPwrOn2PwrGood 1 * 2 milli seconds
    bHubContrCurrent 0 milli Ampere
    DeviceRemovable 0x00
    PortPwrCtrlMask 0xff
    Hub Port Status:
    Port 1: 0000.0100 power
    Port 2: 0000.0100 power
    Device Status: 0x0003
    Self Powered
    Remote Wakeup Enabled

    Bus 002 Device 001: ID 0000:0000
    Device Descriptor:
    bLength 18
    bDescriptorType 1
    bcdUSB 1.10
    bDeviceClass 9 Hub
    bDeviceSubClass 0 Unused
    bDeviceProtocol 0 Full speed hub
    bMaxPacketSize0 64
    idVendor 0x0000
    idProduct 0x0000
    bcdDevice 2.06
    iManufacturer 3 Linux 2.6.22-14-generic uhci_hcd
    iProduct 2 UHCI Host Controller
    iSerial 1 0000:00:1d.1
    bNumConfigurations 1
    Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 25
    bNumInterfaces 1
    bConfigurationValue 1
    iConfiguration 0
    bmAttributes 0xe0
    Self Powered
    Remote Wakeup
    MaxPower 0mA
    Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber 0
    bAlternateSetting 0
    bNumEndpoints 1
    bInterfaceClass 9 Hub
    bInterfaceSubClass 0 Unused
    bInterfaceProtocol 0 Full speed hub
    iInterface 0
    Endpoint Descriptor:
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x81 EP 1 IN
    bmAttributes 3
    Transfer Type Interrupt
    Synch Type None
    Usage Type Data
    wMaxPacketSize 0x0002 1x 2 bytes
    bInterval 255
    Hub Descriptor:
    bLength 9
    bDescriptorType 41
    nNbrPorts 2
    wHubCharacteristic 0x000a
    No power switching (usb 1.0)
    Per-port overcurrent protection
    bPwrOn2PwrGood 1 * 2 milli seconds
    bHubContrCurrent 0 milli Ampere
    DeviceRemovable 0x00
    PortPwrCtrlMask 0xff
    Hub Port Status:
    Port 1: 0000.0100 power
    Port 2: 0000.0100 power
    Device Status: 0x0003
    Self Powered
    Remote Wakeup Enabled

    Bus 001 Device 001: ID 0000:0000
    Device Descriptor:
    bLength 18
    bDescriptorType 1
    bcdUSB 1.10
    bDeviceClass 9 Hub
    bDeviceSubClass 0 Unused
    bDeviceProtocol 0 Full speed hub
    bMaxPacketSize0 64
    idVendor 0x0000
    idProduct 0x0000
    bcdDevice 2.06
    iManufacturer 3 Linux 2.6.22-14-generic uhci_hcd
    iProduct 2 UHCI Host Controller
    iSerial 1 0000:00:1d.0
    bNumConfigurations 1
    Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 25
    bNumInterfaces 1
    bConfigurationValue 1
    iConfiguration 0
    bmAttributes 0xe0
    Self Powered
    Remote Wakeup
    MaxPower 0mA
    Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber 0
    bAlternateSetting 0
    bNumEndpoints 1
    bInterfaceClass 9 Hub
    bInterfaceSubClass 0 Unused
    bInterfaceProtocol 0 Full speed hub
    iInterface 0
    Endpoint Descriptor:
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x81 EP 1 IN
    bmAttributes 3
    Transfer Type Interrupt
    Synch Type None
    Usage Type Data
    wMaxPacketSize 0x0002 1x 2 bytes
    bInterval 255
    Hub Descriptor:
    bLength 9
    bDescriptorType 41
    nNbrPorts 2
    wHubCharacteristic 0x000a
    No power switching (usb 1.0)
    Per-port overcurrent protection
    bPwrOn2PwrGood 1 * 2 milli seconds
    bHubContrCurrent 0 milli Ampere
    DeviceRemovable 0x00
    PortPwrCtrlMask 0xff
    Hub Port Status:
    Port 1: 0000.0100 power
    Port 2: 0000.0100 power
    Device Status: 0x0003
    Self Powered
    Remote Wakeup Enabled


    Le lsmod
    lsmod
    Module Size Used by
    radeon 125472 2
    drm 83348 3 radeon
    rfcomm 42136 2
    l2cap 26240 11 rfcomm
    bluetooth 57060 4 rfcomm,l2cap
    ppdev 10244 0
    acpi_cpufreq 10568 0
    cpufreq_powersave 2688 0
    cpufreq_userspace 5280 0
    cpufreq_conservative 8072 0
    cpufreq_stats 7232 0
    cpufreq_ondemand 9612 1
    freq_table 5792 3 acpi_cpufreq,cpufreq_stats,cpufreq_ondemand
    container 5504 0
    video 18060 0
    sbs 19592 0
    button 8976 0
    battery 11012 0
    dock 10656 0
    ac 6148 0
    ipv6 273892 11
    sbp2 24072 0
    lp 12580 0
    joydev 11328 0
    snd_intel8x0 34972 2
    snd_ac97_codec 100644 1 snd_intel8x0
    ac97_bus 3200 1 snd_ac97_codec
    snd_pcm_oss 44672 0
    snd_mixer_oss 17664 1 snd_pcm_oss
    snd_pcm 80388 3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
    snd_seq_dummy 4740 0
    snd_seq_oss 33152 0
    snd_seq_midi 9600 0
    snd_rawmidi 25728 1 snd_seq_midi
    snd_seq_midi_event 8448 2 snd_seq_oss,snd_seq_midi
    irda 202300 0
    snd_seq 53232 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
    snd_timer 24324 2 snd_pcm,snd_seq
    snd_seq_device 9228 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
    parport_pc 37412 1
    parport 37448 3 ppdev,lp,parport_pc
    crc_ccitt 3072 1 irda
    pcmcia 41388 0
    ipw2200 149320 0
    ieee80211 35656 1 ipw2200
    snd 54660 14 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
    soundcore 8800 1 snd
    snd_page_alloc 11400 2 snd_intel8x0,snd_pcm
    serio_raw 8068 0
    psmouse 39952 0
    iTCO_wdt 11940 0
    iTCO_vendor_support 4868 1 iTCO_wdt
    yenta_socket 27532 2
    rsrc_nonstatic 14080 1 yenta_socket
    pcmcia_core 40980 3 pcmcia,yenta_socket,rsrc_nonstatic
    ieee80211_crypt 7040 1 ieee80211
    af_packet 24840 4
    shpchp 34580 0
    pci_hotplug 32704 1 shpchp
    intel_agp 25620 1
    agpgart 35016 2 drm,intel_agp
    evdev 11136 5
    ext3 133896 1
    jbd 60456 1 ext3
    mbcache 9732 1 ext3
    sg 36764 0
    sr_mod 17828 0
    cdrom 37536 1 sr_mod
    sd_mod 30336 3
    ata_piix 17540 2
    ohci1394 36528 0
    ieee1394 96312 2 sbp2,ohci1394
    b44 28300 0
    mii 6528 1 b44
    ata_generic 8452 0
    libata 125168 2 ata_piix,ata_generic
    scsi_mod 147084 5 sbp2,sg,sr_mod,sd_mod,libata
    ehci_hcd 36492 0
    uhci_hcd 26640 0
    usbcore 138632 3 ehci_hcd,uhci_hcd
    thermal 14344 0
    processor 32072 2 acpi_cpufreq,thermal
    fan 5764 0
    fuse 47124 1
    apparmor 40728 0
    commoncap 8320 1 apparmor


    Sinon je ferais bien ton
    mount -t vfat /dev/sda1 /mnt/clef mais sda1 est une partition de mon disque dur, donc ça donnera rien.
    Et je n'ai pas de /dev/sdb :-(

    La suite du dmesg
    [ 4.048000] ata1.00: ATA-6: HTS726060M9AT00, MH4OA68A, max UDMA/100
    [ 4.048000] ata1.00: 117210240 sectors, multi 16: LBA48
    [ 4.064000] ata1.00: configured for UDMA/100
    [ 4.540000] ata2.00: ATAPI: QSI DVD+/-RW SDW-082S, LX10, max UDMA/33
    [ 4.712000] ata2.00: configured for UDMA/33
    [ 4.712000] scsi 0:0:0:0: Direct-Access ATA HTS726060M9AT00 MH4O PQ: 0 ANSI: 5
    [ 4.712000] scsi 1:0:0:0: CD-ROM QSI DVD+-RW SDW-082S LX10 PQ: 0 ANSI: 5
    [ 4.712000] b44.c:v1.01 (Jun 16, 2006)
    [ 4.712000] ACPI: PCI Interrupt 0000:02:05.0[A] -> Link [LNKD] -> GSI 10 (level, low) -> IRQ 10
    [ 4.712000] PCI: Setting latency timer of device 0000:02:05.0 to 64
    [ 4.716000] eth0: Broadcom 4400 10/100BaseT Ethernet 00:0a:e4:5e:cc:8a
    [ 4.716000] ACPI: PCI Interrupt Link [LNKG] enabled at IRQ 11
    [ 4.716000] ACPI: PCI Interrupt 0000:02:09.2[C] -> Link [LNKG] -> GSI 11 (level, low) -> IRQ 11
    [ 4.716000] PCI: Setting latency timer of device 0000:02:09.2 to 64
    [ 4.772000] ohci1394: fw-host0: OHCI-1394 1.0 (PCI): IRQ=[11] MMIO=[d0203000-d02037ff] Max Packet=[2048] IR/IT contexts=[4/4]
    [ 4.792000] sd 0:0:0:0: [sda] 117210240 512-byte hardware sectors (60012 MB)
    [ 4.792000] sd 0:0:0:0: [sda] Write Protect is off
    [ 4.792000] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
    [ 4.792000] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
    [ 4.792000] sd 0:0:0:0: [sda] 117210240 512-byte hardware sectors (60012 MB)
    [ 4.792000] sd 0:0:0:0: [sda] Write Protect is off
    [ 4.792000] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
    [ 4.792000] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
    [ 4.792000] sda: sda1 sda2 < sda5 sda6 sda7 > sda3
    [ 4.868000] sd 0:0:0:0: [sda] Attached SCSI disk
    [ 4.872000] sd 0:0:0:0: Attached scsi generic sg0 type 0
    [ 4.872000] scsi 1:0:0:0: Attached scsi generic sg1 type 5
    [ 4.888000] sr0: scsi3-mmc drive: 12x/24x writer cd/rw xa/form2 cdda tray
    [ 4.888000] Uniform CD-ROM driver Revision: 3.20
    [ 4.888000] sr 1:0:0:0: Attached scsi CD-ROM sr0


    Merci :)

    --
    Les logiciels libres ne sont pas à la portée des non-spécialistes, dit Microsoft. Si même un gendarme ou un député est capable de se servir d'un PC sous Gnu/Linux...

    [ Répondre ]

    • [^]Re: OK..

      Posté par TheBreton () le 09/07/2008 à 17:05. (lien). Évalué à 1.

      Si tu as obtenu ces log apres avoir mis ta clef effectivement il y a un gros problrme, sinon pourrais tu les refaire stp ?
      A premiere vue tu n'as aucun perif usb (ni clavier ni souris..)

      --
      Merde, ca fait trois fois que je le coupe il est toujours trop court!
      -(un stagiaire hardware qui devait connaitre le grand pere de Sylvain Sauvage ;-) )-

      [ Répondre ]

      • [^]Re: OK..

        Posté par palm123 (page perso, ) le 09/07/2008 à 22:14. (lien). Évalué à 2.

        Par contre mon clavier et mon touchpad du portable fonctionnent sans pb, je poste de ce PC :-)

        Effectivement les logs sont apères l'insertion d'une clé Usb qui fonctionne parfaitement sur un autre PC.

        :-(

        --
        Les logiciels libres ne sont pas à la portée des non-spécialistes, dit Microsoft. Si même un gendarme ou un député est capable de se servir d'un PC sous Gnu/Linux...

        [ Répondre ]

        • [^]Re: OK..

          Posté par TheBreton () le 10/07/2008 à 14:53. (lien). Évalué à 1.

          mais.....ton clavier et ta souris sont en ps2 non pas en usb ?
          car je ne vois aucun periph usb connecté a ce pc dans les log.
          Donc c'est un portable , ca m'avais echappé.
          J'ai déja vu des portable qui posait problème avec des clef usb au niveau de l'alimentation disponible sur les ports usb.
          Je rentre pas dans les details (sauf en cas de demande).
          Il faudrait faire un essai en passant par un hub usb disposant d'une alimentation autonome. C'est possible ? Tu connecte ta clef sur le hub et le cordon usb du hub sur le portable pour voir si ca se passe differement.

          --
          Merde, ca fait trois fois que je le coupe il est toujours trop court!
          -(un stagiaire hardware qui devait connaitre le grand pere de Sylvain Sauvage ;-) )-

          [ Répondre ]