LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 08-26-2003, 06:41 PM   #1
jon_k
Member
 
Registered: Jul 2003
Location: Fort Worth, Texas
Distribution: Mepis Linux 2004
Posts: 547

Rep: Reputation: 30
Xf86 Config Help


Hi... I've recently installed icepack linux... a lesser known distro... and one of the first questions it asks is what mouse (I have a dell optical usb mouse -- with a middle scroll wheel... doesn't list that so i pick microsoft intellimouse) and then it asks what device its under

I didn't know so I went with the default /dev/mouse -- but after i tried startx it said an error about can't find mouse at /dev/mouse -- so I tried the config again but i picked /dev/tty0 (i think?) still couldnt find it

what device path would a USB mouse use?

Thanks!
 
Old 08-26-2003, 06:47 PM   #2
exodist
Senior Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Gentoo
Posts: 1,372

Rep: Reputation: 46
/dev/input/mice <-- all usb mice
 
Old 08-26-2003, 06:48 PM   #3
contrasutra
Guru
 
Registered: Mar 2003
Location: New Jersey
Distribution: Arch Linux
Posts: 1,445

Rep: Reputation: 46
Post your Mouse section of your /etc/X11/XF86Config file.

I have a similar mouse and mine is:

Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"

I use DevFS, so your wouldnt be /dev/input/mice, it might be /dev/mouse or /dev/usbmouse.

You want to make sure you use IMPS/2 for USB Scroll mice.


Also, make sure your USB modules are loaded,otherwise no USB devices will work, for that, do "lsmod".
 
Old 08-26-2003, 06:49 PM   #4
exodist
Senior Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Gentoo
Posts: 1,372

Rep: Reputation: 46
/dev/input/mouse0-9 is a specific usb mouse
mice is all of them
 
Old 08-26-2003, 06:59 PM   #5
exodist
Senior Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Gentoo
Posts: 1,372

Rep: Reputation: 46
contrasutra

his would actually be /dev/input/mice
but I doubt it is linked to /dev/mouse as that is usually linked to /dev/psaux

I also use devfs, in actuality devfs has a different one, but the /etc/devfs.conf file by default makes compatability linsk so we can still use those places, it is in fact we that differ :-P
 
Old 08-26-2003, 07:02 PM   #6
jon_k
Member
 
Registered: Jul 2003
Location: Fort Worth, Texas
Distribution: Mepis Linux 2004
Posts: 547

Original Poster
Rep: Reputation: 30
I am using reiserfs and when I run the installer i type linux lsmod at that prompt?

thanks
 
Old 08-26-2003, 07:36 PM   #7
contrasutra
Guru
 
Registered: Mar 2003
Location: New Jersey
Distribution: Arch Linux
Posts: 1,445

Rep: Reputation: 46
Oh, ok. Honestly, I know very little about DevFS. Arch comes with in on by default,and that was my first encounter with it.

I hear DevFS is deprecated anyway, and the 2.6 kernel uses something else.


jon: you run it in a terminal once you're logged on.
 
Old 08-26-2003, 09:24 PM   #8
exodist
Senior Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Gentoo
Posts: 1,372

Rep: Reputation: 46
no, it just uses a different version of devfs, basically linux has a /dev/(structure) devfs has a /dev/(different structure) the devfs is 2.6 (what I use) is /dev/(another restructuring to make it "better")
each locates drivers into a different place, but for compat each can automatically link to the standards (/dev/input/mice /dev/psaux).

jon_k:
as for saying reiserfs when we said devfs, close but no cigar

reiserfs is a filesystem for a hard drive or othe rmedia that basically tell it where everything is and goes

devfs is when you mount a "fake drive" that isn't a drive at all to /dev, then the kernel automatically places a way to access devices like harddrives and cdroms and mice inside that fake drive. on non devfs systems (yours) /dev/ is on the real harddrive and has files that point to tthe devices like cdroms mice and so on. we got into the discussion because devfs hs a different structure than /dev/files and those differences are what started it..

NOTE: you don't need to understand this, just don't think of reiserfs when you hear devfs
 
Old 08-26-2003, 10:52 PM   #9
contrasutra
Guru
 
Registered: Mar 2003
Location: New Jersey
Distribution: Arch Linux
Posts: 1,445

Rep: Reputation: 46
Well, I know the kernel team is planning on completly reworking DevFS and calling it something else. It may be for 2.8 or something though.
 
Old 08-26-2003, 11:01 PM   #10
exodist
Senior Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Gentoo
Posts: 1,372

Rep: Reputation: 46
2.8?? that is a long long long way off.

also devfs isn't even done by the kernel team, a diiferent guy does it, can't remember where to go though. its in the devfs docs
 
  


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
I have an XF86 config file for video, how do I turn it into XORG config lowpingnoob Linux - Newbie 18 06-12-2005 12:07 PM
XF86-Config-4 Help Required sharkee Mandriva 3 04-26-2004 01:39 AM
red hat 9 xf86 config ronss Linux - Software 6 09-16-2003 06:29 PM
some more help need on xf86 config setting ronss Linux - Software 6 09-16-2003 08:08 AM
xf86 config tool zeky Linux - General 7 11-26-2002 11:32 AM


All times are GMT -5. The time now is 02:52 AM.

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
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration