LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Scroll mouse and Screen resolution (https://www.linuxquestions.org/questions/slackware-14/scroll-mouse-and-screen-resolution-374565/)

rangalo 10-19-2005 03:09 AM

Scroll mouse and Screen resolution
 
Hi all,

I have a brand new HP Compaq cd 7600 sff pc. with

logitech USB Optical Scroll mouse (physically I see 3 buttons including the scroll wheel) my xorg.conf is as following (omitting the comments)

Code:


Section "InputDevice"

# Identifier and driver

    Identifier  "Mouse1"
    Driver      "mouse"
    Option "SendCoreEvents" "true"
    Option "Protocal"    "ImPS/2"
    Option "Buttons"        "5"
    Option "ZAxisMapping"  "4 5"
    Option "Device"      "/dev/input/mice"

    Option "Emulate3Buttons"    "Yes"
    Option "Emulate3Timeout"    "50"

EndSection

the mouse itself is working but the scroll wheel does not scroll ...

can anybody help with this..


second ... I have a DELL TFT monitor which on another windows machine supports upto 1152x864 resolution, but on this new machine which obviously has more powerful graphics card, shows only resolution upto 1024x768.... the monitor section in the xorg.conf is as following..

Code:


Section "Monitor"

    Identifier  "My Monitor"

# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

    HorizSync  31.5 - 50.0

#    HorizSync  30-64        # multisync
#    HorizSync  31.5, 35.2    # multiple fixed sync frequencies
#    HorizSync  15-25, 30-50  # multiple ranges of sync frequencies

# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

    VertRefresh 40-90

EndSection

can anybody help me with this too ?


thanks in advance..

Hardik

salviadud 10-19-2005 04:08 AM

try this dude

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/mouse"
Option "Buttons" "5"
Option "ZAxisMapping" "4 5"
EndSection

on the monitor section, what graphics card is it? did you compile the kernel yourself?

duuuude, the kerneeeeeeeeel....

maginotjr 10-19-2005 04:58 AM

try making a xorgconf.
its not the display section you have to look but to the Screen section and the resolution modes that are there...

to you mouse, you have to check with the command xev and check what buttons are you scroll wheel... try it and change what show in xev to your ZAxisMapping option

[ ]'s

rangalo 10-19-2005 06:01 AM

Hi,

thanks for your help, but I did not have any success... in any of these tries the output of my xev command is as following
Code:

Outer window is 0x400001, inner window is 0x400002

PropertyNotify event, serial 8, synthetic NO, window 0x400001,
    atom 0x27 (WM_NAME), time 404755, state PropertyNewValue

PropertyNotify event, serial 9, synthetic NO, window 0x400001,
    atom 0x22 (WM_COMMAND), time 404755, state PropertyNewValue

PropertyNotify event, serial 10, synthetic NO, window 0x400001,
    atom 0x28 (WM_NORMAL_HINTS), time 404755, state PropertyNewValue

CreateNotify event, serial 11, synthetic NO, window 0x400001,
    parent 0x400001, window 0x400002, (10,10), width 50, height 50
border_width 4, override NO

MapNotify event, serial 12, synthetic NO, window 0x400001,
    event 0x400001, window 0x400002, override NO

PropertyNotify event, serial 15, synthetic NO, window 0x400001,
    atom 0x16d (_KDE_NET_WM_USER_CREATION_TIME), time 404755, state PropertyNewValue

ConfigureNotify event, serial 15, synthetic NO, window 0x400001,
    event 0x400001, window 0x400001, (0,0), width 178, height 178,
    border_width 0, above 0x240258e, override NO

ReparentNotify event, serial 15, synthetic NO, window 0x400001,
    event 0x400001, window 0x400001, parent 0x1201c79,
    (0,0), override NO

PropertyNotify event, serial 15, synthetic NO, window 0x400001,
    atom 0x13d (_NET_WM_DESKTOP), time 404757, state PropertyNewValue

PropertyNotify event, serial 15, synthetic NO, window 0x400001,
    atom 0xf3 (_KDE_NET_WM_FRAME_STRUT), time 404758, state PropertyNewValue

PropertyNotify event, serial 15, synthetic NO, window 0x400001,
    atom 0x143 (_NET_WM_ALLOWED_ACTIONS), time 404758, state PropertyNewValue

PropertyNotify event, serial 15, synthetic NO, window 0x400001,
    atom 0x68 (WM_STATE), time 404758, state PropertyNewValue

ConfigureNotify event, serial 15, synthetic YES, window 0x400001,
    event 0x400001, window 0x400001, (754,29), width 178, height 178,
    border_width 0, above 0x0, override NO

MapNotify event, serial 15, synthetic NO, window 0x400001,
    event 0x400001, window 0x400001, override NO

VisibilityNotify event, serial 15, synthetic NO, window 0x400001,
    state VisibilityFullyObscured

FocusIn event, serial 15, synthetic NO, window 0x400001,
    mode NotifyNormal, detail NotifyNonlinear

KeymapNotify event, serial 15, synthetic NO, window 0x0,
    keys:  0  0  0  0  16  0  0  0  0  0  0  0  0  0  0  0
          0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0

VisibilityNotify event, serial 15, synthetic NO, window 0x400001,
    state VisibilityUnobscured

Expose event, serial 15, synthetic NO, window 0x400001,
    (0,0), width 178, height 10, count 3

Expose event, serial 15, synthetic NO, window 0x400001,
    (0,10), width 10, height 58, count 2

Expose event, serial 15, synthetic NO, window 0x400001,
    (68,10), width 110, height 58, count 1

Expose event, serial 15, synthetic NO, window 0x400001,
    (0,68), width 178, height 110, count 0

PropertyNotify event, serial 15, synthetic NO, window 0x400001,
    atom 0xea (_NET_WM_STATE), time 404762, state PropertyNewValue

KeyRelease event, serial 26, synthetic NO, window 0x400001,
    root 0x3a, subw 0x0, time 404806, (-306,470), root:(448,499),
    state 0x0, keycode 36 (keysym 0xff0d, Return), same_screen YES,
"  XLookupString gives 1 bytes: (0d) "

PropertyNotify event, serial 29, synthetic NO, window 0x400001,
    atom 0x140 (_NET_WM_ICON_GEOMETRY), time 404873, state PropertyNewValue

FocusOut event, serial 30, synthetic NO, window 0x400001,
    mode NotifyNormal, detail NotifyNonlinear


there is nothing like ZAxisMapping and no event is generated when I scroll witht the wheel.


and sorry for pasting the Monitor configurations... instead of screen... the graphic driver selected in VESA Framebuffer and the screen section goes like this:

Code:

may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
    Identifier  "Screen 1"
    Device      "VESA Framebuffer"
    Monitor    "My Monitor"

# If your card can handle it, a higher default color depth (like 24 or 32)
# is highly recommended.

#  DefaultDepth 8
#  DefaultDepth 16
  DefaultDepth 24
#  DefaultDepth 32

# "1024x768" is also a conservative usable default resolution.  If you
# have a better monitor, feel free to try resolutions such as
# "1152x864", "1280x1024", "1600x1200", and "1800x1400" (or whatever your
# card/monitor can produce)

    Subsection "Display"
        Depth      8
        Modes "1152x864" "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth      16
        Modes "1152x864" "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth      24
        Modes "1152x864" "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth      32
        Modes "1152x864" "1024x768" "800x600" "640x480"
    EndSubsection

EndSection


"1152x864" is added by me according to some search results..


Hardik.

rangalo 10-19-2005 06:07 AM

and about the Kernel...

since, I have a SATA harddrive, I am using sata.i kernel image which is from the slackware cd 1

rangalo 10-19-2005 06:32 AM

Hallo guys,

I am really sorry to bother you about the mouse prob. it was just a spelling mistake.. i wrote

protocal instead of protocol , now it is working well.

Now I want to use the full resolution

maginotjr 10-19-2005 07:55 AM

use the right driver for you video borad not a generic vesa... and you need to put the Driver "somedrive" option in the screen section (you may start trying with the Driver "vesa" to see if everything goes fine and them you can try the driver for you video card, like ati o nvida, the both have drivers to linux in their website)...

salviadud 10-19-2005 11:58 AM

id recompile the kernel...

thats what linux is about anyway

rangalo 10-20-2005 03:43 AM

hi guys,

thanks for your help..

some how it is workignnow but it is able to shwo 1280x1024 but not 1152x864 and the funny thing is I just changed the

Identifier to "i810 845G" instead of "VESA Framebuffer" and the driver is still vesa..

i dont know how this is working but anyway it is working...

thanks once again.

Hardik


All times are GMT -5. The time now is 07:40 AM.