Package: openrazer
Version: 3.2.0+dfsg-1

The problem seems to be the patch 0001-usb-hid-disabled-builds.patch
which adds the following ifdefs:

#if defined(CONFIG_HIDRAW) && defined(CONFIG_USB)

but CONFIG_USB is not defined, because the support is compiled as a
module, so CONFIG_USB_MODULE is defined instead.

So, drivers do nothing and we can see the following messages in dmesg:

razermouse: system not supported, no HID or USB support
razerkbd: system not supported, no HID or USB support

I changed the sources to use:

#if defined(CONFIG_HIDRAW) && (defined(CONFIG_USB) || 
defined(CONFIG_USB_MODULE))

then 

$ dpkg-reconfigure openrazer-driver-dkms
$ modprobe razerkbd
$ modprobe razermouse

And I see the drivers properly loaded this time.

I'm using Debian testing:

5.15.0-2-amd64 #1 SMP Debian 5.15.5-1 (2021-11-26) x86_64 GNU/Linux

Thanks,
-- 
Carlos Garcia Campos
http://pgp.rediris.es:11371/pks/lookup?op=get&search=0xF3D322D0EC4582C3

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to