WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Xen

xen-devel

[Top] [All Lists]

Re: [Xen-devel] anyone using pvusb?

To: james.harper@xxxxxxxxxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] anyone using pvusb?
From: Noboru Iwamatsu <n_iwamatsu@xxxxxxxxxxxxxx>
Date: 2009年9月04日 15:36:15 +0900
Cc:
Delivery-date: 2009年9月03日 23:38:35 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AEC6C66638C05B468B556EA548C1A77D0177D06B@trantor >
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <C6C57085.13C89%keir.fraser@xxxxxxxxxxxxx> <4AA06437.1030009@xxxxxxxxxxxxxx> <AEC6C66638C05B468B556EA548C1A77D0177D051@trantor > <4AA0AE5E.10901@xxxxxxxxxxxxxx> <AEC6C66638C05B468B556EA548C1A77D0177D06B@trantor >
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.23 (Windows/20090812)
Hi James,
Thank you for your informations.
The platform (AMD or Intel) seems to be unrelated to the problem.
> Have you been able to test with 3.4.1 or 3.4-testing yet?
Not yet. Will test early next week.
Regards,
Noboru
James Harper wrote:
 >> Bus 001 Device 006: ID 0204:6025 Chipsbank Microelectronics Co.,
Ltd
 > CBM2080
 >> Flash drive controller
 >> Device Descriptor:
 >> bLength 18
 >> bDescriptorType 1
 >> bcdUSB 1.10
 >
 > For some reason the device has booted up as USB 1.10 instead of USB
 > 2.00. It didn't work any better when it booted as USB 2.00 though.
I want to confirm. Does this device surely work properly
on Dom0 kernel (w/o pvusb)?
Yes, it works perfectly, even without a reboot since trying to use it
with pvusb
On the Intel machine that I'm testing with now, I do this to use it with
pvusb:
# Set some variables
device_id="1-4:1.0"
bus_id=`echo $device_id | sed 's/:.*//'`
domid=`xm domid 1ドル`
# unlink all devices from any currently bound vports
cat /sys/bus/usb/drivers/usbback/vports | while read port
do
 echo "$port" >/sys/bus/usb/drivers/usbback/remove_vport
done
# set vport
echo "$bus_id:$domid:0:1" >/sys/bus/usb/drivers/usbback/new_vport
# call provided init script
~/usb_init_xs.sh $domid 0
# wait for a bit
echo waiting
sleep 5
# unbind device from whatever it is currently bound to (usb-storage in
this case) then wait a bit more
echo unbind
echo -n "$device_id" >/sys/bus/usb/devices/$device_id/driver/unbind
sleep 5
# bind the device to usbback
echo bind
echo -n "$device_id" >/sys/bus/usb/drivers/usbback/bind
after that, I unbound the device from usbback and re-bound it to
usb-storage and mounted the filesystem.
Have you been able to test with 3.4.1 or 3.4-testing yet?
Thanks
James
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: RE: [Xen-devel] anyone using pvusb? , James Harper
Next by Date: RE: [Xen-devel] Fail to passthru PCI device to HVM , Cui, Dexuan
Previous by Thread: RE: [Xen-devel] anyone using pvusb? , James Harper
Next by Thread: Re: [Xen-devel] anyone using pvusb? , Noboru Iwamatsu
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /