Plippo / asus-wmi-screenpad

Variation of the asus-wmi kernel module with screenpad brightness support
Other
159 stars 20 forks source link

no such file or directory - kernel 6.5.0-27-generic #61

Open CloudTechJeff opened 5 months ago

CloudTechJeff commented 5 months ago

hi guys, very new to linux but have a basic understanding. trying to get the screen brightness and other features of the screenpad to work on my asus zenbook duo 14 after switch from windows 11 to linux mint. i have dont everything listed but still get the message no such file or directory when i use the cammand to change brightness. Ive check that the secure boot is disabled and then followed all the troubleshooting and nothing seems to work. I know it appears that this is 2 years old, so maybe the programming hasnt been updated for a while? can anyone help? many thanks

ash-lund commented 5 months ago

I have the same challenge on PopOS and kernel 6.8.0-76060800daily20240311-generic.

I have tried starting over as suggested in the instructions, and I have also tried as mentioned in this comment: https://github.com/Plippo/asus-wmi-screenpad/issues/27#issuecomment-886238029

I'm also on an Asus ZenBook Duo 14. I did manage to get i to work on the 29th of march, but somewhere in between, it stop working, and I'm getting the following:

cat: '/sys/class/leds/asus::screenpad/brightness': No such file or directory
/usr/bin/screenpad: 5: [: =: unexpected operator
/usr/bin/screenpad: 33: [: =: unexpected operator
/usr/bin/screenpad: 36: cannot create /sys/class/leds/asus::screenpad/brightness: Directory nonexistent

And just to verify, the directory doesn't exists.

Kad001 commented 4 months ago

Same problem here on linux mint. No such file or directory. Did you find any answer?

ash-lund commented 4 months ago

Same problem here on linux mint. No such file or directory. Did you find any answer?

I didn't find a fix for popOS, so I ended up installing Debian. But maybe try using --force as suggested here: https://github.com/Plippo/asus-wmi-screenpad/issues/49

Kad001 commented 4 months ago

Tried that but it didnt work. Although any error when installing. I get the failed at Hunk 2 but everything else seems to go through. Just no screenpad directory is created at the end

Kad001 commented 4 months ago

Ok...so just managed to get it working following bits and pieces from others.

  1. I had and active kernel and an installed that were different versions in /lib/modules. So removed the non active one
  2. Followed the advice of #27 and turned of secure boot and run sudo mokutil --disable-validation
  3. Proceeded to install as per Plippo's instructions
  4. Followed #11 and run sudo update-initramfs -u && sudo update-grub