Port-amd64 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: USB-C on NetBSD/amd64



On Wed, 1 Dec 2021 at 22:26, Andrew Ball <asbatwrk%gmail.com@localhost> wrote:
>
> Hello David,
>
>   ASB> Does NetBSD/amd64 9.2 include any support for USB-C?  I just
>      > plugged a Lenovo 40A9 dock into a ThinkPad T470s, mostly to see
>      > what the kernel would tell me about the dock but I see nothing
>      > from the kernel when I plug in the USB-C cable.
>
>    DB> I have a USB C hub with Ethernet and HDMI (on a T480).  NetBSD
>      > picks up the Ethernet fine but ignores the HDMI. I'm assuming a
>      > dock should be pretty much the same but with more layers of
>      > USBness...
>
>     Do you happen to know whether the USB-C port you plug that into
> features HDMI Alternate mode? For an affordable USB-C to HDMI cable or
> dock I think that uses the ThinkPad's built-in GPU.  I'd love to hear
> whether anyone is able to use these on NetBSD.

The T480 manual apparently states you can only use either USB-C or
HDMI for display output, and that if you use both at the same time, it
will disable one of them, which I think implies HDMI Alternate.

Apparently you can also display via USB-C and native HDMI port at the
same time, provided that the thunderbolt port is used, not the power
port.. (this is all T480)

For entertainment I plugged in the three USB-C hubs I have into a
-current NetBSD/amd64 on the T480 - the two which had HDMI attached
everything except the HDMI

David

"4 IN 1" - Simple 4 USB-A port hub:
uhub4 at uhub3 port 1: USB Device (0x14cd) USB 2.0 Hub (0x8601), class
9/0, rev 2.00/0.00, addr 1
uhub4: single transaction translator
uhub4: 4 ports with 4 removable, self powered

"USB Type-C Hub Pro" - 3* USB-A, 1 USB-C PD Charging, Ethernet, HDMI
uhub5 at uhub3 port 1: VIA Labs, Inc. (0x17ef) USB2.0 Hub (0x3073),
class 9/0, rev 2.10/50.13, addr 3
uhub5: multiple transaction translators
uhub5: 4 ports with 2 removable, self powered
ure0 at uhub4 port 4
ure0: Realtek (0x0bda) USB 10/100/1000 LAN (0x8153), rev 3.00/30.00, addr 4
ure0: RTL8153 ver 5c30
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 34:29:8f:74:59:dc

"ACASIS" USB-C, USB-C PD Charging, USB-A*2, SD/MMC, TF/MicroSD, SSD
M.2, Ethernet, HDMI, Audio
uhub5 at uhub3 port 1: VIA Labs, Inc. (0x2109) USB2.0 Hub (0x2822),
class 9/0, rev 2.10/6.a3, addr 5
uhub5: multiple transaction translators
uhub5: 5 ports with 4 removable, self powered
uhub6 at uhub5 port 1: VIA Labs, Inc. (0x2109) USB2.0 Hub (0x2815),
class 9/0, rev 2.10/7.04, addr 6
uhub6: multiple transaction translators
uhub6: 4 ports with 4 removable, self powered
uaudio0 at uhub6 port 1 configuration 1 interface 0
uaudio0: EasyDisk (0x0c76) USB PnP Audio Device (0x153f), rev 1.10/1.00, addr 7
uaudio0: audio rev 1.00
audio1 at uaudio0: playback, capture, full duplex, independent
audio1: slinear_le:16 2ch 48000Hz, blk 11520 bytes (60ms) for playback
audio1: slinear_le:16 1ch 48000Hz, blk 12000 bytes (125ms) for recording
spkr2 at audio1: PC Speaker (synthesized)
wsbell at spkr2 not configured
uhidev3 at uhub6 port 1 configuration 1 interface 3
uhidev3: EasyDisk (0x0c76) USB PnP Audio Device (0x153f), rev
1.10/1.00, addr 7, iclass 3/0
uhid7 at uhidev3: input=4, output=4, feature=0
umass1 at uhub5 port 2 configuration 1 interface 0
umass1: Realtek (0x0bda) RTL9210B-CG (0x9210), rev 2.10/20.01, addr 8
umass1: using SCSI over Bulk-Only
scsibus1 at umass1: 2 targets, 1 lun per target
sd1 at scsibus1 target 0 lun 0: <Realtek, RTL9210, 1.00> disk fixed
sd1(umass1:0:0:0):  Check Condition on CDB: 0x23 00 00 00 00 00 00 00 0c 00
    SENSE KEY:  Illegal Request
     ASC/ASCQ:  Invalid Command Operation Code
sd1: drive offline
sd1(umass1:0:0:0):  Check Condition on CDB: 0x23 00 00 00 00 00 00 00 0c 00
    SENSE KEY:  Illegal Request
     ASC/ASCQ:  Invalid Command Operation Code
autoconfiguration error: sd1: unable to open device, error = 6
ugen1 at uhub5 port 5
ugen1: VIA Labs, Inc. (0x2109) USB Billboard Device (0x8818), rev
2.01/0.01, addr 9


Home | Main Index | Thread Index | Old Index