LENOVO G40-30 / IDEAPAD LAPTOP

Here are some random notes for GnuLinux Support on this LenovO LapTop, if it HelpEd ? PleasE have fun , if not you can still ask me for HelP

NEWS

COMMUNITY

STATUS

Working Out of the box :

Working after hacking :

ToDo / MisC :

SPECS

SPECS / LSPCI

00:00.0 Host bridge: Intel Corporation ValleyView SSA-CUnit (rev 0e)
00:02.0 VGA compatible controller: Intel Corporation ValleyView Gen7 (rev 0e)
00:13.0 SATA controller: Intel Corporation ValleyView 6-Port SATA AHCI Controller (rev 0e)
00:1a.0 Encryption controller: Intel Corporation ValleyView SEC (rev 0e)
00:1b.0 Audio device: Intel Corporation ValleyView High Definition Audio Controller (rev 0e)
00:1c.0 PCI bridge: Intel Corporation ValleyView PCI Express Root Port (rev 0e)
00:1c.2 PCI bridge: Intel Corporation ValleyView PCI Express Root Port (rev 0e)
00:1c.3 PCI bridge: Intel Corporation ValleyView PCI Express Root Port (rev 0e)
00:1d.0 USB controller: Intel Corporation ValleyView USB Enhanced Host Controller (rev 0e)
00:1f.0 ISA bridge: Intel Corporation ValleyView Power Control Unit (rev 0e)
00:1f.3 SMBus: Intel Corporation ValleyView SMBus Controller (rev 0e)
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 10)

cat /proc/version 
Linux version 4.1.0-rc1+ (root@cel) (gcc version 4.9.2 (Ubuntu 4.9.2-10ubuntu13) ) #2 SMP Sat May 2 04:51:35 CEST 2015


00:00.0 Host bridge: Intel Corporation Atom Processor Z36xxx/Z37xxx Series SoC Transaction Register (rev 0e)
00:02.0 VGA compatible controller: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Graphics & Display (rev 0e)
00:13.0 SATA controller: Intel Corporation Device 0f23 (rev 0e)
00:1a.0 Encryption controller: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Trusted Execution Engine (rev 0e)
00:1b.0 Audio device: Intel Corporation Atom Processor Z36xxx/Z37xxx Series High Definition Audio Controller (rev 0e)
00:1c.0 PCI bridge: Intel Corporation Device 0f48 (rev 0e)
00:1c.2 PCI bridge: Intel Corporation Device 0f4c (rev 0e)
00:1c.3 PCI bridge: Intel Corporation Device 0f4e (rev 0e)
00:1d.0 USB controller: Intel Corporation Atom Processor Z36xxx/Z37xxx Series USB EHCI (rev 0e)
00:1f.0 ISA bridge: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Power Control Unit (rev 0e)
00:1f.3 SMBus: Intel Corporation Device 0f12 (rev 0e)
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 10)

BIOS

dmidecode
(...)
Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
        Vendor: LENOVO
        Version: A7CN40WW
        Release Date: 07/18/2014
        Address: 0xF0000
        Runtime Size: 64 kB
        ROM Size: 4096 kB
(...)

INSTALL LINUX

url=https://launchpad.net/ubuntu/+source/linux/4.1.0-3.3/+build/7733039
wget -O- $url \
 | grep -o 'http[^">]*\.deb' | grep -v 'udeb' | while read url ; do wget $url ; done

EFI BOOT

I installed ubuntu from VirtualBox running in a linux system booted on UsB bios legacy mode… (Grub was installed to sda7) then boot it from the same device after regen grub.

Installed EasyBcd on windows (it didnt help and failed on reboot)

GUMMIBOOT

Then I copied gummiboot files to /dev/sda2 (sda3 is untouched IICR)

added gummieboot as entry of BcD (from admin's wcmd will fail on PowerShell)

bcdedit /set {bootmgr} path ...

Tweeked again using EasyUEFI.exe

Resources :

SECURE BOOT

Then selected new menu entry , but error happend :

"has been blocked by the current security policy"

Then disabled Security mode in BIOS/Firmware : set Admin password. save and quit enter again go to boot secure boot : disabled

Then gummie appreared it failed to boot

I fixed those files as shown and it worked :

  ls -l  /dev/disk/by-id/ | grep sda2
  lrwxrwxrwx 1 root root 10 mai    1 20:40 ata-WDC_WD2500LPCX-24C6HT0_WD-WX21E54AW223-part2 -> ../../sda2


cat<<EOF>>/etc/fstab
/dev/disk/by-id/ata-WDC_WD2500LPCX-24C6HT0_WD-WX21E54AW223-part2 /boot/efi auto auto 0 0 
EOF

 mount /boot/efi/


root@cel:/etc# find /boot/efi/ | less
(...)
/boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
(...)
/boot/efi/EFI/Boot/bootx64.efi.orig
/boot/efi/EFI/Boot/bootx64.efi
/boot/efi/EFI/Boot/bootx64.efi.mine
/boot/efi/EFI/8702874430274e929cec26c55a1c1e9b
/boot/efi/EFI/8702874430274e929cec26c55a1c1e9b/3.19.0-15-generic
/boot/efi/EFI/8702874430274e929cec26c55a1c1e9b/3.19.0-15-generic/initrd
/boot/efi/EFI/8702874430274e929cec26c55a1c1e9b/3.19.0-15-generic/linux
/boot/efi/EFI/loader
/boot/efi/EFI/loader/entries
/boot/efi/EFI/loader/entries/8702874430274e929cec26c55a1c1e9b-3.19.0-15-generic.conf
/boot/efi/EFI/gummiboot
/boot/efi/EFI/gummiboot/gummibootx64.efi
/boot/efi/BOOT
/boot/efi/BOOT/boot.sdi
/boot/efi/loader
/boot/efi/loader/entries
/boot/efi/loader/entries/8702874430274e929cec26c55a1c1e9b.conf
/boot/efi/loader/entries/8702874430274e929cec26c55a1c1e9b.conf~
/boot/efi/loader/loader.conf

root@cel:/etc# ls -l /boot/efi/EFI/Boot
total 1740
-rwxr-xr-x 1 root root   78107 Jul 21  2014 bootx64.efi
-rwxr-xr-x 1 root root   78107 May  1 17:53 bootx64.efi.mine
-rwxr-xr-x 1 root root 1617240 Jun 14  2014 bootx64.efi.orig


 cat /boot/efi/loader/loader.conf
timeout 3
default 8702874430274e929cec26c55a1c1e9b-*

-rwxr-xr-x 1 root root 78107 juil. 21  2014 /boot/efi/EFI/gummiboot/gummibootx64.efi
cat /boot/efi/EFI/loader/entries/8702874430274e929cec26c55a1c1e9b-3.19.0-15-generic.conf 
title Ubuntu 15.04
version 3.19.0-15-generic
machine-id 8702874430274e929cec26c55a1c1e9b
options root=UUID=813b2cac-d813-42dd-86a5-6e3ff8c4885a ro quiet
linux /8702874430274e929cec26c55a1c1e9b/3.19.0-15-generic/linux
initrd /8702874430274e929cec26c55a1c1e9b/3.19.0-15-generic/initrd

Booted in EFI mode it worked

Then I reinstalled again to make sure the package scripts are working fine :

aptitude reinstall gummiboot
The following packages will be REINSTALLED:
  gummiboot 
0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 20 not upgraded.
Need to get 0 B/45.0 kB of archives. After unpacking 0 B will be used.
[master 9bbc0f3] saving uncommitted changes in /etc prior to apt run
 Author: user <user@cel>
 1 file changed, 1 insertion(+)
(Reading database ... 118031 files and directories currently installed.)
Preparing to unpack .../gummiboot_45-2_amd64.deb ...
Unpacking gummiboot (45-2) over (45-2) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up gummiboot (45-2) ...
Copied /usr/lib/gummiboot/gummibootx64.efi to /boot/efi/EFI/gummiboot/gummibootx64.efi.
Copied /usr/lib/gummiboot/gummibootx64.efi to /boot/efi/EFI/Boot/bootx64.efi.

Then I installed an other kernel to check if it is added to the boot menu :

apt-get install linux-image-lowlatency

Ok it added an other “Ubuntu 15” entry

Let's add the 1st entry the “automatic way”

sudo aptitude reinstall linux-image-3.19.0-15-generic

RESOURCES

HDD : 250 GB

It was shiped with WindowS 8.1 how to ask for ReFund ?

df -h | grep sda
/dev/sda1      1000M  295M  706M  30% /tmp/tmp-root.tmp/mnt/dev/sda1
/dev/sda2       256M   29M  228M  12% /tmp/tmp-root.tmp/mnt/dev/sda2
/dev/sda3       996M  524M  473M  53% /tmp/tmp-root.tmp/mnt/dev/sda3
/dev/sda5       191G   27G  165G  14% /tmp/tmp-root.tmp/mnt/dev/sda5
/dev/sda6        25G  1,9G   24G   8% /tmp/tmp-root.tmp/mnt/dev/sda6
/dev/sda7        15G   12G  3,4G  78% /tmp/tmp-root.tmp/mnt/dev/sda7

grep sda  /proc/partitions   
   8        0  244198584 sda
   8        1    1024000 sda1
   8        2     266240 sda2
   8        3    1024000 sda3
   8        4     131072 sda4
   8        5  199970816 sda5
   8        6   26214400 sda6
   8        7   15566848 sda7
WD2500LPCX
HDD 250 GB 5400rpm, 2.5" / Serial ATA II 3.0Gb/s / 5400rpm / 8MB (bulk)

Disk /dev/sda: 250.1 GB, 250059350016 bytes
256 heads, 63 sectors/track, 30282 cylinders, total 488397168 sectors

WIFI : RTL8723BE

TODO / WORK IN PROGRESS

I am Upstreaming fixes :

I noticed that lenovo g40 30 wifi is disabled by default on Ubuntu 15.04 and cant be enabled without removing module…

I made a simple kernel patch based on the yoga fixes and it works like charm…

So I plan to commit this upstream and report progress in this bugtracker.

If it's slow to be merged mentors are welcome…

More info to be shared at :

http://rzr.online.fr/q/ideapad

HistorY :

NexT :

MisC :

git remote add linux-platform-drivers-x86  git://git.infradead.org/users/dvhart/linux-platform-drivers-x86.git

See later BT chapter for sources

More:

COMMUNITY

UpStream:

MISC

cat<<EOF>> /etc/modprobe.d/rtl8723be.conf
> options rtl8723be fwlps=0 swlps=0 ips=0
> EOF
root@cel:/etc# modprobe -r rtl8723be ; modprobe -v rtl8723be

BlueTooth : 0bda:b728

lsusb # 0bda:b728 Realtek Semiconductor Corp. 
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter
      Subsystem: Lenovo Device b736
      Kernel driver in use: rtl8723be
02:00.0 0280: 10ec:b723
      Subsystem: 17aa:b736
      Kernel driver in use: rtl8723be
      
sudo lshw
                          *-usb:2
                       description: Bluetooth wireless interface
                       product: Bluetooth Radio
                       vendor: Realtek
                       physical id: 3
                       bus info: usb@1:1.4.3
                       version: 2.00
                       serial: ????????????   
                       capabilities: bluetooth usb-2.10
                       configuration: driver=btusb maxpower=500mA speed=12Mbit/s
                         
lsusb -v -d  0bda:b728 | less

Bus 001 Device 006: ID 0bda:b728 Realtek Semiconductor Corp. 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.10
  bDeviceClass          224 Wireless
  bDeviceSubClass         1 Radio Frequency
  bDeviceProtocol         1 Bluetooth
  bMaxPacketSize0        64
  idVendor           0x0bda Realtek Semiconductor Corp.
  idProduct          0xb728 
  bcdDevice            2.00
  iManufacturer           1 Realtek 
  iProduct                2 Bluetooth Radio 
  iSerial                 3 ????????????
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          177
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              4 Bluetooth Radio
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
       wMaxPacketSize     0x0010  1x 16 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              4 Bluetooth Radio
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0000  1x 0 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0000  1x 0 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       1
      bNumEndpoints           2
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              4 Bluetooth Radio
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0009  1x 9 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0009  1x 9 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       2
      bNumEndpoints           2
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              4 Bluetooth Radio
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0011  1x 17 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0011  1x 17 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       3
      bNumEndpoints           2
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              4 Bluetooth Radio
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0019  1x 25 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
         Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0019  1x 25 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       4
      bNumEndpoints           2
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              4 Bluetooth Radio
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0021  1x 33 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0021  1x 33 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       5
      bNumEndpoints           2
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              4 Bluetooth Radio
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0031  1x 49 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0031  1x 49 bytes
        bInterval               1
Binary Object Store Descriptor:
  bLength                 5
  bDescriptorType        15
  wTotalLength           12
  bNumDeviceCaps          1
  USB 2.0 Extension Device Capability:
    bLength                 7
    bDescriptorType        16
    bDevCapabilityType      2
    bmAttributes   0x00000002
      Link Power Management (LPM) Supported
Device Status:     0x0001
  Self Powered

SETUP

It did not work out of the box so some extra steps are needed

Rebuild it all / This branch will work :

sudo make install DESTDIR=/usr/local/opt/linux-firmware
cd /usr/local/opt/linux-firmware
d="lib/firmware/rtl_bt/"
mkdir -p "/$d"
find $d -type f  | while read t ; do sudo  ln -fsv $(pwd)/$t /$t ; done

USAGE

  sudo apt-get install bluez-tools
  sudo grep -i bluetooth /sys/kernel/debug/usb/devices
  lsusb # 0bda:b728 Realtek Semiconductor Corp. 
  lsmod | grep bluetooth
  systemctl restart bluetooth
  systemctl status bluetooth
  sudo rfkill list | grep 'blocked: yes'
  bluez-test-adapter list
  # [ /org/bluez/1616/hci0 ]
  # Powered = 1
  
  hcitool dev # should list :   Devices:   hci0    2C:33:7A:??:??:??
  dmesg | tail #  Bluetooth: HIDP (Human Interface Emulation) ver 1.2
  hidd --search # nothing BUG here 
  hcitool scan # nothing BUG here
<jhe> anyway, btmon is a good tool to try to decode the low-level communication with the adapter
<jhe> i.e. stop/kill bluetoothd and use only btmgmt for discovery etc

@TaG: BlueTooth

UPSTREAM

DRIVER

You need to use the troy branch of http://github.com/lwfinger/rtl8723au_bt.git. Despite the name, its driver is for all Realtek BT devices.

Intial efforts where into : “rtl8723au_bt” driver

Seems to be merged into BtUsb “Bluetooth: btusb: Add Realtek 8723/8761 support” :

Merged into Maintainer repo :

To be tracked at :

FIRMWARE

  dmesg  | grep fw # I guess this is not enough
  # [   11.590111] rtl8723be: Using firmware rtlwifi/rtl8723befw.bin
 apt-file search rtl8723b_fw.bin

I guess this should be upstreamed too ?

MisC :

Ubuntu ships it now :

wget https://launchpad.net/ubuntu/+archive/primary/+files/linux-firmware_1.146_all.deb
lib/firmware/rtl_bt/rtl8723b_fw.bin

@TaG: BtUsb

COMMUNITY

VIDEO : 8086:0f31

rzr@cel:~/tmp$ glxinfo  | head
name of display: :1.0
display: :1  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
(...)

OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Bay Trail 
OpenGL core profile version string: 3.3 (Core Profile) Mesa 10.5.2
OpenGL core profile shading language version string: 3.30


glxgears 
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
304 frames in 5.0 seconds = 60.736 FPS
url="http://kino3d.org/peach/bigbuckbunny_movies/big_buck_bunny_1080p_h264.mov"
wget -c "$url"
url=file://$(pwd)/$(basename -- "$url") 
gst-launch-1.0  playbin uri="${url}" video-sink="vaapisink"  audio-sink=fakesink
sudo apt-get install i965-va-driver vainfo libva-egl1 libva-drm1  libva-wayland1

WayLand ?

FIRMWARE / ACPI / SENSORS etc

dmesg | grep -i failed

[    0.240547] acpi PNP0A08:00: _OSC failed (AE_ERROR); disabling ASPM
[    0.287838] pci 0000:00:1c.0: BAR 14: failed to assign [mem size 0x00200000]
[    0.287851] pci 0000:00:1c.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
[    0.287863] pci 0000:00:1c.2: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
[    0.287875] pci 0000:00:1c.3: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
[    0.287896] pci 0000:00:1c.3: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
[    0.287908] pci 0000:00:1c.2: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
[    0.287917] pci 0000:00:1c.0: BAR 14: failed to assign [mem size 0x00200000]
[    0.287929] pci 0000:00:1c.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
[    0.965770] sdhci: module verification failed: signature and/or required key missing - tainting kernel
[    1.303472] usb: failed to peer 1-4-port3 and usb2-port1 by location (1-4-port3:none) (usb2-port1:usb1-port1)
[    1.303480] usb 1-4-port3: failed to peer to usb2-port1 (-16)
[    1.303539] usb: failed to peer 1-4-port4 and usb2-port1 by location (1-4-port4:none) (usb2-port1:usb1-port1)
[    1.303543] usb 1-4-port4: failed to peer to usb2-port1 (-16)

ACPI

dmesg | grep -i error
[    0.170329] acpi PNP0A08:00: _OSC failed (AE_ERROR); disabling ASPM
acpi -V || apt-get install acpi
Battery 0: Full, 100%
Battery 0: design capacity 1897 mAh, last full capacity 1946 mAh = 100%
Adapter 0: on-line
Thermal 0: ok, 39.0 degrees C
Thermal 0: trip point 0 switches to mode critical at temperature 90.0 degrees C
Thermal 0: trip point 1 switches to mode hot at temperature 85.0 degrees C
Thermal 0: trip point 2 switches to mode passive at temperature 85.0 degrees C
Cooling 0: intel_powerclamp no state information available
Cooling 1: Processor 0 of 10
Cooling 2: Processor 0 of 10

SOC

[   10.373815] intel_soc_dts_thermal: request_threaded_irq ret -22
[   10.430626] intel_soc_dts_thermal: request_threaded_irq ret -22

FW

sudo fwfs -d # run through ssh in gnu screen , since dim=nolight
sudo fwfs -b
grep failed results.log 
952 passed, 31 failed, 4 warnings, 0 aborted, 140 skipped, 11 info only.

Test Failure Summary
================================================================================
Critical failures: 1
 method: Detected error 'Type' when evaluating '\_SB_.ADP0._PCL'.
High failures: 6
 klog: HIGH Kernel message: [    0.240536] \_SB_.PCI0:_OSC invalid UUID
 dmicheck: Out of range value 0x00 (range allowed 0x01..0x0b) while accessing entry 'Voltage Probe (Type 26)' @ 0x78b476da, field 'Location (bits 0..4)', offset 0x05
 dmicheck: Out of range value 0x00 (range allowed 0x01..0x06) while accessing entry 'Voltage Probe (Type 26)' @ 0x78b476da, field 'Status (bits 5..7)', offset 0x05
 syntaxcheck: Assembler error in line 60
 syntaxcheck: Assembler error in line 13137
 syntaxcheck: Compilation aborted early due to a parser detected syntax error.
Medium failures: 2
 apicedge: Legacy interrupt 8 is incorrectly level triggered.
 fan: Fan present but has no cur_state present.
Low failures: 22
(...)


Test           |Pass |Fail |Abort|Warn |Skip |Info |
apicedge       |     |    1|     |     |     |     |
dmicheck       |   52|   12|     |     |     |     |
fan            |    2|    1|     |     |     |     |
klog           |     |    1|     |     |     |     |
mcfg           |    1|    1|     |     |     |     |
method         |  725|    1|     |     |  125|     |
syntaxcheck    |    2|   14|     |     |     |     |
grep FAILED results.log  | sort
FAILED [CRITICAL] AETtype: Test 123, Detected error 'Type' when evaluating
FAILED [HIGH] AMLAsmASL_MSG_SYNTAX: Test 1, Assembler error in line 13137
FAILED [HIGH] AMLAsmASL_MSG_SYNTAX: Test 1, Assembler error in line 60
FAILED [HIGH] DMIValueOutOfRange: Test 2, Out of range value 0x00 (range allowed
FAILED [HIGH] DMIValueOutOfRange: Test 2, Out of range value 0x00 (range allowed
FAILED [HIGH] KlogOscInvalidUuid: Test 1, HIGH Kernel message: [ 0.240536]
FAILED [HIGH] SyntaxCheckIASLCompilerAborted: Test 1, Compilation aborted early
FAILED [LOW] AMLAsmASL_MSG_NOT_REFERENCED: Test 1, Assembler remark in line 89
FAILED [LOW] AMLAsmASL_MSG_SERIALIZED_REQUIRED: Test 1, Assembler remark in line
FAILED [LOW] AMLAsmASL_MSG_SERIALIZED_REQUIRED: Test 1, Assembler remark in line
FAILED [LOW] AMLAsmASL_MSG_SERIALIZED_REQUIRED: Test 1, Assembler remark in line
FAILED [LOW] AMLAsmASL_MSG_SERIALIZED_REQUIRED: Test 1, Assembler remark in line
FAILED [LOW] AMLAsmASL_MSG_SERIALIZED_REQUIRED: Test 1, Assembler remark in line
FAILED [LOW] AMLAsmASL_MSG_SERIALIZED_REQUIRED: Test 1, Assembler remark in line
FAILED [LOW] AMLAsmASL_MSG_SERIALIZED_REQUIRED: Test 1, Assembler remark in line
FAILED [LOW] AMLAsmASL_MSG_SERIALIZED_REQUIRED: Test 1, Assembler remark in line
FAILED [LOW] AMLAsmASL_MSG_SERIALIZED_REQUIRED: Test 1, Assembler remark in line
FAILED [LOW] AMLAsmASL_MSG_SERIALIZED_REQUIRED: Test 1, Assembler remark in line
FAILED [LOW] DMIAssetTag: Test 2, String index 0x01 in table entry 'System Power
FAILED [LOW] DMIAssetTag: Test 2, String index 0x05 in table entry 'System Power
FAILED [LOW] DMISerialNumber: Test 2, String index 0x01 in table entry 'Cache
FAILED [LOW] DMISerialNumber: Test 2, String index 0x01 in table entry 'Cache
FAILED [LOW] DMISerialNumber: Test 2, String index 0x01 in table entry 'Cache
FAILED [LOW] DMISerialNumber: Test 2, String index 0x02 in table entry 'System
FAILED [LOW] DMISerialNumber: Test 2, String index 0x03 in table entry 'Memory
FAILED [LOW] DMISerialNumber: Test 2, String index 0x03 in table entry 'System
FAILED [LOW] DMISerialNumber: Test 2, String index 0x04 in table entry 'System
FAILED [LOW] DMISerialNumber: Test 2, String index 0x05 in table entry 'Memory
FAILED [LOW] MCFGMMIONotReserved: Test 1, MCFG MMIO config space at 0xe0000000
FAILED [MEDIUM] LegacyIRQLevelTrig: Test 1, Legacy interrupt 8 is incorrectly
FAILED [MEDIUM] NoFanCurState: Test 1, Fan present but has no cur_state present.

sudo fwts --disassemble-aml

FAN

sudo apt-get install fancontrol
sudo pwmconfig

/usr/sbin/pwmconfig: There are no pwm-capable sensor modules installed

SENSORS

sudo sensors-detect
Driver `coretemp':
* Chip `Intel digital thermal sensor' (confidence: 9)
sensors
acpitz-virtual-0
Adapter: Virtual device
temp1:        +34.0°C  (crit = +90.0°C)

coretemp-isa-0000
Adapter: ISA adapter
Core 0:       +33.0°C  (high = +105.0°C, crit = +105.0°C)
Core 1:       +33.0°C  (high = +105.0°C, crit = +105.0°C)

AUDIO

AudiO

cat /proc/asound/cards
0 [PCH            ]: HDA-Intel - HDA Intel PCH
                     HDA Intel PCH at 0x90810000 irq 92
00:1b.0 Audio device: Intel Corporation Atom Processor Z36xxx/Z37xxx Series High Definition Audio Controller (rev 0e)
00:1b.0 0403: 8086:0f04 (rev 0e)
LANG=C arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: CX20751/2 Analog [CX20751/2 Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0

POWER

MISC / HARDWARE

MORE

ideapad.txt · Last modified: 2017/11/06 19:16 by rzr
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki