pez2001 / razer_chroma_drivers

A collection of Linux drivers for Razer Chroma devices, it supports all lighting modes and includes a daemon for advanced effects + gui configuration app
GNU General Public License v2.0
231 stars 30 forks source link

Daemon cannot open file "mode_custom" #15

Closed xaqq closed 8 years ago

xaqq commented 9 years ago

Hello,

Notes:

After looking at the source and adding a few prints I managed to partially trace my problem. It failed to open /sys/bus/hid/devices/0003:1532:0209.0006/mode_custom. This file simply doesn't exist. I suppose the kernel module is supposed to create it so userland can talk to the driver. The kernel module seems loaded: lsmod | grep razer reports the following:

razerkbd               18592  0 
hid                   102264  3 hid_generic,razerkbd,usbhid
usbcore               195340  5 ehci_hcd,ehci_pci,razerkbd,usbhid,xhci_hcd

Do you have an idea about what could have wrong? Is there additional information that I could provide that would help resolving the issue?

Thanks,

Edit: Kernel version: 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1+deb8u3 (2015-08-04) x86_64 GNU/Linux.

pez2001 commented 9 years ago

did you modify the kernel driver too ? razerkbd.c & razerkbd.h

terricain commented 8 years ago

This should all work now?