2

I'm really new to udev. I've been using Debian with yoga book (with special kernel branch) for half year now. And the maintainer of this kernel (and the debian image) implemented the force feedback feature of YOGA Book on Linux but the kernel driver gave them same ATTRS{name} on input subsystem but on i2c subsystem they has difference ATTRS{name} (in this case DRV2604:00 on i2c-0 and DRV2604:01 on i2c-3).

Here's the output of udevadm info of these 2 ICs.

output of the IC on i2c-0 output of the IC on i2c-3

The problem is the touch keyboard handler need to access force feedback on /dev/left_vibrator and /dev/right_vibrator. But there are no symlinks exist. I confirmed that the force feedback IC is working by creating symlinks manually by linking from the event (e.g. /dev/input/event16) to /dev/left-vibrator (or right_vibrator).

I've written udev rules to eliminate that problem but it not working for some reason. and here's my udev rule 30-force-feedback.rules

I also tried the udev test and this is the result udev test

Any idea for this ?

1 Answer 1

-1

i get this on my own yogabook (is it normal?) also there is no mention of i2c in /dev/

# i2cdetect -y 1 
Error: Could not open file `/dev/i2c-1' or `/dev/i2c/1': No such file or directory

also btw do you have working backlight control? i do not and tried everything

3
  • If you have a new question, please ask it by clicking the Ask Question button. Include a link to this question if it helps provide context. - From Review Commented Aug 11, 2024 at 23:57
  • Hi LucaCraft. My yogabook has been dead for a year or two now and I no longer use it. For the i2cdetect. Did you try modprobe the i2c-dev kernel module ? Also for the backlight. You have to blacklist a certain driver to prevent it from loading. Sadly I can't really recall which one to add to the blacklist. Commented Aug 21, 2024 at 3:01
  • hi thanks for the response, what do you mean with "try kernel modules" and could try to find out witch driver to blacklist or tell how to balcklist drivers please, thanks you Commented Aug 21, 2024 at 5:51

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.