[Bug 288964] Re: sudo does not work with unbinding usb interface from usbhid driver

2021-12-14 Thread Seth Arnold
ALinuxUser, Xiaofan Chen's example was unbinding the usbhid driver via
the /sys/bus/usb/drivers/usbhid/unbind control file -- yours is using
/sys/bus/usb/drivers/usb/unbind instead. You probably have to use the
control file that corresponds to the driver your device is using. (Check
lsusb -t output.)

Thanks

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/288964

Title:
  sudo does not work with unbinding usb interface from usbhid driver

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sudo/+bug/288964/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 288964] Re: sudo does not work with unbinding usb interface from usbhid driver

2021-12-11 Thread ALinuxUser
I am sorry to necrobump, but I don't get it.

$ sudo echo -n '2-3' | tee -a /sys/bus/usb/drivers/usb/unbind

Produces, on my system, this: 'tee: unbind: Permission denied'.
Similarly if I have used 'su' to obtain root:

# echo -n '2-3' | tee -a /sys/bus/usb/drivers/usb/unbind
2-3tee: /sys/bus/usb/drivers/usb/unbind: No such device
# ls /sys/bus/usb/drivers/usb
1-1  1-1.2  1-1.6  2-1  bind  uevent  unbind  usb1  usb2  usb3  usb4

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/288964

Title:
  sudo does not work with unbinding usb interface from usbhid driver

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sudo/+bug/288964/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 288964] Re: sudo does not work with unbinding usb interface from usbhid driver

2008-10-25 Thread Chris Coulson
That's ok :)

-- 
sudo does not work with unbinding usb interface from usbhid driver
https://bugs.launchpad.net/bugs/288964
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 288964] Re: sudo does not work with unbinding usb interface from usbhid driver

2008-10-24 Thread Chris Coulson
Thanks, but this is not a bug. To do what you want to do, you need to do
the following:

echo -n 1-7:1.0 | tee -a unbind

The reason for this is that the command sequence you are using is
actually 2 commands. The first command is sudo echo -n 1-7:1.0, which
is ran as root and echos the character sequence you specified. The
second command is  unbind, which re-directs the output, but this is
not running as root.

** Changed in: sudo (Ubuntu)
   Status: New = Invalid

-- 
sudo does not work with unbinding usb interface from usbhid driver
https://bugs.launchpad.net/bugs/288964
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 288964] Re: sudo does not work with unbinding usb interface from usbhid driver

2008-10-24 Thread Xiaofan Chen
You are absolutely right and your method works.
Sorry for the false alarming.

-- 
sudo does not work with unbinding usb interface from usbhid driver
https://bugs.launchpad.net/bugs/288964
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs