LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-29-2005, 11:53 PM   #1
mysterhee
LQ Newbie
 
Registered: Oct 2005
Posts: 2

Rep: Reputation: 0
mouse doesnt load on bootup


Hello all,

I have a very weird problem and after extensive research (or the lack of it) on the internet, i have finally decided to ask people on forums. i am running a lfs system that was tweaked alittle. i have kernel 2.6.13.3 running and a logitech mx1000 mouse. now, from reading howtos on the internet, i have added "event interfacing" support into the kernel.

Now my problem is that most of the time, my mouse doesnt get loaded during bootup. when i do "cat /proc/bus/input/devices", only my usb keyboard shows up (which is event0). so what i end up doing is unplugging my mouse, and plugging it back in.. which i think generages a hotplug event. from there, my mouse comes up as event1 and it works fine.

now, i cant seem to find an answer as to why the mouse isnt recognized or even how to manually get it to load during bootup. LFS uses hotplugging and udev, but i dont know how or if its possible to manually generate the event without having to reinsert my mouse.

im guessing that this issue is probably a kernel issue because when the mouse does get loaded, it gets loading before init, which i think starts udev and hotplug. but from what i read, udev should be able to initialize the device anyway, so im wondering why is it not getting loaded? i cant seem to simulate a consistent loading or even unloading. i also tried to use the stable 2.6.14 kernel, but that was inconsistent as well.

so what im thinking now is that my best bet is to get udev or hotplug (i dont know which) to generate the device during init, but i dont know how to. does anybody have a clue as to why this is happening?

and if you are wondering, i have tried using psaux now, and that still doesnt work consistently. i am trying to use evdev so that i could get horizontal scrolling to work, but that doesnt work either =(. i had a different distro on before that used devfs and the same kernel (2.6.13.3), and i had to problems with my mouse. but then again, i dont know if this is a kernel problem or udev/hotplug. anyway, anyone got any ideas?
 
Old 10-30-2005, 10:52 AM   #2
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 6,147

Rep: Reputation: Disabled
Re: mouse doesnt load on bootup

Quote:
Originally posted by mysterhee
so what im thinking now is that my best bet is to get udev or hotplug (i dont know which) to generate the device during init, but i dont know how to. does anybody have a clue as to why this is happening?
... anyway, anyone got any ideas?
Got a tiny idea. Why not create the mouse device manually "in the old way"? Then it will be always there and independent of udev.
 
Old 10-30-2005, 03:21 PM   #3
mysterhee
LQ Newbie
 
Registered: Oct 2005
Posts: 2

Original Poster
Rep: Reputation: 0
i couldnt find out a way to manually create the device. i figure, since my mouse is always gonna be there, it doesnt have to be loaded every time by udev. do you know i can create it?
 
Old 10-30-2005, 06:06 PM   #4
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 6,147

Rep: Reputation: Disabled
The utility for creating nodes was called mkdev. Couldn't find it in my box though. Found mknod instead. Read mknod manual and run 'ls -l' on your mouse device to find out major and minor values.
BTW, hotplug must be loaded at boot time, not with runlevel.
 
  


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
Bootup load GDM JohnStormrider Linux - Software 2 08-22-2005 10:41 AM
Why doesnt my USB mouse doesnt work? barkha Linux - Hardware 2 08-16-2005 12:31 PM
eth0 doesnt get activated on bootup funkymunky Linux - Networking 3 05-18-2005 11:30 PM
Windows Xp doesnt load cyberX Linux - General 3 01-21-2005 09:50 AM
keep having to load network driver at bootup Dswissmiss Linux - Software 2 04-20-2004 04:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:50 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