Announcement

Collapse
No announcement yet.

Ubuntu on Tablet PC

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Ubuntu on Tablet PC

    Installed Ubuntu on my Motion Computing M1400 last night. Went really smoothly, but I did use the wiki page for Gentoo to get tweaks made (Gentoo user docs are the best out there IMO).

    + Screen rotating worked out of the box.
    + Stylus required adding wacom driver to autoload modules list.
    + xorg.conf required minor tweaks to get right click working on stylus.
    + Wrote two scripts to rotate screen and stylus orientation (each one has two lines -- call xrandr and xsetwacom).
    + Wireless worked out of the box.
    + Gnome 2.18 is nice.

    - Sound not working... probably nothing hard to fix, but haven't looked at it yet.
    - Stylus resolution is crappy when I rotate to portrait mode.
    - I need to figure out how to turn off my wireless card to save power.

    ? Haven't tried hibernate yet
    Gigabyte GA-K8N Ultra 9, Opteron 170 Denmark 2x2Ghz, 2 GB Corsair XMS, Gigabyte 6600, Gentoo Linux
    Motion Computing M1400 -- Tablet PC, Ubuntu Linux

    "if I said you had a beautiful body would you take your pants off and dance around a bit?" --Zapp Brannigan

  • #2
    Have run into one problem...

    The administrator password screen takes over the entire machine and I can't use the on-screen keyboard! Anyone know how to turn this off?
    Gigabyte GA-K8N Ultra 9, Opteron 170 Denmark 2x2Ghz, 2 GB Corsair XMS, Gigabyte 6600, Gentoo Linux
    Motion Computing M1400 -- Tablet PC, Ubuntu Linux

    "if I said you had a beautiful body would you take your pants off and dance around a bit?" --Zapp Brannigan

    Comment


    • #3
      Fixed that with a change in gconf.

      - My bluetooth is off and I don't have a physical button to turn it on, so haven't gotten that to work in Linux.
      - Played around with mic, but haven't gotten that to work either
      - Stylus resolution isn't bad in portrait mode -- it's just slow to draw, don't know why still

      * Hibernate works, but after using it once I wouldn't use it again as there was no difference between it and booting normally.
      Gigabyte GA-K8N Ultra 9, Opteron 170 Denmark 2x2Ghz, 2 GB Corsair XMS, Gigabyte 6600, Gentoo Linux
      Motion Computing M1400 -- Tablet PC, Ubuntu Linux

      "if I said you had a beautiful body would you take your pants off and dance around a bit?" --Zapp Brannigan

      Comment


      • #4
        Hi,

        I'm a super-green Linux user trying to get Ubuntu 7.04 working on my M1400. Would you mind too much going into more detail about what it was exactly that you had to do to get your tablet working? I've been browsing for days and still seem to be missing some of the fundamentals of setserial and how to get things to load up on the system boot.

        Any help would be greatly appriciated!

        Mag

        Comment


        • #5
          Hi Mag,

          Hmm... not sure if I can help you with the booting problem, because all I did was plugin an external USB DVD-Drive and put in the Ubuntu 7.04 CD.

          Or are you having problems after installing from the live cd?

          This is the first doc that I read (site is down for me right now):


          But yeah I want to write all my notes down anyways, so just let me know what other questions you have.

          Thien
          Gigabyte GA-K8N Ultra 9, Opteron 170 Denmark 2x2Ghz, 2 GB Corsair XMS, Gigabyte 6600, Gentoo Linux
          Motion Computing M1400 -- Tablet PC, Ubuntu Linux

          "if I said you had a beautiful body would you take your pants off and dance around a bit?" --Zapp Brannigan

          Comment


          • #6
            hey Tnt can you please post the files info and possibly all the steps u took to get the screen rotation to work and so that the mouse will stay aligned. Also if u can pretty much post everything u did to make it a suitable enviorment for yourself.

            I know im asking a bit much. sorry for that, but i really like linux on my tablet and i dont want to go back to vista. lol


            I apperciate any and all the help i can get. Thank you

            Comment


            • #7
              This should get screen and pen working in normal view.

              Code:
              # /etc/X11/xorg.conf (xorg X Window System server configuration file)
              #
              # This file was generated by dexconf, the Debian X Configuration tool, using
              # values from the debconf database.
              #
              # Edit this file with caution, and see the xorg.conf(5) manual page.
              # (Type "man xorg.conf" at the shell prompt.)
              #
              # This file is automatically updated on xserver-xorg package upgrades *only*
              # if it has not been modified since the last upgrade of the xserver-xorg
              # package.
              #
              # If you have edited this file but would like it to be automatically updated
              # again, run the following command:
              #   sudo dpkg-reconfigure -phigh xserver-xorg
              
              Section "Files"
              	FontPath	"/usr/share/fonts/X11/misc"
              	FontPath	"/usr/share/fonts/X11/cyrillic"
              	FontPath	"/usr/share/fonts/X11/100dpi/:unscaled"
              	FontPath	"/usr/share/fonts/X11/75dpi/:unscaled"
              	FontPath	"/usr/share/fonts/X11/Type1"
              	FontPath	"/usr/share/fonts/X11/100dpi"
              	FontPath	"/usr/share/fonts/X11/75dpi"
              	# path to defoma fonts
              	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
              EndSection
              
              Section "Module"
              	Load	"i2c"
              	Load	"bitmap"
              	Load	"ddc"
              	Load	"dri"
              	Load	"extmod"
              	Load	"freetype"
              	Load	"glx"
              	Load	"int10"
              	Load	"vbe"
              EndSection
              
              Section "InputDevice"
              	Identifier	"Generic Keyboard"
              	Driver		"kbd"
              	Option		"CoreKeyboard"
              	Option		"XkbRules"	"xorg"
              	Option		"XkbModel"	"pc105"
              	Option		"XkbLayout"	"us"
              	Option		"XkbOptions"	"lv3:ralt_switch"
              EndSection
              
              Section "InputDevice"
              	Identifier	"Configured Mouse"
              	Driver		"mouse"
              	Option		"CorePointer"
              	Option		"Device"		"/dev/input/mice"
              	Option		"Protocol"		"ImPS/2"
              	Option		"ZAxisMapping"		"4 5"
              	Option		"Emulate3Buttons"	"true"
              EndSection
              
              Section "InputDevice"
              	Identifier	"Synaptics Touchpad"
              	Driver		"synaptics"
              	Option		"SendCoreEvents"	"true"
              	Option		"Device"		"/dev/psaux"
              	Option		"Protocol"		"auto-dev"
              	Option		"HorizScrollDelta"	"0"
              EndSection
              
              Section "InputDevice"
              	Driver		"wacom"
              	Identifier	"stylus"
              	Option		"Device"	"/dev/wacom"	# Change to 
              							# /dev/input/event
              							# for USB
              	Option		"Type"		"stylus"
              	Option		"ForceDevice"	"ISDV4"		# Tablet PC ONLY
              
              	# For some reason Button 1 and 3 are switched
              	# Button1 = 3 ... makes pointer left-click
              	# 1 = left, 2 = middle, 3 = right
              	Option		"Button1"	"3"
              	Option		"Button2"	"1"
                      # Set CW here and other sections for clockwise rotation
              	#Option		"Rotate"	"CW"
              EndSection
              
              Section "InputDevice"
              	Driver		"wacom"
              	Identifier	"eraser"
              	Option		"Device"	"/dev/wacom"	# Change to 
              							# /dev/input/event
              							# for USB
              	Option		"Type"		"eraser"
              	Option		"ForceDevice"	"ISDV4"		# Tablet PC ONLY
              
              	Option		"Button1"	"2"		# Middle-click
              	#Option		"Rotate"	"CW"
              EndSection
              
              Section "InputDevice"
              	Driver		"wacom"
              	Identifier	"cursor"
              	Option		"Device"	"/dev/wacom"	# Change to 
              							# /dev/input/event
              							# for USB
              	Option		"Type"		"cursor"
              	Option		"ForceDevice"	"ISDV4"		# Tablet PC ONLY
              
              	Option		"SendCoreEvents"
              	#Option		"Rotate"	"CW"
              EndSection
              
              Section "Device"
              	Identifier	"Intel Corporation 82852/855GM Integrated Graphics Device"
              	Driver		"i810"
              	BusID		"PCI:0:2:0"
              	
              	#Option		"Rotate"	"270"
              EndSection
              
              Section "Monitor"
              	Identifier	"Generic Monitor"
              	Option		"DPMS"
              	HorizSync	28-51
              	VertRefresh	43-60
              EndSection
              
              Section "Screen"
              	Identifier	"Default Screen"
              	Device		"Intel Corporation 82852/855GM Integrated Graphics Device"
              	Monitor		"Generic Monitor"
              	DefaultDepth	24
              	SubSection "Display"
              		Depth		1
              		Modes		"1024x768"
              	EndSubSection
              	SubSection "Display"
              		Depth		4
              		Modes		"1024x768"
              	EndSubSection
              	SubSection "Display"
              		Depth		8
              		Modes		"1024x768"
              	EndSubSection
              	SubSection "Display"
              		Depth		15
              		Modes		"1024x768"
              	EndSubSection
              	SubSection "Display"
              		Depth		16
              		Modes		"1024x768"
              	EndSubSection
              	SubSection "Display"
              		Depth		24
              		Modes		"1024x768"
              	EndSubSection
              EndSection
              
              Section "ServerLayout"
              	Identifier	"Default Layout"
              	Screen		"Default Screen"
              	InputDevice	"Generic Keyboard"
              	InputDevice	"Configured Mouse"
              	InputDevice     "stylus"	"SendCoreEvents"
              	InputDevice     "cursor"	"SendCoreEvents"
              	InputDevice     "eraser"	"SendCoreEvents"
              	InputDevice	"Synaptics Touchpad"
              EndSection
              
              Section "DRI"
              	Mode	0666
              EndSection
              Gigabyte GA-K8N Ultra 9, Opteron 170 Denmark 2x2Ghz, 2 GB Corsair XMS, Gigabyte 6600, Gentoo Linux
              Motion Computing M1400 -- Tablet PC, Ubuntu Linux

              "if I said you had a beautiful body would you take your pants off and dance around a bit?" --Zapp Brannigan

              Comment


              • #8
                Script for portrait rotation (buttons up top)

                Code:
                #!/bin/bash
                
                xrandr -o right
                xsetwacom set stylus Rotate CW
                xsetwacom set cursor Rotate CW
                xsetwacom set eraser Rotate CW
                Script to go back to landscape

                Code:
                #!/bin/bash
                
                xrandr -o normal
                xsetwacom set stylus Rotate NONE
                xsetwacom set cursor Rotate NONE
                xsetwacom set eraser Rotate NONE
                Gigabyte GA-K8N Ultra 9, Opteron 170 Denmark 2x2Ghz, 2 GB Corsair XMS, Gigabyte 6600, Gentoo Linux
                Motion Computing M1400 -- Tablet PC, Ubuntu Linux

                "if I said you had a beautiful body would you take your pants off and dance around a bit?" --Zapp Brannigan

                Comment


                • #9
                  Binding side buttons to programs. Remember to add xbindkeys to your startup in Gnome: System -> Preferences -> Session

                  .Xmodmap
                  Code:
                  keycode 168 = XF86Mail
                  keycode 169 = XF86Book
                  .xbindkeysrc
                  Code:
                  "xournal"
                  XF86Mail
                  
                  "onboard"
                  XF86Book
                  Gigabyte GA-K8N Ultra 9, Opteron 170 Denmark 2x2Ghz, 2 GB Corsair XMS, Gigabyte 6600, Gentoo Linux
                  Motion Computing M1400 -- Tablet PC, Ubuntu Linux

                  "if I said you had a beautiful body would you take your pants off and dance around a bit?" --Zapp Brannigan

                  Comment


                  • #10
                    Oooh, forgot an important part. Turning off the damn screen grab so you can actually use the on screen keyboard to type in passwords. Will have to dig up that setting in Gnome's Gconf when I get the chance.
                    Gigabyte GA-K8N Ultra 9, Opteron 170 Denmark 2x2Ghz, 2 GB Corsair XMS, Gigabyte 6600, Gentoo Linux
                    Motion Computing M1400 -- Tablet PC, Ubuntu Linux

                    "if I said you had a beautiful body would you take your pants off and dance around a bit?" --Zapp Brannigan

                    Comment


                    • #11
                      Good info.

                      Comment


                      • #12
                        To disable screen grab:
                        gconf -> apps/gksu
                        There are a few options in there with pretty good descriptors.
                        Gigabyte GA-K8N Ultra 9, Opteron 170 Denmark 2x2Ghz, 2 GB Corsair XMS, Gigabyte 6600, Gentoo Linux
                        Motion Computing M1400 -- Tablet PC, Ubuntu Linux

                        "if I said you had a beautiful body would you take your pants off and dance around a bit?" --Zapp Brannigan

                        Comment


                        • #13
                          I decided to update my tablet from 7.04 to 8.04.

                          --- 7.04 -> 7.10 ---
                          I didn't really use the laptop but things appeared to be working fine

                          --- 7.10 -> 8.04 ---
                          * onBoard seg faults
                          ** Update: https://bugs.launchpad.net/ubuntu/+s...ey/+bug/220475
                          ** Update: Update includes a fix to virtkey which makes onBoard useable
                          * The stylus stopped working
                          ** Update: I had to change my xorg.conf to use /dev/input/wacom instead of /dev/wacom
                          * Battery monitor doesn't work
                          ** acpi reports the wrong percentage -- for me it's stuck at 35% tho my laptop has been plugged in all night.
                          ** After testing standby mode, acpi started reporting what appears to be a correct charge
                          *** Restarted and back to having an incorrect percentage
                          ** Added init script to unload and reload the battery module on startup as in info at bottom here: https://help.ubuntu.com/community/ACPIBattery

                          Back to same functional Ubuntu Hardy Heron on a M1400!
                          Last edited by TnT; 15 May 2008, 08:19.
                          Gigabyte GA-K8N Ultra 9, Opteron 170 Denmark 2x2Ghz, 2 GB Corsair XMS, Gigabyte 6600, Gentoo Linux
                          Motion Computing M1400 -- Tablet PC, Ubuntu Linux

                          "if I said you had a beautiful body would you take your pants off and dance around a bit?" --Zapp Brannigan

                          Comment


                          • #14
                            Originally posted by TnT View Post
                            I decided to update my tablet from 7.04 to 8.04.

                            --- 7.04 -> 7.10 ---
                            I didn't really use the laptop but things appeared to be working fine

                            --- 7.10 -> 8.04 ---
                            * onBoard seg faults
                            ** Update: https://bugs.launchpad.net/ubuntu/+s...ey/+bug/220475
                            ** Update: Update includes a fix to virtkey which makes onBoard useable
                            * The stylus stopped working
                            ** Update: I had to change my xorg.conf to use /dev/input/wacom instead of /dev/wacom
                            * Battery monitor doesn't work
                            ** acpi reports the wrong percentage -- for me it's stuck at 35% tho my laptop has been plugged in all night.
                            ** After testing standby mode, acpi started reporting what appears to be a correct charge
                            *** Restarted and back to having an incorrect percentage
                            ** Added init script to unload and reload the battery module on startup as in info at bottom here: https://help.ubuntu.com/community/ACPIBattery

                            Back to same functional Ubuntu Hardy Heron on a M1400!

                            Which is why Linux will never make a desktop replacement. Still to much messing around top do. No doubt you'll get fixed eventually. Off to the command line with you.
                            Chief Lemon Buyer no more Linux sucks but not as much
                            Weather nut and sad git.

                            My Weather Page

                            Comment


                            • #15
                              Try upgrading windows 2k to windows XP or windows XP to vista..
                              I sure hope you kept all the original driver CD and that they have the drivers for your new OS. Because you know, windows won't fetch them for you..
                              "For every action, there is an equal and opposite criticism."

                              Comment

                              Working...
                              X