On Tue, Sep 08, 2009 at 07:42:02PM +0200, Jiri Kosina wrote: > > [ added some CCs > > In short -- Sergey has problem with his joystick not being properly > handled starting with 2.6.30 kernel (it used to work with 2.6.29 and > older). The problem is that joydev is not created. ] > > > On Mon, 7 Sep 2009, Sergey Kolesnikov wrote: > > > Here goes /proc/bus/input/devices dump (VID/PID included): > > > > I: Bus=0003 Vendor=06a3 Product=0762 Version=0111 > > N: Name="Saitek Saitek X52 Pro Flight Control System" > > P: Phys=usb-0000:00:1d.7-6.3/input0 > > S: Sysfs=/devices/pci0000:00/0000:00:1d.7/usb7/7-6/7-6.3/7-6.3:1.0/input/input10 > > U: Uniq= > > H: Handlers=event6 > > B: EV=1b > > B: KEY=7f ffffffff00000000 0 0 0 0 I find it doubtful that the device actually has 39 buttons... > > B: ABS=3000003007f > > B: MSC=10 > > If I got my math right, this means that the KEY bitmask includes digitizer > BTN_DIGI/BTN_TOOL_PEN, right? > > Sergey, I believe that reverting commit d07a9cba6b (you can do so using > git revert d07a9cba6b) will fix your joystick, is that correct? While this will get Sergey's joystick back I think that HID should be more careful in assigning the BTN_* events. Right now it starts at a certain type and goes forward without checking if range (joystick, gamepad, etc) is exhausted or not. -- Dmitry -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html