[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Re: Fire-wire passthrough with Linux pv-ops (2.6.31.1)


  • To: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
  • From: "Mr. Teo En Ming (Zhang Enming)" <space.time.universe@xxxxxxxxx>
  • Date: Tue, 13 Oct 2009 09:32:08 +0800
  • Cc: Jeremy Fitzhardinge <jeremy@xxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Mon, 12 Oct 2009 18:32:32 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=sxwQQqnexV9bvz2S6DFX+13b+L3OwAVIIdxngrUbvNzhVlc1usg5Iws2aZLh8l4E/p yhufynZZJNlXf0Hmc8M1FpM1VUg/E0GTsIsQe3yVTqjHV5XkZt70nRF/irM77/SIIPu0 N6YS3QuHtsKhh36v0Zary7x8XDxSgJLfrX8s8=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Hi,

I have a firewire passthrough script passthru-firewire.sh.

#!/bin/sh
echo "11c1 5811" > /sys/bus/pci/drivers/pci-stub/new_id
echo "0000:02:01.0" > /sys/bus/pci/devices/0000:02:01.0/driver/unbind
echo "0000:02:01.0" > /sys/bus/pci/drivers/pci-stub/bind

#Unload firewire driver
rmmod firewire_ohci
rmmod firewire_core

I have the pci directive in winxp domU config:

# nvidia & firewire
pci = [ '01:00.0','02:01.0' ]

01:00.0 is for passing through the nvidia pci express x16 graphics
card and 02:01.0 is the BDF of the OHCI firewire controller.

And I also added the vendorid and productid of the firewire controller
in xend-pci-permissive.sxp.

(unconstrained_dev_ids
     #('0123:4567:89AB:CDEF')
     ('11c1:5811')
)

This is the first time I am trying to get it to work.

-- 
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical
Engineering)
Alma Maters:
(1) Singapore Polytechnic
(2) National University of Singapore
Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com
Email: space.time.universe@xxxxxxxxx
MSN: teoenming@xxxxxxxxxxx
Mobile Phone: +65-9648-9798
Street: Bedok Reservoir Road
Republic of Singapore


On Tue, Oct 13, 2009 at 2:10 AM, Konrad Rzeszutek Wilk
<konrad.wilk@xxxxxxxxxx> wrote:
> On Sun, Oct 11, 2009 at 03:22:32PM +0800, Mr. Teo En Ming (Zhang Enming) 
> wrote:
>> It works.
>>
>> How do I get more than 1 usb device to be passed through to win xp
>> domU? At the moment I can only passthrough the usb optical mouse and
>> not the usb keyboard. I have to use the on-screen keyboard.
>>
>> I have also tried to pass through the OHCI Firewire controller to the
>> win xp domu. Win XP domU device manager reports that the firewire
>> controller is working properly. However, when I plug in my Canon HV20
>> firewire-based digital camcorder, it cannot be detected at all.
>
> Did it used to work in the past?
>
> How do you pass through the device? What are the settings in your .xm file
> for it?
>

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.