LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   A couple of driver related questions (https://www.linuxquestions.org/questions/slackware-14/a-couple-of-driver-related-questions-141933/)

defubar 02-03-2004 04:18 PM

A couple of driver related questions
 
1. How can I confiugre my monitor to allow me to up the resolution in X, I'm using fluxbox btw? I tried CTR+ALT++(plus on numpad) and while it obviously does something, my monitor is garbled if I go + or - so I have to keep it on it's defualt, which seems to be 1024x768. Is there a file I can edit to change refresh rate/resolution or what have you?

2. I can't get my mousewheel to work, which bugs me when surfing the 'net when I try to scroll down the page. Where/how can I change my mouse driver? I don't think there would be an exact driver for my Logitech MX310 optical mouse but anything that will make the darn mousewheel work will make me happy.

Thanks in advance for any help or suggestions.

vectordrake 02-03-2004 05:20 PM

When you have a few minutes, go to www.xfree86.org and read their FAQ's. The answers to your questions are there (and a lot more). Their FAQs are pleasantly readable and helpful. In the meantime, your mouse question will be a bit hard to find on their site but its there too:

For a PS/2 mouse, open /etc/X11/XF86Config-4 and find the stanza about the configured mouse. Change the line that says

Code:

Option  "Protocol"  "PS/2"
#or whatever, to:

Code:

Option  "Protocol"  "ImPS/2"
#Watch the case on the letters.

Then add this line:

Code:

Option  "ZaxisMapping"  "4 5"
#this adds the '4th' and '5th' 'buttons' required for the scrolling to work.

Farther down in the file, you'll come across a stanza about your screen and its defaults. There'll be a line about DefaultColorDepth. Whatever line below it corresponds to that color depth will have your resolutions listed in the order that the X Server will try. Change the order they are lined up in. For example:

if its
Code:

"1024x768"  "800x600"  "640x480"
then it'll poll for 1024 first. If its supported by your vid card/monitor, it'll stop there. If not, it'll try the next lowest listed. And, honestly, if you have a garbled screen with some resolution change, then its not supported by your monitor. Take that part out of the line.

If you want to use 1280x1024, then put it first on that line and the X server will try that resolution first. Good luck. Read the docs, though, as there's good stuff in there about enabling 3d acceleration, fonts, etc.

defubar 02-03-2004 08:39 PM

Thanks for the help. Got the mousewheel working and will be checking out the link. About the monitor though, I am used to using 1600x1200 on this computer/monitor in Windows.

There must be something with the refresh rate or something. I changed the three options to 1600x1200, 1280x1024 and 1024x768 amd it's still only doing 1024x768 so I guess I'll have to stick with that until I figure out what my monitors refresh rates for those resolutions are.

Again, thank you for the help.

KoldFusion 02-03-2004 09:00 PM

Looks to me like you need to alter your Vert refresh settings.

Under the Monitor Section you will see a setting for HorizSync (Default is 31.5 - 50.0) You need to find the manual to your monitor and find out your monitor's possible refresh rates and input them there. That should fix your problem.

vectordrake 02-03-2004 11:31 PM

Quote:

Originally posted by KoldFusion
Looks to me like you need to alter your Vert refresh settings.

Oops. Forgot about that part. Read the sections on modelines too, if you can't get it to work quite right. With 4.x, you don't really need to set them manually, for the most part, but my friend found it useful for his DVD playback...


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