LinuxQuestions.org
Have you listened to LQ Radio?
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Thread Tools
Old 05-09-2008, 03:30 AM   #16
n0p.cracker
Member
 
Registered: May 2008
Location: Croatia
Distribution: slackware 12.1
Posts: 39
Thanked: 0

Original Poster

[Log in to get rid of this advertisement]
ok i'll read that documentation
n0p.cracker is offline     Reply With Quote
Old 05-09-2008, 04:17 AM   #17
kairen
Member
 
Registered: Oct 2006
Distribution: Slackware 11, Slackware 12
Posts: 48
Thanked: 0
use the initrd to load mouse driver

Hi all
n0p - one easy way is to add the mouse module to your initrd.
It works fine .
kairen is offline     Reply With Quote
Old 05-09-2008, 10:22 AM   #18
erickFis
Member
 
Registered: Jun 2003
Location: Brasil
Distribution: Slackware64_13
Posts: 176
Thanked: 2
Hello everybody!

I'm here to apologize for my last post.

Actually you don't need to recompile the kernel
to have your mouse working:

I've just followed the hints from the documentation (changes & hints)
and my mouse is working fine now with the default generic-2.6.24.5-smp Patrick kernel.
In my case what I had to do was to remove the rc.modules.bak files that were in /etc/rc.d
Also I noticed that a lot of kernel options can be triggered from /etc/rc.d/rc.modules-2.6.21.5-smp

So, once more,
sorry XD

it appears that the official slackware kernel is flawless after all XD
erickFis is offline     Reply With Quote
Old 05-09-2008, 10:41 AM   #19
BCarey
Senior Member
 
Registered: Oct 2005
Distribution: Slackware
Posts: 1,153
Thanked: 14
Quote:
Originally Posted by rworkman View Post
Indeed I am.

There are two good options, actually. One is to use rc.modules.local, but you would need to include the top section of the stock rc.modules (the section from the top that updates module dependencies) at the top of the custom rc.modules.local. For example, here's mine (yes, I use this method):

That's probably a bit of overkill now with 2.6.24.x, as it's supposed to load most acpi modules automatically, so just call me crufty.

The easier way to do it is with rc.netdevice though. The original purpose of that script (which will probably not exist on a fresh installation) was to load networking modules early in the boot process so that the network scripts could finish successfully. Since udev came along though, that's just not needed anymore. However, support for the file is there, and since it's run early in the boot process if it exists, it's a great place to sneak other non-network-related modules in if you need them loaded.
* I have to credit Pat with hammering a clue at me on this one - while it's obvious to me now, I'd never considered rc.netdevice for this purpose before.
Thanks for the explanation.

Brian
BCarey is offline     Reply With Quote
Old 05-10-2008, 04:15 PM   #20
tdtooke
LQ Newbie
 
Registered: May 2008
Posts: 8
Thanked: 1
I had this very same problem myself. I am very new to this, Slackware 12.0 being my first taste of Slackware. What I did was un comment out the line loading psmouse in /etc/rc.d/rc.modules-2.6.24.5-smp. I did notice the psmouse file that set options for psmouse and the file said this was a better place to handle that than rc.modules but nowhere was the module actually being loaded on my system. I probably did not do the right things in upgrading and I'm sure my solution probably isn't the "right" one, but it works...
tdtooke is offline     Reply With Quote
Old 05-10-2008, 06:01 PM   #21
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware 12.2
Posts: 1,306
Thanked: 28
Quote:
Originally Posted by tdtooke
I had this very same problem myself. I am very new to this, Slackware 12.0 being my first taste of Slackware. What I did was un comment out the line loading psmouse in /etc/rc.d/rc.modules-2.6.24.5-smp. I did notice the psmouse file that set options for psmouse and the file said this was a better place to handle that than rc.modules but nowhere was the module actually being loaded on my system. I probably did not do the right things in upgrading and I'm sure my solution probably isn't the "right" one, but it works...
Your solution is more of a hack than the proper way of doing things. You should comment that line out (thus restoring it to its original form) and follow rworkman's advice -- see the CHANGES_AND_HINTS.TXT file included with your Slackware install CD/DVD (or at your favourite mirror). If you leave a backup of /etc/modprobe.d/blacklist from your Slackware 12.0 installation in addition to the new /etc/modprobe.d/blacklist file from the 12.1 upgrade, both files will be checked and the psmouse module will be blacklisted (ie it will not be loaded). If there is a /etc/modprobe.d/blacklist.new file, you should overwrite /etc/modprobe.d/blacklist with this file (and I mean overwrite -- again, if you leave a backup of the original file in that directory, it'll still get checked). If that's the case you should also check other .new files in /etc to make sure you merged them all (a crucial part of upgrading from 12.0 to 12.1). If you already merged/overwrote the .new files (including the one in /etc/modprobe.d), then you should make sure to delete the backup of the blacklist file from 12.0.

Read all of the documentation before (and after) you upgrade -- most of the common problems are covered in there.
T3slider is offline     Reply With Quote
Old 05-10-2008, 08:44 PM   #22
erickFis
Member
 
Registered: Jun 2003
Location: Brasil
Distribution: Slackware64_13
Posts: 176
Thanked: 2
Quote:
Originally Posted by T3slider View Post
If you already merged/overwrote the .new files (including the one in /etc/modprobe.d), then you should make sure to delete the backup of the blacklist file from 12.0.

Read all of the documentation before (and after) you upgrade -- most of the common problems are covered in there.
This WORKED for me,
in 2 machines untill now.
erickFis is offline     Reply With Quote
Old 05-11-2008, 12:38 AM   #23
tdtooke
LQ Newbie
 
Registered: May 2008
Posts: 8
Thanked: 1
To be honest I didn't even look at the documentation....oops. When I noticed my mouse wasn't working I started poking around in rc.modules and noticed that line commented out and that was that pretty much.:E
tdtooke is offline     Reply With Quote
Old 05-11-2008, 09:29 AM   #24
BCarey
Senior Member
 
Registered: Oct 2005
Distribution: Slackware
Posts: 1,153
Thanked: 14
Quote:
Originally Posted by tdtooke View Post
To be honest I didn't even look at the documentation....oops. When I noticed my mouse wasn't working I started poking around in rc.modules and noticed that line commented out and that was that pretty much.:E
rc.modules is not the only way modules get loaded. Many of them get loaded automatically by udev.

Brian
BCarey is offline     Reply With Quote
Old 05-11-2008, 04:35 PM   #25
n0p.cracker
Member
 
Registered: May 2008
Location: Croatia
Distribution: slackware 12.1
Posts: 39
Thanked: 0

Original Poster
i have fixed problem
n0p.cracker is offline     Reply With Quote
Old 05-11-2008, 04:44 PM   #26
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Rijeka, Croatia
Distribution: Debian, blackPanther
Posts: 1,432
Blog Entries: 2
Thanked: 85
Well done,n0p,and I'm glad,but how did you do it?You must share your experience with all the people here that were trying to help you!

Last edited by alan_ri; 05-11-2008 at 04:45 PM..
alan_ri is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
Making the 'wheel' work on mice tuxuser19 Debian 1 10-15-2005 06:54 AM
Can I configure two mice to work at the same time? njschroe Linux - Hardware 4 02-01-2005 09:42 AM
/dev/input/mice doesn't work Bogdan29 Linux - Newbie 3 05-08-2003 12:19 AM
Mice - how they work? johan the olive Linux - Hardware 3 02-28-2003 05:13 PM
Argh! My mice dont work! curator Linux - Software 2 02-12-2001 10:14 AM


All times are GMT -5. The time now is 12:27 PM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration