Diff for "GigabyteT1005"


Differences between revisions 14 and 22 (spanning 8 versions)
Revision 14 as of 2011-11-30 23:21:12
Size: 5241
Editor: nat178-252-205-109
Comment:
Revision 22 as of 2017-09-06 17:30:42
Size: 6263
Editor: ckimes
Comment: Tag with Unsupported
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:

<<Include(Tag/Unsupported)>>
## Does this hardware "just work" now? If so, this page can be deleted
Line 13: Line 16:
 * WiFi  * Wifi
Line 18: Line 21:
 * WebCam  * Webcam
Line 20: Line 23:
 * external VGA
Line 25: Line 29:
 * Lid Button registers as permanently closed
Line 27: Line 32:
 * Keyboard keys get "stuck" [[https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-evdev/+bug/769103|Bug 769103]]  * Keyboard keys get "stuck" ([[https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-evdev/+bug/769103|bug 769103]])
Line 29: Line 34:

== Unresolved Problems ==
 * Lid Button registers as permanently closed
Line 35: Line 37:
 * external VGA
Line 59: Line 60:
Line 64: Line 64:

== Lid Button registers as permanently closed ==
This problem isn't fully resolved at the moment but you can make your device to sleep on lid close (it does wakeup on lid open out of the box). Edit /etc/acpi/lid.sh as follows:
{{{
...
    for x in /tmp/.X11-unix/*; do
      displaynum=`echo $x | sed s#/tmp/.X11-unix/X##`
      getXuser;
      if [ x"$XAUTHORITY" != x"" ]; then
        export DISPLAY=":$displaynum"
- . /usr/share/acpi-support/screenblank
+ GS_PID=`pgrep -u $user -f "gnome-screensaver"`
+ export DBUS_SESSION_BUS_ADDRESS=`grep -z DBUS_SESSION_BUS_ADDRESS /proc/$GS_PID/environ | sed -e 's/DBUS_SESSION_BUS_ADDRESS=//'`
+ su $user -c 'dbus-send --session --type=method_call --dest=org.gnomeScreenSaver /org/gnome/ScreenSaver org.gnome.ScreenSaver.Lock'
      fi
    done
+ pm-suspend
...
}}}
Line 94: Line 113:
Use System > Preferences > Keyboard and uncheck '''Repeat Keys''' This will prevent multiple key presses when a key gets "stuck". See [[https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-evdev/+bug/769103|Bug 769103]] for a better workaround that makes autorepeat work almost as expected. Use System > Preferences > Keyboard and uncheck '''Repeat Keys''' This will prevent multiple key presses when a key gets "stuck". See [[https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-evdev/+bug/769103|bug 769103]] for a better workaround that makes autorepeat work almost as expected.
Line 108: Line 127:
 * Getting [[https://wiki.ubuntu.com/Multitouch/|Multitouch]] to work using utouch and [[https://launchpad.net/ginn/+milestone/ubuntu-10.10|ginn]]. See [[https://bugs.launchpad.net/ubuntu/+source/utouch/+bug/773138|bug #773138]].
 * Fix lid problem (write a specific lid driver?)
 * Getting [[https://wiki.ubuntu.com/Multitouch/|Multitouch]] to work with all PPA's including [[https://launchpad.net/ginn/+milestone/ubuntu-10.10|ginn]]. See [[https://bugs.launchpad.net/ubuntu/+source/utouch/+bug/773138|bug #773138]].
 * Fix lid problem (write a specific lid driver?). See [[https://bugs.launchpad.net/ubuntu/+source/linux/+bug/874483|bug #874483]].

Tag/tag.png

Unsupported Version
This article applies to an unsupported version of Ubuntu. More info...

Introduction

This guide is meant to help get the Gigabyte T1005 netbook working with Ubuntu 11.10.

Summary

What works out of the box

  • Graphics
  • Sound
  • Wifi
  • Bluetooth
  • Special keys on the keyboard
  • eSata
  • Card Reader
  • Webcam
  • 3G (standard PCI Express mini card, tested Ericsson F5521gw for Lenovo)
  • external VGA

Fixes available

  • Touchpad
  • Sleep/Hibernate fail
  • Sleep on Power removal
  • Lid Button registers as permanently closed
  • Touchscreen when rotating screen
  • Side Hard Button (battery level/SmartManager in Windows)
  • Keyboard keys get "stuck" (bug 769103)

  • Touchscreen configuration (T1005P only)

Not Tested

  • usb 3

Solutions

Touchpad

Modify /etc/defaults/grub and modify the "splash quiet" line by including 'i8042.noloop=1'. Afterwards run update-grub2. You can test this by adding 'i8042.noloop=1' in the grub menu at boot. (From this post) See bug #737482.

Sleep/Hibernate fail

This is related to the USB 3 not unbinding (see this thread)

  • In /etc/pm/sleep.d create a new script: 20_custom-xhci_hcd

# File: "/etc/pm/sleep.d/20_custom-xhci_hcd".
case "${1}" in
        hibernate|suspend)
              # Unbind xhci_hcd for first device 0000:02:00.0:
               echo -n "0000:02:00.0" | tee /sys/bus/pci/drivers/xhci_hcd/unbind
        ;;
        resume|thaw)
              # Bind xhci_hcd for first device 0000:02:00.0:
              echo -n "0000:02:00.0" | tee /sys/bus/pci/drivers/xhci_hcd/bind
        ;;
esac

Sleep on Power removal

This is a symptom of Lid Button registers as permanently closed. The default power setting is to sleep on lid close when on battery so when the power is removed the computer sleeps. Disable sleep on lid close in System > Preferences > Power Management by change When Laptop Lid is Closed from suspend to blank.

Lid Button registers as permanently closed

This problem isn't fully resolved at the moment but you can make your device to sleep on lid close (it does wakeup on lid open out of the box). Edit /etc/acpi/lid.sh as follows:

...
    for x in /tmp/.X11-unix/*; do
      displaynum=`echo $x | sed s#/tmp/.X11-unix/X##`
      getXuser;
      if [ x"$XAUTHORITY" != x"" ]; then
        export DISPLAY=":$displaynum"
-       . /usr/share/acpi-support/screenblank
+       GS_PID=`pgrep -u $user -f "gnome-screensaver"`
+       export DBUS_SESSION_BUS_ADDRESS=`grep -z DBUS_SESSION_BUS_ADDRESS /proc/$GS_PID/environ | sed -e 's/DBUS_SESSION_BUS_ADDRESS=//'`
+       su $user -c 'dbus-send --session --type=method_call --dest=org.gnomeScreenSaver /org/gnome/ScreenSaver org.gnome.ScreenSaver.Lock'
      fi
    done
+   pm-suspend
...

Touchscreen when rotating screen

  • Use xrandr -o [normal,right,inverted,left] to rotate the screen

  • Use xinput set-prop to rotate the Touchscreen to match

    • Find the touchscreen device number with xinput list|grep Cando | grep -o 'id=[0-9]*' | sed 's/id=//' e.g. 10

    • Use:
      • normal:
        • xrandr -o normal && xinput set-prop 10 "Coordinate Transformation Matrix" 1, 0, 0, 0, 1, 0, 0, 0, 1

      • right:
        • xrandr -o right && xinput set-prop 10 "Coordinate Transformation Matrix" 0, 1, 0, -1, 0, 1, 0, 0, 1

      • inverted:
        • xrandr -o inverted && xinput set-prop 10 "Coordinate Transformation Matrix" -1, 0, 1, 0, -1, 1, 0, 0, 1

      • left:
        • xrandr -o left && xinput set-prop 10 "Coordinate Transformation Matrix" 0, -1, 1, 1, 0, 0, 0, 0, 1

Side hard button (SmartManager)

You can get the button to work using gb-wmi DKMS module which is hosted on https://launchpad.net/~ivzave/+archive/gigabyte. To install open a terminal and enter following commands:

sudo apt-add-repository ppa:ivzave/gigabyte
sudo apt-get update
sudo apt-get install gb-wmi

Reboot to load the module (it will be loaded automatically on system boot) or manually start it:

sudo modprobe gb-wmi

Then you can bind the button to any action of your choice (e.g. screen rotation) using System Settings > Keyboard > Hotkeys.

Keyboard

Use System > Preferences > Keyboard and uncheck Repeat Keys This will prevent multiple key presses when a key gets "stuck". See bug 769103 for a better workaround that makes autorepeat work almost as expected.

Touchscreen configuration (T1005P only)

Device is equipped with IDEACOM IDC 6650 touchscreen. Its support is enabled in newest hid-multitouch driver but that driver isn't used by current Ubuntu at the moment. You need to do the following:

  • get your kernel source
  • manually apply changes listed in this patch

  • recompile hid.ko and hid-multitouch.ko modules
  • replace the modules in your kernel by updated ones
  • depmod -a && update-initramfs -u

  • reboot

The touchscreen then performs well and handles gestures up to dual-touch with ginn or touchegg running.

To Do

Suggestions

If you have any solutions please update this page or send them to XRayA4T

GigabyteT1005 (last edited 2017-09-06 17:30:42 by ckimes)