Sebastian Reitenbach
2008-Aug-12 14:45 UTC
[Xen-users] getting a usb dongle working in hvm domU
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@lists.xensource.com http://lists.xensource.com/xen-users
Hi Sebastian i have the same problem with aladdin dongle SUSE OES 2 + XEN + WinXP + Aladdin do you found any solution for this problem ?? with regards -- View this message in context: http://www.nabble.com/getting-a-usb-dongle-working-in-hvm--domU-tp18945756p20052060.html Sent from the Xen - User mailing list archive at Nabble.com. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
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@lists.xensource.com > http://lists.xensource.com/xen-users > >Good day? did anyone solve this problem? How assign USB aladdin key to Win 2008? -- View this message in context: http://old.nabble.com/getting-a-usb-dongle-working-in-hvm--domU-tp18945756p27335647.html Sent from the Xen - User mailing list archive at Nabble.com. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Pasi Kärkkäinen
2010-Jan-27 14:15 UTC
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@lists.xensource.com > > 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@lists.xensource.com http://lists.xensource.com/xen-users
James Harper
2010-Jan-27 21:56 UTC
RE: [Xen-users] getting a usb dongle working in hvm domU
> > 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. >pvUSB for GPLPV is still work in progress and almost certainly won''t work for any device you care to try (I have it working for one flash device at this time). I haven''t had much time to work on it lately unfortunately. James _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users