** Changed in: linux (Ubuntu)
Status: Incomplete => Won't Fix
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to libusb in Ubuntu.
https://bugs.launchpad.net/bugs/347405
Title:
sync libusb usb_set_configuration() + sysfs .../bConfigurationValue
Status in libusb package in Ubuntu:
New
Status in linux package in Ubuntu:
Won't Fix
Bug description:
A USB device can offering a number of possible Configurations, with
the host/operating system selecting the most suitable configuration
for its needs. An example could be a media device offering either
proprietary, or Mass Storage configurations.
Changing the selected configuration can be done by either:
echo 3 >
/sys/devices/pci0000:00/0000:00:1d.7/usb7/7-3/bConfigurationValue
or, using libusb:
usb_set_configuration(iphone->device, 3);
Currently using one of these methods means that the kernel sysfs state
gets out-of-sync; meaning that udev events are incorrect and the
available '/dev/usbdev7.3_ep??' endpoint symlinks are incorrect as no
udev events are issued.
Ideally 'libusb' should use sysfs on Linux to make the configuration
change, or the kernel should make note of the raw USB commands that it
passes through and update its state.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libusb/+bug/347405/+subscriptions
--
Mailing list: https://launchpad.net/~touch-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp