From: Neobiker <neo-ml-efw-1106@neobiker.de>
To: xen-devel@lists.xensource.com
Subject: Re: anyone using pvusb?
Date: Fri, 4 Sep 2009 09:49:56 -0700 (PDT) [thread overview]
Message-ID: <25297935.post@talk.nabble.com> (raw)
In-Reply-To: <AEC6C66638C05B468B556EA548C1A77D0177D032@trantor>
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 <domain> <Comment>
# USBPort <domain> <Comment>
# 0000:0000 <domain> <Comment>
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 <domain> -a [ -t ]
pvusb -d <device_id> -s <domain> [-c <comment>] -w [ -t ]
pvusb -u <usb-port> -s <domain> [-c <comment>] -w [ -t ]
pvusb -l | -r
pvusb -x <usb-port>:<domain>:0:<vport>
------------
-a # activate PVUSB (for -s <domain>)
-b # boot/initialise PVUSB with hotplug rules
(/etc/xen/pvusb.conf)
-i # initialize PVUSB without hotplug rules
(/etc/xen/pvusb.conf)
-s <domain> # server domain_name or domain_id
-u <usb-port> # USB-PORT e.g. '3-2'
-d <device_id># USB device_id e.g. '0912:1234' (use 'lsusb' to get the
ID)
-c <comment> # 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.
next prev parent reply other threads:[~2009-09-04 16:49 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-03 10:42 anyone using pvusb? James Harper
2009-09-03 12:09 ` Keir Fraser
2009-09-04 0:49 ` Noboru Iwamatsu
2009-09-04 1:53 ` James Harper
2009-09-04 3:09 ` Noboru Iwamatsu
2009-09-04 5:49 ` James Harper
2009-09-04 2:40 ` James Harper
2009-09-04 6:06 ` Noboru Iwamatsu
2009-09-04 6:21 ` James Harper
2009-09-04 6:36 ` Noboru Iwamatsu
2009-09-04 10:43 ` Noboru Iwamatsu
2009-09-04 10:49 ` James Harper
2009-09-04 12:23 ` Noboru Iwamatsu
2009-09-07 11:38 ` James Harper
2009-09-09 2:28 ` Noboru Iwamatsu
2009-09-10 16:43 ` Ian Jackson
2009-09-04 16:49 ` Neobiker [this message]
2009-09-05 1:22 ` James Harper
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=25297935.post@talk.nabble.com \
--to=neo-ml-efw-1106@neobiker.de \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.