Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Neobiker <neo-ml-efw-1106 <at> neobiker.de>
Subject: Re: anyone using pvusb?
Newsgroups: gmane.comp.emulators.xen.devel
Date: Friday 4th September 2009 16:49:56 UTC (over 7 years ago)
Hi James,
I'm using PVUSB successfully with XEN 3.4.1 under Debian Lenny and XEN
Kernel 2.6.18-8 (64-Bit and 32-Bit). Dom0 is 64-Bit, DomUs are usually
32-Bit Lenny.

I tested 4-5 USB-Sticks, an Canon USB Printer and a USB-DVB-S TV-Card
(digital Satellite TV) for VDR (Video Disk Recorder), i use it productiv
because it's stable for me.

I wrote a script (named pvusb) to ease usage, details can be found here: 
http://www.neobiker.de/wiki/index.php?title=XEN-PVUSB

The script is able to parse a configfile (/etc/xen/pvusb.conf), which looks
like:
# Configfile for pvusb
# Dev_Id     
# USBPort    
# 0000:0000  
04a9:1093   srv      Canon Printer IP4000
5-1         dmz      Anything on USB Port 5-1
0000:0000   vm01     initialize 'vm01' for PVUSB

Usage of script work's like this:
m450:~# pvusb -h
usage:  pvusb -b [-t] | -i
        pvusb -s  -a [ -t ]
        pvusb -d  -s  [-c ] -w [ -t ]
        pvusb -u  -s  [-c ] -w [ -t ]
        pvusb -l | -r
        pvusb -x ::0:
    ------------
    -a            # activate PVUSB (for -s )
    -b            # boot/initialise PVUSB with hotplug rules
(/etc/xen/pvusb.conf)
    -i            # initialize PVUSB without hotplug rules
(/etc/xen/pvusb.conf)
    -s    # server domain_name or domain_id
    -u  # USB-PORT e.g. '3-2'
    -d # USB device_id e.g. '0912:1234' (use 'lsusb' to get the
ID)
    -c   # e.g. "Canon IP4000 Printer"
    -l            # list grabbed PVUSB Devices
    -r            # read PVUSB hotplug rules
    -w            # write/activate PVUSB hotplug rule
    -x            # delete PVUSB hotplug rule (use copy/paste from -r list)
    -t            # try to trigger all domains (per ssh) to init PVUSB
    -q            # be quiet
    -D            # Debug option (set -x)

Any comments are welcome!

regards neobiker


James Harper wrote:
> 
> Is anyone successfully using pvusb under 3.4-testing and 2.6.18-xen?
> 
> Thanks
> 
> James
> 

-- 
View this message in context: http://www.nabble.com/anyone-using-pvusb--tp25273516p25297935.html
Sent from the Xen - Dev mailing list archive at Nabble.com.
 
CD: 3ms