Re: [Users] [Spice-devel] Fedora 18 and usb pass-through

2013-06-03 Thread Ryan Wilkinson
Any more info. on this issue?


On Thu, May 30, 2013 at 9:10 AM, Ryan Wilkinson ryanw...@gmail.com wrote:

 I didn't install double.  The one package was the version on the FC17 box
 and the other was FC18 box.


 On Thu, May 30, 2013 at 9:08 AM, Hans de Goede hdego...@redhat.comwrote:

 Hi,


 On 05/30/2013 04:34 PM, Ryan Wilkinson wrote:

 Yes, I can manually pass it through.  Not necessarily looking to use
 this specific device (usb wifi adaptor) but was just handy.  Here is the
 output:


 Hmm, that should work.

 I just noticed that in your last mail you mentioned that you've
 virt-viewer installed
 double.

 Can you try doing:

 rpm -e --allmatches virt-viewer
 yum install virt-viewer

 And see if that fixes things ?

 Regards,

 Hans




 Bus 001 Device 003: ID 0bda:8172 Realtek Semiconductor Corp. RTL8191SU
 802.11n WLAN Adapter
 Device Descriptor:
bLength18
bDescriptorType 1
bcdUSB   2.00
bDeviceClass0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize064
idVendor   0x0bda Realtek Semiconductor Corp.
idProduct  0x8172 RTL8191SU 802.11n WLAN Adapter
bcdDevice2.00
iManufacturer   1 Manufacturer Realtek
iProduct2 RTL8191S WLAN Adapter
iSerial 3 00e04c01
bNumConfigurations  1
Configuration Descriptor:
  bLength 9
  bDescriptorType 2
  wTotalLength   46
  bNumInterfaces  1
  bConfigurationValue 1
  iConfiguration  0
  bmAttributes 0x80
(Bus Powered)
  MaxPower  500mA
  Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber0
bAlternateSetting   0
bNumEndpoints   4
bInterfaceClass   255 Vendor Specific Class
bInterfaceSubClass255 Vendor Specific Subclass
bInterfaceProtocol255 Vendor Specific Protocol
iInterface  0
Endpoint Descriptor:
  bLength 7
  bDescriptorType 5
  bEndpointAddress 0x83  EP 3 IN
  bmAttributes2
Transfer TypeBulk
Synch Type   None
Usage Type   Data
  wMaxPacketSize 0x0200  1x 512 bytes
  bInterval   0
Endpoint Descriptor:
  bLength 7
  bDescriptorType 5
  bEndpointAddress 0x04  EP 4 OUT
  bmAttributes2
Transfer TypeBulk
Synch Type   None
Usage Type   Data
  wMaxPacketSize 0x0200  1x 512 bytes
  bInterval   0
Endpoint Descriptor:
  bLength 7
  bDescriptorType 5
  bEndpointAddress 0x06  EP 6 OUT
  bmAttributes2
Transfer TypeBulk
Synch Type   None
Usage Type   Data
  wMaxPacketSize 0x0200  1x 512 bytes
  bInterval   0
Endpoint Descriptor:
  bLength 7
  bDescriptorType 5
  bEndpointAddress 0x0d  EP 13 OUT
  bmAttributes2
Transfer TypeBulk
Synch Type   None
Usage Type   Data
  wMaxPacketSize 0x0200  1x 512 bytes
  bInterval   0
 Device Qualifier (for other device speed):
bLength10
bDescriptorType 6
bcdUSB   2.00
bDeviceClass0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize064
bNumConfigurations  1
 Device Status: 0x
(Bus Powered)

 Bus 005 Device 002: ID 2101:020f ActionStar
 Device Descriptor:
bLength18
bDescriptorType 1
bcdUSB   1.00
bDeviceClass0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor   0x2101 ActionStar
idProduct  0x020f
bcdDevice0.01
iManufacturer   0
iProduct0
iSerial 0
bNumConfigurations  1
Configuration Descriptor:
  bLength 9
  bDescriptorType 2
  wTotalLength   59
  bNumInterfaces  2
  bConfigurationValue 1
  iConfiguration  0
  bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
  MaxPower  500mA
  Interface Descriptor:
bLength   

Re: [Users] [Spice-devel] Fedora 18 and usb pass-through

2013-06-03 Thread Hans de Goede

Hi,

On 06/03/2013 05:13 PM, Ryan Wilkinson wrote:

Any more info. on this issue?


No not really, you're the only one seeing this, some random idea:

-Is udevd running properly on the box with the problem ?
-Have you tried putting selinux in permissive mode?
-Have you perhaps build some things (ie libusb) from source ?

Regards,

Hans
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] [Spice-devel] Fedora 18 and usb pass-through

2013-05-30 Thread Hans de Goede

Hi,

On 05/30/2013 08:22 AM, Itamar Heim wrote:

On 05/29/2013 02:03 AM, Ryan Wilkinson wrote:

I've noticed with Fedora 17 that usb devices plugged in after a spice
session is initiated automagically pass-through to the virtual desktop
without manually selecting them but not so with Fedora 18.  They pass
through if you manually select them from the drop down bar.  Any way to
make 18 work like 17??


Fedora-18 and Fedora-17 remote-viewer should work the same. Notice
that usb devices are only automagically passed-through if remote-viewer
has the keyboard focus when the device gets plugged in!

Also HID devices are excluded from automatic redirection.

Regards,

Hans
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] [Spice-devel] Fedora 18 and usb pass-through

2013-05-30 Thread Hans de Goede

Hi,

On 05/30/2013 04:17 PM, Ryan Wilkinson wrote:

Hans,

Thanks for the info.  Remote viewer has keyboard focus when attempting usb 
pass-through.  Just tried again to confirm.  These are the two package versions 
I'm seeing that are installed:

virt-viewer.x86_64 0.5.4-3.fc18
virt-viewer.i686  0.5.3-1.fc17


And you can pass the device through manually from the menu?

Can you do lsusb -v with the device plugin and then copy and
paste the output for the device in question into your next mail ?

Regards,

Hans
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] [Spice-devel] Fedora 18 and usb pass-through

2013-05-30 Thread Ryan Wilkinson
Yes, I can manually pass it through.  Not necessarily looking to use this
specific device (usb wifi adaptor) but was just handy.  Here is the output:

Bus 001 Device 003: ID 0bda:8172 Realtek Semiconductor Corp. RTL8191SU
802.11n WLAN Adapter
Device Descriptor:
  bLength18
  bDescriptorType 1
  bcdUSB   2.00
  bDeviceClass0 (Defined at Interface level)
  bDeviceSubClass 0
  bDeviceProtocol 0
  bMaxPacketSize064
  idVendor   0x0bda Realtek Semiconductor Corp.
  idProduct  0x8172 RTL8191SU 802.11n WLAN Adapter
  bcdDevice2.00
  iManufacturer   1 Manufacturer Realtek
  iProduct2 RTL8191S WLAN Adapter
  iSerial 3 00e04c01
  bNumConfigurations  1
  Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength   46
bNumInterfaces  1
bConfigurationValue 1
iConfiguration  0
bmAttributes 0x80
  (Bus Powered)
MaxPower  500mA
Interface Descriptor:
  bLength 9
  bDescriptorType 4
  bInterfaceNumber0
  bAlternateSetting   0
  bNumEndpoints   4
  bInterfaceClass   255 Vendor Specific Class
  bInterfaceSubClass255 Vendor Specific Subclass
  bInterfaceProtocol255 Vendor Specific Protocol
  iInterface  0
  Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83  EP 3 IN
bmAttributes2
  Transfer TypeBulk
  Synch Type   None
  Usage Type   Data
wMaxPacketSize 0x0200  1x 512 bytes
bInterval   0
  Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x04  EP 4 OUT
bmAttributes2
  Transfer TypeBulk
  Synch Type   None
  Usage Type   Data
wMaxPacketSize 0x0200  1x 512 bytes
bInterval   0
  Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x06  EP 6 OUT
bmAttributes2
  Transfer TypeBulk
  Synch Type   None
  Usage Type   Data
wMaxPacketSize 0x0200  1x 512 bytes
bInterval   0
  Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x0d  EP 13 OUT
bmAttributes2
  Transfer TypeBulk
  Synch Type   None
  Usage Type   Data
wMaxPacketSize 0x0200  1x 512 bytes
bInterval   0
Device Qualifier (for other device speed):
  bLength10
  bDescriptorType 6
  bcdUSB   2.00
  bDeviceClass0 (Defined at Interface level)
  bDeviceSubClass 0
  bDeviceProtocol 0
  bMaxPacketSize064
  bNumConfigurations  1
Device Status: 0x
  (Bus Powered)

Bus 005 Device 002: ID 2101:020f ActionStar
Device Descriptor:
  bLength18
  bDescriptorType 1
  bcdUSB   1.00
  bDeviceClass0 (Defined at Interface level)
  bDeviceSubClass 0
  bDeviceProtocol 0
  bMaxPacketSize0 8
  idVendor   0x2101 ActionStar
  idProduct  0x020f
  bcdDevice0.01
  iManufacturer   0
  iProduct0
  iSerial 0
  bNumConfigurations  1
  Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength   59
bNumInterfaces  2
bConfigurationValue 1
iConfiguration  0
bmAttributes 0xa0
  (Bus Powered)
  Remote Wakeup
MaxPower  500mA
Interface Descriptor:
  bLength 9
  bDescriptorType 4
  bInterfaceNumber0
  bAlternateSetting   0
  bNumEndpoints   1
  bInterfaceClass 3 Human Interface Device
  bInterfaceSubClass  1 Boot Interface Subclass
  bInterfaceProtocol  1 Keyboard
  iInterface  0
HID Device Descriptor:
  bLength 9
  bDescriptorType33
  bcdHID   1.01
  bCountryCode0 Not supported
  bNumDescriptors 1
  bDescriptorType34 Report
  wDescriptorLength  63
 Report Descriptors:
   ** UNAVAILABLE **
  Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81  EP 1 IN

Re: [Users] [Spice-devel] Fedora 18 and usb pass-through

2013-05-30 Thread Hans de Goede

Hi,

On 05/30/2013 04:34 PM, Ryan Wilkinson wrote:

Yes, I can manually pass it through.  Not necessarily looking to use this 
specific device (usb wifi adaptor) but was just handy.  Here is the output:


Hmm, that should work.

I just noticed that in your last mail you mentioned that you've virt-viewer 
installed
double.

Can you try doing:

rpm -e --allmatches virt-viewer
yum install virt-viewer

And see if that fixes things ?

Regards,

Hans





Bus 001 Device 003: ID 0bda:8172 Realtek Semiconductor Corp. RTL8191SU 802.11n 
WLAN Adapter
Device Descriptor:
   bLength18
   bDescriptorType 1
   bcdUSB   2.00
   bDeviceClass0 (Defined at Interface level)
   bDeviceSubClass 0
   bDeviceProtocol 0
   bMaxPacketSize064
   idVendor   0x0bda Realtek Semiconductor Corp.
   idProduct  0x8172 RTL8191SU 802.11n WLAN Adapter
   bcdDevice2.00
   iManufacturer   1 Manufacturer Realtek
   iProduct2 RTL8191S WLAN Adapter
   iSerial 3 00e04c01
   bNumConfigurations  1
   Configuration Descriptor:
 bLength 9
 bDescriptorType 2
 wTotalLength   46
 bNumInterfaces  1
 bConfigurationValue 1
 iConfiguration  0
 bmAttributes 0x80
   (Bus Powered)
 MaxPower  500mA
 Interface Descriptor:
   bLength 9
   bDescriptorType 4
   bInterfaceNumber0
   bAlternateSetting   0
   bNumEndpoints   4
   bInterfaceClass   255 Vendor Specific Class
   bInterfaceSubClass255 Vendor Specific Subclass
   bInterfaceProtocol255 Vendor Specific Protocol
   iInterface  0
   Endpoint Descriptor:
 bLength 7
 bDescriptorType 5
 bEndpointAddress 0x83  EP 3 IN
 bmAttributes2
   Transfer TypeBulk
   Synch Type   None
   Usage Type   Data
 wMaxPacketSize 0x0200  1x 512 bytes
 bInterval   0
   Endpoint Descriptor:
 bLength 7
 bDescriptorType 5
 bEndpointAddress 0x04  EP 4 OUT
 bmAttributes2
   Transfer TypeBulk
   Synch Type   None
   Usage Type   Data
 wMaxPacketSize 0x0200  1x 512 bytes
 bInterval   0
   Endpoint Descriptor:
 bLength 7
 bDescriptorType 5
 bEndpointAddress 0x06  EP 6 OUT
 bmAttributes2
   Transfer TypeBulk
   Synch Type   None
   Usage Type   Data
 wMaxPacketSize 0x0200  1x 512 bytes
 bInterval   0
   Endpoint Descriptor:
 bLength 7
 bDescriptorType 5
 bEndpointAddress 0x0d  EP 13 OUT
 bmAttributes2
   Transfer TypeBulk
   Synch Type   None
   Usage Type   Data
 wMaxPacketSize 0x0200  1x 512 bytes
 bInterval   0
Device Qualifier (for other device speed):
   bLength10
   bDescriptorType 6
   bcdUSB   2.00
   bDeviceClass0 (Defined at Interface level)
   bDeviceSubClass 0
   bDeviceProtocol 0
   bMaxPacketSize064
   bNumConfigurations  1
Device Status: 0x
   (Bus Powered)

Bus 005 Device 002: ID 2101:020f ActionStar
Device Descriptor:
   bLength18
   bDescriptorType 1
   bcdUSB   1.00
   bDeviceClass0 (Defined at Interface level)
   bDeviceSubClass 0
   bDeviceProtocol 0
   bMaxPacketSize0 8
   idVendor   0x2101 ActionStar
   idProduct  0x020f
   bcdDevice0.01
   iManufacturer   0
   iProduct0
   iSerial 0
   bNumConfigurations  1
   Configuration Descriptor:
 bLength 9
 bDescriptorType 2
 wTotalLength   59
 bNumInterfaces  2
 bConfigurationValue 1
 iConfiguration  0
 bmAttributes 0xa0
   (Bus Powered)
   Remote Wakeup
 MaxPower  500mA
 Interface Descriptor:
   bLength 9
   bDescriptorType 4
   bInterfaceNumber0
   bAlternateSetting   0
   bNumEndpoints   1
   bInterfaceClass 3 Human Interface Device
   bInterfaceSubClass  1 Boot Interface Subclass
   bInterfaceProtocol  1 Keyboard
   iInterface  0
 HID Device Descriptor:
   bLength 9
   

Re: [Users] [Spice-devel] Fedora 18 and usb pass-through

2013-05-30 Thread Ryan Wilkinson
I didn't install double.  The one package was the version on the FC17 box
and the other was FC18 box.


On Thu, May 30, 2013 at 9:08 AM, Hans de Goede hdego...@redhat.com wrote:

 Hi,


 On 05/30/2013 04:34 PM, Ryan Wilkinson wrote:

 Yes, I can manually pass it through.  Not necessarily looking to use this
 specific device (usb wifi adaptor) but was just handy.  Here is the output:


 Hmm, that should work.

 I just noticed that in your last mail you mentioned that you've
 virt-viewer installed
 double.

 Can you try doing:

 rpm -e --allmatches virt-viewer
 yum install virt-viewer

 And see if that fixes things ?

 Regards,

 Hans




 Bus 001 Device 003: ID 0bda:8172 Realtek Semiconductor Corp. RTL8191SU
 802.11n WLAN Adapter
 Device Descriptor:
bLength18
bDescriptorType 1
bcdUSB   2.00
bDeviceClass0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize064
idVendor   0x0bda Realtek Semiconductor Corp.
idProduct  0x8172 RTL8191SU 802.11n WLAN Adapter
bcdDevice2.00
iManufacturer   1 Manufacturer Realtek
iProduct2 RTL8191S WLAN Adapter
iSerial 3 00e04c01
bNumConfigurations  1
Configuration Descriptor:
  bLength 9
  bDescriptorType 2
  wTotalLength   46
  bNumInterfaces  1
  bConfigurationValue 1
  iConfiguration  0
  bmAttributes 0x80
(Bus Powered)
  MaxPower  500mA
  Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber0
bAlternateSetting   0
bNumEndpoints   4
bInterfaceClass   255 Vendor Specific Class
bInterfaceSubClass255 Vendor Specific Subclass
bInterfaceProtocol255 Vendor Specific Protocol
iInterface  0
Endpoint Descriptor:
  bLength 7
  bDescriptorType 5
  bEndpointAddress 0x83  EP 3 IN
  bmAttributes2
Transfer TypeBulk
Synch Type   None
Usage Type   Data
  wMaxPacketSize 0x0200  1x 512 bytes
  bInterval   0
Endpoint Descriptor:
  bLength 7
  bDescriptorType 5
  bEndpointAddress 0x04  EP 4 OUT
  bmAttributes2
Transfer TypeBulk
Synch Type   None
Usage Type   Data
  wMaxPacketSize 0x0200  1x 512 bytes
  bInterval   0
Endpoint Descriptor:
  bLength 7
  bDescriptorType 5
  bEndpointAddress 0x06  EP 6 OUT
  bmAttributes2
Transfer TypeBulk
Synch Type   None
Usage Type   Data
  wMaxPacketSize 0x0200  1x 512 bytes
  bInterval   0
Endpoint Descriptor:
  bLength 7
  bDescriptorType 5
  bEndpointAddress 0x0d  EP 13 OUT
  bmAttributes2
Transfer TypeBulk
Synch Type   None
Usage Type   Data
  wMaxPacketSize 0x0200  1x 512 bytes
  bInterval   0
 Device Qualifier (for other device speed):
bLength10
bDescriptorType 6
bcdUSB   2.00
bDeviceClass0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize064
bNumConfigurations  1
 Device Status: 0x
(Bus Powered)

 Bus 005 Device 002: ID 2101:020f ActionStar
 Device Descriptor:
bLength18
bDescriptorType 1
bcdUSB   1.00
bDeviceClass0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor   0x2101 ActionStar
idProduct  0x020f
bcdDevice0.01
iManufacturer   0
iProduct0
iSerial 0
bNumConfigurations  1
Configuration Descriptor:
  bLength 9
  bDescriptorType 2
  wTotalLength   59
  bNumInterfaces  2
  bConfigurationValue 1
  iConfiguration  0
  bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
  MaxPower  500mA
  Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber0
bAlternateSetting   0