Bug 553

Summary: Wrong DirectFB ps2mouse limitation
Product: buildroot Reporter: Lionel Landwerlin <llandwerlin>
Component: OtherAssignee: unassigned
Status: RESOLVED FIXED    
Severity: enhancement CC: buildroot
Priority: P5    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Host: x86-64 Target: sh4
Build:
Attachments: Remove ps2mouse limitation on x86 and x86-64

Description Lionel Landwerlin 2009-08-09 01:01:07 UTC
In Config.in of DirectFB, ps2mouse is only limited to x86 and x86-64. But the ps2mouse driver also works with usb mouses and so is not only limited to PC architecture.
Comment 1 Lionel Landwerlin 2009-08-09 01:02:27 UTC
Created attachment 585 [details]
Remove ps2mouse limitation on x86 and x86-64
Comment 2 Sven Neumann 2009-08-09 07:20:38 UTC
That's probably correct. But wouldn't you better use the linux_input driver for an USB mouse?
Comment 3 Lionel Landwerlin 2009-08-09 10:48:20 UTC
(In reply to comment #2)
> That's probably correct. But wouldn't you better use the linux_input driver for
> an USB mouse?
> 

I first thought that I needed the linux_input driver, and configured DirectFB with linux_input support but without ps2mouse support. And the mouse I connected to my board wasn't detected. So I tried the ps2mouse driver and it worked.

Maybe I missconfigured something in the kernel... I don't know.
Comment 4 Sven Neumann 2009-08-10 08:39:14 UTC
Using a USB mouse with the linux_input driver works for me. Of course you need to have support for USB input devices enabled (CONFIG_USB_HID). But anyway, if the psmouse driver in DirectFB works on non-i386 platforms, then I see no reason not to allow users of buildroot to enable it.
Comment 5 Peter Korsgaard 2009-12-06 21:23:42 UTC
Committed, thanks