Der Motion LE1600 Tablet PC unter Linux

Vorbereitungen

  • Installation eines aktuellen Ubuntu (7.04) Linux
  • apt-get update
  • apt-get upgrade
  • apt-cache search linux-image
  • apt-get install linux-image-2.6.20-16-generic
  • apt-get install ssh

Hardware

lspci

Hardware: lspci

00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 04)
00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 04)
00:02.1 Display controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 04)
00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 04)
00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 04)
00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 04)
00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 04)
00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 04)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d4)
00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 04)
00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 04)
00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller (rev 04)
00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 04)
06:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)
06:04.0 CardBus bridge: ENE Technology Inc CB-712/4 Cardbus Controller (rev 10)
06:04.2 Generic system peripheral [0805]: ENE Technology Inc ENE PCI Secure Digital Card Reader Controller (rev 01)

X11

Digitizer

  • apt-get install setserial wacom-tools
  • (manuell) setserial /dev/ttyS3 port 0×0238 irq 5 autoconfig
  • (speichern) dpkg-reconfigure setserial

/etc/serial.conf

/dev/ttyS3 port 0x238 irq 4 autoconfig 

/etc/modprobe.d/wacom

install wacom /sbin/modprobe --ignore-install wacom && { /sbin/modprobe evdev; /bin/true; }
remove wacom { /sbin/modprobe -r evdev; }; /sbin/modprobe -r --ignore-remove wacom
  • testen: dmesg | grep wacom

dmesg

usbcore: registered new interface driver wacom
drivers/usb/input/wacom_sys.c: v1.46:USB Wacom Graphire and Wacom Intuos tablet driver

cat /proc/bus/input/devices

I: Bus=0017 Vendor=0001 Product=0001 Version=0100
N: Name="Macintosh mouse button emulation"
P: Phys=
S: Sysfs=/class/input/input0
H: Handlers=mouse0 event0 ts0 
B: EV=7
B: KEY=70000 0 0 0 0 0 0 0 0
B: REL=3

I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
S: Sysfs=/class/input/input1
H: Handlers=kbd event1 
B: EV=120013
B: KEY=4 2000000 3802078 f840d001 feffffdf ffefffff ffffffff fffffffe
B: MSC=10
B: LED=7

I: Bus=0003 Vendor=047b Product=0002 Version=0100
N: Name="SILITEK USB Keyboard and Mouse"
P: Phys=usb-0000:00:1d.0-1/input0
S: Sysfs=/class/input/input2
H: Handlers=kbd event2 
B: EV=120003
B: KEY=10000 7 ff87207a c14057ff febeffdf ffefffff ffffffff fffffffe
B: LED=7

I: Bus=0003 Vendor=047b Product=0002 Version=0100
N: Name="SILITEK USB Keyboard and Mouse"
P: Phys=usb-0000:00:1d.0-1/input1
S: Sysfs=/class/input/input3
H: Handlers=kbd mouse1 event3 ts1 
B: EV=7
B: KEY=7001f 0 0 0 c000 100000 0 0 0
B: REL=103

I: Bus=0003 Vendor=0461 Product=4d15 Version=0111
N: Name="USB Optical Mouse"
P: Phys=usb-0000:00:1d.0-2/input0
S: Sysfs=/class/input/input4
H: Handlers=mouse2 event4 ts2 
B: EV=7
B: KEY=70000 0 0 0 0 0 0 0 0
B: REL=103

I: Bus=0019 Vendor=0000 Product=0002 Version=0000
N: Name="Power Button (FF)"
P: Phys=ACPI_FPB/button/input0
S: Sysfs=/class/input/input5
H: Handlers=kbd event5 
B: EV=3
B: KEY=100000 0 0 0

I: Bus=0019 Vendor=0000 Product=0001 Version=0000
N: Name="Power Button (CM)"
P: Phys=PNP0C0C/button/input0
S: Sysfs=/class/input/input6
H: Handlers=kbd event6 
B: EV=3
B: KEY=100000 0 0 0
  • testen mit wacdump -f tpc /dev/ttyS3

wacdump v0.7.4

MODEL=Tablet PC Screen                  ROM=0.0-0
CLS=Serial  VNDR=Wacom  DEV=TabletPC  SUB=tpc

TOOLTYPE=NONE                             SERIAL=0x00000000
 IN_PROX=out                              BUTTON=+00000 (+00000 .. +00000)
   POS_X=+00000 (+00000 .. +21136)         POS_Y=+00000 (+00000 .. +15900)
PRESSURE=+00000 (+00000 .. +00255)

    LEFT=             MIDDLE=              RIGHT=              EXTRA=
    SIDE=              TOUCH=             STYLUS=            STYLUS2=
     BT0=                BT1=                BT2=                BT3=
     BT4=                BT5=                BT6=                BT7=
     BT8=                BT9=               BT10=               BT11=
    BT12=               BT13=               BT14=               BT15=
    BT16=               BT17=               BT18=               BT19=
    BT20=               BT21=               BT22=               BT23=    

ReadRaw:         -1 (4)

Wenn das funktioniert, dann ist X11 einzurichten.

xorg.conf - Auszug

Section "InputDevice"
         Identifier  "stylus"
         Driver      "wacom"
         Option      "type" "stylus"
         Option      "Device" "/dev/ttyS3"
         Option      "ForceDevice" "ISDV4"
 # in standard configuration, holding the extra button on the side of the pen and clicking
 # will produce a mouse click of the "middle" mouse button.
 # make it a click of the right mouse button:
         Option      "Button2" "3"
 # when rotating the screen, uncomment according
 #       Option      "Rotate" "CW"
 #       Option      "Rotate" "CCW"
EndSection

Section "InputDevice"
         Identifier  "eraser"
         Driver      "wacom"
         Option      "type" "eraser"
         Option      "Device" "/dev/ttyS3"
         Option      "ForceDevice" "ISDV4"
 # in standard configuration, eraser will cause a normal mouse click.
 # make it a click of the middle mouse button:
         Option      "Button1" "2"
 # when rotating the screen, uncomment according
 #       Option      "Rotate" "CW"
 #       Option      "Rotate" "CCW"
EndSection

xorg.conf - tablet pad xorg.conf - komplett xorg.0.log - Startup X

Siehe auch: Wacom @ ubuntuwiki, USB Module laden

Virtual Keyboards

xvkbd mit deutscher Tastatur und Anzeige links unten einrichten, funktioniert wie folgt.

  1. cd /etc/X11/app-defaults (Welchseln in das X11 Verzeichnis für die Default-Apps)
  2. mv XVkbd XVkbd.old (Die standardmäßig verwendete Konfigurationsdatei wegsichern)
  3. ln -s XVkbd-german XVkbd (SymLink anlegen für mehr Flexibilität).

Jetzt kann die Applikation mit deutschem Tastatur Layout gestartet werden.

  • xvkbd -geometry 600×200+0-40 (Normaler Start als Applikation).
  • xvkbd -geometry 600×200+0-40 -xdm -minimizable (Für den Login Screen - secure,nonexitable == xdm, minimizable, so dass der komplette Bildschirm sichtbar werden kann).

/etc/kde3/kdm/Xsetup

#! /bin/sh
# Xsetup - run as root before the login dialog appears

XVKBD=/usr/bin/xvkbd

# Start xvkbd for kde login screen
if [ -x ${XVKBD} ] ; then
        # bug 149957
        ( declare -i t=100
        while test $((t--)) -gt 0 ; do
                case "$(/usr/bin/xwininfo -root -children)" in
                *greet*|xlogin) break ;;
                esac
                sleep 0.1
        done
        echo "$0 - $t - now starting $XVKBD" | logger
        HOME=/root exec $XVKBD -compact -geometry -0-0 -xdm
        ) &
fi

/etc/kde3/kdm/Xstartup

#! /bin/sh
# Xstartup - run as root before session starts

PATH="$PATH:/usr/bin/X11"

# kill xvkbd if running 
XVKBDPID=$(ps -ef | grep "xvkbd" | grep -v grep | awk '{print $2}')
TESTPID=$(ps -p $XVKBDPID | tail -n1 | awk '{print $1}')
if [ "$TESTPID" -eq "$XVKBDPID" ] ; then
        HOME=/root exec /bin/kill $XVKBDPID
fi

if [ -e /etc/nologin ]; then
  # always display the nologin message, if possible
  if [ -s /etc/nologin ] && which xmessage > /dev/null 2>&1; then
    xmessage -file /etc/nologin -geometry 640x480
  fi
  if [ "$(id -u)" != "0" ] && \
     ! grep -qs '^ignore-nologin' /etc/kde3/kdm/kdm.options; then
    exit 1
  fi
fi

if grep -qs '^use-sessreg' /etc/kde3/kdm/kdm.options && \
   which sessreg > /dev/null 2>&1; then
      exec sessreg -a -l "$DISPLAY" -u /var/run/utmp \
                   -h "`echo $DISPLAY | cut -d: -f1`" "$USER"
      # NOTREACHED
fi

Tools

Alternativen einrichten

Session Manager

LC_ALL=C update-alternatives --config x-session-manager


There are 2 alternatives which provide `x-session-manager'.

  Selection    Alternative
-----------------------------------------------
          1    /usr/bin/startkde
*+        2    /usr/bin/choosewm

Press enter to keep the default[*], or type selection number: 2
Using `/usr/bin/choosewm' to provide `x-session-manager'.

Window Manager

  • apt-get install fluxbox xdm

LC_ALL=C update-alternatives --config x-window-manager


There are 2 alternatives which provide `x-window-manager'.

  Selection    Alternative
-----------------------------------------------
*+        1    /usr/bin/kwin
          2    /usr/bin/fluxbox

Press enter to keep the default[*], or type selection number: 2
Using `/usr/bin/fluxbox' to provide `x-window-manager'.

Webbrowser

  • apt-get install firefox

LC_ALL=C update-alternatives --config x-www-browser


There are 2 alternatives which provide `x-www-browser'.

  Selection    Alternative
-----------------------------------------------
*+        1    /usr/bin/konqueror
          2    /usr/bin/firefox

Press enter to keep the default[*], or type selection number: 2
Using `/usr/bin/firefox' to provide `x-www-browser'.

Links

 
wissen/debian/debian-ubuntu-linux-und-motion-le1600-slate-tablet-pc.txt · Zuletzt geändert: 05.09.2010 20:31
 
Recent changes RSS feed Donate Valid XHTML 1.0 Valid CSS Recent cached RSS feed cacert-signed web site: inhalt.serviert.de