[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



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 contains the same
  information, or
- to instead mount debugfs (if usbfs fails) where the devices file is
  moved (/sys/kernel/debug/usb/devices).

The first is possibly the more structural option, but given that 
kbd-chooser is scheduled to be replaced by console-setup, the second 
option is probably easier to implement.



Reply to: