Lenovo IdeaPad B570e

From Gentoo Wiki
Jump to: navigation, search
Lenovo IdeaPad B570e.jpg

Hardware Status

Device Works? Note
Intel Celeron B800 Yes
Video Intel Yes
Intel HDA Yes
Ethernet RealTek RTL8111/8168 Yes
Wireless Broadcom BCM4313 Yes
Bluetooth Yes
Camera Yes
Card Reader Yes

Hardware

root #lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation 2nd Generation Core Processor Family DRAM Controller [8086:0104] (rev 09)
00:02.0 VGA compatible controller [0300]: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0106] (rev 09)
00:16.0 Communication controller [0780]: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 [8086:1c3a] (rev 04)
00:1a.0 USB controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 [8086:1c2d] (rev 05)
00:1b.0 Audio device [0403]: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller [8086:1c20] (rev 05)
00:1c.0 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 [8086:1c10] (rev b5)
00:1c.1 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 [8086:1c12] (rev b5)
00:1c.3 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 [8086:1c16] (rev b5)
00:1d.0 USB controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 [8086:1c26] (rev 05)
00:1f.0 ISA bridge [0601]: Intel Corporation HM65 Express Chipset Family LPC Controller [8086:1c49] (rev 05)
00:1f.2 SATA controller [0106]: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller [8086:1c03] (rev 05)
00:1f.3 SMBus [0c05]: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller [8086:1c22] (rev 05)
02:00.0 Network controller [0280]: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller [14e4:4727] (rev 01)
03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168 PCI Express Gigabit Ethernet controller [10ec:8168] (rev 06)
root #lsusb
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 001 Device 003: ID 04f2:b272 Chicony Electronics Co., Ltd Lenovo EasyCamera
Bus 002 Device 003: ID 0bda:0139 Realtek Semiconductor Corp. RTS5139 Card Reader Controller

DSDT

Extract ACPI tables:

cat /sys/firmware/acpi/tables/DSDT > dsdt.dat

Decompile:

iasl -d dsdt.dat

Recompile:

iasl -tc dsdt.dsl

Errors, Remarks and Warnings:

Intel ACPI Component Architecture
ASL Optimizing Compiler version 20130117-32 [Oct  3 2013]
Copyright (c) 2000 - 2013 Intel Corporation
dsdt.dsl   4461:                             Name (_T_0, Zero)  
Remark   5011 -        Use of compiler reserved name ^  (_T_0)
...
dsdt.dsl   7854:                 Method (_CRS, 0, NotSerialized)  
Warning  1114 -                            ^ Not all control paths return a value (_CRS)
...
dsdt.dsl  10690:                     Name (_PLD, Buffer (0x10)  
Error    4105 -      Invalid object type for reserved name ^  (_PLD: found BUFFER, requires Package)
...
Compilation complete. 7 Errors, 10 Warnings, 7 Remarks, 60 Optimizations

To remove Remarks change:

Name (_T_0, Zero)

to:

Name (T_0, Zero)

To remove Errors change:

Name (_PLD, Buffer (0x10)
 {
   ...
}

to:

Name (_PLD, Package (0x01) { Buffer (0x10)
 {
   ...
 }
}

To remove Warnings, Return (0) should be added at the end of the function:

Method (_CRS, 0, NotSerialized) {
...
Return (0)
}

Enable custom DSDT in kernel:

KERNEL DSDT
Device Drivers  --->
   Generic Driver Options  --->
   [ ] Select only drivers that don't need compile-time external firmware

Power management and ACPI options  --->
   [*] ACPI (Advanced Configuration and Power Interface) Support  --->
   (/boot/dsdl.hex) Custom DSDT Table file to include
Note
Working with dsdt latest version of iasl should be used

CPU

FILE /etc/portage/make.conf
CFLAGS="-march=core2 -O2 -fomit-frame-pointer -pipe"
CXXFLAGS="${CFLAGS}"

Sound

KERNEL Intel HDA
Device Drivers  --->
   Sound --->
   <*> Sound card support
   <*>   Advanced Linux Sound Architecture --->
   [*]     PCI devices --->
   <*>       Intel HD Audio --->

Ethernet

KERNEL r8169
Device Drivers  --->
   [*] Network Device Support  --->
   [*]   Ethernet driver support  --->
   [*]     Realtek devices
   < >       RealTek RTL-8139 C+ PCI Fast Ethernet Adapter support
   < >       RealTek RTL-8129/8130/8139 PCI Fast Ethernet Adapter support
   <*>       Realtek 8169 gigabit ethernet support

Wireless

KERNEL Broadcom BCM4313
Device Drivers  --->
   [*] Network Device Support  --->
   [*]   Wireless LAN  --->
   <*>     Broadcom IEEE802.11n PCIe SoftMAC WLAN driver
       Broadcom specific AMBA  --->
   <*>   BCMA support
Note
Package sys-kernel/linux-firmware should be installed.

Bluetooth

KERNEL Bluetooth
[*] Networking support --->
     <*>   Bluetooth subsystem support --->
     <*>     L2CAP protocol support
     <*>     SCO links support
     <*>     RFCOMM protocol support
     [*]       RFCOMM tty support
     <*>     BNEP protocol support
     [*]       Multicast filter support
     [*]       Protocol filter support
     <*>     HIDP protocol support       
             Bluetooth device drivers --->
     <*>       HCI USB driver

Fn Keys

KERNEL
Device Drivers  --->
    [*] X86 Platform Specific Device Drivers  --->
        <*>   Lenovo IdeaPad Laptop Extras
        <*> WMI
Function Keys Status
Camera Fn-Esc Yes
Sleep Fn-F1 Yes
LCD On/Off Fn-F2 Yes
VGA/LCD Fn-F3
Fn-F4
Wireless Fn-F5
Touchpad On/Off Fn-F6 No
Volume + Fn-Right Yes
Volume - Fn-Left Yes
Brightness + Fn-Up
Brightness - Fn-Down

Camera

KERNEL
Device Drivers --->
   <*> Multimedia Support --->
   [*]   Cameras/video grabbers support
   [*]   Media USB Adapters  --->
   <*>     USB Video Class (UVC)
   [*]       UVC input events device support

Test Camera

user $mplayer -tv driver=v4l2:device=/dev/video0 tv://
Note
Need mplayer build with v4l USE flag

Cardreader

KERNEL
Device Drivers --->
   [*] Staging drivers  --->
   <*>   Realtek RTS5139 USB card reader support