Slackware This Forum is for the discussion of Slackware Linux.
|
| Notices |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
07-24-2009, 05:50 PM
|
#1
|
|
LQ Newbie
Registered: Dec 2007
Location: Harrisburg, Pa
Distribution: Slackware 12.2
Posts: 12
Rep:
|
Slack 12.2 mouse trap whack...
For some reason, each time I boot up from a shutdown, I must login as root and run: modprobe psmouse
Has anyone else had this issue? I'm having it on two machines with two different mice (one laser ps/2, the other a plain jane ps/2)?
Is there a solution, or do I just need to add this command to a startup script? If I need to add it to the startup, would someone please be so kind as to remind me where the script is, because it's been awhile and I've forgotten.
|
|
|
|
07-24-2009, 06:44 PM
|
#2
|
|
Member
Registered: May 2004
Distribution: Slackware
Posts: 128
Rep:
|
Can't tell from your post whether you have to modprobe psmouse because it's not loaded automatically at all when you boot, or because it needs to be re-initialized.
Regarding the latter, Slackware defaults to loading psmouse with the "proto=imps" option because of certain KVM problems if psmouse is started with its default ("proto=any"). However, this occasionally can cause things not to work (for example the synaptics touchpad module doesn't work with proto=imps).
Try editing /etc/modprobe.d/psmouse and changing "proto=imps" to "proto=any" and see what happens.
|
|
|
|
07-24-2009, 09:12 PM
|
#3
|
|
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,080
|
The modprobe commands are in /etc/rc.d/rc.modules-`uname -r`
|
|
|
|
07-25-2009, 07:51 AM
|
#4
|
|
LQ Newbie
Registered: Dec 2007
Location: Harrisburg, Pa
Distribution: Slackware 12.2
Posts: 12
Original Poster
Rep:
|
Quote:
Originally Posted by xflow7
Can't tell from your post whether you have to modprobe psmouse because it's not loaded automatically at all when you boot, or because it needs to be re-initialized.
"proto=any" and see what happens.
|
THanks for the suggestion. The issue is it does not seem to be loading at all when I start up. I was aware of the /etc/modprobe.d/psmouse situation and via another users suggestion I commented out the proto option entirely and reloaded psmouse. This worked at the time, and continues to, however even with the proto option commented out i still have to login as root after start up and reload the psmouse.
I did try un-commenting the proto option and substituting the imps option with any, gave a power down and power up, and I still have the same result.
In other news, which may or may not be related, when I get to the slackware splash screen at boot up my keyboard has all three lights on, but is unresponsive. I have to unplug and plug it back in to get it to work. Only then can I hit enter and proceed. I was going to do a search for that issue later, but thought I'd mention it in case there is a relationship between the two issues.
|
|
|
|
07-25-2009, 07:58 AM
|
#5
|
|
LQ Newbie
Registered: Dec 2007
Location: Harrisburg, Pa
Distribution: Slackware 12.2
Posts: 12
Original Poster
Rep:
|
Quote:
Originally Posted by dive
The modprobe commands are in /etc/rc.d/rc.modules-`uname -r`
|
Dive, thank you for the info. I ran that command with the following result:
/etc/rc.d> rc.modules -'uname -r'
Module dependencies up to date (no new kernel modules found).
FATAL: Error inserting pcspkr (/lib/modules/2.6.27.7-smp/kernel/drivers/input/misc/pcspkr.ko): Operation not permitted
FATAL: Module capability not found.
|
|
|
|
07-25-2009, 08:35 AM
|
#6
|
|
Moderator
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 10,339
|
Hi,
You could be experiencing the following;
Quote:
excerpt from 'CHANGES_AND_HINTS.TXT';
On many systems, the xf86-input-synaptics driver requires the psmouse kernel
kernel module be loaded without any special options. This poses a problem on a
default Slackware installation, as /etc/modprobe.d/psmouse causes the psmouse
module to load with the imps protocol. This is easily fixed though :-)
First, edit /etc/modprobe.d/psmouse so that it looks like this (note
that we're simply commenting out the last line):
# PS/2 mouse support:
# The default options when the psmouse module is loaded will completely
# break the mouse if you change consoles with several models of KVM
# switches. Therefore, we'll have it use the imps protocol here, which
# is a more basic protocol that is less likely to cause problems with
# the mouse. If you'd rather use the kernel default options, just
# comment out the line below. If you'd rather choose your own options,
# then edit the line below as desired.
#options psmouse proto=imps
Next, unload and reload the psmouse module (do this as root):
modprobe -r psmouse
modprobe psmouse
|
|
|
|
|
07-25-2009, 10:02 AM
|
#7
|
|
LQ Newbie
Registered: Dec 2007
Location: Harrisburg, Pa
Distribution: Slackware 12.2
Posts: 12
Original Poster
Rep:
|
Quote:
Originally Posted by onebuck
Hi,
You could be experiencing the following;
|
Indeed, but I shouldn't have to run the modprobe psmouse command every time I start up. That's the situation.
|
|
|
|
07-25-2009, 10:31 AM
|
#8
|
|
LQ Newbie
Registered: Jan 2008
Distribution: Slackware
Posts: 13
Rep:
|
You can add the modprobe command to your rc.local script if you want it to be loaded when you boot the system.
|
|
|
|
07-25-2009, 12:52 PM
|
#9
|
|
Member
Registered: Aug 2006
Distribution: Slackware
Posts: 763
Rep:
|
Quote:
FATAL: Error inserting pcspkr (/lib/modules/2.6.27.7-smp/kernel/drivers/input/misc/pcspkr.ko): Operation not permitted
FATAL: Module capability not found.
|
Did you rebuild your kernel, or are you using a custom one? This error is kinda funky for a stock Slack kernel. Are you running the 2.6.27.2-smp kernel?
|
|
|
|
07-25-2009, 02:12 PM
|
#10
|
|
LQ Newbie
Registered: Dec 2007
Location: Harrisburg, Pa
Distribution: Slackware 12.2
Posts: 12
Original Poster
Rep:
|
Quote:
Originally Posted by manwichmakesameal
Did you rebuild your kernel, or are you using a custom one? This error is kinda funky for a stock Slack kernel. Are you running the 2.6.27.2-smp kernel?
|
I had Slack 12 before hand, then reinstalled with 12.2/upgraded. I just used the default hugesmp kernel that was recommended when I installed.
|
|
|
|
07-25-2009, 03:02 PM
|
#11
|
|
Member
Registered: Aug 2006
Distribution: Slackware
Posts: 763
Rep:
|
Quote:
|
I had Slack 12 before hand, then reinstalled with 12.2/upgraded.
|
I'm not sure what you mean there. Did you format and do a fresh install, or did you just upgrade? Try using the generic kernel, and make an initrd. There is /boot/README.initrd that you should take a look at.
|
|
|
|
07-26-2009, 12:46 AM
|
#12
|
|
Slackware Contributor
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,894
Rep: 
|
It sounds like the psmouse module is blacklisted, which implies that the system was upgraded from 12.0 to 12.2 (as the OP later stated), and that the OP needs to read http://slackware.osuosl.org/slackwar..._AND_HINTS.TXT
|
|
|
|
08-10-2009, 05:28 PM
|
#13
|
|
LQ Newbie
Registered: Dec 2007
Location: Harrisburg, Pa
Distribution: Slackware 12.2
Posts: 12
Original Poster
Rep:
|
Quote:
Originally Posted by rworkman
|
Bingo. You were absolutely correct sir. You're a gentleman and a scholar.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 12:48 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|