LinuxQuestions.org
Visit Jeremy's Blog.
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 05-29-2005, 10:43 AM   #1
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 59
afew more problems [slack 10.1]


-well i finally got my usb mouse working afew nights ago.. i had to change my protocol and device for mouse in my xorg.conf file, and it worked. the next time i booted into linux it went back to how it was before and does not work now.. how is that possibly

-last night i tried running 'xorgsetup' but it said only root can. so i su'd and tried it again, and it still said only root can... i typed 'who am i' to double check, and i was root.

-i was trying to configure my monitor with xorgconfig and during the monitor section of the setup it said to refer to a file (/usr/X11R6/lib/X11/doc/Monitors i believe) to see if my monitor is listed there which would show me what specs to select. i couldnt get my monitor to work (with gui) after the setup so i looked for the file and it doesnt exist..

whats the deal with all these inconsistancies? mouse randomly stop working, program not working how it should, files not existing when then should.
 
Old 05-29-2005, 12:13 PM   #2
piratePenguin
Member
 
Registered: May 2005
Location: Ireland
Distribution: Slackware
Posts: 42

Rep: Reputation: 15
I used to have problems with my USB mouse in Slackware. It's a wireless Microsoft keyboard and mouse. The receiver plugs into USB for the mouse and PS/2 for the keyboard. When I booted into Slackware it would work as expected every second time only. But when it didn't work (it would only move vertically) pulling the receivers USB plug out made it work for the rest of that session.
Using a USB to PS/2 adaptor for the mouse (so both it and the keyboard were plugged into PS/2) fixed the problem completely.

So if you have a USB to PS/2 adaptor (they usually come with USB mice) try it, then run:
# cp /etc/X11/xorg.conf-vesa /etc/X11/xorg.conf

to revert to the default xorg.conf, then edit it (especially the graphic driver, and if the mouse still doesn't work as PS/2, try changing it to IMPS/2 (which I have mine set to) or Auto).
 
Old 05-29-2005, 05:57 PM   #3
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Original Poster
Rep: Reputation: 59
i have logitech mx cordless duo (wireless kb and mouse). the wireless reciever plugs into a usb port which controls the keyboard, the mouse can plug into usb or ps/2, it has both cables in one, i always use the ps2 connection

ill try again booting it up to see if itll work, dont know why though/...
 
Old 05-30-2005, 11:16 AM   #4
piratePenguin
Member
 
Registered: May 2005
Location: Ireland
Distribution: Slackware
Posts: 42

Rep: Reputation: 15
Try plugging both into PS/2, that's the way I have mine.
 
Old 05-30-2005, 02:18 PM   #5
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Original Poster
Rep: Reputation: 59
my keyboard words fine though, and only connects to the motherboard via usb. the mouse sometimes works, sometimes doesnt.. and now it never does. i boot computer and type startx, the screen flashes black like its going to load the WM, but haults and i have to reboot.
nothings working for me
 
Old 05-30-2005, 02:34 PM   #6
dcdbutler
Member
 
Registered: Jan 2005
Location: Boston
Distribution: slackware
Posts: 502

Rep: Reputation: 30
Is there any useful error logging information in /var/log/ for xorg? That's where I would check first if X isn't loading.
 
Old 05-30-2005, 02:41 PM   #7
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Original Poster
Rep: Reputation: 59
alright thanks ill check it.
im gonna reboot now into knoppix, see my xorg file for that, cause i know knoppix works perfectly, maybe try and write out some key points about my monitor and mouse, and then reboot into slack and try those settings, and check out the log. thanks
 
Old 05-30-2005, 05:53 PM   #8
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Original Poster
Rep: Reputation: 59
ok i think its fixed now, and should work even after rebooting without randomly breaking too!

i did check my log for X11, but i think after i found the problem, or thought i did.. the log basically just said that the mouse device (/dev/mouse) didnt exist. i knew it didnt exist, and had setup my xorg.conf to use device /dev/input/mice, why? i dont know, but thats what i found to work. so i had my xorg file setup right, yet it was still trying to use /dev/mouse somewhere!? then i remembered that gpm was set to automatically start. and i noticed during boot when it listed all services starting, that gpm had a message and it involved "/dev/mouse".. so therefor that was probably screwing everything up. i edited the /etc/rc.d/rc.gpm file and changed the device it used to /dev/input/mice and it seems to work now.
i also edited my xorg.conf file and added:
Option "Buttons "8"
Option "ZAxisMapping" "4 5"

and now my scroll wheel and up/down buttons work!

i now need a way to have my NIC driver to load on boot. as of now, i have to type:
# make load 3c2000.o
in the directory that i have the file (/home/jordan/Linux/3c200/3c200.o)
is there a way i can have this file automatically loaded so my NIC is recognized and properly configured and working on boot?

thanks

edit: btw, i have a Logitech MX700 wireless usb/ps2 mouse, if someone has this problem, this might help.

Last edited by nadroj; 05-30-2005 at 05:55 PM.
 
Old 05-30-2005, 07:33 PM   #9
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Solus
Posts: 2,254

Rep: Reputation: 47
As far as the xorgsetup, you have to actually log in as root, not su to root.
 
Old 05-30-2005, 08:57 PM   #10
piratePenguin
Member
 
Registered: May 2005
Location: Ireland
Distribution: Slackware
Posts: 42

Rep: Reputation: 15
Quote:
Originally posted by nadroj
i now need a way to have my NIC driver to load on boot. as of now, i have to type:
# make load 3c2000.o
in the directory that i have the file (/home/jordan/Linux/3c200/3c200.o)
is there a way i can have this file automatically loaded so my NIC is recognized and properly configured and working on boot?
Try adding the following to /etc/rc.d/rc.local:
make load /home/jordan/Linux/3c200/3c200.o

(make sure that file is executable and has the '#!/bin/sh' line at the beginning)
 
Old 05-30-2005, 09:02 PM   #11
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Original Poster
Rep: Reputation: 59
alright pirate, ill give it a shot..
what is that file, just a script that is run after all over startup scripts start? also, rather than having to keep the driver in my home folder.. where else would be the appropriate place?

thanks!
 
Old 05-30-2005, 09:10 PM   #12
piratePenguin
Member
 
Registered: May 2005
Location: Ireland
Distribution: Slackware
Posts: 42

Rep: Reputation: 15
Quote:
Originally posted by nadroj
alright pirate, ill give it a shot..
what is that file, just a script that is run after all over startup scripts start? also, rather than having to keep the driver in my home folder.. where else would be the appropriate place?

thanks!
/etc/rc.d/rc.local is just another startup script for throwing any commands you wanna run when the computer boots up, that don't deserve their own file (I don't think it has any other use atall).
I'd probably put that module in /lib/modules/`uname -r`/misc (create it if it doesn't exist).

Last edited by piratePenguin; 05-30-2005 at 09:11 PM.
 
Old 05-30-2005, 09:26 PM   #13
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Original Poster
Rep: Reputation: 59
alright.. good stuff man
always nice to be able to boot and have NIC working without config on each boot
thanks again
 
Old 06-01-2005, 11:00 PM   #14
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Original Poster
Rep: Reputation: 59
annnddd... again my mouse has stopped working.

wow.

only goes vertical, again, upon boot.
 
Old 06-02-2005, 12:47 AM   #15
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Original Poster
Rep: Reputation: 59
ok.. for the 18th time..i think it might actually work for real now.. if tried rebooting many times, into m$, and into slack to make sure the config stays the same.. and it looks like its workin pretty good.
heres the mouse section for my xorg config:
Code:
Section "InputDevice"

# Identifier and driver

    Identifier "Mouse1"
    Driver "mouse"
    Option "Protocol"    "ExplorerPS/2"
    Option "Device"      "/dev/input/mice"
    Option "Buttons" "8"
    Option "ZAxisMapping" "4 5"
again, it is a logitech wireless mouse ps2/usb connection (MX700). hope it might help someone who encounters this.
 
  


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
Afew more questions.. agryan Linux - Newbie 6 06-09-2005 09:02 PM
afew samba questions exkor5000 Linux - Networking 0 09-09-2004 11:10 AM
Problems with Slack 10 brokenflea Slackware 3 09-07-2004 11:55 PM
A few problems with Slack 10.0 Smile005 Slackware 10 06-30-2004 07:55 PM
Slack 9.1 problems Mr.Kex Slackware 19 03-08-2004 05:59 PM


All times are GMT -5. The time now is 06:49 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration