Bug 553 - Wrong DirectFB ps2mouse limitation
Summary: Wrong DirectFB ps2mouse limitation
Status: RESOLVED FIXED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: PC Linux
: P5 enhancement
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-09 01:01 UTC by Lionel Landwerlin
Modified: 2009-12-06 21:23 UTC (History)
1 user (show)

See Also:
Host: x86-64
Target: sh4
Build:


Attachments
Remove ps2mouse limitation on x86 and x86-64 (868 bytes, patch)
2009-08-09 01:02 UTC, Lionel Landwerlin
Details

Note You need to log in before you can comment on or make changes to this bug.
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