Usb key in guest OS

slapshot

Renowned Member
Feb 28, 2012
58
0
71
Hi,

I'm trying to push a usb key in guest OS. This is not a hard disk usb but a protection key that software I have to install must read.

I installed Windows XP Pro 32 bit as guest os and it run really fast :O. I read man qm and the set seems to be smooth but the key it not tracked by guest os. Here is my output, please if someone can help me.

Code:
root@proxmox:~/immagine# lsusbBus 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 004: ID 6666:7b3c Prototype product Vendor ID
Bus 004 Device 002: ID 04a5:7008 Acer Peripherals Inc. (now BenQ Corp.)
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 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 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Bus 004 Device 004 is my key. Follow lsusb -t and dmesg:
Code:
root@proxmox:~/immagine# lsusb -t
/:  Bus 06.Port 1: Dev 1, Class=root_hub, Driver=ohci_hcd/4p, 12M
/:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=ohci_hcd/5p, 12M
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=ohci_hcd/5p, 12M
    |__ Port 3: Dev 4, If 0, Class=HID, Driver=usbhid, 1.5M
    |__ Port 5: Dev 2, If 0, Class=HID, Driver=usbhid, 1.5M
    |__ Port 5: Dev 2, If 1, Class=HID, Driver=usbhid, 1.5M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=ehci_hcd/4p, 480M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci_hcd/5p, 480M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci_hcd/5p, 480M

*** dmesg output: ****
Code:
usb 4-3: new low speed USB device using ohci_hcd and address 3
usb 4-3: New USB device found, idVendor=6666, idProduct=7b3c
usb 4-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 4-3: Product: ExseKey USB
usb 4-3: Manufacturer: Clover Informatica
usb 4-3: SerialNumber: ï


usb 4-3: configuration #1 chosen from 1 choice
generic-usb 0003:6666:7B3C.0003: hiddev96,hidraw2: USB HID v1.00 Device [Clover Informatica ExseKey USB] on usb-0000:00:12.0-3/input0

Thanks in advance
 
Yes, thank you. Here it is:

Code:
bootdisk: ide0
cores: 1
ide0: local:100/vm-100-disk-1.raw
ide2: local:iso/windowsxp.iso,media=cdrom
memory: 768
name: Windows_XP
net0: rtl8139=6E:26:4F:85:1D:BB,bridge=vmbr0
ostype: wxp
sockets: 1
usb0: host=6666:7b3c
usb4: host=6666:7b3c

but it is in /etc/pve/nodes/proxmox/qemu-server/100.conf. Is it ok ?

Thanks
 
You are right ! I'm pretty new to virtualization and Proxmox in particular, so when I added the first one I was expected to see on my windows xp vm the new hardware tip on the tray zone which was not. So I thought I made a blunder and tried to add it again but without results. Now, lurking on this forum I updated and upgraded Proxmox with aptitude and rebooted the VM and the key is going ok now ! That's wonderful :D.

I would have to erase one of to device now. Is it possible to edit that conf file or is it better to use qm commands ?

Thank you