Take a look at our
ThinkPads.com HOME PAGE
For those who might want to contribute to the blog, start here: Editors Alley Topic
Then contact Bill with a Private Message

Search found 30 matches

by vladisslav2011
Mon Sep 09, 2019 4:47 pm
Forum: 51nb and other modded Thinkpads
Topic: X210 embedded controller fixes (was: X210 EC datasheet/better brightness control)
Replies: 94
Views: 7208

Re: X210 embedded controller fixes (was: X210 EC datasheet/better brightness control)

I get 3.8W on lowest backlight and associated wifi. 3.5W with deassociated. All the ASPM is enabled, but i still never reach pc9 and pc10. As your LCD does not support PSR, then you will get pc9 only when the LCD is in DPMS off state (and wifi is disconnected). You may start powertop, issue xset dp...
by vladisslav2011
Sun Sep 08, 2019 9:59 am
Forum: 51nb and other modded Thinkpads
Topic: X210 embedded controller fixes (was: X210 EC datasheet/better brightness control)
Replies: 94
Views: 7208

Re: X210 embedded controller fixes (was: X210 EC datasheet/better brightness control)

00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #3 (rev f1) (prog-if 00 [Normal decode]) LnkCap: Port #3, Speed 8GT/s, Width x1, ASPM not supported on a stock BIOS My result on a stock BIOS: # lspci -vv|grep -E 'LnkCtl|^0' 00:00.0 Host bridge: Intel Corporation Xeon E3-...
by vladisslav2011
Sun Sep 08, 2019 9:17 am
Forum: 51nb and other modded Thinkpads
Topic: X210 embedded controller fixes (was: X210 EC datasheet/better brightness control)
Replies: 94
Views: 7208

Re: X210 embedded controller fixes (was: X210 EC datasheet/better brightness control)

About ASPM: 00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #3 (rev f1) (prog-if 00 [Normal decode]) LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- CommClk+ 01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Contro...
by vladisslav2011
Sat Sep 07, 2019 12:06 pm
Forum: 51nb and other modded Thinkpads
Topic: X210 embedded controller fixes (was: X210 EC datasheet/better brightness control)
Replies: 94
Views: 7208

Re: X210 EC datasheet/better brightness control?

2. Erratic mouse movement and clicking after waking suspend. It looks like there is bug in a psmouse driver, as it is triggered by unbind/binding it, but it is not reproduced during boot. I'll try to resolve this issue during this weekend. It looks like active ps/2 multiplexing is implementer incor...
by vladisslav2011
Fri Sep 06, 2019 5:26 pm
Forum: 51nb and other modded Thinkpads
Topic: X210 embedded controller fixes (was: X210 EC datasheet/better brightness control)
Replies: 94
Views: 7208

Re: X210 embedded controller fixes (was: X210 EC datasheet/better brightness control)

https://files.catbox.moe/nbp3qr You are lucky. Patch i915 driver and you'll have PSR working. this? Yes. But any other clear acrylic matte coating should work too. Just find a clean room to avoid dust and result will be just amazing. Better, than stock matte displays, I think. Have you tried powert...
by vladisslav2011
Fri Sep 06, 2019 4:32 pm
Forum: 51nb and other modded Thinkpads
Topic: X210 embedded controller fixes (was: X210 EC datasheet/better brightness control)
Replies: 94
Views: 7208

Re: X210 EC datasheet/better brightness control?

2. So one should out-of-tree driver? (ok) Yes. The driver from Realtek site. Or from r8168-dkms package if your distribution has it. 3. Use network-manager to configure wired connection. 3. I used wpa_supplicant, now switched to iwd/iwctl (No wired connection (almost never, when it's time to use th...
by vladisslav2011
Fri Sep 06, 2019 3:31 pm
Forum: 51nb and other modded Thinkpads
Topic: X210 embedded controller fixes (was: X210 EC datasheet/better brightness control)
Replies: 94
Views: 7208

Re: X210 embedded controller fixes (was: X210 EC datasheet/better brightness control)

If so, let's take a debug log: # echo 4 > /sys/module/drm/parameters/debug $ xset dpms force off Wait some time, hit any key to wake a display, post part of dmesg after enabling logging here. There should be some messages about enabling PSR after display power on. https://dump.bitcheese.net/files/z...
by vladisslav2011
Fri Sep 06, 2019 1:42 pm
Forum: 51nb and other modded Thinkpads
Topic: X210 embedded controller fixes (was: X210 EC datasheet/better brightness control)
Replies: 94
Views: 7208

Re: X210 embedded controller fixes (was: X210 EC datasheet/better brightness control)

It looks, like you have updated a kernel, but forgot to patch the i915_psr.c to force-enable PSR. Nah, i'm running the patched kernel. If so, let's take a debug log: # echo 4 > /sys/module/drm/parameters/debug $ xset dpms force off Wait some time, hit any key to wake a display, post part of dmesg a...
by vladisslav2011
Fri Sep 06, 2019 12:30 pm
Forum: 51nb and other modded Thinkpads
Topic: X210 embedded controller fixes (was: X210 EC datasheet/better brightness control)
Replies: 94
Views: 7208

Re: X210 embedded controller fixes (was: X210 EC datasheet/better brightness control)

L29Ah wrote:
Fri Sep 06, 2019 12:08 pm

Code: Select all

 cat /sys/kernel/debug/dri/0/i915_edp_psr_status 
Sink support: no
What am i doing wrong?
It looks, like you have updated a kernel, but forgot to patch the i915_psr.c to force-enable PSR.
by vladisslav2011
Fri Sep 06, 2019 11:55 am
Forum: 51nb and other modded Thinkpads
Topic: X210 embedded controller fixes (was: X210 EC datasheet/better brightness control)
Replies: 94
Views: 7208

Re: X210 EC datasheet/better brightness control?

Ok, I've got the same screen. and it shows 7-10W on my config Check /sys/kernel/debug/dri/0/i915_edp_psr_status cat /sys/kernel/debug/dri/0/i915_edp_psr_status Sink_Support: yes PSR mode: PSR1 Enabled: yes Busy frontbuffer bits: 0x000 Main link in standby mode: no HW Enabled & Active bit: yes Sourc...
by vladisslav2011
Fri Sep 06, 2019 10:51 am
Forum: 51nb and other modded Thinkpads
Topic: X210 embedded controller fixes (was: X210 EC datasheet/better brightness control)
Replies: 94
Views: 7208

Re: X210 EC datasheet/better brightness control?

http://wdfiles.ru/eq21 http://wdfiles.ru/eq22 http://wdfiles.ru/eq1J https://pastebin.com/rFD8vReJ https://pastebin.com/J8F0yeue It feels like you have reverted your brightness table fix, haven't you? No. Brightness fix is still here. dd if=newec.bin skip=$[0x09d7e] bs=1 count=32 2>/dev/null |hexdu...
by vladisslav2011
Sun Sep 01, 2019 5:10 pm
Forum: 51nb and other modded Thinkpads
Topic: X210 fan and battery communications
Replies: 8
Views: 1126

Re: X210 fan and battery communications

Battery "undercharging" issue is partially resolved. It reports correct charge percentage now, but still undercharges for 1-2% due to lower voltage (12.5V instead of 12.6V). See "EC datasheet..." topic. I don't think, that undercharge bug may be fully fixed in software due to the way, charging volta...
by vladisslav2011
Sun Sep 01, 2019 3:24 pm
Forum: 51nb and other modded Thinkpads
Topic: X210 embedded controller fixes (was: X210 EC datasheet/better brightness control)
Replies: 94
Views: 7208

Re: X210 EC datasheet/better brightness control?

I can't call a diode on the battery power input...great. What diode are people talking about. There should not be any diodes in the battery discharge path. If it will be here, then it should be 10A rated and have a heatsink as the laptop drains about 6-7A when CPU is at full turbo, full brightness,...
by vladisslav2011
Sun Jun 23, 2019 12:22 pm
Forum: 51nb and other modded Thinkpads
Topic: X210 embedded controller fixes (was: X210 EC datasheet/better brightness control)
Replies: 94
Views: 7208

Re: X210 EC datasheet/better brightness control?

Can you share your kernel config and other powersave options? As I can't manage to get less than 6.9 W The kenel is almost stock ubuntu 5.0.0-16-generic installed from binary DEB package as shipped with ubuntu 18.04. It performs well enough, so I did not bother configuring and compiling custom kern...
by vladisslav2011
Tue May 28, 2019 4:46 am
Forum: 51nb and other modded Thinkpads
Topic: Battery life improvement?
Replies: 6
Views: 1010

Re: Battery life improvement?

It's here: --- a/drivers/gpu/drm/i915/intel_psr.c 2019-03-04 02:21:29.000000000 +0300 +++ b/drivers/gpu/drm/i915/intel_psr.c 2019-04-30 21:32:44.830631955 +0300 @@ -589,7 +589,7 @@ adjusted_mode->crtc_vtotal - adjusted_mode->crtc_vdisplay - 1) { DRM_DEBUG_KMS("PSR condition failed: PSR setup time (%...
by vladisslav2011
Tue May 21, 2019 6:03 pm
Forum: 51nb and other modded Thinkpads
Topic: X210 embedded controller fixes (was: X210 EC datasheet/better brightness control)
Replies: 94
Views: 7208

Re: X210 EC datasheet/better brightness control?

The algorithm is very simple: 32bit sum of all firmware bytes (count FIRMW_SIZE*2 starting at FIRMW_START).
https://pastebin.com/ZjUUDdQ6
by vladisslav2011
Sat May 18, 2019 9:39 pm
Forum: 51nb and other modded Thinkpads
Topic: X210 embedded controller fixes (was: X210 EC datasheet/better brightness control)
Replies: 94
Views: 7208

Re: X210 EC datasheet/better brightness control?

Could you please also share your Ghidra/whatever project file to aid further mapping and modification of the EC firmware? The stock firmware is a piece of crap. It contains legacy code, ported from 51/31 microcontrollers, parts of some buggy libraries, many quick patches and lots of bugs. I have no...
by vladisslav2011
Sat May 18, 2019 9:18 pm
Forum: 51nb and other modded Thinkpads
Topic: X210s
Replies: 93
Views: 18889

Re: X210s

dmdsoftware wrote:
Sat May 18, 2019 6:16 am
Which RAM module did you end up using? Got a link?
I've already posted my RAM testing results here:
viewtopic.php?p=833449#p833449
Both modules are working fine. I can even put both in and have 20Gb RAM and stable system.
by vladisslav2011
Sat May 18, 2019 9:14 pm
Forum: 51nb and other modded Thinkpads
Topic: NVME on x210
Replies: 5
Views: 750

Re: NVME on x210

And a second wifi card in the slot visible under the keyboard. But the second wifi card is not appearing in lspci, nor lsusb. The second PCIe slot has only SATA (untested by me) and USB lines (and SIM card lines too). You may use it for m-SATA ssd or 3(4)G modem. And it looks like your wifi does no...
by vladisslav2011
Sat May 18, 2019 9:08 pm
Forum: 51nb and other modded Thinkpads
Topic: X210 embedded controller fixes (was: X210 EC datasheet/better brightness control)
Replies: 94
Views: 7208

Re: X210 EC datasheet/better brightness control?

I've soldered sort of 'socket' and connected a pin header with some wires to the EC UART pins too. Here are pictures: https://i.imgur.com/MinRCrO.jpg https://i.imgur.com/K9h0UZy.jpg https://i.imgur.com/Q8UJG2p.jpg And here is the next patched EC firmware: http://rgho.st/7MNNlhp49 It shows battery cu...
by vladisslav2011
Fri May 17, 2019 2:35 am
Forum: 51nb and other modded Thinkpads
Topic: X210 embedded controller fixes (was: X210 EC datasheet/better brightness control)
Replies: 94
Views: 7208

Re: X210 EC datasheet/better brightness control?

I have patched the EC firmware. Now brightness levels are 1%,2%,4%,8%,16%,32%,44%,48%,55%,60%,65%,70%,78%,84%,94%,99%. First 6 levels were replaced with more useful values. http://rgho.st/6rB9RGr88 Now power consumption is ~3.1W idle, offline,minimal brightness and only 2.8W with LCD off. It looks l...
by vladisslav2011
Thu May 16, 2019 8:56 pm
Forum: 51nb and other modded Thinkpads
Topic: X210 and Linux: snd_hda_codec_generic hdaudioC0D2: Unable to sync register 0x2f0d00. -11
Replies: 5
Views: 809

Re: X210 and Linux: snd_hda_codec_generic hdaudioC0D2: Unable to sync register 0x2f0d00. -11

Suspend/resume works very well to me. The only issue, I have, is related to the EC: the mouse pointer makes some jumps and random clicks on resume. And external mouse is buggy unless I touch the trackpoint. Which kernel version are you using? Are you using any uncommon patches? Post the kernel confi...
by vladisslav2011
Sun May 12, 2019 6:03 am
Forum: 51nb and other modded Thinkpads
Topic: X210s
Replies: 93
Views: 18889

Re: X210s

LeoRig wrote:
Sat May 11, 2019 9:52 pm
any help or hints would be very appreciated. Thanks.
I had similar issue with x210 from Jacky. Replacing bad RAM module had resolved this issue...
by vladisslav2011
Sat May 11, 2019 4:10 pm
Forum: 51nb and other modded Thinkpads
Topic: Battery life improvement?
Replies: 6
Views: 1010

Re: Battery life improvement?

I have a third batch x210 with 2880x1920 BOE NV126A1M-N52 LCD, NVME SSD and ar5b22 wifi/bt combo. And I have two batteries: One bad 9-cell chinese fake, 68Wh. Charges in ~3h, discharges in ~10-12h. It shows average rate: 4.5-5w offline, minimum backlight, light load 5.5-6.5w online , minimum backlig...
by vladisslav2011
Sat May 11, 2019 2:57 pm
Forum: 51nb and other modded Thinkpads
Topic: X210 embedded controller fixes (was: X210 EC datasheet/better brightness control)
Replies: 94
Views: 7208

Re: X210 EC datasheet/better brightness control?

Wrote HOPE at 51nb, if he won't answer, i'll play with Ghidra. EC seems to be CR16C+, and its firmware resides in the BIOS flash. Hmmm. I can't post at 51nb forums. It is asking for chinese wechat messenger, that does not accept phone numbers and asks to find anybody having it installed for some ti...
by vladisslav2011
Sat May 11, 2019 2:35 pm
Forum: 51nb and other modded Thinkpads
Topic: x210 Success/Failure reports with memory SODIMMs?
Replies: 5
Views: 1041

Re: x210 Success/Failure reports with memory SODIMMs?

AMD Radeon R7 Performance Series R744G2400U1S-U 4 GB - does not work correctly. Memory errors, system was unstable. Maybe the module itself was defective.
PATRIOT Viper 4 PV416G240C5S DDR4 16 Gb - works fine both at 2400MHz and at 2133MHz
Crucial CT4GSFS8213 2133MHz 4Gb - works fine
by vladisslav2011
Sat May 11, 2019 2:17 pm
Forum: 51nb and other modded Thinkpads
Topic: X210 ThinkVantage button
Replies: 3
Views: 888

Re: X210 ThinkVantage button

I'll try to patch the EC firmware to enable this button (and some FN combinations too), but I have to figure out it's scan position first. To do so I have to find EC's UART testpads on a motherboard or solder 2 very thin wires directly to EC pins or test nets from keyboard connector to ec pins and f...
by vladisslav2011
Sat May 11, 2019 2:00 pm
Forum: 51nb and other modded Thinkpads
Topic: X210 fan and battery communications
Replies: 8
Views: 1126

Re: X210 fan and battery communications

it cannot report battery current in Linux Yes. It looks, like average current readout is blocked in EC firmware for some reason. One may try to estimate current by dividing capacity change by time interval and average voltage, but in my case it gives inaccurate results. I have one non-genuine batte...
by vladisslav2011
Sat May 11, 2019 1:32 pm
Forum: 51nb and other modded Thinkpads
Topic: Heat and fan noise and coilwhining with x210 ?
Replies: 6
Views: 1174

Re: Heat and fan noise and coilwhining with x210 ?

I've disassembled the EC firmware. Advanced -> Thermal configuration -> Platform thermal configuration I don't expect this to work at all. The fan PWM table is hardcoded in EC firmware. And it can be modified only by reflashing the BIOS. You can temporarily adjust fan speed by writing EC PMC1 regist...

Go to advanced search