From mboxrd@z Thu Jan 1 00:00:00 1970 From: Neobiker Subject: Re: anyone using pvusb? Date: Fri, 4 Sep 2009 09:49:56 -0700 (PDT) Message-ID: <25297935.post@talk.nabble.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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.