Bug#534412: kbd-chooser: relies on usbfs, but that is being obsoleted

2009-06-24 Thread Frans Pop
Package: kbd-chooser Version: 1.47 In usb-kbd.c kbd-chooser parses /proc/bus/usb/devices to see if any USB keyboards are connected to the system. With kernel 2.6.31 usbfs will no longer be available and this will fail. Alternatives would be - to walk through /sys/bus/usb/devices/usb*, which

Bug#534412: kbd-chooser: relies on usbfs, but that is being obsoleted

2009-06-24 Thread Frans Pop
tags 534412 + patch thanks On Wednesday 24 June 2009, Frans Pop wrote: - to instead mount debugfs (if usbfs fails) where the devices file is moved (/sys/kernel/debug/usb/devices). I've implemented this in the attached patch. I'm keeping it in my local tree for now, but will commit it when