Ho installato Ubuntu 10.04 sulla macchina virtuale e gli ho fatto fare tutti gli aggiornamenti che mi ha richiesto al primo avvio.
La macchina virtuale ha tutte impostazioni standard. Non ci sono filtri USB, è attiva solo l'opzione 2.0.
Il disco fisso esterno e scollegato fisicamente dal computer. La chiavetta è collegata.
Questo è il risultato di
lsusb sul sistema host (Ubuntu 11.10 64 bit) prima di avviare la macchina virtuale:
- Codice: Seleziona tutto
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 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 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 003 Device 002: ID 046d:c517 Logitech, Inc. LX710 Cordless Desktop Laser
Bus 001 Device 004: ID 19d2:0031 ONDA Communication S.p.A. ZTE MF110/MF636
La chiavetta viene vista correttamente sia dal Network Manager che da Nautilus.
Accendo la macchina virtuale. Il risultato di
lsusb sulla vm è questo:
- Codice: Seleziona tutto
Bus 002 Device 002: ID 80ee:0021
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Connetto la chiavetta alla vm e il risultato di
lsusb non cambia di una virgola. Sul sistema host invece la chiavetta sparisce:
- Codice: Seleziona tutto
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 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 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 003 Device 002: ID 046d:c517 Logitech, Inc. LX710 Cordless Desktop Laser
Spengo la macchina virtuale, disconnetto la chiavetta dal computer, la riconnetto ma non c'è verso di farla vedere a Ubuntu 11.10. Dopo ciò se collego il disco esterno, che fin'ora era scollegato, non viene visto e non compare in
lsusb. Pare che la macchina virtuale mandi in palla la gestione (se fosse stato Windows avrei detto "i driver")delle USB da parte del sistema host. L'unica cosa che continua a funzionare (per fortuna) e il ricevitore di tastiera e mouse.
Riavvio il computer
Chiavetta e disco esterno funzionano regolarmente collegati insieme. Questo è il risultato di
lsusb sul sistema host:
- Codice: Seleziona tutto
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 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 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 001 Device 003: ID 1058:1003 Western Digital Technologies, Inc.
Bus 003 Device 002: ID 046d:c517 Logitech, Inc. LX710 Cordless Desktop Laser
Bus 003 Device 006: ID 19d2:0031 ONDA Communication S.p.A. ZTE MF110/MF636
Scollego la chiavetta per testare il comportamento della macchina virtuale col solo disco esterno.
Avvio la macchina virtuale e questo è il risultato di
lsusb:
- Codice: Seleziona tutto
Bus 002 Device 002: ID 80ee:0021
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Connetto il disco esterno alla macchina virtuale e si collega regolarmente ed è accessibile sia in lettura che in scrittura. Ecco cosa ne pensa
lsusb eseguiti sulla vm:
- Codice: Seleziona tutto
Bus 002 Device 002: ID 80ee:0021
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 1058:1003 Western Digital Technologies, Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Lo disconnetto dalla vm e ricomincia a funzionare regolarmente sull'host.
Mi pare evidente che VirtualBox non ha problemi col disco esterno ma con la chiavetta fa a botte. Questo conflitto fa andare in crash il sistema di gestione delle porte USB sull'host che dev'essere necessariamente riavviato.
Pensi che si possa fare qualcosa o è proprio un bug?