hid-dkms fails to install with kernel 2.6.39-rc3

Bug #766695 reported by Linus C Unneback
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Mactel Support
Undecided
Unassigned

Bug Description

hid-dkms fails to install with kernel 2.6.39-rc3. Below is the the make log, it seems like there are two functions that no longer exists in this new kernel.

DKMS make.log for hid-1.1.1 for kernel 2.6.39-020639rc3-generic (x86_64)
ons 20 apr 2011 02.13.43 CEST
make: Entering directory `/usr/src/linux-headers-2.6.39-020639rc3-generic'
  CC [M] /var/lib/dkms/hid/1.1.1/build/hid-core.o
  CC [M] /var/lib/dkms/hid/1.1.1/build/hid-input.o
/var/lib/dkms/hid/1.1.1/build/hid-input.c: In function ‘hidinput_connect’:
/var/lib/dkms/hid/1.1.1/build/hid-input.c:892:14: error: ‘struct input_dev’ has no member named ‘setkeycode_new’
/var/lib/dkms/hid/1.1.1/build/hid-input.c:893:14: error: ‘struct input_dev’ has no member named ‘getkeycode_new’
make[1]: *** [/var/lib/dkms/hid/1.1.1/build/hid-input.o] Error 1
make: *** [_module_/var/lib/dkms/hid/1.1.1/build] Error 2
make: Leaving directory `/usr/src/linux-headers-2.6.39-020639rc3-generic'

Revision history for this message
Linus C Unneback (linusu) wrote :

http://<email address hidden>/msg27706.html

After reading the message above (and serveral others) I'm beginning to think that the new name is just "setkeycode" instead of "setkeycode_new". Unfortunately I have no way of testing this as I don't really know where to change it.

Also, if it matters this is the kernel I'm using:
http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.39-rc3-natty/

Revision history for this message
Linus C Unneback (linusu) wrote :

Any progress on this one? It is still an issue in linux 2.6.39.4, 3.0.3 and 3.1rc2 (I think this should be an issue with any newer kernel since the function got deprecated?)

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers