LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-19-2005, 03:09 AM   #1
rangalo
Member
 
Registered: Jan 2005
Posts: 189

Rep: Reputation: 30
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
 
Old 10-19-2005, 04:08 AM   #2
salviadud
Member
 
Registered: Feb 2005
Location: Mexico
Distribution: Gentoo - kernel 4.1.5
Posts: 186

Rep: Reputation: 30
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....
 
Old 10-19-2005, 04:58 AM   #3
maginotjr
Member
 
Registered: Aug 2004
Location: BR - Floripa
Distribution: Ubuntu 9.10 - 2.6.x.x
Posts: 661

Rep: Reputation: 35
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
 
Old 10-19-2005, 06:01 AM   #4
rangalo
Member
 
Registered: Jan 2005
Posts: 189

Original Poster
Rep: Reputation: 30
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.
 
Old 10-19-2005, 06:07 AM   #5
rangalo
Member
 
Registered: Jan 2005
Posts: 189

Original Poster
Rep: Reputation: 30
and about the Kernel...

since, I have a SATA harddrive, I am using sata.i kernel image which is from the slackware cd 1
 
Old 10-19-2005, 06:32 AM   #6
rangalo
Member
 
Registered: Jan 2005
Posts: 189

Original Poster
Rep: Reputation: 30
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
 
Old 10-19-2005, 07:55 AM   #7
maginotjr
Member
 
Registered: Aug 2004
Location: BR - Floripa
Distribution: Ubuntu 9.10 - 2.6.x.x
Posts: 661

Rep: Reputation: 35
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)...
 
Old 10-19-2005, 11:58 AM   #8
salviadud
Member
 
Registered: Feb 2005
Location: Mexico
Distribution: Gentoo - kernel 4.1.5
Posts: 186

Rep: Reputation: 30
id recompile the kernel...

thats what linux is about anyway
 
Old 10-20-2005, 03:43 AM   #9
rangalo
Member
 
Registered: Jan 2005
Posts: 189

Original Poster
Rep: Reputation: 30
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
 
  


Reply



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
Mouse Scroll Button doesn't work with Logitech PS/2 MOuse. duffmckagan Slackware 10 12-02-2008 11:27 PM
Screen Resolution, Mouse and Upgrades PXC Slackware 5 10-09-2005 02:48 AM
USB scroll mouse doesn't scroll Rhatlinux Linux - Software 10 09-29-2004 07:42 PM
Scroll feature in Logitech Scroll mouse does not work ssmaitra Linux - Hardware 6 11-11-2003 07:43 AM
Partition Permissions, Sound mess-ups, Mouse Config, Screen Resolution thebeast Slackware 1 11-03-2003 03:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:28 PM.

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
Open Source Consulting | Domain Registration