Page 2 of 55 FirstFirst 12341252 ... LastLast
Results 11 to 20 of 543

Thread: HOW TO: Install Ubuntu on a HP TC1100 tablet pc

  1. #11
    Join Date
    Feb 2007
    Location
    Everywhere
    Beans
    1,529
    Distro
    Ubuntu Development Release

    Re: HOW TO: Install Ubuntu on a HP TC1100 tablet pc

    Quote Originally Posted by robnz View Post
    The xmodmap calls in the script from Linuturk are unnecessary on the TC1100. The script I use is as follows
    Code:
    #!/bin/sh
    # Script created to toggle screen orientation on a Compaq TC1100 tablet
    # Adapted by Rob Stockley from code found at
    # http://www.koders.com/noncode/fidF6152D1225924664BF30DC6977DCD1E697FACD61.aspx
    if [ -n "$(xrandr | grep rotation | grep left)" ]
    then
    xrandr -o normal
    xsetwacom set "stylus" Rotate 0
    else
    xrandr -o left
    xsetwacom set "stylus" Rotate 2
    fi
    To get the side keys working my .Xmodmap file looks like this
    Code:
    rob@rob-laptop:~$ cat .Xmodmap
    ! keysyms for buttons on edge of Compaq TC1100 Tablet
    ! mapped for use in Kubuntu 7.04
    !
    !  Jog shuttle
    !    Left = 99
    !    Right = 105
    !    Press = 36
    !  Escape = 9
    !  Reset = 37
    !  Tab = 23
    !  Q = 159
    !  Screen = 151
    !
    keycode 99 = Page_Up
    keycode 105 = Page_Down
    keycode 36 = Return
    keycode 23 = Tab
    keycode 9 = Escape
    !
    ! The Q and screen buttons are mapped to XF86 launch
    ! events so they can be linked to scripts from within
    ! system settings
    keycode 159 = XF86Launch0
    keycode 151 = XF86Launch1
    I have the screen button mapped to my rotate script and the Q button mapped to xournal which I use often.
    HTH
    That is a better script. Thanks for that. The one I used was simply the first one I found.

    The side keys work 'Out-Of-The-Box' with Ubuntu. Did you not find this with Kubuntu?
    "Knowledge is power. Who said that?" - Dave Lister

  2. #12
    Join Date
    Sep 2007
    Location
    Wellington, New Zealand
    Beans
    31
    Distro
    Kubuntu 7.10 Gutsy Gibbon

    Re: HOW TO: Install Ubuntu on a HP TC1100 tablet pc

    Quote Originally Posted by phenest View Post
    The side keys work 'Out-Of-The-Box' with Ubuntu. Did you not find this with Kubuntu?
    Actually they probably did work out of the box except for perhaps the Q and screen buttons. I've spent a long time trying to get the pen buttons working and some of my key mappings got a little broken along the journey. Chances are I could comment out the tab, esc, and jog shuttle mappings now and they would function normally.

  3. #13
    Join Date
    Sep 2007
    Location
    Wellington, New Zealand
    Beans
    31
    Distro
    Kubuntu 7.10 Gutsy Gibbon

    Re: HOW TO: Install Ubuntu on a HP TC1100 tablet pc

    Code:
    Option    "Button1"    "1"
    Also the above line in xorg.conf is unnecessary as that is already the default button mapping.

  4. #14
    Join Date
    Feb 2007
    Location
    Everywhere
    Beans
    1,529
    Distro
    Ubuntu Development Release

    Re: HOW TO: Install Ubuntu on a HP TC1100 tablet pc

    Quote Originally Posted by francisco_athens View Post
    ... things that confound me are getting sleep to function properly with the atheros wifi (known bug in madwifi) ...
    If by 'sleep' you mean 'suspend', then it does work with some tweaking.

    EDIT: I have edited the guide to show how.
    Also, Suspend and Hibernate now work in Gutsy with the 2.6.22-14-generic kernel using the same method.
    Last edited by phenest; October 9th, 2007 at 09:43 PM. Reason: Gutsy works too
    "Knowledge is power. Who said that?" - Dave Lister

  5. #15
    Join Date
    Sep 2007
    Location
    Wellington, New Zealand
    Beans
    31
    Distro
    Kubuntu 7.10 Gutsy Gibbon

    Re: HOW TO: Install Ubuntu on a HP TC1100 tablet pc

    FYI. I've submitted a script to adjust LCD brightness on the TC1100 in this thread.

  6. #16
    Join Date
    Oct 2007
    Beans
    1

    Re: HOW TO: Install Ubuntu on a HP TC1100 tablet pc

    I noticed that the script does not work with Ubuntu 7.10 because the console output of xrandr changed. Here comes my version of the rotate script:

    Code:
    #!/bin/sh
    if [ -n "$(xrandr | grep 768x1024)" ]; then
            xrandr -o normal
            xsetwacom set "stylus" Rotate NONE
            xsetwacom set "cursor" Rotate NONE
            xsetwacom set "eraser" Rotate NONE
    else
            xrandr -o left
            xsetwacom set "stylus" Rotate CCW
            xsetwacom set "cursor" Rotate CCW
            xsetwacom set "eraser" Rotate CCW
    fi

  7. #17
    Join Date
    Feb 2007
    Location
    Everywhere
    Beans
    1,529
    Distro
    Ubuntu Development Release

    Re: HOW TO: Install Ubuntu on a HP TC1100 tablet pc

    Quote Originally Posted by ronnystandtke View Post
    ...the script does not work with Ubuntu 7.10 because the console output of xrandr changed...
    I also found this. I will update the guide as soon as 7.10 is released officially.
    "Knowledge is power. Who said that?" - Dave Lister

  8. #18
    Join Date
    Sep 2007
    Location
    Wellington, New Zealand
    Beans
    31
    Distro
    Kubuntu 7.10 Gutsy Gibbon

    Re: HOW TO: Install Ubuntu on a HP TC1100 tablet pc

    Quote Originally Posted by ronnystandtke View Post
    I noticed that the script does not work with Ubuntu 7.10 because the console output of xrandr changed.
    What has it changed to?
    UPDATE: Disregard. I took a look at the xrandr source for Gutsy and saw the extensive changes.
    Last edited by robnz; October 16th, 2007 at 09:44 AM.

  9. #19
    Join Date
    Sep 2007
    Location
    Wellington, New Zealand
    Beans
    31
    Distro
    Kubuntu 7.10 Gutsy Gibbon

    Re: HOW TO: Install Ubuntu on a HP TC1100 tablet pc

    The attached script below should work with both Feisty and Gutsy. There is an issue with screen dimensions that I have yet to address but this is half the solution.
    Code:
    #!/bin/sh
    # Script created to toggle screen orientation on a Compaq TC1100 tablet
    # Adapted by Rob Stockley from code found at 
    # http://www.koders.com/noncode/fidF6152D1225924664BF30DC6977DCD1E697FACD61.aspx
    # Updated 23 October 2007 to work with xrandr version 1.2 as 
    # installed on Gutsy Gibbon.
    
    if [ -n "$(xrandr --version | grep 'version 1.2' )" ]
    then
      if [ -n "$(xrandr | grep 'left (')" ] 
        then ORIENTATION="left"
        else ORIENTATION="normal"
      fi
    else
      if [ -n "$(xrandr | grep rotation | grep left)" ] 
        then ORIENTATION="left"
        else ORIENTATION="normal"
      fi
    fi
    
    if [ $ORIENTATION = "left" ]
    then
      xrandr -o normal
      xsetwacom set "stylus" Rotate 0
    else 
      xrandr -o left
      xsetwacom set "stylus" Rotate 2
    fi

  10. #20
    Join Date
    Jul 2007
    Beans
    Hidden!
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: HOW TO: Install Ubuntu on a HP TC1100 tablet pc

    Thanks for this nice HowTo.

    I am just now trying to set up my TC1100.

    First problem: enabling the restricted nvidia drivers will fail in Switzerland.

    Solution: open Systems/administration/software sources. Change download from Server for Switzerlandto main server (Hauptserver) before trying to enable the restricted drivers.
    ch
    In Switzerland we make it other
    with apologies to Gerard Hoffnung


Page 2 of 55 FirstFirst 12341252 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •