SlackwareThis Forum is for the discussion of Slackware Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I just installed Slackware 8.1 and i'm unable to startx, presumably because of my mouse.
Here's my error after typing startx...
(==) usingconfig file: "/etc/X11/xf86config"
(ee) xf86Openserial" cannot open device /dev/mouse
(EE) mouse1: cannot open input device
(EE) preinit failed for input device "mouse1"
no core pointer
Fatal server error
failed to initialize core devices
XIO: fatal IO error 104...
my mouse is a usb logitech i feel mouse. i've done mouseconfig and set that to a usb mouse, didn't work. i think that i need to edit my xfree86config file, heres and excerpt ...
option "protocol" "mouse"
option "device" "/dev/mouse"
firstly, can i fix this by using the xf86config command? and which mouse option should i use for a usb mouse, is it a bus mouse? i put in option 2, but cannot remember what it is.
how can i find out which mouse device mine is ie tty??? or /dev/usb/mouse#
finally can i edit the xf86config file in the command line? ive cd'd to the files ditectory and did "view xf86config" i then changed the file to hopefully work for my system but do not know how to save and then exit the file.
Do an "ls -l /dev/mouse" and see what it is linked to. Chances are it is linked to your PS2 mouse port if you have one. You need to delete /dev/mouse and relink ("ln -s xxxxx /dev/mouse", where xxxxxx is the device fifo where your usb mouse really is) to your USB mouse fifo file. I don't know the name of it since I don't have such an animal and am to lazy to look it up. Maybe it will show up in log file somewhere.
As mentioned above, Slackware doesn't do any auto-configuration for X. I use XFree86 -configure to auto-set everything. But my Logitech USB cordless mouse is never enabled by default, so I have to install inwheel and set the protocol to imps/2 in the XF86Config file manually. Then my Logitech USB mouse works fine.
Also, it's important to have gpm running right from boot-up. For some reason, my USB mouse never works unless gpm is running. You can run one of the setup scripts (using pkgtool) to tell gpm that your mouse is a USB mouse. If you can move the cursor with your mouse on the console, then gpm is running right and all you need to do is install imwheel and change the protocol in your XF86Config file (I also use imwheel because it makes it super-easy to setup the scroll wheel).
ive been able to get into xwindows by plugging in a ps2 mouse so i can edit the xf86 file but i dont know where to find the imwheel program, is it on the slackware install cd? apparently i do not have it installed.
also, where do i find the usb fifo file for my mouse?
I don't know if imwheel is on the Slackware CD, I don't think it is. You can find it at http://jcatki.dhs.org/imwheel/ (you'll need to download and compile it, takes all of 5 minutes in all).
I don't know why you'd need the usb fifo file. That's not necessary at all to get your mouse to work. As I mentioned earlier, all you have to do is run the setup script where you tell Slackware you have a USB mouse and enable gpm.
I can't remember what advantage imwheel has over simply placing:
Option "ZAxisMapping" "4 5"
In the pointer section of my XF86Config file. The later seems simpler, and doesn't require starting yet another process.
On the USB mouse thing: Since I've never set one up, I don't really know what I'm talking about. The process of getting it working in gpm, then having XFree86 get it's settings from gpm (which I think will do automatically) is a good one. I just thought that /dev/mouse ought to point to a mouse, so does XFree86.