LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
 
Search this Thread
Old 01-07-2012, 05:43 PM   #1
dogbird
Member
 
Registered: Nov 2004
Location: oklahoma
Distribution: slackware 9.0
Posts: 98

Rep: Reputation: 15
Angry i still have a mouse problem -- NO MOUSE in windows,


I have ruled out the mouse as a gpm problem. I suspect it is some conf file, but I dont know where or how the program xinit tries to resolve the mouse. I installed the system originally and the mouse worked then. I had some corruption problems so I reloaded over my system trying to fix the funny pointers. it seems ok. until I invoke ANY window system. the mouse does not appear and I get to do a hard reboot and fixup.

I thought it might be the /dev/pointers. look good to me.
I thought it might be xorg.conf. I checked all of them. they are normal. what is the mechanism. I really need to know so I can repair my system. I did nothing to change the system installed from slackware13.0 I dont care where or how I saw a problem with builtins. why doesnt the vanilla system work?


josephus
 
Old 01-07-2012, 07:51 PM   #2
Lirey
Member
 
Registered: Sep 2009
Distribution: Slackware
Posts: 35

Rep: Reputation: 6
I think you'll need to provide more information for anyone to be able to help. The xorg.conf is the most likely source of trouble, but if the same xorg configuration was working before the problem could be that the mouse isn't being detected at all. Check both dmesg and the Xorg.0.log to see if the mouse is being recognized.

Also, is the problem just the mouse? You state the you are having to do a hard reboot, but you should be able to switch to another TTY (using ctrl-alt-F2, or ctrl-alt-F3, etc) and still have full control of the system from the keyboard. Switching to TTY1 (ctrl-alt-F1) should show the most recent messages/warnings from the window manger, which might provide some explanation of why the mouse isn't being recognized.
 
Old 01-08-2012, 06:11 PM   #3
dogbird
Member
 
Registered: Nov 2004
Location: oklahoma
Distribution: slackware 9.0
Posts: 98

Original Poster
Rep: Reputation: 15
actually I need to know how the mechanism works. how does the xinit resolve the pointer. In my system there is a fault. I cant find that fault. I installed this system from scratch. on a new disk.

I had a problem with fvwm not finding and running programs, In fact it would die the horrible death. so I tried to reinstall the system with the CD set. In theory it should have helped. I dont know. the MOUSE does not work in ANY windows system. so the problem is deeper. And I need to know how the mouse is resolved. I will be working with Fvwm2 when I get the mouse running. I have used it for many years.


I know that xinit uses a script. it looks good to me. so I am asking for help I can provide more data if required.


josephus
 
Old 01-08-2012, 08:47 PM   #4
Lirey
Member
 
Registered: Sep 2009
Distribution: Slackware
Posts: 35

Rep: Reputation: 6
Hmmm... I'm still not completely sure I'm answering the right question and I'm not an expert on the internals, but I can try to explain what I understand of the hardware is resolved.

First, the operating system needs to recognize the hardware. Unless there is hardware problem (bad mouse, bad PS/2 or USB port) or the mouse needs special drivers, the mouse should be recognized during the boot process. There should be one or two lines in the /var/log/messages file indicating that the mouse has been found. This same message can be retrieved using the dmesg command, which will list all of the messages since the last boot that are related to hardware. To see all the messages related the mouse, use the command:

dmesg | grep mouse

You should get something like:
[xxxxxxx] mousedev: PS/2 mouse device common for all mice
or:
mice: PS/2 mouse device common for all mice

If the OS appears to be recognizing the mouse properly, try running gpm to verify that the mouse works at the command prompt.

The window systems should all use the Xorg server. The configuration files will be in /etc/X11. The main file to look at is xorg.conf. What needs to be in this file will depend on what version of the xorg software you have (I'm not sure what version of Xorg you have with Slackware 13.0 - all of my systems have either older versions of Slackware or are running 13.37/current).

Older versions of the X software needed to be explicitly told where to look for the mouse. In these case the xorg.conf file should have a section that looks something like:

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/mouse"
EndSection

There should also be a section titled: Section "ServerLayout"
This section should include a line that looks like:
InputDevice "Mouse0" "CorePointer"

The important line in the xorg.conf file is the one with "/dev/mouse". This is usually the device where the mouse is located, but you should check in /dev to see that /dev/mouse exists and if it is a link that it points to an existing device node.

If you have a newer version of X the xorg.conf file will usually only include information on the monitor and video card. In this case, the X software will be relying on HAL to recognize most of the hardware, including the mouse.

I'm not sure I can help if HAL is misconfigured, but you can check that HAL is running with the command "ps -ef". There should be a number of hald processes running including one that is reported as:
/usr/sbin/hald --daemon=yes

If the HAL daemon is not running, check that its init script (/etc/rc.d/rc.hald) is set to be executable.

If this does not help, post what version of the xorg software is on your system and what the input sections of your xorg.cong file look like.

Last edited by Lirey; 01-08-2012 at 09:02 PM. Reason: Fixed truncated post.
 
Old 01-09-2012, 01:39 AM   #5
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.1
Posts: 1,710

Rep: Reputation: 531Reputation: 531Reputation: 531Reputation: 531Reputation: 531Reputation: 531
How about the obvious first source of information: the contents of /var/log/Xorg.0.log.

It should tell you all sorts of things, including what input devices that it found as well as any errors that happened.
 
Old 01-10-2012, 03:55 AM   #6
dogbird
Member
 
Registered: Nov 2004
Location: oklahoma
Distribution: slackware 9.0
Posts: 98

Original Poster
Rep: Reputation: 15
ok the gpm mouse and pointers look sane to me. I cant see any erors from them.

however Xorg.0.log says it expected HAL to provide the devices and reports it cannot find keyboard and pointer. this is what my problem seems to be. I am not sure but I dont know how to repair this problem. my system mouse works fine. no problems with the gpm utility. it is apparently the HAL utility that is corrupted and I dont have a clue how to to fix that. coding yes, program yes, even scripts yes. but a system function that runs once is out of my leage. mainly because I know the sequence has changed between versiona of slackware. anything I thought i knew is wrong. :{


josephus
 
Old 01-10-2012, 05:12 PM   #7
Lirey
Member
 
Registered: Sep 2009
Distribution: Slackware
Posts: 35

Rep: Reputation: 6
There are few things you could check...

Is the HAL daemon (hald) running?
Use "ps -ef | grep hald". The command should list the deamon process described in my post above, the hald-runner process, and a number of hald-addon-* processes. I'm not sure what your next steps should be if the daemon is running.

If the daemon isn't running, check that the HAL package is installed, by either:
slackpkg search hal (which should show [ installed ] in front of the hal package)
or by checking in /var/log/packages.

If it is installed, you might want to reinstall the package just in case the installation was corrupted.

If is installed, but not running, check that the initialization script (/etc/rc.d/rc.hald) is executable. The script should be owned by root and the permissions set to 755. When the script is executable, it should run automatically during the boot process.

If the script is already executable, but hald is not running, try running the script from the command line and see what errors are reported. After running the script, check the syslog and messages log for additional error messages. If this doesn't get things working, post any errors that you get from the script.
 
Old 01-14-2012, 08:52 AM   #8
hughetorrance
Member
 
Registered: Aug 2009
Location: London North West
Distribution: x86_64 Slack 13.37 current : +others
Posts: 459

Rep: Reputation: 59
Talking Mouse and keyboard...

In a terminal as root type pkgtool and see if that will help...there are many solutions to your problem,its just a case of finding one,as a Slacker I prefer the easy ones,so usually I use the NVIDIA driver that fixes loads. usually !!!
Attached Thumbnails
Click image for larger version

Name:	pkgtool.jpeg
Views:	7
Size:	91.3 KB
ID:	8833  
 
Old 01-14-2012, 05:20 PM   #9
ChickTower
LQ Newbie
 
Registered: May 2011
Location: Michigan
Distribution: Slackware
Posts: 18

Rep: Reputation: 11
Quote:
Originally Posted by dogbird View Post
ok the gpm mouse and pointers look sane to me. I cant see any erors from them.

however Xorg.0.log says it expected HAL to provide the devices and reports it cannot find keyboard and pointer. this is what my problem seems to be. I am not sure but I dont know how to repair this problem. my system mouse works fine. no problems with the gpm utility. it is apparently the HAL utility that is corrupted and I dont have a clue how to to fix that. coding yes, program yes, even scripts yes. but a system function that runs once is out of my leage. mainly because I know the sequence has changed between versiona of slackware. anything I thought i knew is wrong. :{


josephus
What are these pointers you keep writing about? Are you talking about the on-screen mouse cursor? Some pointing device? What?

Does your window manager accept input from the keyboard? One way to tell is to press <Ctrl>-<Alt>-<Backspace> at the same time to kill X, rather than do a hard reboot as you've been doing.

I've sometimes had the problem of no responses to keyboard or mouse when running X while trying to configure it. Here's what fixed it for me, but there's no guarantee it will solve your problem. Try adding the following line in your ServerFlags section of /etc/X11/xorg.conf.

AllowEmptyInput "false"

If you don't have a ServerFlags section, just precede the previous line with

Section "ServerFlags"

and follow the AllowEmptyInput line with

EndSection

You should be able to see how it's done from other sections in xorg.conf, or in the xorg.conf man page.

Let us know if that works.
 
Old 01-16-2012, 03:06 AM   #10
dogbird
Member
 
Registered: Nov 2004
Location: oklahoma
Distribution: slackware 9.0
Posts: 98

Original Poster
Rep: Reputation: 15
the Hald was the problem it was not executable. I set it to 755 and it boots normally

the mouse and keyboard will work. But Seamonkey is bogus and will do a hard crash if it runs. there are serveral processes that have this feature. I am a standalone linux box. and need someway to find a source for Seamonkey. I will check Netscape too. it should also run. once that happens I can download a source for seamonkey. then I can do similar things for each of the FREEXE list. when certain programs run, they freeze and the system freezes with them.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with Windows Wireless Mouse Inexactitude General 2 06-29-2008 08:16 AM
[slamd64] mouse problem - mouse wont move. xlordt Slackware 5 02-25-2008 12:16 PM
HP wireless k/b and mouse set- mouse problem lubond Linux - Hardware 5 08-14-2006 01:10 PM
Problem selecting windows with mouse chichibabin Linux - General 0 02-26-2004 08:46 AM
The you have a Mouse Pointer Problem(mouse stick top left)here is the solution. dr4ven Linux - Hardware 0 05-25-2003 05:53 PM


All times are GMT -5. The time now is 02:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration