[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] getting a usb dongle working in hvm domU



On Wed, Jan 27, 2010 at 02:43:56AM -0800, vasily wrote:
> 
> 
> 
> SebastianR wrote:
> > 
> > Hi,
> > 
> > I'm trying to get a USB dongle working in a windows XP HVM DomU. The dom0
> > is 
> > a SLES10 sp2, running xen 3.2.0 with these rpm's installed:
> > xen-libs-3.2.0_16718_02-0.5
> > xen-tools-ioemu-3.2.0_16718_02-0.5
> > xen-3.2.0_16718_02-0.5
> > xen-tools-3.2.0_16718_02-0.5
> > xen-kmp-smp-3.2.0_16718_02_2.6.16.57_0.9-0.5
> > kernel-xen-2.6.16.57-0.9
> > 
> > when I plug in the dongle, in the dom0, I see the following in dmesg:
> > usb 3-2: USB disconnect, address 4
> > usb 3-2: new low speed USB device using uhci_hcd and address 5
> > usb 3-2: new device found, idVendor=0529, idProduct=0001
> > usb 3-2: new device strings: Mfr=1, Product=2, SerialNumber=0
> > usb 3-2: Product: Hardlock USB 1.02
> > usb 3-2: Manufacturer: AKS
> > usb 3-2: configuration #1 chosen from 1 choice
> > 
> > 
> > lsusb in the dom0 shows me the dongle:
> > 
> > Bus 003 Device 004: ID 0529:0001 Aladdin Knowledge Systems HASP v0.06
> > 
> > therefore I added this to the /etc/xen/vm/windowsxp-2 configuration file:
> > 
> > usb=1
> > usbdevice='host:0529:0001'
> > 
> > 
> > when I then xm create the domU, then in /var/log/xen/xend.log I see the 
> > following:
> > 
> > [2008-04-04 16:42:46 4654] DEBUG (XendDomainInfo:2211) Storing VM details: 
> > {'on_xend_stop': 'ignore', 'shadow_memory': '4', 'uuid':
> > 'd1d77b30-6e3a-61af-74f6-62bc4cb810af', 'on_reboot': 'restart',
> > 'start_time':
> > '1207320166.12', 'on_poweroff': 'destroy', 'on_xend_start': 'ignore',
> > 'on_crash': 'destroy', 'xend/restart_count': '0', 'vcpus': '2',
> > 'vcpu_avail':
> > '3', 'image': '(hvm 
> > (kernel /usr/lib/xen/boot/hvmloader) (acpi 1) (apic 0) (boot c) 
> > (device_model /usr/lib/xen/bin/qemu-dm) (display :0.0) (isa 0) (localtime
> > 1) 
> > (monitor 0) (nographic 0) (pae 1) (extid 0) (rtc_timeoffset 0) (serial
> > pty) 
> > (stdvga 0) (usb 1) (usbdevice host:0529:0001) (vnc 1) (timer_mode 0) 
> > (vncunused 1) (xauthority /root/.Xauthority) (pci ()) (guest_os_type 
> > default) (notes (SUSPEND_CANCEL 1)))', 'name': 'windowsxp-2'}
> > 
> > so the domU starts up successfully, but the dongle doesn't show up as a
> > USB 
> > device in the hardware list in the windows domU.
> > 
> > I searched the archives, but only found posts regarding older versions of 
> > xen, so I guess in theory, it should work.
> > 
> > Is there anything else I could have missed to check to get the dongle 
> > working in the domU?
> > 
> > kind regards
> > Sebastian
> > 
> > 
> > _______________________________________________
> > Xen-users mailing list
> > Xen-users@xxxxxxxxxxxxxxxxxxx
> > http://lists.xensource.com/xen-users
> > 
> > 
> 
> Good day? did anyone solve this problem? How assign USB aladdin key to Win
> 2008?
>

If the normal USB assignment doesn't work, you could try PVUSB. 
I think you need to use the latest linux-2.6.18-xen kernel on dom0 for PVUSB to 
work.

-- Pasi


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.