[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

[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:

[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

[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

[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.