[rhelv6-list] Does usb passthrogh really works with rhel6 kvm??

carlopmart carlopmart at gmail.com
Tue May 24 16:29:46 UTC 2011


On 05/19/2011 09:55 AM, carlopmart wrote:
> On 05/19/2011 12:07 AM, Greg Cockburn wrote:
>>> -----Original Message-----
>>> From: rhelv6-list-bounces at redhat.com [mailto:rhelv6-list-
>>> bounces at redhat.com] On Behalf Of carlopmart
>>> Sent: Thursday, 19 May 2011 12:11 AM
>>> To: rhelv6-list at redhat.com
>>> Subject: Re: [rhelv6-list] Does usb passthrogh really works with rhel6
>>> kvm??
>>>
>>> On 05/18/2011 03:22 PM, carlopmart wrote:
>>>> Hi all,
>>>>
>>>> I have installed a windows 7 sp1 guest under a rhel6 kvm host. I am
>>>> trying to pass to this guest an usb printer without luck.
>>>>
>>>> My guest.xml is:
>>>>
>>>> <hostdev mode='subsystem' type='usb' managed='yes'>
>>>> <source>
>>>> <vendor id='0x03f0'/>
>>>> <product id='0x5611'/>
>>>> <address bus='2' device='3'/>
>>>> </source>
>>>> <alias name='hostdev0'/>
>>>> </hostdev>
>>>> <hostdev mode='subsystem' type='usb' managed='yes'>
>>>> <source>
>>>> <vendor id='0x05ac'/>
>>>> <product id='0x1265'/>
>>>> <address bus='2' device='4'/>
>>>> </source>
>>>> <alias name='hostdev1'/>
>>>> </hostdev>
>>>>
>>>> and I have removed usb_storage and uslp modules with rmmod, but
>> guest
>>>> can't see this usb printer yet. Do I need to do something else??
>>>>
>>>> Thanks.
>>>
>>> More info. When guest starts, returns this error:
>>>
>>> husb: open device 1.2
>>> /dev/bus/usb/001/002: Operation not permitted
>>> husb: open device 1.2
>>> /dev/bus/usb/001/002: Operation not permitted
>>> husb: open device 1.2
>>> /dev/bus/usb/001/002: Operation not permitted
>>> husb: open device 1.2
>>> /dev/bus/usb/001/002: Operation not permitted
>>> husb: open device 1.2
>>> /dev/bus/usb/001/002: Operation not permitted
>>> .......
>>>
>>> Do I need to change something??
>>>
>>> --
>>> CL Martinez
>>> carlopmart {at} gmail {d0t} com
>>>
>>> _______________________________________________
>>> rhelv6-list mailing list
>>> rhelv6-list at redhat.com
>>> https://www.redhat.com/mailman/listinfo/rhelv6-list
>>
>> Carlo(?),
>>
>> USB pass-through should work.
>>
>> Things to note:
>> 1. Make sure that a driver (module) is not attaching to the device in
>> the host OS, blacklist it if possible.
>> 2. Only USB 1.1/1.0 devices are supported. If you have a pure USB 2.0
>> device, it is not going to work.
>>
>> You could try passing up the whole PCI USB device, but I have had little
>> success.
>>
>> G
>>
>> NOTICE
>> This e-mail and any attachments are confidential and may contain
>> copyright material of Macquarie Group Limited or third parties. If you
>> are not the intended recipient of this email you should not read,
>> print, re-transmit, store or act in reliance on this e-mail or any
>> attachments, and should destroy all copies of them. Macquarie Group
>> Limited does not guarantee the integrity of any emails or any attached
>> files. The views or opinions expressed are the author's own and may
>> not reflect the views or opinions of Macquarie Group Limited.
>>
>
> Thanks Greg. Then my problem is with usb 2.0. Exists some roadmap from
> redhat/fedora about when will be implemented this option??
>
>

Please any input about when usb 2.0 will be supported under kvm??


-- 
CL Martinez
carlopmart {at} gmail {d0t} com




More information about the rhelv6-list mailing list