jekhor / yogabook-linux

Yoga Book Linux porting efforts, umbrella repository for link all pieces together
74 stars 8 forks source link

Implement force-feedback device support #7

Open jekhor opened 5 years ago

jekhor commented 5 years ago

YB1 has DRV206 force-feedback vibrator. Device accessible via I2C but driver says about error during of initialization procedure and device don't vibrate.

TiNredmc commented 3 years ago

In fact they do vibrate when I used the same way with the goodix touch to create the symlink using udev rules. But driver won't allow pc to go to sleep plus both devices are the same name just living on different i2c bus, thus the udev just randomly choose left or right motor first and then simply just make left and right motor symlink the same.