[PATCH spice-gtk 0/2] a couple async usb fixes

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

 



I discovered that the UsbDeviceManager doesn't handle device connection errors
properly after the latest GTask and async usb changes. I reproduced this
because my usb acl helper executable wasn't properly owned by root with u+s, so
the set_facl() function failed. In this situation, the usb device widget was
left in an unusable state with a blue info bar saying 'device is being
redirected...' (or something similar).

Clearly this was a acl-helper issue was problem with my environment, but
spice-gtk should still deal with that situation properly. These two patches
should fix the issue.

Jonathon Jongsma (2):
  SpiceUsbDeviceManager: propagate errors from sub-tasks
  usb device widget: don't try to disconnect on failed connect

 src/usb-device-manager.c | 20 ++++++++++++++++++--
 src/usb-device-widget.c  |  6 ++++++
 2 files changed, 24 insertions(+), 2 deletions(-)

-- 
2.4.3

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]