[ale] gpm and X window
James Kinney
jkinney at localnetsolutions.com
Thu Mar 8 08:57:17 EST 2001
It looks like you have two different problems.
1. If the mouse has a 9 pin trapezoidal plug, it's a serial mouse, not a
PS/2. So gpm needs to be run with:
gpm -t ms (with middle button extension) -or-
gpm -t ms+ (allows drag with middle button) -or-
gpm -t msc (works for most 3 button mice)
Then setup XF86Config to:
Section "Pointer"
Protocol "Protocol-from-above"
Device "/dev/mouse"
BaudRate 1200
Emulate3Timeout 50
EndSection
and /dev/mouse is a link pointing to /dev/ttySx
As for the other frame-buffer problem, you need to create a device
/dev/fb0 with major 29 and minor 0 with mknod
mknod /dev/fb0 u 29 0 should do it. The u might need to be a c instead.
James P. Kinney III \Changing the mobile computing world/
President and COO \ one Linux user /
Local Net Solutions,LLC \ at a time. /
770-493-8244 \.___________________________./
On Thu, 8 Mar 2001, Sage wrote:
> Okay, I have treied just about everything but the right thing and read almost every HOWTO on the subject, and I still can't get X window to open up the mouse device file.
>
> Installed Slackwasre 7.1. It warned me during install that there might be a problem opening up the the mouse file. Message was as follows;
>
> if Xfree86 complains it can't open mouse, either comment out the line
>
> gpm -m /dev/mouse -t bare
>
> from /etc/rc.d.rc.gpm
>
> or add -R to gpm and set up X to use /dev/gpmdata as your mouse device.
>
> well, I did all that. when booting, the system sees a mouse connection as a P2/2 (I think that was the name), but my mouse is connected at either ttyS0 or ttyS1. I am wondering if that is part of the problem, for starters. I was told that is was a standard two button Microsoft mouse, with a 9 pin trapezoidal connection.
>
> I also edited XF86Config and XF86Config-fdev (again, I'm fairly certain that last file name is right...it's almost identical to the first, anyway.) I am not certain that I did this correctly, however. I used Protocol Auto, and Device ttyS0, and also tried Device ttyS1.
>
> I keep getting this error message;
>
> open_framebuffer:failed to open /dev/fd0 (No such device)
>
> Can anyone help, please?
>
> -Indira Moyer
> --
> To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.
>
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.
More information about the Ale
mailing list