Translation(s): none
DebianOn is an effort to document how to install, configure and use Debian on some specific hardware. Therefore potential buyers would know if that hardware is supported and owners would know how get the best out of that hardware. The purpose is not to duplicate the Debian Official Documentation, but to document how to install Debian on some specific hardware. If you need help to get Debian running on your hardware, please have a look at our user support channels where you may find specific channels (mailing list, IRC channel) dedicated to certain types of hardware. |
Models covered
Lenovo Thinkpad T460s
Sub-models (LIST OF MODEL REFERENCE NUMBER) options :
- Screen resolution: 35.56 14" IPS 16:9, FullHD 1920x1080 or WQHD 2560x1440
- Wireless card: Broadcom 802.11ac WLAN or Intel Dual Band Wireless-AC 8260
- Disk and Ram size (SSD PCIe/NVMe): 4GB DDR4-2133 onboard, one extra RAM slot
- CPU: Skylake, Intel Core i5-6200U or Intel Core i7-6600U
Overall Status
Core Components |
||
Boot Standard Kernel: |
|
|
LAN network card: |
|
|
Detect CD/DVD: |
[?] |
|
Detect hard drives: |
|
|
Extra Features |
||
CPU Frequency Scaling |
[?] |
|
Hibernation |
[?] |
|
Sleep / Suspend |
[?] |
|
Xorg |
[?] |
|
- OpenGL |
[?] |
|
- Resize-and-Rotate(randr) |
[?] |
|
Switch to External Screen |
|
|
Mouse |
|
|
- Built-in (Trackpoint) |
|
|
- Built-in (Touchpad) |
|
|
Modem |
[?] |
|
Wireless/Wifi |
|
|
Keyboard's Hotkeys |
|
Legend :
= OK ; Unsupported(No Driver) ; = Error (Couldn't get it working); [?] Unknown, Not Test ; [-] Not-applicable
= Configuration Required; = Only works with a non-free driver and or firmware
Important Notes
Wireless (and ethernet?) requires non-free firmware-iwlwifi, available in non-free section of standard Debian repository. After install, works fine.
boots with stock stretch 4.3 kernel, but even 4.4 freezes on lid close and mouse release events are buggy; patches against 4.5 available, also work against 4.4
still some GPU related issues with Intel Skylake -> not sure how to address those, please help
Configuration
enable i915.preliminary_hw_support
This is not required for post-4.3 kernels:
"you won't get kernel mode-setting support and working 3D acceleration for Skylake's HD Graphics" unless you enable i915 preliminary support: http://www.phoronix.com/scan.php?page=news_item&px=intel-skl-prelim-support
/etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="quiet i915.preliminary_hw_support=1"
Kernel issues
- lots of Skylake related reports of problems with 4.3; I installed with 4.3 and was able to boot, several problems in dmesg, so I quickly upgraded to 4.4
Remaining issues even with 4.4/4.5:
#113551 Thinkpad T460s freezes on lid close on battery power: https://bugzilla.kernel.org/show_bug.cgi?id=113551
#114321 Lenovo T460s reports incorrect release events https://bugzilla.kernel.org/show_bug.cgi?id=114321
Both patches also work against 4.4 Debian kernel sources:
apt-source linux cd linux-4.4.6 patch p1 --dry-run < 209371-redirect-thermal-interrupt.patch patch p1 --dry-run < 114321-incorrect-mouse-release-events.patch fakeroot make-kpkg --initrd --append-to-version=-custom kernel_image
(remove --dry-run to actually patch)
Display
I briefly tested HDMI output and it did not work Needs further testing
- Skylake GPUs seem to still be problematic even with 4.5 kernels; disabling 3D Acceleration seems to help but is obviously not a great solution
WQHD High Resolution display tweaks
.Xresources
!XFT Xft.dpi : 210 Xft.lcdfilter : lcddefault Xft.hintstyle : hintslight Xft.hinting : true Xft.antialias : true Xft.rgba : rgb # URxvt: ! Fonts URxvt.allow_bold: false URxvt*font: xft:terminus:pixelsize=24 URxvt*boldFont: xft:terminus:pixelsize=24 URxvt*letterSpace: -1
xorg.conf.d/90-internal-screen-t460s.conf
Section "Monitor" Identifier "Screen 0" Displaysize 309 174 EndSection
i3/config
font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1 font pango: Terminus 24px
dpkg-reconfigure console-setup
- Terminus 16x32
xdpyinfo
xdpyinfo | grep -B 2 resolution screen #0: dimensions: 2560x1440 pixels (309x174 millimeters) resolution: 210x210 dots per inch
Mouse (Touchpad, Trackpad)
drag&drop and clipboard selection does not work without kernel patch, see section on kernel patches above
- disabled touchpad in BIOS does not actually disable touchpad
?TrackPadOff=1 did not disable the trackpad either; I now use 'xinput --disable "SynPS/2 Synaptics ?TouchPad"'
Audio
- Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
- works
Power Management
- do not install tp-smapi-dkms; does not work on modern Thinkpads
tlp, powertop => enable tlp, will apply useful defaults
WiFi
- Ethernet controller: Intel Corporation Ethernet Connection I219-V (rev 21)
- Network controller: Intel Corporation Wireless 8260 (rev 3a)
System Summary
lspci
00:00.0 Host bridge [0600]: Intel Corporation Sky Lake Host Bridge/DRAM Registers [8086:1904] (rev 08) Subsystem: Lenovo Skylake Host Bridge/DRAM Registers [17aa:2233] Flags: bus master, fast devsel, latency 0 Capabilities: <access denied> 00:02.0 VGA compatible controller [0300]: Intel Corporation Sky Lake Integrated Graphics [8086:1916] (rev 07) (prog-if 00 [VGA controller]) Subsystem: Lenovo Skylake Integrated Graphics [17aa:2233] Flags: bus master, fast devsel, latency 0, IRQ 128 Memory at e0000000 (64-bit, non-prefetchable) [size=16M] Memory at c0000000 (64-bit, prefetchable) [size=512M] I/O ports at e000 [size=64] Expansion ROM at <unassigned> [disabled] Capabilities: <access denied> Kernel driver in use: i915 Kernel modules: i915 00:08.0 System peripheral [0880]: Intel Corporation Sky Lake Gaussian Mixture Model [8086:1911] Subsystem: Lenovo Skylake Gaussian Mixture Model [17aa:2233] Flags: bus master, fast devsel, latency 0, IRQ 255 Memory at e124a000 (64-bit, non-prefetchable) [size=4K] Capabilities: <access denied> 00:14.0 USB controller [0c03]: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller [8086:9d2f] (rev 21) (prog-if 30 [XHCI]) Subsystem: Lenovo Sunrise Point-LP USB 3.0 xHCI Controller [17aa:2233] Flags: bus master, medium devsel, latency 0, IRQ 123 Memory at e1220000 (64-bit, non-prefetchable) [size=64K] Capabilities: <access denied> Kernel driver in use: xhci_hcd Kernel modules: xhci_pci 00:14.2 Signal processing controller [1180]: Intel Corporation Sunrise Point-LP Thermal subsystem [8086:9d31] (rev 21) Subsystem: Lenovo Sunrise Point-LP Thermal subsystem [17aa:2233] Flags: bus master, fast devsel, latency 0, IRQ 11 Memory at e124b000 (64-bit, non-prefetchable) [size=4K] Capabilities: <access denied> 00:16.0 Communication controller [0780]: Intel Corporation Sunrise Point-LP CSME HECI [8086:9d3a] (rev 21) Subsystem: Lenovo Sunrise Point-LP CSME HECI [17aa:2233] Flags: bus master, fast devsel, latency 0, IRQ 124 Memory at e124c000 (64-bit, non-prefetchable) [size=4K] Capabilities: <access denied> Kernel driver in use: mei_me Kernel modules: mei_me 00:17.0 SATA controller [0106]: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] [8086:9d03] (rev 21) (prog-if 01 [AHCI 1.0]) Subsystem: Lenovo Sunrise Point-LP SATA Controller [AHCI mode] [17aa:2233] Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 125 Memory at e1248000 (32-bit, non-prefetchable) [size=8K] Memory at e124f000 (32-bit, non-prefetchable) [size=256] I/O ports at e080 [size=8] I/O ports at e088 [size=4] I/O ports at e060 [size=32] Memory at e124d000 (32-bit, non-prefetchable) [size=2K] Capabilities: <access denied> Kernel driver in use: ahci Kernel modules: ahci 00:1c.0 PCI bridge [0604]: Intel Corporation Device [8086:9d10] (rev f1) (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0, IRQ 16 Bus: primary=00, secondary=02, subordinate=02, sec-latency=0 Memory behind bridge: e1100000-e11fffff Capabilities: <access denied> Kernel driver in use: pcieport Kernel modules: shpchp 00:1c.2 PCI bridge [0604]: Intel Corporation Device [8086:9d12] (rev f1) (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0, IRQ 18 Bus: primary=00, secondary=04, subordinate=04, sec-latency=0 Memory behind bridge: e1000000-e10fffff Capabilities: <access denied> Kernel driver in use: pcieport Kernel modules: shpchp 00:1f.0 ISA bridge [0601]: Intel Corporation Sunrise Point-LP LPC Controller [8086:9d48] (rev 21) Subsystem: Lenovo Sunrise Point-LP LPC Controller [17aa:2233] Flags: bus master, medium devsel, latency 0 00:1f.2 Memory controller [0580]: Intel Corporation Sunrise Point-LP PMC [8086:9d21] (rev 21) Subsystem: Lenovo Sunrise Point-LP PMC [17aa:2233] Flags: bus master, fast devsel, latency 0 Memory at e1244000 (32-bit, non-prefetchable) [size=16K] 00:1f.3 Audio device [0403]: Intel Corporation Sunrise Point-LP HD Audio [8086:9d70] (rev 21) Subsystem: Lenovo Sunrise Point-LP HD Audio [17aa:2233] Flags: bus master, fast devsel, latency 64, IRQ 126 Memory at e1240000 (64-bit, non-prefetchable) [size=16K] Memory at e1230000 (64-bit, non-prefetchable) [size=64K] Capabilities: <access denied> Kernel driver in use: snd_hda_intel Kernel modules: snd_hda_intel 00:1f.4 SMBus [0c05]: Intel Corporation Sunrise Point-LP SMBus [8086:9d23] (rev 21) Subsystem: Lenovo Sunrise Point-LP SMBus [17aa:2233] Flags: medium devsel, IRQ 16 Memory at e124e000 (64-bit, non-prefetchable) [size=256] I/O ports at efa0 [size=32] Kernel driver in use: i801_smbus Kernel modules: i2c_i801 00:1f.6 Ethernet controller [0200]: Intel Corporation Ethernet Connection I219-V [8086:1570] (rev 21) Subsystem: Lenovo Ethernet Connection I219-V [17aa:2233] Flags: bus master, fast devsel, latency 0, IRQ 129 Memory at e1200000 (32-bit, non-prefetchable) [size=128K] Capabilities: <access denied> Kernel driver in use: e1000e Kernel modules: e1000e 02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS522A PCI Express Card Reader [10ec:522a] (rev 01) Subsystem: Lenovo RTS522A PCI Express Card Reader [17aa:2233] Flags: bus master, fast devsel, latency 0, IRQ 122 Memory at e1100000 (32-bit, non-prefetchable) [size=4K] Capabilities: <access denied> Kernel driver in use: rtsx_pci Kernel modules: rtsx_pci 04:00.0 Network controller [0280]: Intel Corporation Wireless 8260 [8086:24f3] (rev 3a) Subsystem: Intel Corporation Wireless 8260 [8086:1130] Flags: bus master, fast devsel, latency 0, IRQ 127 Memory at e1000000 (64-bit, non-prefetchable) [size=8K] Capabilities: <access denied> Kernel driver in use: iwlwifi Kernel modules: iwlwifi
lsusb
lsusb -v | grep -E '\<(Bus|iProduct|bDeviceClass|bDeviceProtocol)' 2>/dev/null
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Couldn't open device, some information will be missing Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 3.00 bDeviceClass 9 Hub bDeviceSubClass 0 Unused bDeviceProtocol 3 bMaxPacketSize0 9 idVendor 0x1d6b Linux Foundation idProduct 0x0003 3.0 root hub bcdDevice 4.04 iManufacturer 3 iProduct 2 iSerial 1 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 31 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xe0 Self Powered Remote Wakeup MaxPower 0mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 9 Hub bInterfaceSubClass 0 Unused bInterfaceProtocol 0 Full speed (or root) hub iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0004 1x 4 bytes bInterval 12 bMaxBurst 0 Bus 001 Device 005: ID 138a:0090 Validity Sensors, Inc. Couldn't open device, some information will be missing Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 255 Vendor Specific Class bDeviceSubClass 16 bDeviceProtocol 255 bMaxPacketSize0 8 idVendor 0x138a Validity Sensors, Inc. idProduct 0x0090 bcdDevice 1.64 iManufacturer 0 iProduct 0 iSerial 1 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 53 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xa0 (Bus Powered) Remote Wakeup MaxPower 100mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 5 bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass 0 bInterfaceProtocol 0 iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x01 EP 1 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 0x81 EP 1 IN 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 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x83 EP 3 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0008 1x 8 bytes bInterval 4 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x84 EP 4 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0010 1x 16 bytes bInterval 10 Bus 001 Device 007: ID 8087:0a2b Intel Corp. Couldn't open device, some information will be missing Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 224 Wireless bDeviceSubClass 1 Radio Frequency bDeviceProtocol 1 Bluetooth bMaxPacketSize0 64 idVendor 0x8087 Intel Corp. idProduct 0x0a2b bcdDevice 0.01 iManufacturer 0 iProduct 0 iSerial 0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 177 bNumInterfaces 2 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xe0 Self Powered Remote Wakeup MaxPower 100mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 3 bInterfaceClass 224 Wireless bInterfaceSubClass 1 Radio Frequency bInterfaceProtocol 1 Bluetooth iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 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 1 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 1 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 224 Wireless bInterfaceSubClass 1 Radio Frequency bInterfaceProtocol 1 Bluetooth iInterface 0 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 0 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 0 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 0 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 0 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 0 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 Bus 001 Device 003: ID 058f:9540 Alcor Micro Corp. AU9540 Smartcard Reader Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.01 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 8 idVendor 0x058f Alcor Micro Corp. idProduct 0x9540 AU9540 Smartcard Reader bcdDevice 1.20 iManufacturer 1 Generic iProduct 2 EMV Smartcard Reader iSerial 0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 93 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xa0 (Bus Powered) Remote Wakeup MaxPower 50mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 3 bInterfaceClass 11 Chip/SmartCard bInterfaceSubClass 0 bInterfaceProtocol 0 iInterface 0 ChipCard Interface Descriptor: bLength 54 bDescriptorType 33 bcdCCID 1.10 (Warning: Only accurate for version 1.0) nMaxSlotIndex 0 bVoltageSupport 7 5.0V 3.0V 1.8V dwProtocols 3 T=0 T=1 dwDefaultClock 3700 dwMaxiumumClock 12000 bNumClockSupported 3 dwDataRate 9946 bps dwMaxDataRate 688172 bps bNumDataRatesSupp. 138 dwMaxIFSD 254 dwSyncProtocols 00000007 2-wire 3-wire I2C dwMechanical 00000000 dwFeatures 000404BE Auto configuration based on ATR Auto activation on insert Auto voltage selection Auto clock change Auto baud rate change Auto PPS made by CCID Auto IFSD exchange Short and extended APDU level exchange dwMaxCCIDMsgLen 272 bClassGetResponse echo bClassEnvelope echo wlcdLayout none bPINSupport 0 bMaxCCIDBusySlots 1 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0004 1x 4 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 0x0010 1x 16 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x83 EP 3 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0010 1x 16 bytes bInterval 0 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: 0x0000 (Bus Powered) Bus 001 Device 002: ID 13ee:0003 MosArt Optical Mouse Couldn't open device, some information will be missing Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 8 idVendor 0x13ee MosArt idProduct 0x0003 Optical Mouse bcdDevice 0.00 iManufacturer 1 iProduct 2 iSerial 0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 34 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xa0 (Bus Powered) Remote Wakeup MaxPower 100mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 3 Human Interface Device bInterfaceSubClass 1 Boot Interface Subclass bInterfaceProtocol 2 Mouse iInterface 0 HID Device Descriptor: bLength 9 bDescriptorType 33 bcdHID 1.10 bCountryCode 0 Not supported bNumDescriptors 1 bDescriptorType 34 Report wDescriptorLength 52 Report Descriptors: ** UNAVAILABLE ** Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0004 1x 4 bytes bInterval 10 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Couldn't open device, some information will be missing Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 9 Hub bDeviceSubClass 0 Unused bDeviceProtocol 1 Single TT bMaxPacketSize0 64 idVendor 0x1d6b Linux Foundation idProduct 0x0002 2.0 root hub bcdDevice 4.04 iManufacturer 3 iProduct 2 iSerial 1 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 25 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xe0 Self Powered Remote Wakeup MaxPower 0mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 9 Hub bInterfaceSubClass 0 Unused bInterfaceProtocol 0 Full speed (or root) hub iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0004 1x 4 bytes bInterval 12
cpufreq-info
analyzing CPU 0: driver: intel_pstate CPUs which run at the same hardware frequency: 0 CPUs which need to have their frequency coordinated by software: 0 maximum transition latency: 0.97 ms. hardware limits: 400 MHz - 2.80 GHz available cpufreq governors: performance, powersave current policy: frequency should be within 400 MHz and 2.80 GHz. The governor "powersave" may decide which speed to use within this range. current CPU frequency is 500 MHz (asserted by call to hardware). [...]
tlp-stat
--- TLP 0.8 -------------------------------------------- +++ Configured Settings: /etc/default/tlp TLP_ENABLE=1 TLP_DEFAULT_MODE=AC DISK_IDLE_SECS_ON_AC=0 DISK_IDLE_SECS_ON_BAT=2 MAX_LOST_WORK_SECS_ON_AC=15 MAX_LOST_WORK_SECS_ON_BAT=60 SCHED_POWERSAVE_ON_AC=0 SCHED_POWERSAVE_ON_BAT=1 NMI_WATCHDOG=0 ENERGY_PERF_POLICY_ON_AC=performance ENERGY_PERF_POLICY_ON_BAT=powersave DISK_DEVICES="sda" DISK_APM_LEVEL_ON_AC="254 254" DISK_APM_LEVEL_ON_BAT="128 128" DISK_IOSCHED="deadline" SATA_LINKPWR_ON_AC=max_performance SATA_LINKPWR_ON_BAT=min_power PCIE_ASPM_ON_AC=performance PCIE_ASPM_ON_BAT=powersave RADEON_POWER_PROFILE_ON_AC=high RADEON_POWER_PROFILE_ON_BAT=low RADEON_DPM_STATE_ON_AC=performance RADEON_DPM_STATE_ON_BAT=battery RADEON_DPM_PERF_LEVEL_ON_AC=auto RADEON_DPM_PERF_LEVEL_ON_BAT=auto WIFI_PWR_ON_AC=1 WIFI_PWR_ON_BAT=5 WOL_DISABLE=Y SOUND_POWER_SAVE_ON_AC=0 SOUND_POWER_SAVE_ON_BAT=1 SOUND_POWER_SAVE_CONTROLLER=Y BAY_POWEROFF_ON_BAT=0 BAY_DEVICE="sr0" RUNTIME_PM_ON_AC=on RUNTIME_PM_ON_BAT=auto RUNTIME_PM_ALL=1 RUNTIME_PM_DRIVER_BLACKLIST="radeon nouveau" USB_AUTOSUSPEND=1 USB_BLACKLIST_WWAN=1 RESTORE_DEVICE_STATE_ON_STARTUP=0 +++ System Info System = LENOVO ThinkPad T460s 20FAS05Q00 BIOS = N1CET37W (1.05 ) Kernel = 4.4.6-custom #1 SMP Sun Mar 20 11:25:44 CET 2016 x86_64 /proc/cmdline = BOOT_IMAGE=/vmlinuz-4.4.6-custom root=/dev/mapper/beppo--vg-root ro i915.preliminary_hw_support=1 Init system = systemd +++ System Status TLP power save = enabled power source = AC +++ Processor CPU Model = Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver = intel_pstate /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor = powersave /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq = 400000 [kHz] /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq = 2800000 [kHz] /sys/devices/system/cpu/cpu1/cpufreq/scaling_driver = intel_pstate /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor = powersave /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq = 400000 [kHz] /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq = 2800000 [kHz] /sys/devices/system/cpu/cpu2/cpufreq/scaling_driver = intel_pstate /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor = powersave /sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq = 400000 [kHz] /sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq = 2800000 [kHz] /sys/devices/system/cpu/cpu3/cpufreq/scaling_driver = intel_pstate /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor = powersave /sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq = 400000 [kHz] /sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq = 2800000 [kHz] /sys/devices/system/cpu/intel_pstate/min_perf_pct = 14 /sys/devices/system/cpu/intel_pstate/max_perf_pct = 100 /sys/devices/system/cpu/intel_pstate/no_turbo = 0 x86_energy_perf_policy: program not installed. /proc/sys/kernel/nmi_watchdog = 0 +++ Undervolting PHC kernel not available. +++ Temperatures CPU temp = 42 [°C] /proc/acpi/ibm/fan = 0 [/min] +++ File System /proc/sys/vm/laptop_mode = 0 /proc/sys/vm/dirty_writeback_centisecs = 1500 /proc/sys/vm/dirty_expire_centisecs = 1500 /proc/sys/vm/dirty_ratio = 20 /proc/sys/vm/dirty_background_ratio = 10 /proc/sys/fs/xfs/age_buffer_centisecs = (not available) /proc/sys/fs/xfs/xfssyncd_centisecs = (not available) /proc/sys/fs/xfs/xfsbufd_centisecs = (not available) +++ Storage Devices /dev/sda: Model = SAMSUNG MZNLN256HCHP-000L7 Firmware = EMT22L6Q APM Level = none/disabled Status = active/idle TRIM = supported Scheduler = deadline SMART info: 5 Reallocated_Sector_Ct = 0 9 Power_On_Hours = 69 [h] 178 Used_Rsvd_Blk_Cnt_Chip = 0 194 Temperature_Celsius = 35 [°C] 233 Media_Wearout_Indicator = 100 [%] 241 Total_LBAs_Written = 0.000 [TB] +++ SATA Aggressive Link Power Management /sys/class/scsi_host/host0/link_power_management_policy = max_performance /sys/class/scsi_host/host1/link_power_management_policy = max_performance +++ PCIe Active State Power Management /sys/module/pcie_aspm/parameters/policy = default (using bios preferences) +++ Intel Graphics /sys/module/i915/parameters/powersave = (not available) /sys/module/i915/parameters/enable_rc6 = 1 (enabled) /sys/module/i915/parameters/enable_fbc = -1 (use per-chip default) /sys/module/i915/parameters/lvds_downclock = (not available) /sys/module/i915/parameters/semaphores = -1 (use per-chip default) +++ Wireless bluetooth = on wifi = on wwan = none (no device) hci0(btusb) : not connected wlp4s0(iwlwifi) : connected, power management = off +++ Audio /sys/module/snd_hda_intel/parameters/power_save = 0 /sys/module/snd_hda_intel/parameters/power_save_controller = N +++ Runtime Power Management device classes = all device blacklist = (not configured) driver blacklist = radeon nouveau /sys/bus/pci/devices/0000:00:00.0/power/control = on (0x060000, Host bridge, no driver) /sys/bus/pci/devices/0000:00:02.0/power/control = on (0x030000, VGA compatible controller, i915) /sys/bus/pci/devices/0000:00:08.0/power/control = on (0x088000, System peripheral, no driver) /sys/bus/pci/devices/0000:00:14.0/power/control = on (0x0c0330, USB controller, xhci_hcd) /sys/bus/pci/devices/0000:00:14.2/power/control = on (0x118000, Signal processing controller, no driver) /sys/bus/pci/devices/0000:00:16.0/power/control = on (0x078000, Communication controller, mei_me) /sys/bus/pci/devices/0000:00:17.0/power/control = on (0x010601, SATA controller, ahci) /sys/bus/pci/devices/0000:00:1c.0/power/control = on (0x060400, PCI bridge, pcieport) /sys/bus/pci/devices/0000:00:1c.2/power/control = on (0x060400, PCI bridge, pcieport) /sys/bus/pci/devices/0000:00:1f.0/power/control = on (0x060100, ISA bridge, no driver) /sys/bus/pci/devices/0000:00:1f.2/power/control = on (0x058000, Memory controller, no driver) /sys/bus/pci/devices/0000:00:1f.3/power/control = on (0x040300, Audio device, snd_hda_intel) /sys/bus/pci/devices/0000:00:1f.4/power/control = on (0x0c0500, SMBus, i801_smbus) /sys/bus/pci/devices/0000:00:1f.6/power/control = on (0x020000, Ethernet controller, e1000e) /sys/bus/pci/devices/0000:02:00.0/power/control = on (0xff0000, Unassigned class [ff00], rtsx_pci) /sys/bus/pci/devices/0000:04:00.0/power/control = on (0x028000, Network controller, iwlwifi) +++ USB autosuspend = enabled device whitelist = (not configured) device blacklist = (not configured) wwan blacklist = enabled Bus 002 Device 001 ID 1d6b:0003 control = auto, autosuspend_delay_ms = 0 -- Linux Foundation 3.0 root hub (hub) Bus 001 Device 005 ID 138a:0090 control = auto, autosuspend_delay_ms = 2000 -- Validity Sensors, Inc. (no driver) Bus 001 Device 007 ID 8087:0a2b control = auto, autosuspend_delay_ms = 2000 -- Intel Corp. (btusb) Bus 001 Device 003 ID 058f:9540 control = auto, autosuspend_delay_ms = 2000 -- Alcor Micro Corp. AU9540 Smartcard Reader (no driver) Bus 001 Device 002 ID 13ee:0003 control = on, autosuspend_delay_ms = 2000 -- MosArt Optical Mouse (usbhid) Bus 001 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms = 0 -- Linux Foundation 2.0 root hub (hub) +++ ThinkPad Extended Battery Functions tp-smapi = inactive (kernel module 'tp_smapi' not installed) tpacpi-bat = active +++ ThinkPad Battery Status: BAT0 (Main / Internal) /sys/class/power_supply/BAT0/manufacturer = SANYO /sys/class/power_supply/BAT0/model_name = 00HW022 /sys/class/power_supply/BAT0/cycle_count = (not supported) /sys/class/power_supply/BAT0/energy_full_design = 23510 [mWh] /sys/class/power_supply/BAT0/energy_full = 24660 [mWh] /sys/class/power_supply/BAT0/energy_now = 24660 [mWh] /sys/class/power_supply/BAT0/power_now = 0 [mW] /sys/class/power_supply/BAT0/status = Full tpacpi-bat.BAT0.startThreshold = 96 [%] tpacpi-bat.BAT0.stopThreshold = 100 [%] tpacpi-bat.BAT0.forceDischarge = 0 +++ ThinkPad Battery Status: BAT1 (Ultrabay / Slice / Replaceable) /sys/class/power_supply/BAT1/manufacturer = SANYO /sys/class/power_supply/BAT1/model_name = 01AV405 /sys/class/power_supply/BAT1/cycle_count = (not supported) /sys/class/power_supply/BAT1/energy_full_design = 26330 [mWh] /sys/class/power_supply/BAT1/energy_full = 27650 [mWh] /sys/class/power_supply/BAT1/energy_now = 27620 [mWh] /sys/class/power_supply/BAT1/power_now = 0 [mW] /sys/class/power_supply/BAT1/status = Unknown (threshold effective) tpacpi-bat.BAT1.startThreshold = 96 [%] tpacpi-bat.BAT1.stopThreshold = 100 [%] tpacpi-bat.BAT1.forceDischarge = 0 +++ Suggestions * Install tp-smapi kernel modules for ThinkPad advanced battery functions * Install ethtool to disable Wake On LAN (WOL)
Resources
Attachments
Useful Links
Making i3status work with multiple batteries https://josiah.wordpress.com/2015/01/29/making-i3status-work-with-multiple-batteries/
Preseed for automated install: https://cdn.balmer.name/files/preseed/lenovos.txt
Credits