LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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-11-2004, 10:42 PM   #1
jeopardyracing
Member
 
Registered: Sep 2003
Posts: 175

Rep: Reputation: 30
Detect optical USB Mouse - Knoppix HD


I have installed Knoppix onto my HD and am having great results except that I didn't do the install with a USB mouse attached, and now when I attach one it doesn't react! Can anyone tell me what file I modify to cause it to recognize a USB mouse? When I load the OS off of the CD instead there is no problem, so I know it's capable I just need to know what to manipulate.
 
Old 10-11-2004, 10:49 PM   #2
ChasidishHarry
Member
 
Registered: Nov 2003
Distribution: Mandrake 9.1
Posts: 377

Rep: Reputation: 30
When you say "When I load the OS off of the CD", are you booting from an original Knoppix cd? Because if it's customized, the CD doesn't create these files newly at every boot, it just uses the files created when installing knoppix onto the disk, and possibly then, you installed the settingsnot for a USB mouse.
 
Old 10-11-2004, 10:52 PM   #3
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
The file is /etc/X11/xorg.conf or /etc/X11/XF86Config(-4)

Open it with a text editor and look at the mouse section. The protocol should be ps/2 or IMPS/2(If you have a wheelmouse) and the device should be
Code:
/dev/input/mice
if its USB.
 
Old 10-11-2004, 11:41 PM   #4
jeopardyracing
Member
 
Registered: Sep 2003
Posts: 175

Original Poster
Rep: Reputation: 30
Woops - broke X That way!

I tried modifying XF86Config-4 with my own entry for the mouse and on the reboot X wouldn't load! I could log in as roon and use Nano to change it back, and that worked and now I'm back in after the reboot.

But...I'm a tool sorry guys! LILO lists 3 kernels I can boot into and when I tried a different one it worked! But here's the thing: the mouse won't work on either of the first two kernels, but does on the third. However, on the third kernel...the sounds doesn't work!!! Any trouble shooting tips for that kind of a fix?

The message I get when it tries to make a sound is

Sound server informational message:
Error while initializing the sound driver:
device /dev/dsp can't be opened (No such device)
The sound server will continue, using the null output device.

Last edited by jeopardyracing; 10-12-2004 at 12:01 AM.
 
Old 10-12-2004, 12:18 AM   #5
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
It sounds like the first two kernels don't have USB support compiled in and the third is missing the module for the sound card. probably easier to add the sound module. Good news is that Knoppix should include a nice Debian tool called Modconf, which you can use to reinsert the sound module.
 
Old 10-12-2004, 10:27 AM   #6
jeopardyracing
Member
 
Registered: Sep 2003
Posts: 175

Original Poster
Rep: Reputation: 30
Ok

I'll give it a try! If all else fails I can redo the HD install with the USB mouse connected this time! Maybe then the setup would include USB for all kernels?
 
Old 10-12-2004, 07:21 PM   #7
jeopardyracing
Member
 
Registered: Sep 2003
Posts: 175

Original Poster
Rep: Reputation: 30
Had to reinstall

Well, after blowing entirely too much time trying to fix the install, update the kernel, etc I finally have up and ran the Knoppix install CD with the USB mouse connected during the install. It worked! the first kernel now has sound and a mouse! But I have to reconfigure everything. *Sigh.* Good learning for others interested in Knoppix I suppose!
 
Old 10-12-2004, 11:18 PM   #8
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
That is true. I'm glad you got a working system after all. Shame it took so much work, though. Its all good, in the end i guess.
 
  


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
ubuntu can't detect optical mouse DaVenom Ubuntu 7 09-12-2005 05:25 AM
usb optical mouse ftbreak Slackware 5 02-05-2005 09:24 PM
Use a usb optical mouse nmares Linux - Hardware 3 09-08-2004 02:42 AM
Logitech USB optical mouse fails with flaky usb tisource Linux - Hardware 2 06-21-2004 12:26 AM
Optical USB mouse theearp Mandriva 16 01-10-2004 08:18 PM


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