[Linux-bruxelles] VirtualBox, VBoxGuestAdditions et USB
Aldo
info at brlspeak.net
Ven 2 Mai 18:59:59 CEST 2008
Durdur d'avoir un peu de support USB sous VirtualBox+XP:
on a installé via un CD les VBox Guest Additions;
cela permet d'avoir une souri guest pour les deux o s (facile quoi que ...
prudence).
Mais au niveau de l'USB, le "keyring-photoviewer" qui ne fonctionnait pas
jusqu'à présent, en fonctionne pas plus après ça. Que faire ?
Dans le paneau de config des settings de VirtualBox on a la possibilité
d'ajouter un à un les devices qu'on veut voir pris en compte.
Le porteclef-photoviewer est considéré comme un flashmemory, il est donc
bien perçu par Ubuntu, pas mounté car pas de filesystem.
Mais après les guest additions ça devrait non seulement être pris en compte
par l'os sous VBox, mais l'appli, photoviewer(.exe) devrait trouver
l'appareil; or il ne letrouve pas.
J'ai mis en pj un typescript, p-e uqe ça aide à y voir plus clair, mais le
blème reste la comm entre l'os guest de Vbox et les devices USB.
Tout avis welcome!
Aldo.
-------------- section suivante --------------
Script is gestart op vr 02 mei 2008 11:18:13 CEST
.anita at beertje:/tmp$ lsusb
Bus 005 Device 003: ID 04b4:6830 Cypress Semiconductor Corp. USB-2.0 IDE Adapter
Bus 005 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 002 Device 003: ID 04a9:220d Canon, Inc. CanoScan N670U/N676U/LiDE 20
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
anita at beertje:/tmp$ dmesg |tail -26
[ 17.495842] ACPI: Power Button (CM) [PWRB]
[ 17.528006] No dock devices found.
[ 17.570340] pcc_acpi: loading...
[ 20.184730] eth0: link down
[ 20.184765] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 22.014768] [drm] Initialized drm 1.1.0 20060810
[ 22.017215] ACPI: PCI Interrupt 0000:00:02.0[A] -> GSI 16 (level, low) -> IRQ 19
[ 22.017861] [drm] Initialized i915 1.6.0 20060119 on minor 0
[ 22.428666] eth1: no IPv6 routers present
[ 22.702736] ppdev: user-space parallel port driver
[ 23.229583] apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16ac)
[ 23.229587] apm: disabled - APM is not SMP safe.
[ 25.091102] vboxdrv: Trying to deactivate the NMI watchdog permanently...
[ 25.091106] vboxdrv: Successfully done.
[ 25.092277] vboxdrv: TSC mode is 'synchronous', kernel timer mode is 'normal'.
[ 25.092280] vboxdrv: Successfully loaded version 1.5.6 (interface 0x00050002).
[ 25.551427] Bluetooth: Core ver 2.11
[ 25.551472] NET: Registered protocol family 31
[ 25.551474] Bluetooth: HCI device and connection manager initialized
[ 25.551476] Bluetooth: HCI socket layer initialized
[ 25.656715] Bluetooth: L2CAP ver 2.8
[ 25.656719] Bluetooth: L2CAP socket layer initialized
[ 25.684389] Bluetooth: RFCOMM socket layer initialized
[ 25.684398] Bluetooth: RFCOMM TTY layer initialized
[ 25.684399] Bluetooth: RFCOMM ver 1.8
[ 31.329350] EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
anita at beertje:/tmp$ mount
/dev/sda2 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
/sys on /sys type sysfs (rw,noexec,nosuid,nodev)
varrun on /var/run type tmpfs (rw,noexec,nosuid,nodev,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
devshm on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
lrm on /lib/modules/2.6.20-16-generic/volatile type tmpfs (rw)
/dev/sda5 on /home type ext3 (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
/dev/sdb1 on /media/disk type ext2 (rw,noexec,nosuid,nodev)
anita at beertje:/tmp$ df
Bestandssysteem 1K-blokken Gebruikt Beschikbr Geb% Aangekoppeld op
/dev/sda2 19228308 3656352 14595204 21% /
varrun 1033980 108 1033872 1% /var/run
varlock 1033980 0 1033980 0% /var/lock
procbususb 1033980 124 1033856 1% /proc/bus/usb
udev 1033980 124 1033856 1% /dev
devshm 1033980 0 1033980 0% /dev/shm
lrm 1033980 33788 1000192 4% /lib/modules/2.6.20-16-generic/volatile
/dev/sda5 48062440 17098680 28522284 38% /home
/dev/sdb1 115377640 31365232 78151496 29% /media/disk
anita at beertje:/tmp$ lsusb
Bus 005 Device 003: ID 04b4:6830 Cypress Semiconductor Corp. USB-2.0 IDE Adapter
Bus 005 Device 001: ID 0000:0000
Bus 003 Device 002: ID 1403:0001
Bus 003 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 002 Device 003: ID 04a9:220d Canon, Inc. CanoScan N670U/N676U/LiDE 20
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
anita at beertje:/tmp$ dmesg |tail -26
[ 25.551476] Bluetooth: HCI socket layer initialized
[ 25.656715] Bluetooth: L2CAP ver 2.8
[ 25.656719] Bluetooth: L2CAP socket layer initialized
[ 25.684389] Bluetooth: RFCOMM socket layer initialized
[ 25.684398] Bluetooth: RFCOMM TTY layer initialized
[ 25.684399] Bluetooth: RFCOMM ver 1.8
[ 31.329350] EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
[ 588.757216] usb 3-2: new full speed USB device using uhci_hcd and address 2
[ 588.938477] usb 3-2: configuration #1 chosen from 1 choice
[ 588.941472] scsi3 : SCSI emulation for USB Mass Storage devices
[ 588.941534] usb-storage: device found at 2
[ 588.941536] usb-storage: waiting for device to settle before scanning
[ 593.934971] usb-storage: device scan complete
[ 593.937972] scsi 3:0:0:0: Direct-Access SITRONIX MULTIMEDIA 0.09 PQ: 0 ANSI: 0 CCS
[ 593.942942] SCSI device sdc: 4096 512-byte hdwr sectors (2 MB)
[ 593.945937] sdc: Write Protect is off
[ 593.945939] sdc: Mode Sense: 0b 00 00 08
[ 593.945941] sdc: assuming drive cache: write through
[ 593.954922] SCSI device sdc: 4096 512-byte hdwr sectors (2 MB)
[ 593.957915] sdc: Write Protect is off
[ 593.957918] sdc: Mode Sense: 0b 00 00 08
[ 593.957920] sdc: assuming drive cache: write through
[ 593.957922] sdc: unknown partition table
[ 593.986889] sd 3:0:0:0: Attached scsi removable disk sdc
[ 593.986933] sd 3:0:0:0: Attached scsi generic sg3 type 0
[ 594.349535] usb 3-2: reset full speed USB device using uhci_hcd and address 2
anita at beertje:/tmp$ mount
/dev/sda2 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
/sys on /sys type sysfs (rw,noexec,nosuid,nodev)
varrun on /var/run type tmpfs (rw,noexec,nosuid,nodev,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
devshm on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
lrm on /lib/modules/2.6.20-16-generic/volatile type tmpfs (rw)
/dev/sda5 on /home type ext3 (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
/dev/sdb1 on /media/disk type ext2 (rw,noexec,nosuid,nodev)
anita at beertje:/tmp$ df
Bestandssysteem 1K-blokken Gebruikt Beschikbr Geb% Aangekoppeld op
/dev/sda2 19228308 3656364 14595192 21% /
varrun 1033980 108 1033872 1% /var/run
varlock 1033980 0 1033980 0% /var/lock
procbususb 1033980 132 1033848 1% /proc/bus/usb
udev 1033980 132 1033848 1% /dev
devshm 1033980 0 1033980 0% /dev/shm
lrm 1033980 33788 1000192 4% /lib/modules/2.6.20-16-generic/volatile
/dev/sda5 48062440 17098680 28522284 38% /home
/dev/sdb1 115377640 31365232 78151496 29% /media/disk
anita at beertje:/tmp$ fdisk -l /dev/sdc
Schijf /dev/sdc: 2 MB, 2097152 bytes
1 koppen, 4 sectoren/spoor, 1024 cilinders
Eenheid = cilinders van 4 * 512 = 2048 bytes
Schijf /dev/sdc bevat geen geldige partitietabel
anita at beertje:/tmp$ lsmod
Module Size Used by
ext2 66824 1
snd_rtctimer 4384 1
binfmt_misc 12680 1
rfcomm 40856 0
l2cap 25856 5 rfcomm
bluetooth 55908 4 rfcomm,l2cap
vboxdrv 54272 0
ppdev 10116 0
i915 25472 2
drm 81044 3 i915
acpi_cpufreq 10056 1
cpufreq_ondemand 9228 2
cpufreq_userspace 5408 0
cpufreq_stats 7360 0
freq_table 5792 3 acpi_cpufreq,cpufreq_ondemand,cpufreq_stats
cpufreq_powersave 2688 0
cpufreq_conservative 8200 0
sony_acpi 6284 0
pcc_acpi 13184 0
tc1100_wmi 8068 0
dev_acpi 12292 0
dock 10268 0
button 8720 0
ac 6020 0
sbs 15652 0
battery 10756 0
video 16388 0
asus_acpi 17308 0
i2c_ec 6016 1 sbs
i2c_core 22656 1 i2c_ec
container 5248 0
backlight 7040 1 asus_acpi
af_packet 23816 0
lp 12452 0
fuse 46612 1
snd_emu10k1_synth 8192 0
snd_emux_synth 35456 1 snd_emu10k1_synth
snd_seq_virmidi 7936 1 snd_emux_synth
snd_seq_midi_emul 7680 1 snd_emux_synth
snd_emu10k1 121248 2 snd_emu10k1_synth
snd_ac97_codec 98464 1 snd_emu10k1
ac97_bus 3200 1 snd_ac97_codec
snd_pcm_oss 44544 0
snd_mixer_oss 17408 1 snd_pcm_oss
snd_pcm 79876 3 snd_emu10k1,snd_ac97_codec,snd_pcm_oss
snd_page_alloc 10888 2 snd_emu10k1,snd_pcm
snd_util_mem 5760 2 snd_emux_synth,snd_emu10k1
snd_hwdep 9988 2 snd_emux_synth,snd_emu10k1
snd_seq_dummy 4740 0
snd_seq_oss 32896 0
snd_seq_midi 9600 0
snd_rawmidi 25472 3 snd_seq_virmidi,snd_emu10k1,snd_seq_midi
snd_seq_midi_event 8448 3 snd_seq_virmidi,snd_seq_oss,snd_seq_midi
snd_seq 52592 10 snd_emux_synth,snd_seq_virmidi,snd_seq_midi_emul,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer 23684 4 snd_rtctimer,snd_emu10k1,snd_pcm,snd_seq
snd_seq_device 9100 8 snd_emu10k1_synth,snd_emux_synth,snd_emu10k1,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd 54020 16 snd_emux_synth,snd_seq_virmidi,snd_emu10k1,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_hwdep,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
pcspkr 4224 0
psmouse 38920 0
emu10k1_gp 4736 0
gameport 16520 2 emu10k1_gp
parport_pc 36388 1
parport 36936 3 ppdev,lp,parport_pc
iTCO_wdt 11812 0
iTCO_vendor_support 4868 1 iTCO_wdt
soundcore 8672 1 snd
intel_agp 26140 1
agpgart 35400 3 drm,intel_agp
serio_raw 7940 0
tsdev 8768 0
evdev 11008 3
ipv6 269088 14
ext3 133128 2
jbd 59816 1 ext3
mbcache 9604 2 ext2,ext3
usb_storage 72256 1
sg 36252 0
sr_mod 17060 0
cdrom 37664 1 sr_mod
sd_mod 23428 6
ata_generic 9092 0
libusual 17936 1 usb_storage
ata_piix 15492 3
libata 125720 2 ata_generic,ata_piix
8139too 27648 0
scsi_mod 142348 5 usb_storage,sg,sr_mod,sd_mod,libata
r8169 32392 0
8139cp 25088 0
mii 6528 2 8139too,8139cp
generic 5124 0 [permanent]
floppy 59524 0
ehci_hcd 34188 0
uhci_hcd 25360 0
usbcore 134280 5 usb_storage,libusual,ehci_hcd,uhci_hcd
thermal 14856 0
processor 31048 2 acpi_cpufreq,thermal
fan 5636 0
fbcon 42656 0
tileblit 3584 1 fbcon
font 9216 1 fbcon
bitblit 6912 1 fbcon
softcursor 3200 1 bitblit
vesafb 9220 0
capability 5896 0
commoncap 8192 1 capability
anita at beertje:/tmp$ exit
exit
Script is beëindigd op vr 02 mei 2008 11:25:38 CEST
.
Plus d'informations sur la liste de diffusion Linux-bruxelles