Powered by
Movable Type 5.2.9

 March 2015 Archives

2015, March 04 (Wed)

Linux Toshiba Z30 evdev notes

The Toshiba Z30 is a very nice laptop and works out of the box with Linux. Two things can be fixed however:

  • enabling the mouse wheel emulation for the pointing stick
  • making the touchpad enable/disable hotkey (Fn+F9) work

they require patches to the evdev driver due to Bug#11227 and #39174 which are unlikely to get fixed for X11. The code-remap patch is provided by Gianni Ceccarelli. The patch for mouse wheel emulation can be downloaded from this page.

Here are the relevant config file snippets:

/etc/X11/xorg.conf.d/12-2btnstick.conf:

Section "InputClass"
	Identifier      "2 button stick Wheel Emulation"
	MatchProduct    "DualPoint Stick"
        MatchIsPointer  "on"
        Driver  "evdev"
        Option  "Emulate3Buttons" "on"
        Option  "EmulateWheel"  "on"
	Option  "EmulateWheelButton"    "2"
	Option	"XAxisMapping"		"6 7"
	Option	"YAxisMapping"		"4 5"
EndSection

/etc/X11/xorg.conf.d/13-toshkeys.conf:

Section "InputClass"
	Identifier      "Toshiba input device buttom remap"
	MatchProduct    "Toshiba input device"
        MatchIsKeyboard "on"
        Driver  "evdev"
	Option  "event_key_remap" "418=156 419=157 530=199"
EndSection

This will remap the zoom-buttons to Launch1 and Launch2 as I couldn’t find any zoom buttons implemented in X11.