I-Appliance BBS
The Official Source for Internet Appliance Upgrades and Mods

Click Here!
BBS Main List | Sign In | Sign Up | Search | Help | Linux-Hacker.netReply to Thread | Printer |

Home / Other I-Appliances / WebPal
PS/2 mouse
can't get it to work

New MessagePS/2 mouse (modified 0 times) stamasd
Profile
Grrr... I'm struggling with the mouse device on the webpal. I have compiled the PS/2 mouse driver into the kernel, but there was no mention of any mice in the boot messages. I have then enabled the input core support, with the side effect that I have the IR keyboard working now - which is nice, but I'd rather have the mouse working instead.

In the latest kernel I have compiled (the one with PS/2 mouse support and input core support, including for mice) there is a "mice: PS/2 device common for all mice" boot message, but it doesn't actually work. There's also no mention of a mouse device anywhere else (/proc/interrupts etc). If I try to use gpm, it dies immediately complaining that /dev/psaux doesn't exist. Well I made sure that /dev/psaux is there and has the right permissions, but it still cannot be used (if I try to read from it I get the same message back: device /dev/psaux doesn't exist). What am I missing?

06-03-2004 21:26:28

New MessageRE:PS/2 mouse (modified 0 times) justdavesj
Profile | Email
I have my mouse working with X. I looked over my kernel and I don't have Input core support enabled at all. I just have the ps2 mouse enabled in the character devices section. I don't see any boot up messages about the mouse either. Maybe X interfaces with the mouse differently?

I installed the gpm Potato package and then the mouse is uncontrollable in X (although it is still seen)

I hope this helps.

dave

06-06-2004 09:42:54

New MessageRE:PS/2 mouse (modified 0 times) stamasd
Profile
When you use gpm with X you should change the pointer device in XF86Config from /dev/psaux to /dev/gpmdata, this way gpm and X can work together. However in my case the mouse doesn't work at all. I can't get it up whether I have only PS/2 mouse compiled in, only core input support, or both. I use the 2.4.18-rmk4 kernel plus the latest of Bill's patches (wp2). Did you apply any other patches to the kernel?

I don't actually want to install X - I'm trying to make the mouse work with a ncurses/expect/tcl/dialog based program. But that's beside the point since they all use the same low-level hardware access mechanism.

06-06-2004 10:45:05

New MessageRE:PS/2 mouse (modified 0 times) justdavesj
Profile | Email
There were some other patches that I installed but I think that they are included in Bill's latest patch. I also had trouble with using a newer trackball mouse and am now using an older regular mouse. Also, looking over the various kernels that I have compiled, some of them didn't have any mouse support included but I have always had the mouse working. You might try leaving it out altogether and see what happens.

dave

06-09-2004 11:05:03

New MessageRE:PS/2 mouse (modified 0 times) stamasd
Profile
Well the first kernel I compiled was without mouse support, and of course the mouse didn't work (I tried)...
06-09-2004 12:05:38

New MessageRE:PS/2 mouse (modified 0 times) justdavesj
Profile | Email
Take a look at my dotconfig file on my ftp site. It might help.

dave

06-09-2004 14:54:27

New MessageRE:PS/2 mouse (modified 0 times) stamasd
Profile
After comparing the two .configs (yours and mine) I believe we don't have the same patches applied. Or maybe we have the same patches, but not the same version of them. My .config has in several places options (deselected) which yours doesn't have; e.g. my .config has Bill's CONFIG_WEBPAL_RTC (which I actually use since I installed the DS1302) and yours doesn't. That's why I believe you may have an older version of the patch, and the mouse support was somehow broken in the version that I have. I'll try to get to the bottom of this.
06-10-2004 07:33:35

New MessageRE:PS/2 mouse (modified 0 times) bigbrd
Profile
Look in the kernel source tree in drivers/acorn/char/Makefile and see if the 'obj-$(CONFIG_FB_WEBPAL)' line includes
mouse_ps2.o in it, like:

obj-$(CONFIG_FB_WEBPAL) += webpal_irkbd.o defkeymap-webpal.o mouse_ps2.o

If it doesn't then add it and that should get the webpal (acorn) mouse driver to be in the system. It is possible
that line got modified in the updates. I have used the mouse with microwindows and it works with that. I haven't
ever made a X-based system.

06-11-2004 08:23:40

New MessageRE:PS/2 mouse (modified 0 times) stamasd
Profile
That line in my kernel reads
obj-$(CONFIG_FB_WEBPAL) += webpal_irkbd.o defkeymap-webpal.o

I've added the mouse_ps2.o at the end and recompiled the kernel. I'll see if it works tonight when I get home. Thanks!

06-11-2004 10:32:00

New MessageRE:PS/2 mouse (modified 0 times) stamasd
Profile
Update: it works now. Yay!
06-12-2004 14:25:34

Reply to Thread | Printer |
All times are PSTPowered by UltraBoard v1.62



Copyright © 2000, Netmake Inc. All Rights Reserved.
See Terms and Conditions for more information.




i-opener opener laptop notebook computer help drivers dll free windows dos repair fix linux mac macintosh 2000 95 98 nt pc configure hardware software sound video netscape explorer network networking lan wan software cmos fat bios printer card mouse modem ide scsi cd rom controllers scanner tape hard drive cgi scripts source code mp3