Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
intellimouse usb scroll
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
ripperken
n00b
n00b


Joined: 05 Jun 2004
Posts: 6

PostPosted: Sat Jun 05, 2004 1:13 pm    Post subject: intellimouse usb scroll Reply with quote

Well, basically my scroll doesnt work.
I'm using an intellimouse optical usb
and did everything the most tutorials say about configuring the scroll en 4th and 5th mouse buttons. (the sidebuttons work now)
But When i use xev my scrol doesnt give any signal. (it does give a signal when i push it)
So i figure it's a driver problem ...
i use the ExplorerPS/2 protocol (should this be something else for usb?)
Code:

    Identifier  "Mouse1"
    Driver      "mouse"
    Option "Protocol"    "ExplorerPS/2"
    Option "Device" "/dev/mouse"
    Option "Buttons" "7"
    Option "ZAxisMappig" "6 7"


and use the xmodmap to switch the scroll and side buttons (also used the imwheel tool)
Code:

xmodmap -e "pointer 1 2 3 6 7 4 5"


I have the usbcore,usb_storage, hid , usbmouse, ohci_hcd, ehci_hcd and uchi_hcd modules loaded
Code:

Module                  Size  Used by
snd_pcm_oss            53124  1
snd_mixer_oss          19264  1 snd_pcm_oss
floppy                 59124  0
nvidia               1697612  10
vmnet                  27544  12
vmmon                  69492  0
ohci_hcd               17920  0
ehci_hcd               23936  0
usbmouse                5568  0
parport_pc             41292  0
parport                43072  1 parport_pc
uhci_hcd               30920  0
ymfpci                 51212  0
ac97_codec             19008  1 ymfpci
uart401                11524  1 ymfpci
sound                  81068  1 uart401
tuner                  16576  0
tvaudio                20352  0
bttv                  139040  0
video_buf              20032  1 bttv
i2c_algo_bit            9992  1 bttv
v4l2_common             5632  1 bttv
btcx_risc               4224  1 bttv
i2c_core               25028  4 tuner,tvaudio,bttv,i2c_algo_bit
videodev                9600  1 bttv
snd_ymfpci             57984  2
snd_ac97_codec         62532  1 snd_ymfpci
snd_pcm                98304  2 snd_pcm_oss,snd_ymfpci
snd_opl3_lib           10752  1 snd_ymfpci
snd_timer              24960  3 snd_ymfpci,snd_pcm,snd_opl3_lib
snd_hwdep               9472  1 snd_opl3_lib
snd_page_alloc         11844  2 snd_ymfpci,snd_pcm
snd_mpu401_uart         7424  1 snd_ymfpci
snd_rawmidi            24576  1 snd_mpu401_uart
snd_seq_device          8132  2 snd_opl3_lib,snd_rawmidi
snd                    53764  13 snd_pcm_oss,snd_mixer_oss,snd_ymfpci,snd_ac97_codec,snd_pcm,snd_opl3_lib,snd_timer,snd_hwdep,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore               9024  5 ymfpci,sound,bttv,snd
nls_iso8859_1           3968  5
ntfs                   91924  5
hid                    24960  0
usb_storage            67392  0
usbcore               108308  8 ohci_hcd,ehci_hcd,usbmouse,uhci_hcd,hid,usb_storage
3c59x                  37800  0
ide_tape               55632  0
st                     39572  0


I just want to know how i can get xev to detect if i scroll my mouse. It is useless to start configuring my mouse if the xserver doesnt even detect the signal. The mapping of the buttons etc, i can do myself as it is explained in many tutorials.
Thx, hope someone can help me
Back to top
View user's profile Send private message
tomek32
Tux's lil' helper
Tux's lil' helper


Joined: 30 May 2004
Posts: 139

PostPosted: Sat Jun 05, 2004 3:23 pm    Post subject: Reply with quote

Try using
Code:
Option "Protocol"    "IMPS/2"
Back to top
View user's profile Send private message
ripperken
n00b
n00b


Joined: 05 Jun 2004
Posts: 6

PostPosted: Sat Jun 05, 2004 3:36 pm    Post subject: Reply with quote

when using IMPS/2 still no response in xev from the scroll wheel.
The tutorials say you need ExplorerPS/2 for more than 3 buttons.
:(
Back to top
View user's profile Send private message
tomek32
Tux's lil' helper
Tux's lil' helper


Joined: 30 May 2004
Posts: 139

PostPosted: Sat Jun 05, 2004 10:30 pm    Post subject: Reply with quote

What's xev by the way?
Back to top
View user's profile Send private message
teilo
Apprentice
Apprentice


Joined: 20 Jun 2003
Posts: 276
Location: Minneapolis, MN

PostPosted: Sun Jun 06, 2004 3:47 am    Post subject: Reply with quote

ripperken wrote:
when using IMPS/2 still no response in xev from the scroll wheel.
The tutorials say you need ExplorerPS/2 for more than 3 buttons.
:(


The tutorials are wrong. I use the IM/PS2 protocol with my Intellimouse, and it is the only way that I could get the scroll wheel working properly. I do not use an xmodmap, nor imwheel to do this:

Code:
Section "InputDevice"
    Identifier "USBMouse"
    Driver "mouse"
    Option "Protocol" "IMPS/2"
    Option "Device" "/dev/usbmouse"
    Option "Buttons" "5"
    Option "ZAxisMapping" "4 5"
EndSection


However, it is true that you will not be able to use the side buttons with this method. Myself, I find that, if given the choice, I'd rather have the scroll wheel than the side buttons working.

The best solution would be for Xorg to support the evdev protocol, so that a USB mouse is recognized as an HID device, along with all its buttons, no matter how many there are. One single protocol for every USB mouse, and every button shows up by default in xev. Evdev can be patched into XFree86 or Xorg.
_________________
Teilo who is called Teilo
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum