Introduction
|
This guide is meant to help get the Gigabyte T1005 netbook working with Ubuntu 11.04.
What works out the box
- Graphics
- Sound
- Bluetooth
- Special keys on the keyboard
- eSata
- Card Reader
WebCam (with cheese installed)
- 3G (standard PCI Express mini card, tested Ericsson F5521gw for Lenovo)
Problems
- Touchpad
- Lid Button registers as permanently closed
- Sleep/Hibernate fail
- Touchscreen configuration (T1005P only)
- Touchscreen when rotating screen
- Side Hard Button (battery level/SmartManager in Windows)
Keyboard key gets "stuck" Bug 769103
- Sleep on Power removal
- Touchscreen down on sleep/warm reboot (T1005P only)
Not Tested
- usb 3
- external VGA
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.
Touchscreen configuration (T1005P only)
Device is equipped with IDEACOM IDC 6650 touchscreen. Ubuntu uses synaptics driver for it by default, which doesn't fit well. Alternative is evdev driver which (after some patching) works well and handles single touch (bug #811227).
- Modify (or create) /etc/X11/xorg.conf adding the following lines:
Section "InputClass" Identifier "IDC 6650" MatchProduct "IDC 6650" MatchDevicePath "/dev/input/event*" Driver "evdev" Option "SHMConfig" "true" Option "SendCoreEvents" "true" EndSection
- get source code for evdev: apt-get source xserver-xorg-input-evdev
- install packages needed for compilation: sudo apt-get install xserver-xorg-dev
- open evdev.c file, find and comment out lines as follow:
/*if (has_lmr || TestBit(BTN_TOOL_FINGER, pEvdev->key_bitmask)) { xf86Msg(X_PROBED, "%s: Found absolute touchpad.\n", pInfo->name); pEvdev->flags |= EVDEV_TOUCHPAD; memset(pEvdev->old_vals, -1, sizeof(int) * pEvdev->num_vals); } else*/ { xf86Msg(X_PROBED, "%s: Found absolute touchscreen\n", pInfo->name); pEvdev->flags |= EVDEV_TOUCHSCREEN; pEvdev->flags |= EVDEV_BUTTON_EVENTS; }
./configure && make && sudo make install
- copy resulting file evdev_drv.so from /usr/local/lib/xorg/modules/input/ to /usr/lib/xorg/modules/input
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
- normal:
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
Work Arounds
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.
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.
To Do
Getting Multitouch to work using utouch and ginn. See bug #773138.
Suggestions
If you have any solutions please update this page or send them to XRayA4T