Difference between revisions of "Dell Inspiron 1090 (Duo)"

From ArchWiki
Jump to: navigation, search
m (Accelerometer)
(Hide mouse pointer)
Line 132: Line 132:
 
}}
 
}}
  
===Hide mouse pointer===
+
===Transparent cursor===
  
 
Install {{AUR|xcursor-transparent-theme}}, available in the [[Arch User Repository]].
 
Install {{AUR|xcursor-transparent-theme}}, available in the [[Arch User Repository]].
 +
 +
====Hide mouse pointer in Gnome 3.x====
 +
 +
Run the following commands as a normal user:
 +
{{bc|
 +
gsettings set org.gnome.desktop.interface cursor-theme "xcursor-transparent" &
 +
gconftool-2 --type string  --set /desktop/gnome/peripherals/mouse/cursor_theme xcursor-transparent &}}
 +
 +
====Hide mouse pointer in GDM====
 +
 +
{{Warning|This will also hide the pointer in ''all'' Qt applications. This is a limitation from the way Qt applications interact with the Gnome DE.}}
 +
 +
Create/edit the file {{ic|/usr/share/icons/default/index.theme}} with the following contents:
 +
{{bc|<nowiki>
 +
[Icon Theme]
 +
Inherits=xcursor-transparent</nowiki>}}
  
 
===On-screen keyboards===
 
===On-screen keyboards===

Revision as of 21:24, 1 January 2012

Tango-document-new.pngThis article is a stub.Tango-document-new.png

Notes: please use the first argument of the template to provide more detailed indications. (Discuss in Talk:Dell Inspiron 1090 (Duo)#)

The Dell Inspiron 1090 is a notebook/tablet convertible with a touchscreen with two-finger multitouch support. The aim is to get the most out of this hardware, both as a netbook and as a tablet.

Hardware specifications

Official specifications

  • Processor: Intel® Atom® Dual Core Processor N570 (1.6GHz, 512K L2 Cache).
  • Memory: 2GB DDR3 SDRAM.
  • Chipset: Intel® NM10 Express Chipset.
  • Video card: Intel NM10 Express Video.
  • Display: 10.1" Widescreen (1366x768) Capacitive Multi Touch.
  • Audio and speakers: 2 X 1W speakers for total of 2W standard.
  • Hard drive: Up to 320GB5 SATA hard drive (7200RPM).
  • Battery: 29Whr 4 cell battery, captive, factory replaceable.
    • Battery life: Up to 3 hours and 57 minutes of battery life.
  • Camera: Built-in 1.3 megapixel Webcam.
  • Wireless: Wireless 802.11b/g/n.
  • Bluetooth: Wireless 802.11b/g/n / Bluetooth 3.0 combo Card (Optional).
  • Ports:
    • (1) Microphone.
    • (1) Headphone JACK.
    • (2) USB 2.0.
    • (1) AC adapter connector.
  • Dimensions and weight:
    • Width: 11.22" (285.0mm).
    • Height: 1.03" (26.2mm) front – 1.13" (28.7mm) back.
    • Depth: 7.66" (194.5mm).
    • Starting weight: 3.39 lbs (1.54Kg).

Specifications according to the Linux Kernel

Architecture, processor and platform

uname -mpi
i686 Intel(R) Atom(TM) CPU N550 @ 1.50GHz GenuineIntel

PCI buses and devices

lspci
00:00.0 Host bridge: Intel Corporation N10 Family DMI Bridge (rev 02)
00:02.0 VGA compatible controller: Intel Corporation N10 Family Integrated Graphics Controller (rev 02)
00:02.1 Display controller: Intel Corporation N10 Family Integrated Graphics Controller (rev 02)
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:1c.2 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 3 (rev 02)
00:1c.3 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 4 (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)
01:00.0 Multimedia controller: Broadcom Corporation BCM70015 Video Decoder [Crystal HD]
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)

USB devices

lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 0bda:58f4 Realtek Semiconductor Corp. 
Bus 004 Device 002: ID 0eef:725e D-WAV Scientific Co., Ltd 
Bus 004 Device 003: ID 0cf3:3005 Atheros Communications, Inc. AR3011 Bluetooth

Hardware configuration

Accelerometer

It is a lsm303dlh manufactured by STMicroelectronics. I did not succeed to make it work as of kernel version 3.1.6.

  • There is a driver available at lkml.org, but there is a claim that it does not work. There is a patch here. There are instructions on that website, which I have not been able to follow.
  • There are also some instructions for enabling the accelerometer available at the Ubuntu Forums.

Tango-view-fullscreen.pngThis article or section needs expansion.Tango-view-fullscreen.png

Reason: please use the first argument of the template to provide a brief explanation. (Discuss in Talk:Dell Inspiron 1090 (Duo)#)

Wireless

Works out of the box.

Webcam

Detected by udev as

Bus 001 Device 002: ID 0bda:58f4 Realtek Semiconductor Corp. 

Works out of the box. Uses the uvcvideo module, see Kernel Modules and Webcam Setup.

Graphics controller

Install xf86-video-intel, available in the Official Repositories, see Intel.

Touchpad

Install xf86-input-synaptics, available in the Official Repositories.

Bluetooth

Uses bluetooth daemon, see Daemon.

Speakers

Uses snd-hda-intel module, see Kernel modules.

HD video playback

Install crystalhd-gitAUR, available in the Arch User Repository. The new module is located in

/lib/modules/$(uname -r)/kernel/drivers/video/broadcom/crystalhd.ko

Unload the staging module crystalhd and load the new one, see Kernel Modules.

Touchscreen

Detected by udev as:

Bus 004 Device 002: ID 0eef:725e D-WAV Scientific Co., Ltd

Install the driver from the eGalax website. Since version 1.01.1014, the driver supports (two finger) multitouch input. Requires reboot.

Invert Y-axis

If after installing the eGalax driver the Y-axis of the touchscreen is inverted, edit the file /etc/eGTouchd.ini an change the value of Direction from 0 to 2:

/etc/eGtouchd.ini
...
DetectRotation 0
Direction 2
Orientation 0
...

Docking Station

A docking station is sold optionally with this computer.

Tango-view-fullscreen.pngThis article or section needs expansion.Tango-view-fullscreen.png

Reason: please use the first argument of the template to provide a brief explanation. (Discuss in Talk:Dell Inspiron 1090 (Duo)#)
.

Tablet Mode

(Un)folding detection

When this computer is folded (or unfolded) into a tablet, it sends a keystroke. You can assign the keys Template:Keypress and Template:Keypress to these keystrokes with the following commands, respectively:

setkeycodes e073 148
setkeycodes e074 149

Transparent cursor

Install xcursor-transparent-themeAUR, available in the Arch User Repository.

Hide mouse pointer in Gnome 3.x

Run the following commands as a normal user:

gsettings set org.gnome.desktop.interface cursor-theme "xcursor-transparent" &
gconftool-2 --type string  --set /desktop/gnome/peripherals/mouse/cursor_theme xcursor-transparent &

Hide mouse pointer in GDM

Warning: This will also hide the pointer in all Qt applications. This is a limitation from the way Qt applications interact with the Gnome DE.

Create/edit the file /usr/share/icons/default/index.theme with the following contents:

[Icon Theme]
Inherits=xcursor-transparent

On-screen keyboards

Generic

Install florenceAUR, available in the Arch User Repository.

Gnome 3.2.x+

Install caribou, available in the Official Repositories.

Gesture recognition (with multitouch support)

Install easystroke-mtAUR, available in the Arch User Repository.

Screen rotation

The screen can be rotated with xrandr, but the coordinates of the touchscreen are not rotated accordingly. You can fix this with xinput by running the following commands:

xrandr -o left
xinput set-prop "eGalax Inc. USB TouchController" 'Coordinate Transformation Matrix' 0 1 0 1 0 0 0 0 1
xinput set-prop "eGalax Inc. USB TouchController" 'Evdev Axis Inversion' 0 1
xinput set-prop "eGalaxTouch Virtual Device for Multi" 'Coordinate Transformation Matrix' 0 1 0 1 0 0 0 0 1
xinput set-prop "eGalaxTouch Virtual Device for Multi" 'Evdev Axis Inversion' 0 1
xinput set-prop "eGalaxTouch Virtual Device for Single" 'Coordinate Transformation Matrix' 0 1 0 1 0 0 0 0 1
xinput set-prop "eGalaxTouch Virtual Device for Single" 'Evdev Axis Inversion' 0 1
xrandr -o right
xinput set-prop "eGalax Inc. USB TouchController" 'Coordinate Transformation Matrix' 0 1 0 1 0 0 0 0 1
xinput set-prop "eGalax Inc. USB TouchController" 'Evdev Axis Inversion' 1 0
xinput set-prop "eGalaxTouch Virtual Device for Multi" 'Coordinate Transformation Matrix' 0 1 0 1 0 0 0 0 1
xinput set-prop "eGalaxTouch Virtual Device for Multi" 'Evdev Axis Inversion' 1 0
xinput set-prop "eGalaxTouch Virtual Device for Single" 'Coordinate Transformation Matrix' 0 1 0 1 0 0 0 0 1
xinput set-prop "eGalaxTouch Virtual Device for Single" 'Evdev Axis Inversion' 1 0
xrandr -o inverted
xinput set-prop "eGalax Inc. USB TouchController" 'Coordinate Transformation Matrix' 1 0 0 0 1 0 0 0 1
xinput set-prop "eGalax Inc. USB TouchController" 'Evdev Axis Inversion' 1 1
xinput set-prop "eGalaxTouch Virtual Device for Multi" 'Coordinate Transformation Matrix' 1 0 0 0 1 0 0 0 1
xinput set-prop "eGalaxTouch Virtual Device for Multi" 'Evdev Axis Inversion' 0 0
xinput set-prop "eGalaxTouch Virtual Device for Single" 'Coordinate Transformation Matrix' 1 0 0 0 1 0 0 0 1
xinput set-prop "eGalaxTouch Virtual Device for Single" 'Evdev Axis Inversion' 0 0
xrandr -o normal
xinput set-prop "eGalax Inc. USB TouchController" 'Coordinate Transformation Matrix' 1 0 0 0 1 0 0 0 1
xinput set-prop "eGalax Inc. USB TouchController" 'Evdev Axis Inversion' 0 0
xinput set-prop "eGalaxTouch Virtual Device for Multi" 'Coordinate Transformation Matrix' 1 0 0 0 1 0 0 0 1
xinput set-prop "eGalaxTouch Virtual Device for Multi" 'Evdev Axis Inversion' 0 0
xinput set-prop "eGalaxTouch Virtual Device for Single" 'Coordinate Transformation Matrix' 1 0 0 0 1 0 0 0 1
xinput set-prop "eGalaxTouch Virtual Device for Single" 'Evdev Axis Inversion' 0 0

Observe that the transformation matrix is the same for normal and inverted orientations, and for left and right orientations. Therefor the corresponding commands need to be applied only when changing between orientations with different transformation matrix.

Examples of Use

Script for rotating the screen

The commands above can be used to make a simple shell script for toggling the screen orientation between landscape and portrait as follows:

~/toggle_orientation.sh
#!/bin/bash

rotation="$(xrandr -q --verbose | grep 'connected' | egrep -o  '\) (normal|left|inverted|right) \(' | egrep -o '(normal|left|inverted|right)')"

if [ $rotation = "normal" ] ;
then
    xrandr -o left
    xinput set-prop "eGalax Inc. USB TouchController" 'Coordinate Transformation Matrix' 0 1 0 1 0 0 0 0 1
    xinput set-prop "eGalax Inc. USB TouchController" 'Evdev Axis Inversion' 0 1
    xinput set-prop "eGalaxTouch Virtual Device for Multi" 'Coordinate Transformation Matrix' 0 1 0 1 0 0 0 0 1
    xinput set-prop "eGalaxTouch Virtual Device for Multi" 'Evdev Axis Inversion' 0 1
    xinput set-prop "eGalaxTouch Virtual Device for Single" 'Coordinate Transformation Matrix' 0 1 0 1 0 0 0 0 1
    xinput set-prop "eGalaxTouch Virtual Device for Single" 'Evdev Axis Inversion' 0 1
else
    xrandr -o normal
    xinput set-prop "eGalax Inc. USB TouchController" 'Coordinate Transformation Matrix' 1 0 0 0 1 0 0 0 1
    xinput set-prop "eGalax Inc. USB TouchController" 'Evdev Axis Inversion' 0 0
    xinput set-prop "eGalaxTouch Virtual Device for Multi" 'Coordinate Transformation Matrix' 1 0 0 0 1 0 0 0 1
    xinput set-prop "eGalaxTouch Virtual Device for Multi" 'Evdev Axis Inversion' 0 0
    xinput set-prop "eGalaxTouch Virtual Device for Single" 'Coordinate Transformation Matrix' 1 0 0 0 1 0 0 0 1
    xinput set-prop "eGalaxTouch Virtual Device for Single" 'Evdev Axis Inversion' 0 0
fi
exit 0
Tip: For an improved user experience you can:
  • Associate this script to a gesture using easystroke-mtAUR.
  • Create a desktop launcher/system tray icon.

Script for toggling tablet mode ON and OFF (Gnome 3.x)

The following shell script hides the mouse pointer and activates Gnome 3.x's on-screen keyboard, caribou, when the netbook is fold into a tablet. It detects the current mode based on the current cursor theme (if the mouse is hidden, then the computer is in tablet mode). When you unfold the computer, it returns the screen to the default orientation.

Note: It assumes xcursor-transparent-themeAUR and caribou are installed, ; and that Adwaita, Gnome 3.x's default cursor theme is in use.
~/toggle_tabletmode.sh
#!/bin/bash

if [ $(echo $(gsettings get org.gnome.desktop.interface cursor-theme) | cut -c2- | sed 's/\(.*\)./\1/') = "xcursor-transparent" ] ;
then
    gsettings set org.gnome.desktop.interface cursor-theme "Adwaita" &
    gconftool-2 --type string  --set /desktop/gnome/peripherals/mouse/cursor_theme Adwaita &
    dconf write /org/gnome/desktop/a11y/applications/screen-keyboard-enabled false &
    xrandr -o normal
    xinput set-prop "eGalax Inc. USB TouchController" 'Coordinate Transformation Matrix' 1 0 0 0 1 0 0 0 1
    xinput set-prop "eGalax Inc. USB TouchController" 'Evdev Axis Inversion' 0 0
    xinput set-prop "eGalaxTouch Virtual Device for Multi" 'Coordinate Transformation Matrix' 1 0 0 0 1 0 0 0 1
    xinput set-prop "eGalaxTouch Virtual Device for Multi" 'Evdev Axis Inversion' 0 0
    xinput set-prop "eGalaxTouch Virtual Device for Single" 'Coordinate Transformation Matrix' 1 0 0 0 1 0 0 0 1
    xinput set-prop "eGalaxTouch Virtual Device for Single" 'Evdev Axis Inversion' 0 0
else
    gsettings set org.gnome.desktop.interface cursor-theme "xcursor-transparent" &
    gconftool-2 --type string  --set /desktop/gnome/peripherals/mouse/cursor_theme xcursor-transparent &
    dconf write /org/gnome/desktop/a11y/applications/screen-keyboard-enabled true &
fi
exit 0
Tip: You can run this script when (un)folding the netbook associating it to the keys Template:Keypress and Template:Keypress.

See also