LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 12-07-2003, 09:21 PM   #1
DustinH
LQ Newbie
 
Registered: Dec 2003
Location: Sacramento
Distribution: Debian
Posts: 9

Rep: Reputation: 0
Hi, real n00b here! :)


Hi Everyone,

I have recently made the discovery that Linux is quite a cool operating system.

I have my very own copy installed now of Debian Linux with the 2.4 kernel running. It took quite a long time and a lot of work with a bunch of help from the systems engineer at my work (I work at a co-lo doing help desk ) because of the GeForce4 card in my computer.

Well I'm happy to report KDE is up and running now, however, I'm functioning without a mouse. Realizing that I can't always go to the system engineer with questions I turn to you all.

What should I be doing in order to try to setup my mouse. It's a USB 3 button mouse (made by Creative labs [ same people who make soundblaster ] ). I'm not sure what other information you need, but let me know and I will get it for you.

TIA!
 
Old 12-07-2003, 10:23 PM   #2
ToniT
Senior Member
 
Registered: Oct 2003
Location: Zurich, Switzerland
Distribution: Debian/unstable
Posts: 1,357

Rep: Reputation: 47
Try to modprobe (or modconf to make settings permanent) following drivers:
  • hid
  • Either usb-uhci or usb-ohci, depending of your chipset: uhci for inter and via, ohci for sis and ali. Use the lspci to find out your chipset.
  • mousedev
and restarting X. That should be it.

Alternatively you can use packages like discover and hotplug to do this automaticly for you.
 
Old 12-07-2003, 10:45 PM   #3
DustinH
LQ Newbie
 
Registered: Dec 2003
Location: Sacramento
Distribution: Debian
Posts: 9

Original Poster
Rep: Reputation: 0
Hehehe sorry...I'm quite new at this. Should I be looking in a certain directory for a particular file to modify or how should that work?

Thank you so much!!!
 
Old 12-08-2003, 06:46 AM   #4
llamakc
Member
 
Registered: Nov 2003
Distribution: Debian & Ubuntu
Posts: 402

Rep: Reputation: 31
apt-get install hotplug

then, do (as root)

lsmod

and post the contents of the lsmod command here. Also, post your /etc/X11/XF86Config-4 file
 
Old 12-08-2003, 03:12 PM   #5
ToniT
Senior Member
 
Registered: Oct 2003
Location: Zurich, Switzerland
Distribution: Debian/unstable
Posts: 1,357

Rep: Reputation: 47
.. and for modprobing (thus using hotplug is easier):
Code:
modprobe hid
modprobe usb-uhci
modprobe mousedev
A quick test and see if your mouse works, you can type
'cat /dev/input/mice' and try to move your mouse; you should see some garbage in the screen if it works. To end test, press Ctrl-C. If your screen is messed up (happens quite often), type 'reset' and press enter (don't care if you can't see the text you write).
 
Old 12-08-2003, 11:17 PM   #6
DustinH
LQ Newbie
 
Registered: Dec 2003
Location: Sacramento
Distribution: Debian
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by llamakc
apt-get install hotplug

then, do (as root)

lsmod

and post the contents of the lsmod command here. Also, post your /etc/X11/XF86Config-4 file
I tried running this command and it seemed to startup but then failed with some errors about not being able to connect to ftp.debian.org.

I think my network settings maybe messed up on the machine as well so I guess I have to try to fool around with that also.
 
Old 12-08-2003, 11:18 PM   #7
DustinH
LQ Newbie
 
Registered: Dec 2003
Location: Sacramento
Distribution: Debian
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by ToniT
.. and for modprobing (thus using hotplug is easier):
Code:
modprobe hid
modprobe usb-uhci
modprobe mousedev
A quick test and see if your mouse works, you can type
'cat /dev/input/mice' and try to move your mouse; you should see some garbage in the screen if it works. To end test, press Ctrl-C. If your screen is messed up (happens quite often), type 'reset' and press enter (don't care if you can't see the text you write).
None of these modules seemed to be on my system and I believe the computer is not getting the internet connection.

I did run the cat /dev/input/mice and I was able to get junk on the screen and reset it, but once I did startx and KDE came up no mouse.
 
Old 12-09-2003, 04:07 PM   #8
ToniT
Senior Member
 
Registered: Oct 2003
Location: Zurich, Switzerland
Distribution: Debian/unstable
Posts: 1,357

Rep: Reputation: 47
If /dev/input/mice puts some garbage to the screen while you move your mouse, then your mouse is working.

What do you have in your /etc/X11/86Config-4, there should be a block containing
Code:
Section "InputDevice"
        Identifier      "Generic Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "SendCoreEvents"        "true"
        Option          "Device"                "/dev/input/mice"
        Option          "Protocol"              "ImPS/2"
        Option          "ZAxisMapping"          "4 5"
EndSection
And an other block containing
Code:
Section "ServerLayout"
  ... yadda... yadda.... identifers, screens .. .
        InputDevice     "Generic Mouse"
   .. possibly more blah..blah..
EndSection
If they don't, either write them there, or run 'dpkg-reconfigure xserver-xfree86' and answer to the questions so that there is something like that in the configuration file at the end of the process (/dev/input/mice, protocoll ImPS/2, mouse roll enabled if you have one, no need to emulate third button if you have 3 buttons).
 
  


Reply



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
Real n00b question about controls mak3 Programming 1 08-05-2005 04:05 PM
Real Plyer...hehe ;) Giving me Real Problems.. Azzath Linux - Software 0 02-14-2005 08:56 AM
Another n00b zero0000 LinuxQuestions.org Member Intro 1 10-02-2004 05:21 AM
dual display question - real real newbie !! Jay_Dee007 Linux - Newbie 1 09-29-2003 08:33 AM
Real Programmers Real People Real CS Students nakkaya General 5 07-04-2003 02:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 08:58 AM.

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
Open Source Consulting | Domain Registration