## page was renamed from LaptopTestingTeam/Old/ToshibaPortegeM700 ## page was copied from LaptopTestingTeam/ToshibaPortegeM700 = Toshiba Portege M700 Tablet = '''An ultimate guide to set up everything (mostly) to work in Ubuntu (Hardy, Intrepid, Jaunty, and Karmic Final)''' * Hardy Contact: vlandi at gmail dot com * Intrepid/Jaunty/Karmic Contact: rfestag at gmail dot com * Make: Toshiba * Brand: Portege * Model: M700-S7008X * Website: = Current Issues = ## List any issues you have with the current development release here * Tablet (bezel) buttons don't work OTB - solution below * Fingerprint reader doesn't work OTB - solution below = System Info = TOSHIBA PORTEGE M700 PPM70U-0T901J = Hardware details = == Screen == Screen detected with 1200x800 resolution @57Hz which is OK Note that in the base install of Jaunty, Desktop Effects are disabled, but the kernel updates fix this issue. == Network == Both WiFi and NIC work without any problems. Note however that there are known issues with the wireless card causing Jaunty to hang on reboot. This problem can be fixed by installing the backports package: {{{ sudo apt-get install linux-backports-modules-jaunty }}} == CD/DVD writer == Works OTB == Sound == As of Karmic Koala (9.10), Sound works OTB. For older versions, you can download {{{linux-backports-modules-hardy}}} or {{{linux-backports-modules-intrepid}}}, whichever applies to your version (You no longer need the backports in Jaunty). So, for Hardy, you can do the following: {{{ sudo apt-get install linux-backports-modules-hardy }}} Regardless of the version, you must also add the line {{{ options snd-hda-intel model=toshiba }}} at the end of {{{/etc/modprobe.d/alsa-base}}} and restart (This must be done for all versions, including Jaunty). Mic & headphones also works fine after that. '''Hint''' - for other linux systems - this model uses Realtek ALS268 the same as Toshiba R400, so you can google how they resolve it in your distribution for that model. == Multimedia and Fn-buttons == Most of standard buttons (volume, brightness, sleep etc. work OTB) About bezel buttons - below == ACPI, suspend, sleep == Works OTB == Build in camera == Works OTB (you can quickly check it with Ekiga softphone) == Touchscreen == The touchscreen (both active and passive digitizers) work OTB in Karmic. For older versions, see below. === To get stylus working in Hardy === Toshiba uses serial port 0x338 for a touch input, so first you have to install setserial {{{ sudo apt-get install setserial }}} and add line: {{{ /bin/setserial /dev/ttyS0 port 0x338 irq 4 autoconfig }}} at the end of {{{/etc/rc.local}}} Next install {{{xserver-xorg-input-wacom}}} and {{{wacom-tools}}} {{{ sudo apt get install xserver-xorg-input-wacom wacom-tools }}} and edit /etc/X11/xorg.conf file and add lines: {{{ Section "InputDevice" Identifier "stylus" Driver "wacom" Option "Device" "/dev/ttyS0" Option "Type" "stylus" Option "ForceDevice" "ISDV4" Option "Mode" "absolute" Option "SendCoreEvents" "true" Option "Button2" "3" EndSection Section "InputDevice" Identifier "eraser" Driver "wacom" Option "Device" "/dev/ttyS0" Option "Type" "eraser" Option "ForceDevice" "ISDV4" Option "Mode" "absolute" Option "SendCoreEvents" "true" Option "Button2" "3" EndSection }}} and {{{ InputDevice "stylus" "SendCoreEvents" InputDevice "eraser" "SendCoreEvents" InputDevice "cursor" "SendCoreEvents" }}} in section {{{ServerLayout}}} at the end of the same file Restart and you should be able to use stylus === Finger touchscreen (Hardy Only. For Intrepid, see stylus instructions below) === This is unfortunately more complicated. Current wacom driver doesn't support this model. Thanks to [[http://docs.google.com/View?docid=dg8nknth_3hs868qhh|Rene vanPaassen]] there is a patch to the source code to make it work (you can omit this section if you're happy only with stylus) '''Easy way''' Download linuxwacom patched driver from [[http://eire.ie.eu.org/toshiba/wacom_drv.so|here]] and replace original driver in {{{/usr/lib/xorg/modules/input/}}} . {{{ cd sudo mv /usr/lib/xorg/modules/input/wacom_drv.so /usr/lib/xorg/modules/input/wacom_drv.so.backup sudo cp wacom_drv.so /usr/lib/xorg/modules/input/ }}} Restart and your finger touchscreen should work. '''Hard way''' Download the {{{isdv4.patch}}} from [[http://docs.google.com/View?docid=dg8nknth_3hs868qhh|here]] or [[http://eire.ie.eu.org/toshiba/isdv4.patch|here]] Download the obsolete linuxwacom-0.7.9-7 sources from repositories (google for linuxwacom-0.7.9-7.tar.bz2) or from [[http://eire.ie.eu.org/toshiba/linuxwacom-0.7.9-7.tar.bz2|here]] Download build-essential if you don't have it, along with tk,tk-dev and patch. Unpack sources, patch, make and install {{{ cd sudo apt-get install build-essential tk tk-dev patch tar xvjf linuxwacom-0.7.9-7.tar.bz2 cd linuxwacom-0.7.9-7 patch -p1 <../isdv4.patch ./configure make sudo make install }}} If everything went fine, you should have a new driver in {{{/usr/lib/xorg/modules/input}}} === To get stylus and touch screen working in Intrepid === Just as above, you will need to install setserial and configure it to set up the tablet on boot. {{{ sudo apt-get install setserial }}} and add line: {{{ /bin/setserial /dev/ttyS0 port 0x338 irq 4 autoconfig }}} at the end of {{{/etc/rc.local}}} Unfortunately, the current versions of {{{xserver-xorg-input-wacom}}} and {{{wacom-tools}}} in the repositories have a bug that makes the touch screen erratic and unusable, and causes problems with Compiz when the screen is rotated. First, make sure they are uninstalled {{{ sudo apt-get remove xserver-org-input-wacom wacom-tools }}} Then we can download, compile, and install a working driver (at least 0.8.2 from linuxwacom.sourceforge.net) {{{ sudo apt-get install build-essential sudo apt-get build-dep wacom-tools wget http://prdownloads.sourceforge.net/linuxwacom/linuxwacom-0.8.2.tar.bz2 tar -xjvf linuxwacom-0.8.2.tar.bz2 cd linuxwacom-0.8.2 ./configure --enable-wacom --prefix=/usr make sudo make uninstall sudo make install }}} Make sure there were no errors before continuing. For reference, these instructions were derived from https://bugs.launchpad.net/ubuntu/+source/wacom-tools/+bug/300980 and https://help.ubuntu.com/community/Wacom/LatestDriver, which may be useful for troubleshooting. Finally, backup your current xorg.conf, and replace it with the following: {{{ Section "Monitor" Identifier "Configured Monitor" EndSection Section "Screen" Identifier "Default Screen" Monitor "Configured Monitor" Device "Configured Video Device" EndSection Section "InputDevice" Identifier "stylus" Driver "wacom" Option "Device" "/dev/ttyS0" Option "Type" "stylus" Option "ForceDevice" "ISDV4" Option "Mode" "absolute" Option "SendCoreEvents" "true" Option "Button2" "3" EndSection Section "InputDevice" Identifier "eraser" Driver "wacom" Option "Device" "/dev/ttyS0" Option "Type" "eraser" Option "ForceDevice" "ISDV4" Option "Mode" "absolute" Option "SendCoreEvents" "true" Option "Button1" "2" EndSection Section "InputDevice" Identifier "touch" Driver "wacom" Option "Device" "/dev/ttyS0" Option "Type" "touch" Option "ForceDevice" "ISDV4" Option "Mode" "absolute" Option "SendCoreEvents" "true" EndSection Section "ServerLayout" Identifier "Default Layout" Screen "Default Screen" InputDevice "stylus" "SendCoreEvents" InputDevice "eraser" "SendCoreEvents" InputDevice "touch" "SendCoreEvents" EndSection Section "Device" Identifier "Configured Video Device" Option "RandRRotation" "true" EndSection }}} Restart and you should have access to the stylus and the touch screen. You will also be able to send right-clicks by pressing the side button. Additionally, the eraser now acts as Button3, which is useful in some applications (like Xournal) for actually acting like an eraser. === To get stylus and touch screen working in Jaunty === Just as above, you will need to install setserial and configure it to set up the tablet on boot. {{{ sudo apt-get install setserial }}} and add line: {{{ /bin/setserial /dev/ttyS0 port 0x338 irq 4 autoconfig }}} at the end of {{{/etc/rc.local}}} The latest versions of {{{xserver-xorg-input-wacom}}} and {{{wacom-tools}}} in the repositories do work, so simply install them. {{{ sudo apt-get install xserver-xorg-input wacom wacom-tools }}} We can use the {{{xorg.conf}}} file shown above for Intrepid to configure X11 for Jaunty. After you reboot, you should have full access to both the touch screen and the stylus. == Screen Rotation == === Screen Rotate in Karmic === For reference, these instructions were derived from [[http://ubuntuforums.org/showthread.php?p=6546012#post6546012|this]] thread. First, backup your 10-linuxwacom.fdi file. {{{ sudo cp /usr/share/hal/fdi/policy/20thirdparty/10-linuxwacom.fdi ~/Desktop/10-linuxwacom.bak }}} Then run the following command to edit the file. {{{ gksudo gedit /usr/share/hal/fdi/policy/20thirdparty/10-linuxwacom.fdi }}} Delete the contents of it, and replace it with the following. This will allow left and right clicks, and allow for the eraser end of the stylus to be used as an eraser in Xournal: {{{ wacom stylus hal-setup-wacom eraser cursor pad touch wacom touch hal-setup-wacom pad input wacom stylus ISDV4 serial.device hal-setup-wacom eraser cursor touch 38400 wacom stylus hal-setup-wacom eraser cursor stylus 3 eraser 2 cursor pad touch }}} Now, create a new init.d script to replace the default input device names with the names xsetwacom expects: {{{ gksudo gedit /etc/init.d/wacom-names }}} Place the following contents into the file: {{{ #!/bin/sh ## find any wacom devices for udi in `hal-find-by-property --key input.x11_driver --string wacom` do type=`hal-get-property --udi $udi --key input.x11_options.Type` echo $type ## rewrite the names that the Xserver will use hal-set-property --udi $udi --key info.product --string $type done }}} Make the new script executable: {{{ sudo chmod +x /etc/init.d/wacom-names }}} Finally, set it to run at boot as follows: {{{ sudo update-rc.d wacom-names start 27 2 3 4 5 . }}} Reboot the system. When it comes back up, you can install wacom-tools: {{{ sudo apt-get install wacom wacom-tools }}} You should now be able to run the xsetwacom command to rotate the input. You can use the following script to rotate the screen and inputs at the same time: {{{ #!/bin/bash # Toshiba M700 rotate script for bezel button if [ -f /tmp/rotated ]; then xrandr -o normal xsetwacom set "stylus" Rotate none xsetwacom set "cursor" Rotate none xsetwacom set "eraser" Rotate none rm -f /tmp/rotated && exit 0 else xrandr -o right xsetwacom set "stylus" Rotate CW xsetwacom set "cursor" Rotate CW xsetwacom set "eraser" Rotate CW echo 1 > /tmp/rotated && exit 0 fi }}} Save this script /usr/local/bin/toshiba-rotate, and make it executable {{{ sudo chmod 755 /usr/local/bin/toshiba-rotate }}} You can now either use the xbindkeys method described later for mapping bezel keys, or you can change the gnome key bindings: {{{ System -> Preferences -> Keyboard Shortcuts }}} Click "Add", and enter a name (Rotate) and the command (/usr/local/bin/toshiba-rotate). Locate the new entry (Rotate) in the list, click "Disabled" under the "Shortcut" column, and press the button you want to map to that. A nice solution for arbitrary re-orientation is the create a separate script for rotating left, right, halfway, and normal, and mapping each of the four directions on the switch button on the bezel to one of those directions, using the same basic instructions above. === Screen Rotate in pre-Karmic releases === First you have to enable resolution and rotation in X by putting the following line: {{{ Option "RandRRotation" "true" }}} into the {{{Device}}} section describing your graphic card in {{{/etc/X11/xorg.conf}}} and Restart X I put simple script to rotate and restore screen to landscape. '''NOTE''' - In Hardy, you will have to disable compiz {{{System->Preferences->Appearence->VisualEffects->None}}} to make rotation work. This is no longer an issue in Intrepid. Save script: {{{ #!/bin/bash # Toshiba M700 rotate script for bezel button if [ -f /tmp/rotated ]; then xrandr -o normal xsetwacom set "stylus" Rotate none xsetwacom set "cursor" Rotate none xsetwacom set "eraser" Rotate none rm -f /tmp/rotated && exit 0 else xrandr -o right xsetwacom set "stylus" Rotate CW xsetwacom set "cursor" Rotate CW xsetwacom set "eraser" Rotate CW echo 1 > /tmp/rotated && exit 0 fi }}} as for example {{{/usr/local/bin/toshiba-rotate}}} and make it executable {{{ sudo chmod 755 /usr/local/bin/toshiba-rotate }}} Then everytime you run the script it will rotate screen right and back to landscape. On how to assign this script to a button in next section. == Bezel buttons == There is no easy way of assigning a meta-buttons function, so I used {{{xbindkeys}}} and {{{xte}}} from {{{xautomation}}} package {{{ sudo apt-get install xbindkeys xbindkeys-config xautomation }}} Next create a default configuration file and run {{{xbindkeys-config}}} {{{ cd ~ xbindkeys --defaults >./.xbindkeysrc xbindkeys-config }}} GUI should open and you can edit/add new key assignments. For example to add screen rotation click "New", then in Edit section enter the name you like, click "Get Key" and press bezel button. Something like "Mod4 + 6|m0x40+c:15" should appear. Then in "Action" enter "/usr/local/bin/toshiba-rotate" then click "Save&Apply&Exit". Now if you run {{{xbindkeys}}} you should be able to rotate your screen using bezel button. Remeber, you have to add {{{xbindkeys}}} to your session startup scripts in {{{System->Preferences->Sessions}}} '''Hint''': if you want to assing a keypress to bezel button (for example pagedown) use command below as "Action" in GUI {{{ /usr/bin/xte "key Page_Down" }}} For more keys - look at xte manual ({{{man xte}}}) '''NOTE''' - You may want to disable the pre-defined key bindings that refer to xterm, or uninstall xterm. Otherwise, when you press ctrl+f to search (say, in Firefox), it will open a terminal instead. == Fingerprint reader == Toshiba uses Authentec device, which is NOT supported by {{{thinkfinger}}} package. Instead look at {{{fprint}}} project [[http://www.reactivated.net/fprint/wiki/Main_Page|here]] and [[http://www.madman2k.net/comments/105|here]] '''Quick way''' (if you're lazy :) Add this line at the end of sources list: {{{ deb http://ppa.launchpad.net/madman2k/ubuntu hardy main restricted universe multiverse }}} update, sources and install all fprint packages: {{{ sudo apt-get update && sudo apt-get install libfprint fprint-demo libpam-fprint }}} Then you can use {{{ sudo fprint-demo }}} To enroll and play a bit. To use it as authentication method insert to {{{/etc/pam.d/common-auth}}}: {{{ auth sufficient pam_fprint.so auth required pam_unix.so nullok_secure }}} NOTE - this is funny to play, but is not supported by many applications using gksu etc. I found it crashed a few times, so I think I will just wait for more mature version. == Media card reader == Unfortunately tifm driver reads only SD (and some MMC) cards will work albeit slowly. Unless someone will start developing the driver again there is no chance to get other cards working. == Bluetooth == Bluetooth only works OTB with Jaunty. == Unchecked so far == * Modem - who uses it anyway today ?? ;-) * Firewire == Some useful applications == If you're new using tablets in Linux - there are some great programs to play with: * [[http://risujin.org/cellwriter/|Cellwriter]] - handwriting recognition software with onscreen keyboard * [[http://xournal.sourceforge.net/|Xournal]] - similar to M$ onenote * [[http://www.adebenham.com/gournal/|Gournal]] - another pen journal * [[http://www.dklevine.com/general/software/tc1000/jarnal.htm|Jarnal]] - Java based journal * [[http://memoranda.sourceforge.net/|Memoranda]] - another Java based journal ## Add any notes here ---- CategoryLaptop CategoryLaptop CategoryLaptop