Robert Lee wrote:
>
> Hi,
>
> If I do not see /dev/mouse, mouse won't work, right?
Maybe... maybe not... It depends on which dev file your
app opens, whether the dev files and/or links exist, and
ultimately, whether the driver is installed. : )
For example, if you start gpm like so:
gpm -m /dev/psaux -t ps2
Then you won't need /dev/mouse. : )
> Should I see /dev/mouse if the configuration is
>
> CONFIG_INPUT_MOUSEDEV=y
> CONFIG_INPUT_MOUSEDEV_SCREEN_X=320
> CONFIG_INPUT_MOUSEDEV_SCREEN_Y=240
> # CONFIG_BUSMOUSE is not set
> CONFIG_MOUSE=y
> CONFIG_PSMOUSE=y
That's fine for "make neponset_config". Make sure your using
the latest kernel (2.4.2-rmk1-np3) as there were some PS/2
mouse problems recently fixed.
You also need to make sure you've setup the device files:
mknod /dev/psaux c 10 1
ln -s /dev/psaux /dev/mouse
Lastly, assuming Microwindows is built for mouse support
via GPM daemon, use:
gpm -t ps2 -R ps2
Not positive on the "-R ps2" part.
> # CONFIG_82C710_MOUSE is not set
>
> Neither PS/2 mouse nor USB mouse works. I must be
> missing something but I am not sure where to start.
>
> I could run microwin (mdemo, for example) but the
> mouse cursor could not move.
You may need to rebuild microwindows with the correct
keyboard and/or pointer support for you target. Microwindows
is typically built for touch screen support only on Assabet.
So you probably need to change the "microwin*/src/config"
file and rebuild microwindows. You'll need to add or (change
from =n) these defs:
GPMMOUSE = Y
TTYKBD = Y
Or similar. I'm not an expert here - just trying to help -
so I may be a bit off the mark!
>
> Suggestions? Thanks!
USB mouse works fine too. You need CONFIG_USB, CONFIG_USB_OHCI,
CONFIG_HID and maybe some others? IIRC, this is all turned on
by default in "make neponset_config".
Next, you need... device files. Check and create as needed:
mkdir -p /dev/input
mknod /dev/input/mice c 13 63
mknod /dev/input/mouse0 c 13 32
mknod /dev/input/mouse1 c 13 33
mknod /dev/input/mouse2 c 13 34
mknod /dev/input/mouse3 c 13 35
ln -s /dev/input/mice /dev/mouse
You likely don't need _all_ of those mouse<n> dev files.
Next, start gpm daemone:
gpm -t ps2 -R ps2
>
> =====
> Robert Lee
> Software Engineer
>
> __________________________________________________
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail.
> http://personal.mail.yahoo.com/
>
> _______________________________________________
> http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
> Please visit the above address for information on this list.
_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.