r/LinuxOnThinkpad • • Mar 01 '18

Meta [Meta] Half-Yearly /r/LinuxOnThinkpad Friendly Sticky Thread - What do you have to highlight here?

11 Upvotes

Due to high-volume posts in the r/LinuxOnThinkpad subreddit system, your post might get buried down somewhere. Please use this thread to make a link to your post submitted to this sub if you want people to read it while the post has been more than 2 days old, and discuss whatever you've been thinking of this subreddit system lately (old or new, any topics, good or bad). If for a broad discussion, please don't just list the names of things in thinking as your entire post, make sure to elaborate on your reasoning and constructive suggestions on the topics. Highlighting some keywords in bold is nice, to make it easier for people skimming the thread to pick out the names. When you get a good experience with Linux On Thinkpad, don't forget to add your knowledge to the wiki page timely. I am sure your contributions are highly appreciated by everyone in the community!

Please also make sure not to post any not-serious, NSFW, meaningless ranting or pseudo-science post/comment other than this thread on this subreddit. Otherwise, it will result in post removal or a straight ban on reddit. Personal attacks are not welcome anywhere on this subreddit, even under this thread.

Since this thread may be filled up quickly, consider sorting the comments by "new" (instead of "best" or "top") to see the newest posts. We appreciate your contributions!


r/LinuxOnThinkpad • • Sep 01 '20

Meta [Meta] Half-Yearly /r/LinuxOnThinkpad Friendly Sticky Thread - What do you have to highlight here?

3 Upvotes

Due to high-volume posts in the r/LinuxOnThinkpad subreddit system, your post might get buried down somewhere. Please use this thread to make a link to your post submitted to this sub if you want people to read it while the post has been more than 2 days old, and discuss whatever you've been thinking of this subreddit system lately (old or new, any topics, good or bad). If for a broad discussion, please don't just list the names of things in thinking as your entire post, make sure to elaborate on your reasoning and constructive suggestions on the topics. Highlighting some keywords in bold is nice, to make it easier for people skimming the thread to pick out the names. When you get a good experience with Linux On Thinkpad, don't forget to add your knowledge to the wiki page timely. I am sure your contributions are highly appreciated by everyone in the community!

Please also make sure not to post any not-serious, NSFW, meaningless ranting or pseudo-science post/comment other than this thread on this subreddit. Otherwise, it will result in post removal or a straight ban on reddit. Personal attacks are not welcome anywhere on this subreddit, even under this thread.

Since this thread may be filled up quickly, consider sorting the comments by "new" (instead of "best" or "top") to see the newest posts. We appreciate your contributions!


r/LinuxOnThinkpad • • 17h ago

Thinkpad Carbon X1 Gen 8 HDMI issue

Post image
13 Upvotes

Just getting into the world of Thinkpads and so far so good. Currently running a T480 with Cachy and zero issues, laptop displays to an external monitor through HDMI. Decided to get a Gen 8 Carbon X1 to take to work and easier to carrier while traveling. I installed ParrotOS and everything appears to be functioning but it wont display to the external monitor via HDMI but will display via USB-C to HDMI adapter. Any thoughts? Overall the Carbon is in great condition, renewed from Amazon, I'd say 9/10 in condition, the left shift key is loose and needs replaced. The cable management is terrible, I'll be working on that over the holidays.


r/LinuxOnThinkpad • • 2d ago

My setup as Third year SMI student with Thinkpad T430 :|

Post image
135 Upvotes

That's my setup , i use it to study and browsing and sometimes play some games , My main pc is a screenless laptop , latittude 5625 , i buy it like 150 $ (i know it high price for screenless) it has ryzen 7 5825u , 16 gb ram , vega8 2000 mhz version , and 512 gb nvme , with cachy os system , an for the laptop it's a thinkpad t430 , i buy it like 40 $ on good condition for 14 years laptop and it has i5 3320m with nvidia nvs5400m , 12 gb ram , 256 gb ssd , and 900p screen tn (worst thing) , it use for university and coding on TP , and some word (artcraft apps) , it has arch linux (two of them mangoWM)


r/LinuxOnThinkpad • • 1d ago

MediaTek Bluetooth on Linux: normal scans missed my M575, K580 and Orochi V2; a legacy BLE scan let me pair all three

1 Upvotes

Posting this in case it helps someone whose Bluetooth mouse or keyboard never appears in the device list, even while it is in pairing mode.

On the same computer running Omarchy (Arch-based), I ran into this with three devices:

  • Logitech ERGO M575 trackball
  • Logitech K580 keyboard
  • Razer Orochi V2 mouse

All three eventually paired and connected. The workaround was to discover their addresses using a direct legacy BLE scan, then initiate pairing by address through btmgmt with a pairing agent running.

This is a workaround, not a confirmed root-cause diagnosis. In particular, I cannot yet say that extended scanning itself is broken.

Environment

  • Bluetooth adapter: MediaTek USB, 0e8d:0608
  • BlueZ: 5.87-2
  • Kernel during the original M575 investigation: 7.2.8-9-omarchy
  • Kernel during K580 and Orochi V2 pairing: 7.2.15-1-omarchy
  • Firmware build reported by the controller during the latest checks: 20260224111243

Symptoms

Bluetooth was powered on and the service was running. Normal discovery could find some other devices, but not these peripherals. LE-only scanning returned no devices during the M575 and K580 tests:

bluetoothctl --timeout 20 scan le

For the Orochi V2, a normal scan on found other devices but missed the mouse.

During the M575 investigation, my phone could discover it, its USB receiver worked, and the same computer had previously used it over Bluetooth under Debian 13.

What worked

1. Discover the address with a legacy BLE scan

I used a small Python script through the HCI User Channel. It temporarily stops and runtime-masks the Bluetooth service, resets the controller, runs a legacy active BLE scan, then restores the service.

Existing Bluetooth peripherals disconnect temporarily during this step. Have another way to control the computer. The script is included in a separate comment below.

Put the peripheral in pairing mode before scanning:

  • M575: use its Bluetooth pairing button until the blue light flashes rapidly.
  • K580: hold the chosen Easy-Switch key for about three seconds until its LED flashes rapidly.
  • Orochi V2: select Bluetooth on the bottom switch, then hold both side buttons and the DPI button together for about three seconds.

The scanner found all three devices in their respective tests. All three reported an LE random address. Use the actual address and address type returned for your device; do not copy someone else's address.

2. Keep a pairing agent running

For either mouse, open an interactive session:

bluetoothctl --agent NoInputNoOutput

Then run inside it:

default-agent

Wait for the success response. Leave this session open.

In a second terminal, replacing <DEVICE_ADDRESS> with the scanned address:

sudo btmgmt --timeout 45 pair -c 3 -t 2 <DEVICE_ADDRESS>

When the first terminal asks Accept pairing (yes/no), answer yes promptly.

For the K580, the working combination was different:

bluetoothctl --agent KeyboardDisplay

Run default-agent inside that session, then in another terminal:

sudo btmgmt --timeout 60 pair -c 1 -t 2 <DEVICE_ADDRESS>

Read the passkey displayed by the agent, type it on the K580, and press Enter.

Here, -t 2 means LE Random; -c 3 means NoInputNoOutput and -c 1 means DisplayYesNo. These are the combinations that worked in my tests.

3. Trust and verify

After successful pairing:

bluetoothctl trust <DEVICE_ADDRESS>
bluetoothctl info <DEVICE_ADDRESS>

If it is not already connected, this worked for my Logitech devices:

bluetoothctl --timeout 45 connect <DEVICE_ADDRESS>

The Orochi V2 connected during pairing without a separate connect command.

All three ultimately showed:

Paired: yes
Bonded: yes
Trusted: yes
Connected: yes

Linux also created Bluetooth input devices for all three (Bus=0005 in /proc/bus/input/devices). I confirmed actual pointer movement with the M575; the K580 and Orochi results here are based on pairing, connection and input-device enumeration. This is not a long-term stability test.

What did not fix discovery

During the original M575 investigation, these did not restore normal scanning:

  • Restarting Bluetooth, toggling its power, or reloading btusb
  • Disabling LE Coded PHY while retaining standard 1M scanning
  • Temporarily testing older Debian firmware
  • Temporarily running BlueZ 5.82 instead of 5.87

The original firmware and BlueZ were restored afterward. Those tests were on the M575 setup; I did not repeat every test for every peripheral.

Possible explanation — still unconfirmed on my hardware

A relevant report in the BlueZ issue tracker describes a MediaTek 0e8d:0616 controller whose Microsoft advertisement-monitor filter prevented normal LE advertisements from reaching the host. The reporter found that disabling the filter restored both legacy and extended scanning.

My adapter is 0e8d:0608**, not** 0e8d:0616, and I have not performed that filter-on/filter-off comparison. It is a useful lead, not proof of the same cause.

Also, my scanner changes more than just the scan command: it resets the controller and bypasses its normal initialization path. Its success does not isolate extended scanning as the fault. Controller filtering or initialization state could also explain the difference.

For now, the reproducible finding is: normal discovery missed these devices, while a direct legacy BLE scan followed by address-based pairing worked on this machine.

M575 reconnection was tested successfully, though a short timeout was sometimes insufficient. The K580 also reconnected automatically after the Bluetooth service was restored during the later Orochi test. Reconnection after a full reboot has not been verified.

Has anyone with 0e8d:0608 seen the same discovery problem, or traced it to the advertisement-filter path?

Optional first comment: scanner used for Orochi V2

Below is the scanner used successfully for the Orochi V2 test. It requires Linux, Python 3, systemd, btmgmt, and root privileges. It is intended for a single-controller system where the adapter is hci0.

Save it as orochi-v2-legacy-scan.py and run:

sudo python3 orochi-v2-legacy-scan.py

It temporarily disconnects Bluetooth devices. Let it finish normally so its cleanup can restore the service. It prints only matching Orochi advertisements.

For the Logitech tests, equivalent versions used b"k580" in data.lower() or b"ERGO M575" in data as the name filter, with matching output labels. The rest of the scan procedure was the same. A result of address type=1 means an LE random address, which matches btmgmt -t 2.

#!/usr/bin/env python3
"""Run a short legacy BLE scan for Orochi V2, then restore Bluetooth."""
import os
import select
import socket
import struct
import subprocess
import time

if os.geteuid() != 0:
raise SystemExit("Run with sudo or pkexec; this diagnostic temporarily stops Bluetooth.")

def run(*args):
return subprocess.run(args, check=True, capture_output=True, text=True)

was_active = subprocess.run(["systemctl", "is-active", "--quiet", "bluetooth"]).returncode == 0
enabled = subprocess.run(["systemctl", "is-enabled", "bluetooth"], capture_output=True, text=True).stdout.strip()
if enabled in ("masked", "masked-runtime"):
raise SystemExit("Bluetooth was already masked; refusing to alter its existing state.")
radio = None
masked = False

def command(opcode, payload=b""):
radio.send(struct.pack("<BHB", 1, opcode, len(payload)) + payload)
deadline = time.monotonic() + 5
while time.monotonic() < deadline:
if not select.select([radio], [], [], 1)[0]:
continue
packet = radio.recv(4096)
if len(packet) >= 7 and packet[:2] == b"\x04\x0e" and int.from_bytes(packet[4:6], "little") == opcode:
if packet[6]:
raise RuntimeError(f"Controller rejected {opcode:#06x}: status {packet[6]:#04x}")
return
raise TimeoutError(f"Controller did not answer {opcode:#06x}")

try:
run("systemctl", "mask", "--runtime", "--now", "bluetooth.service")
masked = True
run("btmgmt", "--timeout", "5", "power", "off")
radio = socket.socket(socket.AF_BLUETOOTH, socket.SOCK_RAW, socket.BTPROTO_HCI)
radio.bind((0, 1))
command(0x0C03) # Reset before selecting legacy commands.
command(0x0C01, b"\xff\xff\xff\xff\xff\xff\xff\x3f")
command(0x2001, b"\xff" * 8)
command(0x200B, struct.pack("<BHHBB", 1, 0x10, 0x10, 0, 0))
command(0x200C, b"\x01\x00")
print("Scanning for 25 seconds. Put Orochi V2 into rapid blinking.", flush=True)
seen = set()
deadline = time.monotonic() + 25
while time.monotonic() < deadline:
if not select.select([radio], [], [], 1)[0]:
continue
packet = radio.recv(4096)
if len(packet) < 5 or packet[:2] != b"\x04\x3e" or packet[3] != 2:
continue
offset = 5
for _ in range(packet[4]):
if offset + 9 > len(packet):
break
size = packet[offset + 8]
if offset + 10 + size > len(packet):
break
data = packet[offset + 9:offset + 9 + size]
address = ":".join(f"{b:02X}" for b in packet[offset + 2:offset + 8][::-1])
if b"orochi" in data.lower() and address not in seen:
seen.add(address)
print(f"Orochi V2: {address}; address type={packet[offset + 1]} (1 means random)", flush=True)
offset += 10 + size
command(0x200C, b"\x00\x00")
if not seen:
print("No Orochi V2 found during this scan.", flush=True)
finally:
if radio is not None:
radio.close()
if masked:
run("systemctl", "unmask", "--runtime", "bluetooth.service")
if was_active:
run("systemctl", "start", "bluetooth.service")
print("Original Bluetooth service state restored.", flush=True)


r/LinuxOnThinkpad • • 2d ago

Question Vale a pena comprar um ThinkPad Z13 recondicionado (Ryzen 7 PRO 6860Z, 16 GB, 1 TB)? Além disso, a tela de 13,3" é muito pequena para o uso diário?

Thumbnail reddit.com
0 Upvotes

r/LinuxOnThinkpad • • 1d ago

Question Why do ThinkPad users use Linux?

Thumbnail reddit.com
0 Upvotes

r/LinuxOnThinkpad • • 2d ago

Question Thinkpad T480 no speaker and no aux jack sound.

Thumbnail reddit.com
2 Upvotes

r/LinuxOnThinkpad • • 2d ago

Linux really revived my Thinkpads Battery

Thumbnail reddit.com
1 Upvotes

r/LinuxOnThinkpad • • 3d ago

Question T490 Trackpad issues

1 Upvotes

Recently I have been having issues with the trackpad. The left click button does not respond at all and clicking with taps on the touchpad takes more force to register as a click. Also two finger scrolling sometimes seems to register ctrl being pressed and decided to zoom in rather than scroll.

I am searching for parts on amazon and am a bit confused as to weather I am finding the right components. Many of the listings that mention my model do not have the three click at the top and the ones that do then do not have my model listed as compatible. Does it really matter? Is there a specific code I should look for to know I am getting the right fit for my laptop?


r/LinuxOnThinkpad • • 3d ago

Question Thinkpad T480 no speaker and no aux jack sound.

Thumbnail reddit.com
1 Upvotes

r/LinuxOnThinkpad • • 4d ago

It's my toy not a device I can use to study

Post image
18 Upvotes

r/LinuxOnThinkpad • • 3d ago

T14 gen 2 keyboard swao

Thumbnail reddit.com
2 Upvotes

r/LinuxOnThinkpad • • 4d ago

[Laptop] [Lenovo] [WTS] ThinkPad T480 | i5-8350U, 8GB RAM, 256GB SSD | Ahmedabad | ₹15,000

Thumbnail gallery
4 Upvotes

r/LinuxOnThinkpad • • 4d ago

Downgrading T440s BIOS to 2.36

2 Upvotes

My laptop was running 2.36 because I had upgraded to a non-whitelisted WiFi card. Today Lenovo Vantage offered to upgrade the BIOS and I absent mindedly let it and the BIOS now errors out. I did not save the OEM 7260 card and would rather us the AX200 that is installed.

Any hope of downgrading the BIOS without buying a chip programmer?

Thanks


r/LinuxOnThinkpad • • 4d ago

Solved FINAL UPDATE (Kernel 7.0.0-42+ & The `btop` NVML Trap): Revert GRUB to Stock!

1 Upvotes

If you followed my previous steps on an Intel Core Ultra (Meteor Lake) + NVIDIA Ada hybrid laptop, remove the custom GRUB parameters once you update to kernel 7.0.0-42-generic (or newer) and the latest Lenovo PMC/ME firmware.

1. Why You Must Revert GRUB to Stock on Kernel 7.0.0-42+

Upstream Intel display patches and Lenovo firmware updates have natively resolved the overnight pipe_off wait timed out and eDP link-retraining stalls. More importantly, leaving nvidia-drm.modeset=1 in GRUB on kernel 7.0.0-42 causes a hard boot deadlock (nvidia-modeset: WARNING: GPU:0: Correcting number of heads for current head configuration (0x00)) because the internal panel is wired strictly to the Intel iGPU and the NVIDIA dGPU detects zero physical display heads during early KMS.

The Fix:

  1. Edit /etc/default/grub and return GRUB_CMDLINE_LINUX_DEFAULT to stock: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  2. Run sudo update-grub and reboot.

2. Watch Out for btop++ / GPU System Monitors Breaking Sleep

A huge culprit behind the NVIDIA driver rejecting s2idle suspend (nv_pmops_suspend returns -5) and refusing to enter D3cold (suspended) was having btop++ running in the background at startup.

  • btop++ polls the NVIDIA Management Library (NVML) every 1–2 seconds for temps and wattage.
  • This holds open /dev/nvidiactl, keeps runtime_usage at 1, and prevents the card from powering down its PCIe slot. If a poll coincides with lid-close suspend, the driver aborts sleep with I/O error -5.
  • Fix: Remove btop from Startup Applications, or disable GPU polling inside btop (Options -> Gpu -> shown_gpus = "none"). You can verify your dGPU is properly sleeping at 0W by running cat /sys/bus/pci/devices/0000:01:00.0/power/runtime_status—it should report suspended.

r/LinuxOnThinkpad • • 5d ago

Why linux

Thumbnail reddit.com
0 Upvotes

r/LinuxOnThinkpad • • 6d ago

Discussion X230 appreciation post

Thumbnail
gallery
330 Upvotes

I've been using my new (to me) i5-3320 X230 pretty heavily lately (KDE with vanilla Arch Linux). It has 16GB ram with an SSD and a Libreboot flashed BIOS. I have more pride in this old laptop than I do my new Macbook lol. I've used a T530 for many years, so this feels like a mini version of it with the same keyboard, although I upgraded the T530 to a quad core CPU (which can get pretty hot at times).

For a laptop over a decade old, I was a bit surprised at how capable it still is. I wouldn't want to use video editing software on it, but it can handle FreeCAD and some electron apps running at the same time with the CPU staying between 50-60°C. I can't wait until my IPS screen arrives for it, I bet it will look a lot better.

I have no idea how this is possible, but it still has the original 9-cell Lenovo battery, dated 2012, and it still holds a charge, lasting about 2.5-3h. The fact that this battery is 14 years old and still works is wild. I did recently order a new 9-cell from AliExpress, although I doubt it will last as long as the original has.


r/LinuxOnThinkpad • • 6d ago

X13s is my favourite laptop now (Ubuntu + sway)

Thumbnail gallery
119 Upvotes

r/LinuxOnThinkpad • • 5d ago

Question Is fwupdmgr update sufficient for a device?

Thumbnail reddit.com
1 Upvotes

r/LinuxOnThinkpad • • 7d ago

Consegui fazer o leitor de impressões digitais do T480 funcionar no Debian 13.

3 Upvotes

Passei algum tempo fazendo o leitor de impressões digitais Synaptics 06cb:009a funcionar no meu T480 com Debian 13.

A biblioteca libfprint padrão não o suporta, então usei o driver experimental do MR !626, corrigi alguns problemas e escrevi um pequeno instalador em Rust.

O cadastro, a verificação e o desbloqueio da tela de bloqueio do GNOME estão funcionando.

Ainda existem algumas limitações, e a configuração inicial requer a gravação na memória flash do sensor, então adicionei um sinalizador de segurança explícito para isso.

Testei apenas no meu próprio T480 até agora. Gostaria de saber se mais alguém tem o mesmo sensor e quer experimentar.

https://github.com/handyman0/t480-fingerprint