Lets talk about Ubuntu on Viewsonic 10:) How To's, Tips, Issues, Solutions

Discussion in 'ViewPad 10' started by Daskalos, Feb 4, 2012.

  1. Daskalos

    Daskalos Member

    Joined:
    Feb 4, 2012
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    60
    Ubuntu works great in Viewsonic 10... though got some issues...

    How do you perform a right-click using the touchscreen? :eek:

    Im struggling...

    The option "emulate a right-click" when holding a left-click doesn't work with touchscreen (because as you tap the screen using your finger to perform a "left-click" and never let go as to perform the "hold", you don't notice it, but the registering point minutely wobbles under your finger, so the supposedly "right-click" action continually cancels)

    any options?
     
  2. waterhead

    waterhead Member

    Joined:
    Jan 16, 2012
    Messages:
    116
    Likes Received:
    13
    Trophy Points:
    87
    Tablet / Device:
    Azpen X1 , HP-Touchpad
    Glad you find Ubuntu on the Viewpad 10 to your liking. I tried it too, but found enough things that I didn't like that I kept trying other distros. I found openSUSE 12.1-Gnome to be to my liking.

    What version of Ubuntu did you install? (10.04, 10.10, 11.04, 11.11) I tried 11.11, and although the touchscreen worked great out-of-the-box, I found the window buttons (Close, Minimize, Maximize) to be too small for my fat little fingers. :) Also, the stock virtual keyboard OnBoard is not at all like the virtual keyboards found in Android. Although, I see that it has Middle-Click and Right-Click keys. (I just booted into the Ubuntu LiveCD, so I could check the right-click problem).

    I have been messing with the right-click adjustments. Both in the Universal access and the Mouse and Touchpad settings section. And I cannot come up with setting that will work consistently either.
     
  3. waterhead

    waterhead Member

    Joined:
    Jan 16, 2012
    Messages:
    116
    Likes Received:
    13
    Trophy Points:
    87
    Tablet / Device:
    Azpen X1 , HP-Touchpad
    Although you didn't mention it, have you been able to get the screen and touchscreen to rotate?

    I can manually rotate the screen, but the touchscreen doesn't follow. This makes it impossible to navigate, as the mouse also is screwed up. You can manually rotate the screen using the xrandr command. You will want a USB keyboard attached, then run this command:
    Code:
    xrandr -o right
    Then to return:
    Code:
    xrandr -o normal
    You can write a little bash script that will rotate the screen, then put it back to normal:
    Code:
    #!/bin/bash
    
    echo 'Rotating Screen To Right For 10 Seconds...'
    xrandr -o right
    sleep 10s
    echo 'Rotating Screen Back To Normal...'
    xrandr -o normal
    Save that script as "rotate", and then make it executable:
    Code:
    chmod +x rotate
    And you should then be able to run it from the terminal.

    I think that you can also rotate the mouse/touchscreen using the xinput command. But I don't have much knowledge of that command, and very little is found when Googling it. I may ask my local Linux Users Group, MLUG for some assistance on this. If we can write a script, we can then link it to an icon button and flip the screen at the touch of a button!
     
  4. waterhead

    waterhead Member

    Joined:
    Jan 16, 2012
    Messages:
    116
    Likes Received:
    13
    Trophy Points:
    87
    Tablet / Device:
    Azpen X1 , HP-Touchpad
    To somewhat answer my own question about screen/touchpad rotating. It seems Ubuntu 11.04 had the option to display a Monitor icon in the upper-right taskbar:

    System-->Preferences-->Monitors

    Then check the box under "Panel Icon", labeled "Show monitors in panel". An icon will then be displayed in the panel, where you can rotate the display and mouse/touchscreen.

    This option has been removed in Ubuntu 11.10. :(
     
    Last edited: Feb 4, 2012
  5. Daskalos

    Daskalos Member

    Joined:
    Feb 4, 2012
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    60
    I tried Ubuntu 11.10
    It's really frustrating not have a touch right click... any solution? Maybe like a "floating" right click button?

    Anyway, I'm trying something else now... I installed Meego 1.2... works great... icons and buttons are finger friendly BUT

    - touchscreen not working (though there is an available fix BUT)
    - wIFI not working (I can't download the fix for issue #1, cause I need a working internet connection)
    - no on screen keyboard (though it cabn be downloaded BUT, again I have problem #2)
    - No system/media audio (video codecs working but not audio)

    Some reported that 1.1 works great with viewpad, so I downloading it now and will try :)
     
  6. waterhead

    waterhead Member

    Joined:
    Jan 16, 2012
    Messages:
    116
    Likes Received:
    13
    Trophy Points:
    87
    Tablet / Device:
    Azpen X1 , HP-Touchpad
  7. waterhead

    waterhead Member

    Joined:
    Jan 16, 2012
    Messages:
    116
    Likes Received:
    13
    Trophy Points:
    87
    Tablet / Device:
    Azpen X1 , HP-Touchpad
  8. waterhead

    waterhead Member

    Joined:
    Jan 16, 2012
    Messages:
    116
    Likes Received:
    13
    Trophy Points:
    87
    Tablet / Device:
    Azpen X1 , HP-Touchpad
    EDIT: This is for the Azpen X1. The Viewpad 10 has a different touchscreen.

    I made some progress on screen/touchscreen rotation.

    Ok, I have openSUSE 12.1 installed, so that is what I tested this on. It should also work in Ubuntu.

    First, you need a USB keyboard and mouse installed to reverse the rotation commands. And once you begin entering the commands, the touchscreen becomes temporarily disfunctional. Then open the System Settings-->Displays app, so you can rotate the display. Then open a terminal window, and run these commands one at a time, enter after each one:
    Code:
    xinput set-prop "ILITEK ILITEK Multi-Touch" "Evdev Axes Swap" 1
    xinput set-prop "ILITEK ILITEK Multi-Touch" "Evdev Axis Inversion" 0 1
    In the first line, "Axes" is the proper term. I did not misspell it.
    Now, use the mouse to click on the "Rotation" option of the Displays app, and select "Clockwise" then "Apply". The screen will rotate AND the touchscreen will also be properly orientated. To reverse this, enter these commands:
    Code:
    xinput set-prop "ILITEK ILITEK Multi-Touch" "Evdev Axes Swap" 0
    xinput set-prop "ILITEK ILITEK Multi-Touch" "Evdev Axis Inversion" 0 0
    Then select "Rotation" again, this time choose "Normal" and the "Apply"

    Now, this is way too cumbersome to be usable, but it shows that it can be done. Now to make it into a script that can be attached to a launcher of some kind.
     
    Last edited: Feb 4, 2012
  9. waterhead

    waterhead Member

    Joined:
    Jan 16, 2012
    Messages:
    116
    Likes Received:
    13
    Trophy Points:
    87
    Tablet / Device:
    Azpen X1 , HP-Touchpad
    I don't recall having any problems with the WiFi. Maybe I can help you resolve it, but I guess I need to find my MeeGo CD and boot into it first.
     
  10. waterhead

    waterhead Member

    Joined:
    Jan 16, 2012
    Messages:
    116
    Likes Received:
    13
    Trophy Points:
    87
    Tablet / Device:
    Azpen X1 , HP-Touchpad
    I updated my bash script to include the xinput commands. Once again, this is for the Azpen X1:
    Code:
    #!/bin/bash
    
    echo 'Rotating Screen To Right For 10 Seconds...'
    sleep 2
    xrandr -o right
    xinput set-prop "ILITEK ILITEK Multi-Touch" "Evdev Axes Swap" 1
    xinput set-prop "ILITEK ILITEK Multi-Touch" "Evdev Axis Inversion" 0 1
    sleep 10s
    echo 'Rotating Screen Back To Normal...'
    sleep 2
    xrandr -o normal
    xinput set-prop "ILITEK ILITEK Multi-Touch" "Evdev Axes Swap" 0
    xinput set-prop "ILITEK ILITEK Multi-Touch" "Evdev Axis Inversion" 0 0
    For the Viewpad 10, you need to know what your touchscreen is being called. Look at the output of this command for that info:
    Code:
    xinput list
    I knew that my touchscreen was made by Ilitek, so I used that entry. You need to replace "ILITEK ILITEK Multi-Touch" with whatever you have.
     
  11. waterhead

    waterhead Member

    Joined:
    Jan 16, 2012
    Messages:
    116
    Likes Received:
    13
    Trophy Points:
    87
    Tablet / Device:
    Azpen X1 , HP-Touchpad
    I modified a sh script that I found online to work with the commands that I found worked with the Azpen.
    Code:
    #!/bin/sh 
    
    # Find the line in "xrandr -q --verbose" output that contains current screen orientation and "strip" out current orientation. 
    
    rotation="$(xrandr -q --verbose | grep 'connected' | egrep -o  '\) (normal|left|inverted|right) \(' | egrep -o '(normal|left|inverted|right)')" 
    
    # Using current screen orientation proceed to rotate screen and input tools. 
    
    case "$rotation" in 
        normal) 
    #    -rotate to the right 
        xrandr -o right 
        xinput set-prop "ILITEK ILITEK Multi-Touch" "Evdev Axes Swap" 1
        xinput set-prop "ILITEK ILITEK Multi-Touch" "Evdev Axis Inversion" 0 1
        ;; 
        right) 
    #    -rotate to normal 
        xrandr -o normal 
        xinput set-prop "ILITEK ILITEK Multi-Touch" "Evdev Axes Swap" 0
        xinput set-prop "ILITEK ILITEK Multi-Touch" "Evdev Axis Inversion" 0 0
        ;; 
    esac
    Now to find a way to make a shortcut button on the Desktop to launch this script. Recent versions of Linux have made this much harder to do.

    Oh, and sorry for hijacking this thread, but I figured it was related. :) If you find the proper entries for the Viewpad touchscreen, we can make a script for that tablet.
     
    Last edited: Feb 4, 2012
  12. waterhead

    waterhead Member

    Joined:
    Jan 16, 2012
    Messages:
    116
    Likes Received:
    13
    Trophy Points:
    87
    Tablet / Device:
    Azpen X1 , HP-Touchpad
  13. waterhead

    waterhead Member

    Joined:
    Jan 16, 2012
    Messages:
    116
    Likes Received:
    13
    Trophy Points:
    87
    Tablet / Device:
    Azpen X1 , HP-Touchpad
    I booted into MeeGo-Netbook-1.2, and I am posting this from it. I don't know why you can't get the wireless to connect, but here are some things to check:

    - On the tablet's right side, the bottom button turns the wireless on/off. When it is on there is a blue light with a sorta "Y" in the upper right corner of the tablet. Toggle the button a few times to see how it works.

    -In MeeGo's Network section, there is a WiFi enable/disable switch. Make sure it is green (enabled)

    If you still can't get it working, open a terminal. It can be found under Applications-->System Tools, and enter this command:
    Code:
    lspci
    Here is what I get:
    Code:
    [meego@localhost ~]$ lspci00:00.0 Host bridge: Intel Corporation N10 Family DMI Bridge
    00:02.0 VGA compatible controller: Intel Corporation N10 Family Integrated Graphics Controller
    00:02.1 Display controller: Intel Corporation N10 Family Integrated Graphics Controller
    00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 02)
    00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 02)
    00:1c.1 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 2 (rev 02)
    00:1d.0 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #1 (rev 02)
    00:1d.1 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 (rev 02)
    00:1d.2 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 (rev 02)
    00:1d.3 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 (rev 02)
    00:1d.7 USB Controller: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller (rev 02)
    00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
    00:1f.0 ISA bridge: Intel Corporation NM10 Family LPC Controller (rev 02)
    00:1f.2 SATA controller: Intel Corporation N10/ICH7 Family SATA AHCI Controller (rev 02)
    00:1f.3 SMBus: Intel Corporation N10/ICH 7 Family SMBus Controller (rev 02)
    02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
    [meego@localhost ~]$ 
    
    The very last listing is the network card. Is your's different?
     
    Last edited: Feb 4, 2012
  14. Daskalos

    Daskalos Member

    Joined:
    Feb 4, 2012
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    60

    Hey we have the same hardware ;)

    And thanks the enter button is the solution to turn up wifi...

    How about audio? Do you have audio in Meego 1.2?
     
    Last edited: Feb 4, 2012
  15. waterhead

    waterhead Member

    Joined:
    Jan 16, 2012
    Messages:
    116
    Likes Received:
    13
    Trophy Points:
    87
    Tablet / Device:
    Azpen X1 , HP-Touchpad
    So, are you now connected via WiFi?
     

Share This Page

Search tags for this page

how to put ubuntu on a viewsonic

,

ilitek linux usb

,

maximize viewsonic gtablet

,

ubuntu ilitek rotate