Cider/drivers/simple-cider
2025-01-07 15:09:39 +01:00
..
src WIP: Work on Infrastructure to Listen to the Touchinfo 2025-01-07 15:09:39 +01:00
.gitignore Cider Setup 2025-01-05 16:11:50 +01:00
Cargo.lock WIP: Work on Infrastructure to Listen to the Touchinfo 2025-01-07 15:09:39 +01:00
Cargo.toml WIP: Work on Infrastructure to Listen to the Touchinfo 2025-01-07 15:09:39 +01:00
Readme.md WIP: Work on Infrastructure to Listen to the Touchinfo 2025-01-07 15:09:39 +01:00

Simple Cider

Driver Collisions

The touchbar has a fallback mode, where it is only in Function Mode. To disable this mode, to not have any collisions with out driver, we should unbind it.

Temporary

run

echo -n "1-3:1.2" | sudo tee /sys/bus/usb/drivers/usbhid/unbind

Permanent

create a udev rule: /etc/udev/rules.d/99-ibridge.rules

SUBSYSTEM=="usb", ATTR{idVendor}=="05ac", ATTR{idProduct}=="8600", ATTR{interfaces}=="*:*:*:*:03:01:01", RUN+="/bin/sh -c 'echo -n $env{BUSNUM}-$env{DEVNUM}:$env{INTERFACE} > /sys/bus/usb/drivers/usbhid/unbind'"

to apply these rules without reboot run:

sudo udevadm control --reload-rules
sudo udevadm trigger

Dependencies

  • hidapi-devel