Привет. Решил поиграть во FlightGear, для чего подключил Saitek x52 Pro, но поиграть не вышло, джойстик воспринимается как мышь. В гугле я обнаружил жалобы и рекомендации как это исправить, но они мне не помогли, испробовав все варианты и вдоволь наперевтыкавшись джойстика и наперестартовавшись hal'а и иксов взываю к помощи.
Привожу diff вывода lshal с воткнутым джойстиком и без:
2c2
< Dumping 111 device(s) from the Global Device List:
---
> Dumping 114 device(s) from the Global Device List:
2089a2090,2170
> udi = '/org/freedesktop/Hal/devices/usb_device_6a3_762_noserial'
> info.linux.driver = 'usb' (string)
> info.parent = '/org/freedesktop/Hal/devices/usb_device_1d6b_1_0000_00_02_0' (string)
> info.product = 'Saitek X52 Pro Flight Control System' (string)
> info.subsystem = 'usb_device' (string)
> info.udi = '/org/freedesktop/Hal/devices/usb_device_6a3_762_noserial' (string)
> info.vendor = 'Saitek PLC' (string)
> linux.device_file = '/dev/bus/usb/002/026' (string)
> linux.hotplug_type = 2 (0x2) (int)
> linux.subsystem = 'usb' (string)
> linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:02.0/usb2/2-3' (string)
> usb_device.bus_number = 2 (0x2) (int)
> usb_device.can_wake_up = false (bool)
> usb_device.configuration_value = 1 (0x1) (int)
> usb_device.device_class = 0 (0x0) (int)
> usb_device.device_protocol = 0 (0x0) (int)
> usb_device.device_revision_bcd = 48 (0x30) (int)
> usb_device.device_subclass = 0 (0x0) (int)
> usb_device.is_self_powered = false (bool)
> usb_device.linux.device_number = 26 (0x1a) (int)
> usb_device.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:02.0/usb2/2-3' (string)
> usb_device.max_power = 230 (0xe6) (int)
> usb_device.num_configurations = 1 (0x1) (int)
> usb_device.num_interfaces = 1 (0x1) (int)
> usb_device.num_ports = 0 (0x0) (int)
> usb_device.product = 'Saitek X52 Pro Flight Control System' (string)
> usb_device.product_id = 1890 (0x762) (int)
> usb_device.speed = 12.0 (12) (double)
> usb_device.vendor = 'Saitek PLC' (string)
> usb_device.vendor_id = 1699 (0x6a3) (int)
> usb_device.version = 2.0 (2) (double)
>
> udi = '/org/freedesktop/Hal/devices/usb_device_6a3_762_noserial_if0'
> info.linux.driver = 'usbhid' (string)
> info.parent = '/org/freedesktop/Hal/devices/usb_device_6a3_762_noserial' (string)
> info.product = 'USB HID Interface' (string)
> info.subsystem = 'usb' (string)
> info.udi = '/org/freedesktop/Hal/devices/usb_device_6a3_762_noserial_if0' (string)
> linux.hotplug_type = 2 (0x2) (int)
> linux.subsystem = 'usb' (string)
> linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:02.0/usb2/2-3/2-3:1.0' (string)
> usb.bus_number = 2 (0x2) (int)
> usb.can_wake_up = false (bool)
> usb.configuration_value = 1 (0x1) (int)
> usb.device_class = 0 (0x0) (int)
> usb.device_protocol = 0 (0x0) (int)
> usb.device_revision_bcd = 48 (0x30) (int)
> usb.device_subclass = 0 (0x0) (int)
> usb.interface.class = 3 (0x3) (int)
> usb.interface.number = 0 (0x0) (int)
> usb.interface.protocol = 0 (0x0) (int)
> usb.interface.subclass = 0 (0x0) (int)
> usb.is_self_powered = false (bool)
> usb.linux.device_number = 26 (0x1a) (int)
> usb.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:02.0/usb2/2-3/2-3:1.0' (string)
> usb.max_power = 230 (0xe6) (int)
> usb.num_configurations = 1 (0x1) (int)
> usb.num_interfaces = 1 (0x1) (int)
> usb.num_ports = 0 (0x0) (int)
> usb.product = 'USB HID Interface' (string)
> usb.product_id = 1890 (0x762) (int)
> usb.speed = 12.0 (12) (double)
> usb.vendor = 'Saitek PLC' (string)
> usb.vendor_id = 1699 (0x6a3) (int)
> usb.version = 2.0 (2) (double)
>
> udi = '/org/freedesktop/Hal/devices/usb_device_6a3_762_noserial_if0_logicaldev_input'
> info.capabilities = {'input', 'input.tablet'} (string list)
> info.category = 'input' (string)
> info.parent = '/org/freedesktop/Hal/devices/usb_device_6a3_762_noserial_if0' (string)
> info.product = 'Saitek Saitek X52 Pro Flight Control System' (string)
> info.subsystem = 'input' (string)
> info.udi = '/org/freedesktop/Hal/devices/usb_device_6a3_762_noserial_if0_logicaldev_input' (string)
> input.device = '/dev/input/event2' (string)
> input.originating_device = '/org/freedesktop/Hal/devices/usb_device_6a3_762_noserial_if0' (string)
> input.product = 'Saitek Saitek X52 Pro Flight Control System' (string)
> linux.device_file = '/dev/input/event2' (string)
> linux.hotplug_type = 2 (0x2) (int)
> linux.subsystem = 'input' (string)
> linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:02.0/usb2/2-3/2-3:1.0/input/input31/event2' (string)
>
2342c2423
< Dumped 111 device(s) from the Global Device List.
---
> Dumped 114 device(s) from the Global Device List.
И еще один момент, KDE в настройках джойстика пишет: «A4Tech USB Full Speed (/dev/input/js0)», хотя это мышь, может быть это как-то связанно.
У меня Debian Squeeze amd64.