Re: NetBSD, Thinkpad laptops and docking stations?

David Brownlee <[email protected]>
Newsgroups gmane.os.netbsd.current
Message-ID <CAGN_6pYZbEiL3HZXWQiLN-Lthr7EtmeNUs-pyMk1WSoTM8D1Tg@mail.gmail.com>
On Mon, 20 Oct 2025 at 20:57, Brian Buhrow <[email protected]> wrote:
>
>         hello everyone!  I'm thinking about updating my laptop environment and I'd like to use
> NetBSD to do it.  I see on the wiki pages Lenovo Thinkpads are well supported.  However, I'm
> wondering how devices attached via the USB-C docking stations work?  Do they show up as devices
> on the USB sub-system?  For example, the docking station I'm looking at is attached to the
> laptop via a USB-C cable, but has two Display ports, 1 Gigabit ethernet, 1 audio jack and
> number of USB ports, as well as an HDMI port.  How do the video, ethernet and audio devices on
> the docking station present themselves to the OS?
>
> If someone has somd dmesg output showing the attachments, that would be awesome!


Sample dmesg from T14g2:

Attaching "ThinkPad Ultra Docking Station" that slides 2 USB C plus
another connector in from the left. Ethernet (replaces onboard wm0),
HDMI, 2 * DisplayPort, VGA, audio, selection of USB, cuddly toy &
matching duvet set. Only ever tested with one external display

uhub5 at uhub2 port 1: VIA Labs, Inc. (0x17ef) USB3.1 Hub (0x3070),
class 9/0, rev 3.10/50.33, addr 3
uhub5: 4 ports with 3 removable, self powered
uhub6 at uhub5 port 2: VIA Labs, Inc. (0x17ef) USB3.1 Hub (0x3070),
class 9/0, rev 3.10/50.34, addr 4
uhub6: 4 ports with 3 removable, self powered
uaudio0 at uhub7 port 4 configuration 1 interface 0
uaudio0: Generic (0x17ef) ThinkPad Dock USB Audio (0x306f), rev
2.00/0.12, addr 42
uaudio0: audio rev 1.00
audio2 at uaudio0: playback, capture, full duplex, independent
audio2: slinear_le:16 2ch 48000Hz, blk 5760 bytes (30ms) for playback
audio2: slinear_le:16 2ch 48000Hz, blk 59520 bytes (310ms) for recording
spkr3 at audio2: PC Speaker (synthesized)
wsbell at spkr3 not configured
uhidev3 at uhub7 port 4 configuration 1 interface 3
uhidev3: Generic (0x17ef) ThinkPad Dock USB Audio (0x306f), rev
2.00/0.12, addr 42, iclass 3/0
uhidev3: 5 report ids
uhid4 at uhidev3 reportid 3: input=4, output=0, feature=0
uhid5 at uhidev3 reportid 5: input=4, output=0, feature=0
ugen0 at uhub4 port 5
ugen0: VIA Labs, Inc. (0x17ef) USB Billboard Device (0x3075), rev
2.01/0.01, addr 43
uhidev4 at uhub1 port 2 configuration 1 interface 1
uhidev4: Cypress Semiconductor<2147483608><2147483520> (0x17ef) USB
Billboard (0x3074), rev 2.01/0.00, addr 44, iclass 3/0
uhidev4: 228 report ids
uhid6 at uhidev4 reportid 224: input=0, output=0, feature=63
uhid7 at uhidev4 reportid 225: input=0, output=7, feature=0
uhid8 at uhidev4 reportid 226: input=0, output=131, feature=0
uhid9 at uhidev4 reportid 227: input=0, output=0, feature=131
uhid10 at uhidev4 reportid 228: input=0, output=0, feature=32

Attaching Anker "12 in 1 monitor stand/usb hub" - HDMI & ethernet,
plus selection of USB

uhub4 at uhub0 port 2: Anker (0x2109) USB3.1 Hub (0x0822), class 9/0,
rev 3.20/7.64, addr 30
uhub4: 4 ports with 4 removable, self powered
uhub1: autoconfiguration error: port 2 reset failed
uhub5 at uhub1 port 2: Anker (0x2109) USB2.0 Hub (0x2822), class 9/0,
rev 2.10/7.64, addr 31
uhub5: multiple transaction translators
uhub5: 5 ports with 4 removable, self powered
uhub6 at uhub4 port 4: Anker (0x2109) USB3.1 Hub (0x0822), class 9/0,
rev 3.20/7.64, addr 32
uhub6: 4 ports with 4 removable, self powered
uhub7 at uhub5 port 4: Anker (0x2109) USB2.0 Hub (0x2822), class 9/0,
rev 2.10/7.64, addr 33
uhub7: multiple transaction translators
uhub7: 5 ports with 4 removable, self powered
umass0 at uhub6 port 2 configuration 1 interface 0
umass0: Norelsys (0x2537) NS1081 (0x1081), rev 3.00/1.00, addr 34
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, 2 luns per target
sd0 at scsibus0 target 0 lun 0: <NORELSYS, 1081CS0, > disk removable
sd0: drive offline
sd1 at scsibus0 target 0 lun 1: <NORELSYS, 1081CS1, > disk removable
sd1: drive offline
ure0 at uhub6 port 3
ure0: Realtek (0x0bda) USB 10/100/1000 LAN (0x8153), rev 3.20/31.00, addr 35
ure0: RTL8153 unknown ver 6010
rgephy0 at ure0 phy 0: RTL8251 1000BASE-T media interface, rev. 0
rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto
ure0: Ethernet address 00:e0:4c:ec:3f:a7
uhub8 at uhub7 port 1: Terminus Technology (0x1a40) USB 2.0 Hub
(0x0101), class 9/0, rev 2.00/1.11, addr 36
uhub8: single transaction translator
uhub8: 4 ports with 4 removable, self powered
ugen0 at uhub8 port 1
ugen0: vendor 1d5c (0x1d5c) product 7112 (0x7112), rev 2.01/1.00, addr 37
ugen1 at uhub7 port 5
ugen1: Anker (0x2109) USB Billboard Device (0x8822), rev 2.01/0.01, addr 38
ugen2 at uhub5 port 5
ugen2: Anker (0x291a) USB Billboard Device (0x8377), rev 2.01/0.01, addr 39
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.