Difference between revisions of "Dell Vostro 3360"

From ArchWiki
Jump to: navigation, search
(Do not provide much outdated kernel config details since sound is supported by stock Arch kernel.)
(Reflect current work on multimedia keys)
Line 75: Line 75:
 
=== Multimedia keys ===
 
=== Multimedia keys ===
  
No way to make hardware ones work. Brightness, volume and mediaplayer keys work OK. For touchpad toggling consider using my desktop-scripts: [https://github.com/pfactum/desktop-scripts]
+
Fn keys work out of the box. Three extra keys on the top right side are not working and require either dell-wmi driver patching (work in progress [http://lkml.iu.edu/hypermail/linux/kernel/1711.2/02894.html]) or DSDT mangling.
  
 
=== Fingerprint Reader ===
 
=== Fingerprint Reader ===

Revision as of 20:22, 21 November 2017

Specifications

On manufacturer site: [1]

lspci output:

00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
00:16.0 Communication controller: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 (rev c4)
00:1c.4 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 5 (rev c4)
00:1d.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation HM77 Express Chipset LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller (rev 04)
01:00.0 Network controller: Atheros Communications Inc. AR9485 Wireless Network Adapter (rev 01)
02:00.0 Ethernet controller: Atheros Communications Inc. AR8161 Gigabit Ethernet (rev 10)

lsusb output:

Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 138a:0011 Validity Sensors, Inc. VFS5011 Fingerprint Reader
Bus 001 Device 004: ID 0bda:0129 Realtek Semiconductor Corp. 
Bus 001 Device 005: ID 0c45:648b Microdia 
Bus 002 Device 004: ID 0cf3:e004 Atheros Communications, Inc.

Hardware

Wi-Fi

Works out-of-the-box.

Ethernet

Works out-of-the-box.

Touchpad

Touchpad works out-of-the-box.

To turn the touchpad LED on:

echo 255 >/sys/class/leds/dell-laptop::touchpad/brightness

and off:

echo 0 >/sys/class/leds/dell-laptop::touchpad/brightness

Webcam

Works out-of-the-box. You don't need GSPCA for that.

Card reader

Works out-of-the-box.

Video

Intel HD4000 works out-of-the-box.

Sound

Works out-of-the-box. Cirrus HDA codec is in use.

Multimedia keys

Fn keys work out of the box. Three extra keys on the top right side are not working and require either dell-wmi driver patching (work in progress [2]) or DSDT mangling.

Fingerprint Reader

Test libfprintd version with VFS5011 Fingerprint Reader support is available here: [3]. Work OK.

Actions

Brightness adjustment

It's OK to pass the following options to kernel via bootloader:

acpi_osi=Linux acpi_backlight=vendor

to use native brightness control module. Otherwise it's level won't be stored. But if you use KDE, remove this one:

acpi_backlight=vendor

otherwise KDE won't be able to adjust brightness.

Hibernation

It works, but requires several tricks to take bugs away. Create tricks.sh file in /usr/lib/systemd/system-sleep/ folder with the following content:

#!/bin/sh

case $1/$2 in
pre/hibernate)
        echo never >/sys/kernel/mm/transparent_hugepage/enabled
        echo 1 >/sys/power/tuxonice/replace_swsusp
        echo 1 >/sys/power/tuxonice/compression/enabled
        echo 1 >/sys/power/tuxonice/user_interface/enable_escape
        echo 1 >/sys/power/tuxonice/user_interface/default_console_level
        echo lzo >/sys/power/tuxonice/compression/algorithm
        echo shutdown >/sys/power/disk
        ifconfig wlan0 down
        uksmctl -d
        sync
        ;;
post/hibernate)
        hdparm -B 253 /dev/sda
        uksmctl -a
        echo madvise >/sys/kernel/mm/transparent_hugepage/enabled
        ;;
pre/suspend)
        uksmctl -d
        sync
        ;;
post/suspend)
        hdparm -B 253 /dev/sda
        uksmctl -a
        ;;
esac

and make it executable. It you don't use pf-kernel, remove all strings related to TuxOnIce, UKSM and Transparent Hugepages.

Also it's nice to pass the following option to kernel via bootloader:

i8042.nopnp

otherwise errors during hibernation may occur. They do not interrupt hibernation, just pollute the screen. Everything works without this option.

Suspend to RAM

Works out-of-the-box.