Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latest release tuxedo-keyboard changed file-locations #26

Open
MrHappy opened this issue Mar 28, 2023 · 2 comments
Open

Latest release tuxedo-keyboard changed file-locations #26

MrHappy opened this issue Mar 28, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@MrHappy
Copy link

MrHappy commented Mar 28, 2023

Before reporting the bug

  • [ X ] I have looked at existing issues and none solved my problem
  • [ X ] I have installed the tuxedo_keyboard driver and rebooted
  • [ X ] I have made sure my laptop model is a TUXEDO / Clevo computer or derivative

Describe the bug
Since the latest release the file locations have changed and I cannot change color and brightness anymore.
Tuxedo-Keyboard issues #165

─ /bin/sh -c "/usr/bin/python /usr/share/tuxedo-backlight-control/backlight.py brightness 0"
Traceback (most recent call last):
  File "/usr/share/tuxedo-backlight-control/backlight.py", line 59, in <module>
    backlight.state = 1
  File "/usr/share/tuxedo-backlight-control/backlight_control.py", line 122, in state
    self.set_device_param('state', str(value))
  File "/usr/share/tuxedo-backlight-control/backlight_control.py", line 70, in set_device_param
    filehandle = open(BacklightControl.DEVICE_PATH + prop, mode='w')
PermissionError: [Errno 13] Permission denied: '/sys/devices/platform/tuxedo_keyboard/state'

Describe your OS environment

  • tuxedo-backlight-control version: 0.8.0
  • which tuxedo_keyboard version is installed? 3.2.1
  • Python version: Python 3.10.10
  • OS details:)
    NAME="Arch Linux"
    PRETTY_NAME="Arch Linux"
    ID=arch
    BUILD_ID=rolling
    ANSI_COLOR="38;2;23;147;209"
    
  • tuxedo_keyboard SysFS folder is correctly installed:
    lrwxrwxrwx root root   0 B  Tue Mar 28 19:39:41 2023  driver@ ⇒ ../../../bus/platform/drivers/tuxedo_keyboard
    drwxr-xr-x root root   0 B  Tue Mar 28 19:39:41 2023  input/
    drwxr-xr-x root root   0 B  Tue Mar 28 19:39:41 2023  leds/
    drwxr-xr-x root root   0 B  Tue Mar 28 19:40:38 2023  power/
    lrwxrwxrwx root root   0 B  Tue Mar 28 19:39:41 2023  subsystem@ ⇒ ../../../bus/platform
    .rwxrwxrwx root root 4.0 KB Tue Mar 28 19:40:00 2023  driver_override*
    .rwxrwxrwx root root 4.0 KB Tue Mar 28 19:40:00 2023  modalias*
    .rwxrwxrwx root root 4.0 KB Tue Mar 28 19:40:00 2023  uevent*
    
@webketje
Copy link
Owner

webketje commented Apr 1, 2023

Ah bummer, I'll do my best to publish a new release ASAP. PR welcome btw (I don't have kernel 6.x locally yet so can't test it)

@webketje webketje added the bug Something isn't working label Apr 1, 2023
@mbomb007
Copy link

I have the same error. Also, when I installed the update for the driver, this package was uninstalled and also my settings for backlight configuration on startup were removed.

Unfortunately, I didn't document how I got the backlight to be set on startup. Could you tell me where the config file is for initial configuration on boot?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants