Talk:Installing Ubuntu 6.10 on a ThinkPad X41 Tablet

From ThinkWiki
Revision as of 20:53, 13 November 2007 by Pipa (Talk | contribs) (Rotate Button)
Jump to: navigation, search

Annoying head parking

Does anybody else get an annoying, repetitive disk-head parking noise? I've already had to scrap one bad hard drive, I'm hoping this one isn't defective as well.

- Chris

Wacom Suspend Fix

Awesome call by Trithemius with the acpi/resume.d wacom fix... I just fixed the command's little typo and added the chmod.

- Chris

Suspend Fix Change in xorg

The info for getting the pen to work was great. I have a 1869CSU model too but for some reason when I used "/dev/wacom" the stylus would never work after suspending it (even with the fix). I found the solution was to change all the "/dev/wacom"'s in my xorg to "/dev/ttyS0".

NetBoot Installation Move

I moved the NetBoot portion of the documentation, as it's part of isntallation instructions. The pre-installation notes were intended for README-like things, not so much actual procedure.

Screen Rotation

I followed your guide to create the screen rotation scripts/events, and after acpi force-reload and restart it works just fine. But when I reboot the machine, I have to reload and restart acpi again, otherwise it won't work.


--aerials 21:51, 27 September 2006 (CEST)

Re: Screen Rotation

Yeah, I've been having this problem as well, and I'm working on a (quick and easy) solution. The problem is a result of acpid starting in rc before there's a display configured... If you look in /var/log/acpid you'll see a whole bunch of "cannot find display". That's why after you get a display running and restart acpid, everything works.

- Chris

rotate script

for me in order to get it working i have to modify
x41tsdown.sh

#!/bin/sh
XUSER=`who | grep ' :0' | cut -d ' ' -f 1`
 if test -n "$XUSER"; then
    su - $XUSER -c "DISPLAY=:0 xrandr -o right"
    su - $XUSER -c "DISPLAY=:0 xsetwacom set "stylus" Rotate CW"
    su - $XUSER -c "DISPLAY=:0 xsetwacom set "cursor" Rotate CW"
    su - $XUSER -c "DISPLAY=:0 xsetwacom set "eraser" Rotate CW"
    su - $XUSER -c "DISPLAY=:0 xvkbd&"
    sleep 2
 fi

x41tsup.sh

#!/bin/sh
su - $XUSER -c "DISPLAY=:0 xrandr -omright"
XUSER=`who | grep ' :0' | cut -d ' ' -f 1`
 if test -n "$XUSER"; then
    su - $XUSER -c "DISPLAY=:0 xrandr -o normal"
    su - $XUSER -c "DISPLAY=:0 xsetwacom set "stylus" Rotate NONE"
    su - $XUSER -c "DISPLAY=:0 xsetwacom set "cursor" Rotate NONE"
    su - $XUSER -c "DISPLAY=:0 xsetwacom set "eraser" Rotate NONE"
    sleep 2
 fi
killall xvkbd

Waldwolf 00:41, 4 October 2006 (CEST)

Rotate Button

Following the suggestion in the openSUSE 10.2 X41 Guide, and combining that script with xbindkeys (using xbindkeys-config), I was able to get on-demand screen and stylus rotation for the tablet access button. The aforementioned script needs to be changed so that all references to "Mouse[5]" refer to "stylus". However, when the screen is inverted (xrandr -o 1, I believe), the stylus axis seems to be totally reversed/reflected (I'm not very spatially inclined) while the other three orientations worked fine: I suspect this can be fixed by modifying the rotation value from CCW to...what? Are these rotations relative to each other? And what other values could I put there other than CW, NONE, CCW, and HALF?

--The ev 05:05, 13 February 2007 (CET)

I have been trying to have the "rotate" button work under Ubunty Gutsy when I came across this thread. The problem I am having with the abovementioned scipt is that (at least under Gutsy) xrandr gives the same output no matter what the screen rotation is at a particular moment. And without a proper answer to a query, it is not possible to manage screen rotation. Does anybody know how to solve this? Has xrandr been superseded by some other command, maybe?