Hi, DirectFB 1.4.5 is said to have hotplut support for Linux Input devices. I can see that the respective thread is started:
(*) Direct/Thread: Started 'Hotplug with Linux Input' (-1) [INPUT OTHER/OTHER 0/0] <2093056>... (*) DirectFB/Input: Hot-plug detection enabled with Linux Input Driver However nothing happens at the DirectFB level when I plug in a USB keyboard. As you can see, the kernel detects the new device: Dec 31 19:39:46 controller user.debug kernel: [ 9086.134611] usb 1-1: udev 3, busnum 1, minor = 2 Dec 31 19:39:46 controller user.info kernel: [ 9086.134630] usb 1-1: New USB device found, idVendor=04d9, idProduct=1203 Dec 31 19:39:46 controller user.info kernel: [ 9086.141392] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 Dec 31 19:39:46 controller user.debug kernel: [ 9086.149579] usb 1-1: usb_probe_device Dec 31 19:39:46 controller user.debug kernel: [ 9086.149607] usb 1-1: configuration #1 chosen from 1 choice Dec 31 19:39:46 controller user.debug kernel: [ 9086.170634] usb 1-1: adding 1-1:1.0 (config #1, interface 0) Dec 31 19:39:46 controller user.debug kernel: [ 9086.171089] usbhid 1-1:1.0: usb_probe_interface Dec 31 19:39:46 controller user.debug kernel: [ 9086.171111] usbhid 1-1:1.0: usb_probe_interface - got id Dec 31 19:39:46 controller user.info kernel: [ 9086.191544] input: HID 04d9:1203 as /devices/platform/pxa27x-ohci/usb1/1-1/1-1:1.0/input/input6 Dec 31 19:39:46 controller user.info kernel: [ 9086.201323] generic-usb 0003:04D9:1203.0003: input: USB HID v1.11 Keyboard [HID 04d9:1203] on usb-pxa27x-1/input0 Dec 31 19:39:46 controller user.debug kernel: [ 9086.211762] usb 1-1: adding 1-1:1.1 (config #1, interface 1) Dec 31 19:39:46 controller user.debug kernel: [ 9086.212104] usbhid 1-1:1.1: usb_probe_interface Dec 31 19:39:46 controller user.debug kernel: [ 9086.212127] usbhid 1-1:1.1: usb_probe_interface - got id Dec 31 19:39:46 controller user.info kernel: [ 9086.288231] input: HID 04d9:1203 as /devices/platform/pxa27x-ohci/usb1/1-1/1-1:1.1/input/input7 Dec 31 19:39:46 controller user.info kernel: [ 9086.297809] generic-usb 0003:04D9:1203.0004: input: USB HID v1.11 Device [HID 04d9:1203] on usb-pxa27x-1/input1 Am I wrong to expect some output from DirectFB telling me that another input device was added? I also wonder how this information is propagated to the application. Is there some sort of signal or message that I could listen to so that I can attach the new device to my event buffer? Would be nice if someone could explain the new input hot-plug mechanism a little. Thanks, Sven _______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev