Xorg Mouse Configuration

Yesterday I purchased a mouse to use with my notebook; I lead such an eventful life. Ordinarily this wouldn't be worthy of mention, most mice are plug in and use. My mouse however needs to work with Linux and here in lies the problem. Getting a mouse to talk to Linux is getting easier the left, right and middle buttons usually work as well as the up down scroll. It's the additional buttons that cause the problems.

The mouse I have is a Microsoft Wireless Notebook Optical Mouse 4000. I know I dislike Microsoft but they do put branding on some reasonable peripherals (and it was cheap). I have chosen to use the evdev driver for the mouse, support for this is required in the kernel. The information on how to set this up can be found on this wiki:http://gentoo-wiki.com/HOWTO_Advanced_Mouse.

Add the following information to your xorg.conf and remember to add "Mouse1" to the server section. Currently the thumb button does not work correctly. I believe this is to do with the evdev driver, button support may be developed in the future. Forward and back functionality in Firefox is achieved by the horizontal movement of the scroll wheel.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
Section "InputDevice"
# Microsoft Notebook 4000 Mouse
# Thumb button responds as button 9
    Identifier  "Mouse1"
    Driver      "evdev"
    Option      "evBits"    "+1-2"
    Option      "keyBits"   "~272-287"
    Option      "relBits"   "~0-2 ~6 ~8"
    Option      "Pass"      "3"
    Option      "Buttons"   "9"
    Option      "ZAxisMapping"  "4 5"
        # Axis swapped to make back be left and forward be right
    Option      "DialRelativeAxisButtons" "7 6"
EndSection

Gentoo Linux – Toshiba Satellite X200/X205 (part 4)

Time for an update on my progress of installing Gentoo Linux on my Toshiba X200-20S. I have been managing to get audio playing out of the integrated speakers, so I assumed it was all working and setup correctly, wrong. When I tried to plug in my headphones the audio continues to be played out of the speakers. The problem appears to be an unsupported codec chip (ALC286). Now the good news is that support for this chip has been integrated into the 2.6.23 series of kernels. The downside is that they have not yet been marked for testing as gentoo-sources. I could try a vanilla kernel but I'd rather have the gentoo tweaks. Once it's available for testing I shall give it a shot and see if it solves my problems.

Knowing the chip isn't correctly supported could also explain an issue I was having enabling sounds in Gnome and it locking up. This is another thing to test with the new kernel.

I have also been putting some work into the Xorg.conf. Furthur refinements are needed but this version (see below) supports the touchpad a little better, using it as the core pointer, and allows the use of an external USB mouse.
Continue reading "Gentoo Linux – Toshiba Satellite X200/X205 (part 4)"