LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 07-09-2002, 09:58 AM   #1
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
No mouse... No Xwindows


Ok, so I decided to install a 'real' distro, Slackware 8.1
But now I have no X. It gives me an error about my mouse, so I
run mouseconfig, but still doesn't work. So I run xf86config
but still no luck. So now I am posting this in lynx and hope
that someone who has used a usb mouse in a 'real' distro can help me
out. If you can't, can someone at least tell me how to change
the colors of the fonts. I can't even see what I am typing (the typing font is black.). I can
only see it after I type a line, so sorry for all the typos.
Please help me, I miss X. Thanks.
 
Old 07-09-2002, 10:10 AM   #2
Config
Member
 
Registered: Jan 2001
Location: Switzerland
Distribution: Gentoo
Posts: 376

Rep: Reputation: 30
Well, i went through the same thing... editing the xf86config file manually should help.
I had to rearrange many parts of the file since it was very messy and labels weren't correct anymore...
Doing it by hand will more likely succeed. And btw... don't forget to install the correct drivers.
Good luck
 
Old 07-09-2002, 10:16 AM   #3
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Original Poster
Rep: Reputation: 64
I will give it a shot, but what shall I edit? The mouse section
actually looks correct. Ok, I just thought "I will simply post
the file" but how the heck would I do that? Wow, I am going
to learn alot, I am actually happy that I decided to swap distros.
Thanks for any suggestions on what to add.
 
Old 07-09-2002, 10:34 AM   #4
Config
Member
 
Registered: Jan 2001
Location: Switzerland
Distribution: Gentoo
Posts: 376

Rep: Reputation: 30
Quote:
Originally posted by MasterC
I will give it a shot, but what shall I edit? The mouse section
actually looks correct. Ok, I just thought "I will simply post
the file" but how the heck would I do that? Wow, I am going
to learn alot, I am actually happy that I decided to swap distros.
Thanks for any suggestions on what to add.
Hmmm... check all the labels, that they are correct, then check the screen and monitor section and finally set up the device section as well.
I also felt the same way when I unsucesfully typed startx and knew that I have to edit - but I did learn soooo much within just one week!! I wish you a lot of fun
 
Old 07-09-2002, 10:54 AM   #5
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Original Poster
Rep: Reputation: 64
Ok, cool dude! Well sort of... I got it at least pop up, give me the KDE3 startup screen, and move my mouse around.
But... My mouse doesn't go anywhere I point it (seems rather random to me) and the display is way off,
it looks like it's pushing 1280x1024 and I was hoping for a 1024x768...
So I think I will edit somemore, but what should I do about the mouse?
Thanks alot
 
Old 07-09-2002, 11:12 AM   #6
Config
Member
 
Registered: Jan 2001
Location: Switzerland
Distribution: Gentoo
Posts: 376

Rep: Reputation: 30
Have you selected the right protocolo? If you use ps2, try imps2. That worked for me (had the same problem)....
The resolution is set in the screen section.
Good luck
 
Old 07-09-2002, 01:45 PM   #7
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 55
You said it is a USB mouse, make sure kernel has USB modules available. Try this in your Section "InputDevice"
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
EndSection
 
Old 07-09-2002, 01:47 PM   #8
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 55
Ah, I see no worries about USB support in kernel, if you can move it around it means the USB is enabled.
 
Old 07-14-2002, 01:07 AM   #9
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Original Poster
Rep: Reputation: 64
Ok, so here is where I am at now...

I have been able to get X to start, but no mouse response still. I can only get X to start when I have mouse defined as /dev/psaux but then the mouse will not work. I have tried /dev/input/*everything* and /dev/usb/*everything* but with no luck. X starts, goes all the way into KDE3 and I can use keyboard commands, but the mouse just sits there like a dead fat man. During bootup, I see it recognize my mouse and it calls it input0. It even displays the correct manufacturer (Logitech) and the correct model (iFeel). I can post my dmesg if you think it will help. Oh, and one more thing...

I modprobe usbcore, no problem. I modprobe usb-uhci it gives some sort of error message, then says something about fault. I know this is worthless without actual error messages, I will post them when I get home. Anyway, then when I do lsmod, I get:

usbcore [usb-uhci]
usb-uhci initializing

And that's it. It will 'initialize' forever. I can still startx, as long as my mouse still says /dev/psaux.

Any more suggestions? (besides the obvious, don't use USB, or get a USB to PS2 converter).

Thanks!
 
Old 07-14-2002, 01:27 AM   #10
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 55
Do you have usbview? http://freshmeat.net/projects/usbvie...c_id=146%2C862
It might help to configure it, but you said it initializes forever, are you sure you have intel or via chipset b/c uhci is for them and ohci is for SiS, Ali and company.
 
Old 07-14-2002, 02:35 AM   #11
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Original Poster
Rep: Reputation: 64
Well I have amd chipset. It's the AMD 761 (I think). Not too sure on the usbview, I will shoot over there when I get home and get it if I don't have it. I remembered the bottom of the error when I modprobe usb-uhci:
segmentation fault
I know that doesn't help, but I figured I would toss that in there.

Thanks, that usbview might be what I need.
 
Old 07-14-2002, 02:37 AM   #12
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Original Poster
Rep: Reputation: 64
The other chipsets that come on my motherboard (ASUS) seem to usually be VIA, so I assumed it was pretty close.
 
Old 07-14-2002, 03:59 PM   #13
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 55
Quoted from howto you threw in here to help a guy with his USB HP 82xx CD-R/RW
Quote:
You can also look at /proc/pci for a hint - if the USB entry is of the form 0xHHHH, where HHHH are hex digits (e.g. something like I/O at 0xe400), then it is UHCI. If it is of the form 32 bit memory at 0xHH000000, where HH are hex digits (e.g. something like 32 bit memory at 0xee000000), then it is OHCI. Failing that, just try both.
Just double check, because I have no idea what driver is for AMD chipset I have via chipset mobo, so uhci is my USB driver
 
Old 07-15-2002, 06:06 AM   #14
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Original Poster
Rep: Reputation: 64
Cool, I will have to check that out (where did I find that info at? Are you sure it was me? I am not that smart, I must have been quoting )
Thanks again guys for all your help on this one. Here is my pointer section in XF86Config file:
Code:
Section "InputDevice"
Identifier  "Mouse1"
Driver      "mouse"
Option      "Protocol" "auto"
Option      "Device" "/dev/psaux"
EndSection
If that is any help.
 
Old 07-15-2002, 10:22 AM   #15
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Original Poster
Rep: Reputation: 64
Well, I decided to reinstall because of a reason I will state in a new thread...

But when I did, I noticed that you can load a different kernel from the Slackware CDROM, so I figured I would try one of the usb ones. The usbaha kernel was the one I chose, and well I am posting this inside of Galeon, with a working mouse! Strange...

I didn't even have to do any XFree86Config file editing, or even run xf86config this time.

I am going to see if I can snoop around and see what happen... I am guessing I actually didn't have USB support enabled, even though the mouse would move irradically once X was open with a specific protocol. I am really confused though, my XF86Config file looks VERY generic, and there is no XF86Config-4, so what file is it using?
Wierd, well thank you all for your help on this one.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
xwindows can't detect the mouse fatblueduck Linux - Software 1 04-20-2005 11:40 PM
Starting Mouse without Xwindows longnam Debian 2 03-22-2005 12:34 PM
running Mouse without Xwindows longnam Slackware 3 03-22-2005 11:31 AM
USB Mouse - XWindows Freija Debian 15 12-06-2003 08:31 AM
mouse xwindows naminator Linux - Newbie 1 08-18-2003 01:48 PM


All times are GMT -5. The time now is 02:09 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
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration