Skip to content

Instantly share code, notes, and snippets.

Daniel Voogsgerd DanielVoogsgerd

Block or report user

Report or block DanielVoogsgerd

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:e53d664b43ec28dd0eda2f889172b521
root/sys/bus/hid/drivers/hid-generic $ echo -n "0003:1532:010D.0003" > unbind
root/sys/bus/hid/drivers/hid-generic $ echo -n "0003:1532:010D.0003" > /sys/bus/hid/drivers/razerkbd/bind
echo: write error: no such device
Dmesg
[441600.061831] input: Razer Razer BlackWidow Ultimate as /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.2/0003:1532:010D.0003/input/input27
[441600.117872] hid-generic 0003:1532:010D.0003: input,hidraw2: USB HID v1.11 Mouse [Razer Razer BlackWidow Ultimate] on usb-0000:00:14.0-1/input2
[442067.713436] input: Razer Razer BlackWidow Ultimate as /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.2/0003:1532:010D.0003/input/input28
[442067.713687] hid-generic 0003:1532:010D.0003: input,hidraw2: USB HID v1.11 Mouse [Razer Razer BlackWidow Ultimate] on usb-0000:00:14.0-1/input2
View Razer BlackWidow udevadm info output
/lib/modules/4.5.0-2-amd64/kernel/drivers/usb/misc $ udevadm info /sys/bus/hid/devices/0003:1532:010D.0001 [1][23:27:32]
P: /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/0003:1532:010D.0001
E: DEVPATH=/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/0003:1532:010D.0001
E: DRIVER=hid-generic
E: HID_ID=0003:00001532:0000010D
E: HID_NAME=Razer Razer BlackWidow Ultimate
E: HID_PHYS=usb-0000:00:14.0-1/input0
E: HID_UNIQ=
MODALIAS=hid:b0003g0001v00001532p0000010D
E: SUBSYSTEM=hid
View Razer Deathadder lsusb output
Bus 003 Device 016: ID 1532:0016 Razer USA, Ltd DeathAdder Mouse
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
View -
1,2d0
< a52dec 0.7.4-8
< aalib 1.4rc5-10
4,5c2,3
< acl 2.2.52-2
< alsa-lib 1.0.28-1
---
> acpi 1.7-1
> adduser 1.15-5
7,9d4
View -
accountsservice 0.6.37-1
acpi 1.7-1
adduser 1.15-5
alsa-utils 1.0.28-1
android-studio 0.8.1-1
apache 2.4.9-1
arandr 0.1.7.1-2
arch-wiki-docs 20140625-1
archey 20130324-7
archey3 0.5-2
View -
diff --git a/bin/search b/bin/search
index 3cdcb7f..f0fa5d9 100755
--- a/bin/search
+++ b/bin/search
@@ -3,6 +3,7 @@
HISTFILE=/tmp/.gshist
COMPLETION=false
+DMENU='rofi -dmenu -p Google -i'
if [ -f $HOME/.dmenurc ]; then
You can’t perform that action at this time.