Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Binding and unbinding USB driver #142

Open
innoce9t opened this issue Jun 18, 2016 · 1 comment
Open

Binding and unbinding USB driver #142

innoce9t opened this issue Jun 18, 2016 · 1 comment

Comments

@innoce9t
Copy link

Hey,
I am trying to install the razer_chroma_drivers on my Asus g55vw running on Linux Mint 17.3 Cinnamon(2.8.8)64-bit.
I keep getting the message of permission denied every time i try to unbind the driver. Please help a way to fix it.
innoce9t@Asus ~ $ modprobe razerkbd innoce9t@Asus ~ $ lsmod | grep razerkbd razerkbd 28672 0 hid 110592 3 hid_generic,razerkbd,usbhid innoce9t@Asus ~ $ ls -l /sys/bus/hid/drivers total 0 drwxr-xr-x 2 root root 0 Jun 18 07:00 hid-generic drwxr-xr-x 2 root root 0 Jun 17 12:07 razerkbd innoce9t@Asus ~ $ ls -l /sys/bus/hid/devices/ total 0 lrwxrwxrwx 1 root root 0 Jun 18 08:49 0003:1038:1211.0058 -> ../../../devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4.2/1-4.2:1.3/0003:1038:1211.0058 lrwxrwxrwx 1 root root 0 Jun 17 12:07 0003:1532:003E.0004 -> ../../../devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4.4/1-4.4:1.0/0003:1532:003E.0004 lrwxrwxrwx 1 root root 0 Jun 17 12:07 0003:1532:003E.0005 -> ../../../devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4.4/1-4.4:1.1/0003:1532:003E.0005 lrwxrwxrwx 1 root root 0 Jun 17 12:07 0003:1532:003E.0006 -> ../../../devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4.4/1-4.4:1.2/0003:1532:003E.0006 lrwxrwxrwx 1 root root 0 Jun 17 12:07 0003:1532:0203.0010 -> ../../../devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4.3/1-4.3:1.0/0003:1532:0203.0010 lrwxrwxrwx 1 root root 0 Jun 17 12:07 0003:1532:0203.0011 -> ../../../devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4.3/1-4.3:1.1/0003:1532:0203.0011 lrwxrwxrwx 1 root root 0 Jun 17 12:07 0003:1532:0203.0012 -> ../../../devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4.3/1-4.3:1.2/0003:1532:0203.0012 innoce9t@Asus ~ $ udevadm info -a /sys/bus/hid/devices/0003:1532:0203.0050 | grep bInterfaceNumber Unknown device, absolute path in /dev/ or /sys expected. innoce9t@Asus ~ $ udevadm info -a /sys/bus/hid/devices/0003:1532:0203.0012 | grep bInterfaceNumber ATTRS{bInterfaceNumber}=="02" innoce9t@Asus ~ $ cd /sys/bus/hid/drivers/hid-generic innoce9t@Asus /sys/bus/hid/drivers/hid-generic $ ls -l total 0 lrwxrwxrwx 1 root root 0 Jun 18 08:45 0003:1038:1211.0058 -> ../../../../devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4.2/1-4.2:1.3/0003:1038:1211.0058 lrwxrwxrwx 1 root root 0 Jun 17 12:15 0003:1532:003E.0004 -> ../../../../devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4.4/1-4.4:1.0/0003:1532:003E.0004 lrwxrwxrwx 1 root root 0 Jun 17 12:15 0003:1532:003E.0005 -> ../../../../devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4.4/1-4.4:1.1/0003:1532:003E.0005 lrwxrwxrwx 1 root root 0 Jun 17 12:15 0003:1532:003E.0006 -> ../../../../devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4.4/1-4.4:1.2/0003:1532:003E.0006 lrwxrwxrwx 1 root root 0 Jun 17 12:15 0003:1532:0203.0010 -> ../../../../devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4.3/1-4.3:1.0/0003:1532:0203.0010 lrwxrwxrwx 1 root root 0 Jun 17 12:15 0003:1532:0203.0011 -> ../../../../devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4.3/1-4.3:1.1/0003:1532:0203.0011 --w------- 1 root root 4096 Jun 17 12:15 bind lrwxrwxrwx 1 root root 0 Jun 17 12:15 module -> ../../../../module/hid_generic --w------- 1 root root 4096 Jun 17 12:15 new_id --w------- 1 root root 4096 Jun 17 12:15 uevent --w------- 1 root root 4096 Jun 17 05:44 unbind innoce9t@Asus /sys/bus/hid/drivers/hid-generic $ echo -n "0003:1532:0203.0012" > unbind bash: unbind: Permission denied

@terricain
Copy link
Contributor

sudo su to root before running binding commands

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants