Pagina 1 di 1

[Usb] Le Usb smettono di riconoscere/montare dispositivi esterni

Inviato: venerdì 18 giugno 2010, 0:05
da DragonEyes
Ciao a tutti.
Ho un Acer Extensa 5220

Codice: Seleziona tutto

gianni@gianni:~$ lspci
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 03)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 03)
02:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5787M Gigabit Ethernet PCI Express (rev 02)
04:00.0 Ethernet controller: Atheros Communications Inc. AR5001 Wireless Network Adapter (rev 01)
0f:06.0 CardBus bridge: Texas Instruments PCIxx12 Cardbus Controller
0f:06.1 FireWire (IEEE 1394): Texas Instruments PCIxx12 OHCI Compliant IEEE 1394 Host Controller
0f:06.2 Mass storage controller: Texas Instruments 5-in-1 Multimedia Card Reader (SD/MMC/MS/MS PRO/xD)
0f:06.3 SD Host controller: Texas Instruments PCIxx12 SDA Standard Compliant SD Host Controller
Ho installato tempo fa Karmic, e le usb funzionavano perfettamente. Poi, a un certo punto, senza fare nulla di particolare, hanno cominciato a non funzionare più. Inserivo la pen drive, e il suo led lampeggiava regolarmente (segno che almeno era alimentata), ma Ubuntu non montava nulla. Facendo una ricerca con i pacchetti installati sul mio desktop (sempre Ubuntu), ho scoperto che "magicamente" ne mancava uno relativo al auto-mount o roba del genere.
Per un po' è andato tutto liscio, poi il problema si è inspiegabilmente ripresentato. L'aggiornamento a Lucid ha risolto di nuovo. Ma adesso il problema si è ripresentato per l'ennesima volta, e questa volta i pacchetti che potrebbero essere utili per le Usb/munt/file system sembrano esserci tutti.
Non so proprio che fare!
Inoltre, inserendo un pen drive, Ubuntu lo riconosce:

Codice: Seleziona tutto

gianni@gianni:~$ lsusb
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 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
[i]Bus 002 Device 002: ID 058f:6387 Alcor Micro Corp. Transcend JetFlash Flash Drive[/i]
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
ma non montandolo è inutilizzabile.
Stesso discorso se per esempio metto la chiavettina Usb per il bluethoot: si accende il suo bel led blu, ma poi Ubuntu la ignora completamente.

???

Re: [Usb] Le Usb smettono di riconoscere/montare dispositivi esterni

Inviato: venerdì 18 giugno 2010, 9:17
da pieddu
Inserisci il dispositivo usb e controlla cosa succede nelle ultime righe dell'output di

Codice: Seleziona tutto

dmesg

Re: [Usb] Le Usb smettono di riconoscere/montare dispositivi esterni

Inviato: venerdì 18 giugno 2010, 10:31
da DragonEyes
dmesg:

Inserendo una pen drive:

Codice: Seleziona tutto

[  248.916064] usb 2-1: new high speed USB device using ehci_hcd and address 2
[  249.051384] usb 2-1: configuration #1 chosen from 1 choice
Oppure, se può essere utile, inserendo la chiavettina bluethoot (sempre nella stessa porta usb):

Codice: Seleziona tutto

[  384.488064] usb 5-1: new full speed USB device using uhci_hcd and address 2
[  384.680138] usb 5-1: configuration #1 chosen from 1 choice

Re: [Usb] Le Usb smettono di riconoscere/montare dispositivi esterni

Inviato: venerdì 18 giugno 2010, 10:56
da pieddu
Solo questo? Queste sono le uniche righe che aggiunge all'inserimento?

Re: [Usb] Le Usb smettono di riconoscere/montare dispositivi esterni

Inviato: venerdì 18 giugno 2010, 11:25
da DragonEyes
Si si.
Guarda, ti metto le ultime righe per confronto:

Senza chiavetta:

Codice: Seleziona tutto

[  800.764088] ata4: SATA link down (SStatus 0 SControl 300)
[  800.764126] ata5: SATA link down (SStatus 0 SControl 300)
[  800.792516] ata1.00: configured for UDMA/33
[  800.824089] PM: resume of drv:usb dev:usb2 complete after 147.968 msecs
[  800.833205] sd 2:0:0:0: [sda] Starting disk
[  802.108085] ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[  802.138810] ata3.00: _GTF unexpected object type 0x1
[  802.151849] ata3.00: _GTF unexpected object type 0x1
[  802.152181] ata3.00: configured for UDMA/133
[  802.156099] PM: resume of drv:sd dev:2:0:0:0 complete after 1322.893 msecs
[  802.162022] PM: resume of devices complete after 2062.043 msecs
[  802.162242] PM: resume devices took 2.064 seconds
[  802.162290] PM: Finishing wakeup.
[  802.162294] Restarting tasks ... done.
[  802.797333] tg3 0000:02:00.0: wake-up capability disabled by ACPI
[  802.797343] tg3 0000:02:00.0: PME# disabled
[  802.797438] tg3 0000:02:00.0: irq 29 for MSI/MSI-X
[  802.832671] ADDRCONF(NETDEV_UP): eth0: link is not ready
[  802.837864] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  817.895881] ndiswrapper (iw_set_auth:1602): invalid cmd 12
[  817.908431] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[  828.504057] wlan0: no IPv6 routers present
gianni@gianni:~$ 
Con chiavetta:

Codice: Seleziona tutto

[  800.764088] ata4: SATA link down (SStatus 0 SControl 300)
[  800.764126] ata5: SATA link down (SStatus 0 SControl 300)
[  800.792516] ata1.00: configured for UDMA/33
[  800.824089] PM: resume of drv:usb dev:usb2 complete after 147.968 msecs
[  800.833205] sd 2:0:0:0: [sda] Starting disk
[  802.108085] ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[  802.138810] ata3.00: _GTF unexpected object type 0x1
[  802.151849] ata3.00: _GTF unexpected object type 0x1
[  802.152181] ata3.00: configured for UDMA/133
[  802.156099] PM: resume of drv:sd dev:2:0:0:0 complete after 1322.893 msecs
[  802.162022] PM: resume of devices complete after 2062.043 msecs
[  802.162242] PM: resume devices took 2.064 seconds
[  802.162290] PM: Finishing wakeup.
[  802.162294] Restarting tasks ... done.
[  802.797333] tg3 0000:02:00.0: wake-up capability disabled by ACPI
[  802.797343] tg3 0000:02:00.0: PME# disabled
[  802.797438] tg3 0000:02:00.0: irq 29 for MSI/MSI-X
[  802.832671] ADDRCONF(NETDEV_UP): eth0: link is not ready
[  802.837864] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  817.895881] ndiswrapper (iw_set_auth:1602): invalid cmd 12
[  817.908431] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[  828.504057] wlan0: no IPv6 routers present
[  906.512043] usb 2-1: new high speed USB device using ehci_hcd and address 4
[  906.647105] usb 2-1: configuration #1 chosen from 1 choice
gianni@gianni:~$ 

Re: [Usb] Le Usb smettono di riconoscere/montare dispositivi esterni

Inviato: venerdì 18 giugno 2010, 11:28
da pieddu

Codice: Seleziona tutto

fdisk -l
la vede?

Re: [Usb] Le Usb smettono di riconoscere/montare dispositivi esterni

Inviato: venerdì 18 giugno 2010, 12:13
da DragonEyes
No (non vede nulla, è normale?)

Codice: Seleziona tutto

gianni@gianni:~$ fdisk -l
gianni@gianni:~$ 

Re: [Usb] Le Usb smettono di riconoscere/montare dispositivi esterni

Inviato: sabato 19 giugno 2010, 12:58
da pieddu
No, dovrebbe comparire la penna.... non quella bluetooth ma il dispositivo di massa.
Su altri pc va?

Re: [Usb] Le Usb smettono di riconoscere/montare dispositivi esterni

Inviato: sabato 19 giugno 2010, 14:59
da DragonEyes
Si sugli altri va.
H girato in lungo e in largo su internet, e ho scoperto che molto probabilmente è un bug relativo a udev. (Un bug solo per i portatili Acer, che culo!)
Reinstallando udev non ottengo nulla.
Invece i comandi

Codice: Seleziona tutto

sudo stop udev
sudo star udev
risolvono il problema, ma non sempre, non so perchè.

Ho fatto uno scriptino che si lancia all'avvio, tipo

Codice: Seleziona tutto

#! /bin/bash
sleep 10 && gksu stop udev;
sleep 7 && gksu start udev;
Il secondo sleep serve perchè se riavvio subito udev, non parte.
Il primo per aspettare che abbia caricato tutto il resto, all'avvio, ma non so se serva...

Rimane il fatto che questi due comandi funzionano avolte sì, e altre no  ::)

Sapresti dirmi come si fa ad aggiungere allo script, del codice per eseguire quei comandi in un terminale, così da vedere all'avvio della sessione, cosa succede?

Grazie

Re: [Usb] Le Usb smettono di riconoscere/montare dispositivi esterni

Inviato: domenica 20 giugno 2010, 12:13
da pieddu
Dove hai visto del bug? Puoi postare il link?

Re: [Usb] Le Usb smettono di riconoscere/montare dispositivi esterni

Inviato: domenica 20 giugno 2010, 17:31
da DragonEyes