From nobody Sun Sep 3 21:00:05 2023 X-Original-To: usb@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Rf40P5Fl2z4rHxn for ; Sun, 3 Sep 2023 21:00:05 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Rf40P2fxkz4Zb0 for ; Sun, 3 Sep 2023 21:00:05 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1693774805; a=rsa-sha256; cv=none; b=kZzqgWNZX/7Tl95oAKUkZWt8OyhztUNlXgrShil1HN31GCSo5wftUR5HZA2yOOgExqSnbF 74PiVkppSimzOvt9lh4mVDnGx26K6fr7mwGFkf9pQzRrySsp7BMJa8ASGjiPWD+MFldl19 clEKNiTvluJnbJxL451ZwTmzIwurTNNz7q5GT9+PfJL9Ak7vxoCB5McqLUK74YrG6xX3Ug NZVPCzTnR8GlHZU1mgFEv9nNZXmpKg9drc3qN7CLPWZoX5L5Bog+2OtBeoj/vnSzwCWKKJ kmIn0kDlCwsE/I4W1GqPzAAgcchRLq4FKUz8LUicuHmz7RJ/jzR6qnV/1MBN9Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693774805; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=HrOvfMRqSOP4TcaLokKs4nPlplYaR/7/iyOvbBi99aU=; b=WKNYnISoXX7qYEHAIoVbCRLromjBCB+bUZ0XQlTZajd3oFP7dM9ECbNVWE2iUYk/hgP4eD dZeDJNgrpPek2wDdlCn7aFZea+s66dgQh1lF/RMaSGunbGSLcJbQAuV1MA5vFIfNbhh029 q5CqbkQ0+eB+V931NbWlvjirwGdqSwAMc7E2PJmVe0B6Kn/dwrHOR/XvvXi4GE6p3rCNWn shd06muEyd2ldkEl+Lp0oZBcA1SEZvmYzQ4ca97hMl0OmDPob3jOBygOWhRRq/w6Ep/6az gtf0AuRSy2eyBX7ATw3cnYXYcWR7e392o/MZNoe7omFP2W4VjMIh97EjbOMF9A== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Rf40P1j6zzfmv for ; Sun, 3 Sep 2023 21:00:05 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 383L05Tg086748 for ; Sun, 3 Sep 2023 21:00:05 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 383L053l086746 for usb@FreeBSD.org; Sun, 3 Sep 2023 21:00:05 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <202309032100.383L053l086746@kenobi.freebsd.org> X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@FreeBSD.org using -f From: bugzilla-noreply@FreeBSD.org To: usb@FreeBSD.org Subject: Problem reports for usb@FreeBSD.org that need special attention Date: Sun, 3 Sep 2023 21:00:05 +0000 List-Id: FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-usb List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="16937748052.F643F6.85206" Content-Transfer-Encoding: 7bit --16937748052.F643F6.85206 Date: Sun, 3 Sep 2023 21:00:05 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- Open | 213877 | xhci reset causes panic on SuperMicro A1SRi-2758F Open | 234578 | Support for Sierra Wireless EM7455 modem Open | 247964 | Low read throughput on Sandisk Extreme external S 3 problems total for which you should take action. --16937748052.F643F6.85206 Date: Sun, 3 Sep 2023 21:00:05 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
The following is a listing of current problems submitted by FreeBSD users,
which need special attention. These represent problem reports covering
all versions including experimental development code and obsolete releases.

Status      |    Bug Id | Description
------------+-----------+---------------------------------------------------
Open        |    213877 | xhci reset causes panic on SuperMicro A1SRi-2758F
Open        |    234578 | Support for Sierra Wireless EM7455 modem
Open        |    247964 | Low read throughput on Sandisk Extreme external S

3 problems total for which you should take action.
--16937748052.F643F6.85206-- From nobody Tue Sep 5 15:12:08 2023 X-Original-To: freebsd-usb@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Rg8BM2mhbz4rpCc for ; Tue, 5 Sep 2023 15:12:27 +0000 (UTC) (envelope-from archimedes.gaviola@gmail.com) Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Rg8BL21tqz4RSg for ; Tue, 5 Sep 2023 15:12:26 +0000 (UTC) (envelope-from archimedes.gaviola@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20221208 header.b=VNHtzcsX; spf=pass (mx1.freebsd.org: domain of archimedes.gaviola@gmail.com designates 2a00:1450:4864:20::630 as permitted sender) smtp.mailfrom=archimedes.gaviola@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-ej1-x630.google.com with SMTP id a640c23a62f3a-99c3c8adb27so399301866b.1 for ; Tue, 05 Sep 2023 08:12:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693926744; x=1694531544; darn=freebsd.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=98HpU2MWu62Q4d/rTHeKq6PXGyx0erXkqSxCPfT3iVk=; b=VNHtzcsX5tEv/ETuszVZkMYNDDyyxHPV6hs341EWaYDZusf3sLLKMcJNOGhsyF7kfY DYhOb9W2TSbReIHg+yuFlAfh/k6i9RU05Fl2b61j65xSe70HJC5SGNr+5GWaipWT8u1Q 2FHM7lMhLymSaL7lKwp4v4VjHvQMZc6uRmvbcD2a5Q7VlwwnqoAyAwl5R98nPG8U+0p8 ofKGeuQUYRdwnb5zz/oAhoqZFuADEkj4G/F715KaErRbChsbY75yC1F4NDloWUu9a3ud 2HsPfxRSMS7Y7n8sP662BEeBdwXlHL9NPxVQ76ipJsAyJEbFZTMkj8SMhE7rAS2XyJJI Z0Sg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693926744; x=1694531544; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=98HpU2MWu62Q4d/rTHeKq6PXGyx0erXkqSxCPfT3iVk=; b=X62yu9j/NJGKJOdLSfQbqnvBZDQ1UV6q3+QMEQmueMM/Qzpf2/Y6OFN5Dx6B0iYttg mdHUzXPh2JRod3N1ExjPvhy9LwERW/tGqRtDOl+++BIRIfU0fQgo7Ur7bztFQ3v6VV94 k7qPNU0IZdmMZkbYLVNOIzhvXjYKjcj5AW5uqBo7EIM2tVkWdG5gncuVVYxjGLnnYkZW 1DMVqKIGegWu+m3Tx++89K2hDWKi9NaYCVOVivBNXW48NR+C3+zQO533l4nno+fybBh5 BecVwCR7E6ltsZj1a+O7jimQlZM2XOemstqh0ntXD0CO1ROM6VdrfqYmTDzFfUG4aJPi jkSA== X-Gm-Message-State: AOJu0YwWUzrKtC0akejGx0sw7OT/C6YrW0akuMo5Tdut7S0QFPiGMjUN axFXZN5hEvOTYLjK17KvRhD1QAitkiXXyvqAG2YTaA4X4Yg= X-Google-Smtp-Source: AGHT+IGMZC8ylVB6E+LmGYR9V2sQW3oAq1zc3kUwwgctolKd04Ov3CnC2LQNqjXtYzSf7uqnuRE8XOUDYjJ7Ay5JHws= X-Received: by 2002:a17:906:24b:b0:9a5:ebfd:79a3 with SMTP id 11-20020a170906024b00b009a5ebfd79a3mr94629ejl.29.1693926744378; Tue, 05 Sep 2023 08:12:24 -0700 (PDT) List-Id: FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-usb List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org MIME-Version: 1.0 From: Archimedes Gaviola Date: Tue, 5 Sep 2023 23:12:08 +0800 Message-ID: Subject: udl(4) patch for SIIG USB 2.0 DVI/VGA Pro support To: freebsd-usb@freebsd.org Content-Type: multipart/alternative; boundary="000000000000dfd2da06049e0d02" X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.99 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.986]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20221208]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; PREVIOUSLY_DELIVERED(0.00)[freebsd-usb@freebsd.org]; ARC_NA(0.00)[]; BLOCKLISTDE_FAIL(0.00)[2a00:1450:4864:20::630:server fail]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TAGGED_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DKIM_TRACE(0.00)[gmail.com:+]; MID_RHS_MATCH_FROMTLD(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::630:from]; RCVD_COUNT_ONE(0.00)[1]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; MLMMJ_DEST(0.00)[freebsd-usb@freebsd.org] X-Rspamd-Queue-Id: 4Rg8BL21tqz4RSg --000000000000dfd2da06049e0d02 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, I would like to submit some patches below for the SIIG USB 2.0 DVI/VGA Pro device support for the udl(4) video driver. You can see actual device here https://www.siig.com/usb-2-0-to-dvi-vga-pro.html. This has been tested on both 14.0-ALPHA4 and 15.0-CURRENT in a compiled kernel and in the loadable module. Either way both are working. There are two files being patched (1) /usr/src/sys/dev/usb/usbdevs and (2) /usr/src/sys/dev/usb/video/udl.c. These changes apply for both 14.0-ALPHA4 and 15.0-CURRENT. root@fbsd14a4:~ # uname -a FreeBSD fbsd14a4 14.0-ALPHA4 FreeBSD 14.0-ALPHA4 amd64 1400097 #0 stable/14-n265026-4c3f144478d4: Fri Sep 1 05:47:56 UTC 2023 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 root@fbsd15:~ # uname -a FreeBSD fbsd15 15.0-CURRENT FreeBSD 15.0-CURRENT i386 1500000 #0 main-n265091-e04c4b4a369d: Thu Aug 31 03:48:01 UTC 2023 root@releng3.nyi.freebsd.org:/usr/obj/usr/src/i386.i386/sys/GENERIC i386 root@fbsd14a4:~ # diff -Nur /usr/src/sys/dev/usb/usbdevs.orig /usr/src/sys/dev/usb/usbdevs --- /usr/src/sys/dev/usb/usbdevs.orig 2023-09-03 04:16:01.453679000 +0800 +++ /usr/src/sys/dev/usb/usbdevs 2023-09-03 09:23:33.848897000 +0800 @@ -1808,6 +1808,7 @@ product DISPLAYLINK M01061 0x01e2 Lenovo DVI product DISPLAYLINK SWDVI 0x024c SUNWEIT DVI product DISPLAYLINK NBDOCK 0x0215 VideoHome NBdock1920 +product DISPLAYLINK AN2440D3 0x028f SIIG USB 2.0 DVI/VGA Pro product DISPLAYLINK LUM70 0x02a9 Lilliput UM-70 product DISPLAYLINK DVI_19 0x0360 USB to DVI-19 product DISPLAYLINK UM7X0 0x401a nanovision MiMo root@fbsd14a4:~ # diff -Nur /usr/src/sys/dev/usb/video/udl.c.orig /usr/src/sys/dev/usb/video/udl.c --- /usr/src/sys/dev/usb/video/udl.c.orig 2023-09-03 04:15:21.204875000 +0800 +++ /usr/src/sys/dev/usb/video/udl.c 2023-09-03 09:25:23.893228000 +0800 @@ -179,6 +179,7 @@ {USB_VPI(USB_VENDOR_DISPLAYLINK, USB_PRODUCT_DISPLAYLINK_LT1421, DLUNK)}, {USB_VPI(USB_VENDOR_DISPLAYLINK, USB_PRODUCT_DISPLAYLINK_ITEC, DL165)}, {USB_VPI(USB_VENDOR_DISPLAYLINK, USB_PRODUCT_DISPLAYLINK_DVI_19, DL165)}, + {USB_VPI(USB_VENDOR_DISPLAYLINK, USB_PRODUCT_DISPLAYLINK_AN2440D3, DL195)}, Some relevant info below upon detection of the device after patched (only 14.0-ALPHA4 is shown as 15.0-CURRENT is the same). Because the videomode driver is also a dependency to the udl(4) driver, it is also able to detect my Dell VGA monitor for available screen resolutions and video modes. root@fbsd14a4:~ # kldload udl root@fbsd14a4:~ # kldstat Id Refs Address Size Name 1 10 0xffffffff80200000 1d339a8 kernel 2 1 0xffffffff8261f000 3690 udl.ko 3 1 0xffffffff82623000 5028 videomode.ko root@fbsd14a4:~ # kldstat -v -n kernel | grep udl 107 udl/fbd 282 uhub/udl root@fbsd14a4:~ # dmesg ugen0.2: at usbus0 udl0 on uhub0 udl0: on usbus0 Vendor: [DEL] Dell Product: [2004] D1918H Serial number: GC2RW07C8PHX Manufactured 2019 Week 28 EDID Version 1.3 EDID Comment: Video Input: 68 Analog -0.7, 0.0V Separate syncs Gamma: 2.20 Max Size: 41 cm x 23 cm Features: 2a DPMS active-off RGB Preferred timing Chroma Info: Red X: 0.635 Red Y: 0.635 Grn X: 0.330 Grn Y: 0.627 Blu X: 0.155 Blu Y: 0.046 Wht X: 0.313 Wht Y: 0.329 Range: Horizontal: 30 - 83 kHz Vertical: 56 - 75 Hz Max Dot Clock: 135 MHz Video modes: 720x400 @ 70Hz (28320 738 846 900 412 414 449 -H +V) 640x480 @ 60Hz (25175 656 752 800 490 492 525 -H -V) 640x480 @ 75Hz (31500 656 720 840 481 484 500 -H -V) 800x600 @ 60Hz (40000 840 968 1056 601 605 628 +H +V) 800x600 @ 75Hz (49500 816 896 1056 601 604 625 +H +V) 1024x768 @ 60Hz (65000 1048 1184 1344 771 777 806 -H -V) 1024x768 @ 75Hz (78750 1040 1136 1312 769 772 800 +H +V) 1280x1024 @ 75Hz (135000 1296 1440 1688 1025 1028 1066 +H +V) 1366x768 @ 60Hz (85500 1436 1579 1792 771 774 798 +H +V) Preferred mode: 1366x768 @ 60Hz Number of extension blocks: 0 udl0: Mode selected 1280x1024 @ 75Hz fbd0 on udl0 root@fbsd14a4:~ # usbconfig -d ugen0.2 dump_device_desc ugen0.2: at usbus0, cfg=3D0 md=3DHOST spd=3DFULL (12= Mbps) pwr=3DON (500mA) bLength =3D 0x0012 bDescriptorType =3D 0x0001 bcdUSB =3D 0x0110 bDeviceClass =3D 0x0000 bDeviceSubClass =3D 0x0000 bDeviceProtocol =3D 0x0000 bMaxPacketSize0 =3D 0x0040 idVendor =3D 0x17e9 idProduct =3D 0x028f bcdDevice =3D 0x0001 iManufacturer =3D 0x0001 iProduct =3D 0x0002 iSerialNumber =3D 0x0003 <111018> bNumConfigurations =3D 0x0001 root@fbsd14a4:~ # sysctl -a | grep udl udl0 on uhub0 udl0: on usbus0 udl0: Mode selected 1280x1024 @ 75Hz fbd0 on udl0 device udl hw.usb.udl.fps: 25 hw.usb.udl.debug: 0 dev.fbd.0.%parent: udl0 dev.udl.0.mode: 17 dev.udl.0.mode_force: -1 dev.udl.0.chipid: 4 dev.udl.0.chipid_force: -1 dev.udl.0.%parent: uhub0 dev.udl.0.%pnpinfo: vendor=3D0x17e9 product=3D0x028f devclass=3D0x00 devsubclass=3D0x00 devproto=3D0x00 sernum=3D"111018" release=3D0x0001 mode= =3Dhost intclass=3D0xff intsubclass=3D0x00 intprotocol=3D0x00 dev.udl.0.%location: bus=3D0 hubaddr=3D1 port=3D1 devaddr=3D2 interface=3D0 ugen=3Dugen0.2 dev.udl.0.%driver: udl dev.udl.0.%desc: DisplayLink AN2440D3, class 0/0, rev 1.10/0.01, addr 2 dev.udl.%parent: Lastly, I would also submit a patch for the udl(4) manual for update. First, there's a need to include DL-195 in the description since this model is the chipset of SIIG USB 2.0 DVI/VGA Pro which is working as tested. Second, the udl(4) driver must be accompanied with the videomode driver otherwise kernel compilation will fail and third, adding the SIIG USB 2.0 DVI/VGA Pro device in the list. root@fbsd14a4:~ # diff -Nur udl-manual.orig udl-manual --- udl-manual.orig 2023-08-18 00:13:25.583021000 +0000 +++ udl-manual 2023-08-18 15:06:41.896163000 +0000 @@ -1,13 +1,14 @@ UDL(4) FreeBSD Kernel Interfaces Manual UDL(4) NAME - udl =E2=80=93 DisplayLink DL-120 / DL-160 USB display devices + udl =E2=80=93 DisplayLink DL-120 / DL-160 / DL-195 USB display device= s SYNOPSIS - To compile this driver into the kernel, place the following line in your + To compile this driver into the kernel, place the following lines in your kernel configuration file: device udl + device videomode Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5): @@ -16,7 +17,7 @@ DESCRIPTION The udl driver supports USB display devices based on the DisplayLink - DL-120 / DL-160 graphic chip. + DL-120 / DL-160 / DL-195 graphic chip. HARDWARE The following devices should work: @@ -40,6 +41,7 @@ Unitek Y-2240 USB to DVI VideoHome NBdock1920 i-tec USB 2.0 Docking Station (USBDVIDOCK) + SIIG USB 2.0 DVI/VGA Pro Thanks, Archimedes --000000000000dfd2da06049e0d02 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

I would like to submit some patches=20 below for the SIIG USB 2.0 DVI/VGA Pro device support for the udl(4)=20 video driver. You can see actual device here https://www.siig.com/usb-2= -0-to-dvi-vga-pro.html. This has been tested on both 14.0-ALPHA4 and 15.0-CURRENT in a compiled kernel and in the loadable module. Either way both are working. There=20 are two files being patched (1)=20 /usr/src/sys/dev/usb/usbdevs and (2)=20 /usr/src/sys/dev/usb/video/udl.c. These changes apply for both 14.0-ALPHA4 = and 15.0-CURRENT.

root@fbsd14a4:~ # uname -a
Fr= eeBSD fbsd14a4 14.0-ALPHA4 FreeBSD 14.0-ALPHA4 amd64 1400097 #0 stable/14-n= 265026-4c3f144478d4: Fri Sep =C2=A01 05:47:56 UTC 2023 =C2=A0 =C2=A0 root@r= eleng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
root@fbsd15:~ # uname -a
FreeBSD fbsd15 15.0-CURRENT FreeBSD 15.0-CURRENT i386 1500000 #0=20 main-n265091-e04c4b4a369d: Thu Aug 31 03:48:01 UTC 2023 =C2=A0 =C2=A0=20 root@releng3.nyi.freebsd.org:/usr/obj/usr/src/i386.i386/sys/GENERIC i386

root@fbsd14a4:~ # diff -Nur /usr/src/sys/dev/usb/= usbdevs.orig /usr/src/sys/dev/usb/usbdevs
--- /usr/src/sys/dev/usb/usbde= vs.orig =C2=A0 2023-09-03 04:16:01.453679000 +0800
+++ /usr/src/sys/dev/= usb/usbdevs =C2=A0 =C2=A0 =C2=A0 =C2=A02023-09-03 09:23:33.848897000 +0800<= br>@@ -1808,6 +1808,7 @@
=C2=A0product DISPLAYLINK M01061 =C2=A0 =C2=A0 = 0x01e2 =C2=A0Lenovo DVI
=C2=A0product DISPLAYLINK SWDVI =C2=A0 =C2=A0 = =C2=A00x024c =C2=A0SUNWEIT DVI
=C2=A0product DISPLAYLINK NBDOCK =C2=A0 = =C2=A0 0x0215 =C2=A0VideoHome NBdock1920
+product DISPLAYLINK AN2440D3 = =C2=A0 0x028f =C2=A0SIIG USB 2.0 DVI/VGA Pro
=C2=A0product DISPLAYLINK L= UM70 =C2=A0 =C2=A0 =C2=A00x02a9 =C2=A0Lilliput UM-70
=C2=A0product DISPL= AYLINK DVI_19 =C2=A0 =C2=A0 0x0360 =C2=A0USB to DVI-19
=C2=A0product DIS= PLAYLINK UM7X0 =C2=A0 =C2=A0 =C2=A00x401a =C2=A0nanovision MiMo

root= @fbsd14a4:~ # diff -Nur /usr/src/sys/dev/usb/video/udl.c.orig /usr/src/sys/= dev/usb/video/udl.c
--- /usr/src/sys/dev/usb/video/udl.c.orig =C2=A0 =C2= =A0 =C2=A0 2023-09-03 04:15:21.204875000 +0800
+++ /usr/src/sys/dev/usb/= video/udl.c =C2=A0 =C2=A02023-09-03 09:25:23.893228000 +0800
@@ -179,6 += 179,7 @@
=C2=A0 =C2=A0 =C2=A0 =C2=A0 {USB_VPI(USB_VENDOR_DISPLAYLINK, US= B_PRODUCT_DISPLAYLINK_LT1421, DLUNK)},
=C2=A0 =C2=A0 =C2=A0 =C2=A0 {USB_= VPI(USB_VENDOR_DISPLAYLINK, USB_PRODUCT_DISPLAYLINK_ITEC, DL165)},
=C2= =A0 =C2=A0 =C2=A0 =C2=A0 {USB_VPI(USB_VENDOR_DISPLAYLINK, USB_PRODUCT_DISPL= AYLINK_DVI_19, DL165)},
+ =C2=A0 =C2=A0 =C2=A0 {USB_VPI(USB_VENDOR_DISPL= AYLINK, USB_PRODUCT_DISPLAYLINK_AN2440D3, DL195)},

=
Some relevant info below upon detection of the device after patched (only 14.0-= ALPHA4 is shown as 15.0-CURRENT is the same). Because the videomode driver is also a dependency to the udl(4) driver, it is=20 also able to detect my Dell VGA monitor for available screen resolutions and video modes.

root@fbsd14a4:~ # kldload ud= l
root@fbsd14a4:~ # kldstat
Id Refs Address =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Size Name
=C2=A01 =C2=A0 10 0xffffffff802= 00000 =C2=A01d339a8 kernel
=C2=A02 =C2=A0=C2=A0 1 0xffffffff8261f000 =C2= =A0 =C2=A0 3690 udl.ko
=C2=A03 =C2=A0=C2=A0 1 0xffffffff82623000 =C2=A0 = =C2=A0 5028 videomode.ko

root@fbsd14a4:~ # kldstat -v -n kernel | gr= ep udl
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 107 udl/f= bd
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 282 uhub/udl<= /div>

root@fbsd14a4:~ # dmesg
ugen0.2: <DisplayLink AN2440D3> at usbus0
udl0 on uhub0
udl= 0: <DisplayLink AN2440D3, class 0/0, rev 1.10/0.01, addr 2> on usbus0=
Vendor: [DEL] Dell
Product: [2004] D1918H
Serial number: GC2RW07C= 8PHX
Manufactured 2019 Week 28
EDID Version 1.3
EDID Comment:
V= ideo Input: 68
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Analog
=C2=A0 =C2=A0 =C2= =A0 =C2=A0 -0.7, 0.0V
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Separate syncs
Gamm= a: 2.20
Max Size: 41 cm x 23 cm
Features: 2a
=C2=A0 =C2=A0 =C2=A0 = =C2=A0 DPMS active-off
=C2=A0 =C2=A0 =C2=A0 =C2=A0 RGB
=C2=A0 =C2=A0 = =C2=A0 =C2=A0 Preferred timing
Chroma Info:
=C2=A0 =C2=A0 =C2=A0 =C2= =A0 Red X: 0.635
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Red Y: 0.635
=C2=A0 =C2= =A0 =C2=A0 =C2=A0 Grn X: 0.330
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Grn Y: 0.627<= br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 Blu X: 0.155
=C2=A0 =C2=A0 =C2=A0 =C2=A0 = Blu Y: 0.046
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Wht X: 0.313
=C2=A0 =C2=A0 = =C2=A0 =C2=A0 Wht Y: 0.329
Range:
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Horizon= tal: 30 - 83 kHz
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Vertical: 56 - 75 Hz
=C2= =A0 =C2=A0 =C2=A0 =C2=A0 Max Dot Clock: 135 MHz
Video modes:
=C2=A0 = =C2=A0 =C2=A0 =C2=A0 720x400 @ 70Hz (28320 738 846 900 412 414 449 -H +V)=C2=A0 =C2=A0 =C2=A0 =C2=A0 640x480 @ 60Hz (25175 656 752 800 490 492 525= -H -V)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 640x480 @ 75Hz (31500 656 720 840 48= 1 484 500 -H -V)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 800x600 @ 60Hz (40000 840 9= 68 1056 601 605 628 +H +V)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 800x600 @ 75Hz (4= 9500 816 896 1056 601 604 625 +H +V)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 1024x76= 8 @ 60Hz (65000 1048 1184 1344 771 777 806 -H -V)
=C2=A0 =C2=A0 =C2=A0 = =C2=A0 1024x768 @ 75Hz (78750 1040 1136 1312 769 772 800 +H +V)
=C2=A0 = =C2=A0 =C2=A0 =C2=A0 1280x1024 @ 75Hz (135000 1296 1440 1688 1025 1028 1066= +H +V)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 1366x768 @ 60Hz (85500 1436 1579 179= 2 771 774 798 +H +V)
Preferred mode: 1366x768 @ 60Hz
Number of extens= ion blocks: 0
udl0: Mode selected 1280x1024 @ 75Hz
fbd0 on udl0
=

root@fbsd14a4:~ # usbconfig -d ugen0.2 dump_device_desc=
ugen0.2: <DisplayLink AN2440D3> at usbus0, cfg=3D0 md=3DHOST spd= =3DFULL (12Mbps) pwr=3DON (500mA)

=C2=A0 bLength =3D 0x0012
=C2= =A0 bDescriptorType =3D 0x0001
=C2=A0 bcdUSB =3D 0x0110
=C2=A0 bDevic= eClass =3D 0x0000 =C2=A0<Probed by interface class>
=C2=A0 bDevice= SubClass =3D 0x0000
=C2=A0 bDeviceProtocol =3D 0x0000
=C2=A0 bMaxPack= etSize0 =3D 0x0040
=C2=A0 idVendor =3D 0x17e9
=C2=A0 idProduct =3D 0x= 028f
=C2=A0 bcdDevice =3D 0x0001
=C2=A0 iManufacturer =3D 0x0001 =C2= =A0<DisplayLink>
=C2=A0 iProduct =3D 0x0002 =C2=A0<AN2440D3>=
=C2=A0 iSerialNumber =3D 0x0003 =C2=A0<111018>
=C2=A0 bNumConf= igurations =3D 0x0001

root@fbsd14a4:~ # sysctl -a | grep udl
udl0= on uhub0
udl0: <DisplayLink AN2440D3, class 0/0, rev 1.10/0.01, addr= 2> on usbus0
udl0: Mode selected 1280x1024 @ 75Hz
fbd0 on udl0device =C2=A0udl
hw.usb.udl.fps: 25
hw.usb.udl.debug: 0
dev.fbd.0= .%parent: udl0
dev.udl.0.mode: 17
dev.udl.0.mode_force: -1
dev.udl= .0.chipid: 4
dev.udl.0.chipid_force: -1
dev.udl.0.%parent: uhub0
d= ev.udl.0.%pnpinfo: vendor=3D0x17e9 product=3D0x028f devclass=3D0x00 devsubclass=3D0x00=20 devproto=3D0x00 sernum=3D"111018" release=3D0x0001 mode=3Dhost in= tclass=3D0xff=20 intsubclass=3D0x00 intprotocol=3D0x00
dev.udl.0.%location: bus=3D0 hubad= dr=3D1 port=3D1 devaddr=3D2 interface=3D0 ugen=3Dugen0.2
dev.udl.0.%driv= er: udl
dev.udl.0.%desc: DisplayLink AN2440D3, class 0/0, rev 1.10/0.01,= addr 2
dev.udl.%parent:

Lastly, I would also submit a patch for the udl(4) manual for update. First,=20 there's a need to include DL-195 in the description since this model is the chipset of=20 SIIG USB 2.0 DVI/VGA Pro which is working as tested. Second, the udl(4) driver must be=20 accompanied with the videomode driver otherwise kernel compilation will fai= l and third, adding the SIIG USB 2.0 DVI/VGA Pro device in the list.

root@fbsd14a4:~ # diff -Nur udl-manual.orig udl-manua= l
--- udl-manual.orig =C2=A0 =C2=A0 2023-08-18 00:13:25.583021000 +0000<= br>+++ udl-manual =C2=A02023-08-18 15:06:41.896163000 +0000
@@ -1,13 +1,= 14 @@
=C2=A0UDL(4) =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 FreeBSD Kernel Interfaces Manual =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 UDL(4)

=C2=A0NAME
- =C2=A0 =C2=A0 udl =E2=80=93= DisplayLink DL-120 / DL-160 USB display devices
+ =C2=A0 =C2=A0 udl =E2= =80=93 DisplayLink DL-120 / DL-160 / DL-195 USB display devices

=C2= =A0SYNOPSIS
- =C2=A0 =C2=A0 To compile this driver into the kernel, plac= e the following line in your
+ =C2=A0 =C2=A0 To compile this driver into= the kernel, place the following lines in your
=C2=A0 =C2=A0 =C2=A0 kern= el configuration file:

=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 dev= ice udl
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 device videomode

=C2= =A0 =C2=A0 =C2=A0 Alternatively, to load the driver as a module at boot tim= e, place the
=C2=A0 =C2=A0 =C2=A0 following line in loader.conf(5):
@= @ -16,7 +17,7 @@

=C2=A0DESCRIPTION
=C2=A0 =C2=A0 =C2=A0 The udl d= river supports USB display devices based on the DisplayLink
- =C2=A0 =C2= =A0 DL-120 / DL-160 graphic chip.
+ =C2=A0 =C2=A0 DL-120 / DL-160 / DL-1= 95 graphic chip.

=C2=A0HARDWARE
=C2=A0 =C2=A0 =C2=A0 The followin= g devices should work:
@@ -40,6 +41,7 @@
=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 Unitek Y-2240 USB to DVI
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 VideoHome NBdock1920
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 i-tec USB 2.0 Docking Station (USBDVIDOCK)
+ =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 SIIG USB 2.0 DVI/VGA Pro

Thanks,
Archimedes
--000000000000dfd2da06049e0d02-- From nobody Wed Sep 6 12:03:57 2023 X-Original-To: usb@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RggyQ0f1kz4sg0V for ; Wed, 6 Sep 2023 12:03:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RggyP4p9Kz3C0S for ; Wed, 6 Sep 2023 12:03:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1694001837; a=rsa-sha256; cv=none; b=nSHrXWmdrQ3pzK4wLZmkajkM6kY8qWBwZeEFlkZEpXhcDe7CGwcphEqdxhR+oUzXpvLzZg gblpxdwDD2wfLS8qKSrFfbcOfL6N5N9C3l83B/fygNYszvxMMKxisthzprLiFKlxIMUJjp ygn4kkOUuDalNfsNiRArakapXHrmFEDmZfq/t+Grj2Orv3qhdtH2UCFgmqhF+RvR/uHhx3 1D1D3DTzvOnZ+AvuRMRktoFZKelX3ZTOyoHE61h/9lcBf3TZDNxPCQi02xePcqNUA/nRGK vvbdu8vcP5ly6JesJmRK+puC60gkRYjJlzsD4MNGFOfOkZgRL6RXXunYx6bq/g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1694001837; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=VX8MLXkKxjzBn2jJFno0V96egY2OQA5ybFZS1g8h6EA=; b=fg5T86T6sQxkTppvCeVRapwgDSlNROEigDboC1Gs8TSaEDxQk4fPqhBdS8z2OnCS9f6gz7 woIJsFugjSBsYU2gPRvu2Q4W1FHj6ktyhXJxkswJbrVx3Rp9AhBuXy/BNjfuRIe1vYBRGH ZsUnqWM2y3b7EF5gxia3F1MsP1Fo2q6jSIAgESDKQ1FOUsZW957gQIUFnE3i+B0AgYHPw1 1W1Ar85qDN6pmHEaaVKH3gW5kgzTuz5wXL4wA7KFMJLuiH2PA0UdHqwZF+5r8o3v/lMcXi I2na50yNY2z9Mo3whm6RMMVS/vsHiTIg1aSI+3zInxycqMYyj4hCOCuKAsm44g== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RggyP3vPqz1K5 for ; Wed, 6 Sep 2023 12:03:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 386C3vsB067255 for ; Wed, 6 Sep 2023 12:03:57 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 386C3veK067253 for usb@FreeBSD.org; Wed, 6 Sep 2023 12:03:57 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: usb@FreeBSD.org Subject: [Bug 273596] Teach contrib/libfido2 to talk to hidraw(4) devices Date: Wed, 06 Sep 2023 12:03:57 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dhorn2000@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: usb@FreeBSD.org X-Bugzilla-Flags: mfc-stable12? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-usb List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273596 Bug ID: 273596 Summary: Teach contrib/libfido2 to talk to hidraw(4) devices Product: Base System Version: CURRENT Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: usb Assignee: usb@FreeBSD.org Reporter: dhorn2000@gmail.com CC: emaste@freebsd.org Flags: mfc-stable12? Created attachment 244678 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D244678&action= =3Dedit Patch to stable/14 for teaching libfido2 to enumeration hidraw(4) dev nodes contrib/libfido2 in base (impacts -CURRENT + stable/14) is currently 1.10 a= nd does not support the hidraw(4) device enumeration properly, just the legacy uhid(4) in the current tree. Request update to latest libfido2 release (as of writing seems to be 1.13),= and eventual MFC to stable/14 at least. My failcase is enabling hidraw devices via /boot/loader.conf, then attempti= ng to use base OpenSSH with the built-in SK provider to talk to a FIDO key (e.= g. Yubikey). This will fail by default as this version of libfido2 does not k= now to look for the /dev/hidrawXX entries, just /dev/uhidYY device nodes. Cherry picking just hid_freebsd.c with required changes from upstream will = also fix the issue, but probably best to get the full release. https://raw.githubusercontent.com/Yubico/libfido2/f1a74c8f2792e269a0c47f156= e13e6ddb457b1d3/src/hid_freebsd.c >From what I can tell, the contrib/libfido2 module installs as libprivatefido2.a/libprivatefido2.so which means that users are unable to workaround this limitation by just installing libfido2 from ports.=20 I'm glad to assist in testing this as either a patch, or in -CURRENT/stable tree. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Sep 6 12:21:56 2023 X-Original-To: usb@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RghM8228xz4rrD3 for ; Wed, 6 Sep 2023 12:21:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RghM76WPrz3GjK for ; Wed, 6 Sep 2023 12:21:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1694002915; a=rsa-sha256; cv=none; b=ZHYXt/y8JM0IBd/LSbbTcNUTHkCOAa7toMRpIw5raMJT1szqdTdwMn06RbDrcUlUOM1f5x jS07q+ylCMmKjvPHDFSkpDbRAbOHVWYQc+8N2PwuyiBRT1Y93xLZMlCfdlzj6ZAkADxWLq dqPmG6c4E6RHreg6ywfcMCOtr+huCszvc3ivREKWhVnDyeaT17vrVDQkMKooTeQDyUTX5K id6/ndZ+sl4ndscrbUUnwHMVyTDuhnxmQTzOnT1a1Z+PCqrt+nXfzZTmgkjpgEKb4/Q8pJ K0ZmDml7/98YLkzzNrBNuotNvzxluPE9RY/amPd4E6b/dzCysIdS+d+VuDdQbA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1694002915; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=cel4CH0yY6OzhBQDMMQMKZFUWn2Sztai0LWbaNqaC0M=; b=A2v7+FueK3xHcwFbqKlKHmajO69Sl/yWG3RCRxhMHnpWBidbfByuSxFilziV/JL1nt0yQb N5XGYFvv+t6SHkaX2spTKY0j7PQ3NDgqLmsby3zsIzqQ/iXjs7z90549yW9gEBDNFrUnAQ 3IezYsoG6TEzK8VBVTrIIfVCpYm1auBRP/Gh7sDGqxcbc8K+NcbjSfGsl/6XNXlcikPOfQ fOQcGK7uBJiNFfxMdOmHghrgEf9jIbBGjMZ3MBXwnEVjOG4bi3/ZA1y4DDvEleo5IeUv7U UpmfUPsczkl0CZ9ScZq8dJiqdQkh+axg9R5rSjLCjnCLa+spTt4hcuYQa1WtmA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RghM75bPCz1pf for ; Wed, 6 Sep 2023 12:21:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 386CLtYw096318 for ; Wed, 6 Sep 2023 12:21:55 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 386CLtKm096317 for usb@FreeBSD.org; Wed, 6 Sep 2023 12:21:55 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: usb@FreeBSD.org Subject: [Bug 273596] Teach contrib/libfido2 to talk to hidraw(4) devices Date: Wed, 06 Sep 2023 12:21:56 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dhorn2000@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: usb@FreeBSD.org X-Bugzilla-Flags: mfc-stable12? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-usb List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273596 --- Comment #1 from David Horn --- For those that find this issue in the future, or are impacted by a different codebase there is a temporary workaround that I found to pass in an explicit device to the necessary ssh command using the `-O device=3D/dev/hidrawXX` s= yntax. e.g.: ssh-keygen -v -K -O device=3D/dev/hidraw3 Using the -v (verbose) flag give much better error messages. There are also instructions for enabling Yubikey hidraw(4) support in the p= ort security/py-yubikey-manager `pkg-message` file for reference. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Sep 6 12:37:03 2023 X-Original-To: usb@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Rghhb6TVlz4s0MG for ; Wed, 6 Sep 2023 12:37:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Rghhb4xvnz3LHM for ; Wed, 6 Sep 2023 12:37:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1694003823; a=rsa-sha256; cv=none; b=Ad4k9d2jO6WuomhHNDrx+tFdwNW+PkUB+WHAW/Dp01MWRs1kZe9tAwKRaPtVxLlMFr4n6q ZCj/kkjtaE6T/Yo0uXSWqy3o+fJADtj7yvqENJZT+rypSTA6cY6F2O90EL2vSl5WuHU83y r1P7mG8N11e+vPZCIpY23/T0uFen99WvNXVShSI0GT5UNaMWPjB89RCK7e6O5SHDLtV9sz nyYdzVp63+dzIwZmglGimyIX4KwQu0424/73hqvh8WEWwX1C43As9XhLZ9NpEk2/hkVIUZ k+6uicwIxvg0WWSvre7m1eKCLjpCaQpIzMQ7U45L2O+453oFUv49DHE63PM8cg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1694003823; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=KgccSPnnpxiVLT2uLW4ENBz1A7/Y9U9Vu2PYxhAl5pU=; b=Dq4GuwYuESH0bfmT2FLxP/yiMUXUW++FF+2W3Bb5DLVsnGmDiAZdHj3Fj3TAIUKR1YZDQ5 eSok5Rlqiwbg4f4rF7G1AXd2BIJpT8ea5jAwQZhUUNMmVOEVdsA+nJRLRejU/p1FI9Xq8J yMiShWE5inmsGdTIjfup3svJA3weyEJyj+iFYy8qSm2Em1/1VXwAhdasUpJwlYxtdg9PaU ih2lLJ3og4buzqGJCU1ZsOCah03tyZZlaMFmPvfxpW6740NXz39iKz90KYrEYOfK6HbxaT kKTS6ihJ8Qi5SgPpwv3lffMQTAg/CcobU4s6/L/jxxMwEpde8qIosTIhUdjxgw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Rghhb43KSz1b6 for ; Wed, 6 Sep 2023 12:37:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 386Cb3rx016255 for ; Wed, 6 Sep 2023 12:37:03 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 386Cb3AI016254 for usb@FreeBSD.org; Wed, 6 Sep 2023 12:37:03 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: usb@FreeBSD.org Subject: [Bug 273596] Teach contrib/libfido2 to talk to hidraw(4) devices Date: Wed, 06 Sep 2023 12:37:03 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: usb@FreeBSD.org X-Bugzilla-Flags: mfc-stable12? X-Bugzilla-Changed-Fields: blocked Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-usb List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273596 Ed Maste changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |271607 Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271607 [Bug 271607] 14.0-RELEASE metabug --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Sep 6 13:22:16 2023 X-Original-To: usb@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Rgjhm69Yxz4sPXJ for ; Wed, 6 Sep 2023 13:22:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Rgjhm1vQjz3Wb5 for ; Wed, 6 Sep 2023 13:22:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1694006536; a=rsa-sha256; cv=none; b=YYdXDRHIXdUPIMQmt04zoGGENBHBwCpaGJr5WF/L5zDMB3QNsI3uMeVYnC5E0Ni9phtCic gFbtipQrsColRzJbYqNJxABPtuI4PUwF50XNBWW3Hr/PBwe2QqQLlEOBW4tSqBNtUhIh53 ZEpVMYFa9iZURwEBUv2y0Q+k8iSTCUiFOqFi/dRcHXnF/VmxAfuNHZreu+GwXUwARC7Hqs F0URpFoHMD9K+bc5An9a+RuFB+WlDiTODjD+H0lwZXU+SBZF4sqzI8xb5in+JvvydGceDN nrQN4P3Qw51dfNguMTF+k313PNOobA05fGAJvOWjOHS7oc1da8nwyOZWBGDDtA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1694006536; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=rNPcO1Ll+StzjiE5r307NDnFnAtPN7baDDmICfa6gDw=; b=nGOI0xPeqcUvGlzwkWYUMWrNOfVO4JOmBG3iiCfat6jQwLvipeDce/y/m7dpcaFOqtHkRn BMX06xTA5hcF6wjShcf8019/AOiSWAWmtgvSPIYbUoMEUUkWptx5yvAYlyJKuZM3XDKgFx trYNCfT+B2xZdpVcJzGzfg0Tbdtml4DKJ39Rd2IB1KzPZCw0NJplWs73oUcV47bi282ksd pBtKU2T03u1ZVRRj3PSxw+Bm/VYHD4Nstclin3UtK37yzRvRA0Od7RhrPJnOE6cIbp+Bpp m65asVZbX6EFO3Z4kGzzt4nwUYgyqp28NLo8B+4oR9iWF+CLu1BinwLeFAQ8QA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Rgjhm10Jbz2gJ for ; Wed, 6 Sep 2023 13:22:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 386DMG5F088125 for ; Wed, 6 Sep 2023 13:22:16 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 386DMGuF088124 for usb@FreeBSD.org; Wed, 6 Sep 2023 13:22:16 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: usb@FreeBSD.org Subject: [Bug 273596] Teach contrib/libfido2 to talk to hidraw(4) devices Date: Wed, 06 Sep 2023 13:22:16 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: usb@FreeBSD.org X-Bugzilla-Flags: mfc-stable12? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-usb List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273596 --- Comment #2 from Ed Maste --- libfido2 1.13 is imported in a vendor branch already, but still needs to be merged to main (and MFC'd). It should be pretty straightforward and I expec= t to do it soon. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sat Sep 9 05:25:02 2023 X-Original-To: freebsd-usb@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RjLzB4j3bz4sX6m for ; Sat, 9 Sep 2023 05:25:26 +0000 (UTC) (envelope-from archimedes.gaviola@gmail.com) Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RjLz92kclz4P09 for ; Sat, 9 Sep 2023 05:25:25 +0000 (UTC) (envelope-from archimedes.gaviola@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20221208 header.b=Qgzbt8Jz; spf=pass (mx1.freebsd.org: domain of archimedes.gaviola@gmail.com designates 2a00:1450:4864:20::52a as permitted sender) smtp.mailfrom=archimedes.gaviola@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-ed1-x52a.google.com with SMTP id 4fb4d7f45d1cf-52a39a1c4d5so3569188a12.3 for ; Fri, 08 Sep 2023 22:25:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694237124; x=1694841924; darn=freebsd.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=AZwjHSyG+SPfj/rvoOMkkIgzwebYzgA2uMsuXXjOtYE=; b=Qgzbt8Jz/tmmJdA9B2LNrsU14xaWCrLsMIqB5DcJ+wQyrDCM9eSQyWzjYjQtI7gRQA Q1tpWSl6Eum19JmqfbE/qSR9+ebasJGY+rQlC5lbdSME8JUJkSSipgxUzNokfMnRRdEQ 5dWlDGp+DaGFYr1FAyv5wuACjWaJqkNAI5Dv4IWl4aZK1jws84Hfflhjtqc9x9OecAK9 z1GSwfpLsAL+T8H/Fr6w8xTka/a6PgH+5/Q0UFFH4IiNgrSTBoPPdQBM2NRIPr+cG16J wVBAyiyFX3+jXjNJGjBvyVut29Pz8sH4LnkOvFZuFJ63h/ZFlMovcQoGg20dawqA/+nU i4kA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694237124; x=1694841924; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=AZwjHSyG+SPfj/rvoOMkkIgzwebYzgA2uMsuXXjOtYE=; b=fMb3RHK9Qx/Ocn1qWQmVZo8dqjUorhJXZZY9dmFRZtKsE1dKJIwgzUrY+No91RUg3+ tYK7y2kLOWMM0rYMgKIwsGWLpFeT3Xx4en/JiuHUd511N+3YehGcGMOJWQjGzeeeDdUm XZx2jzLPL/QB7wCHh4LMgUmOizqX/pwO6NA6WYNkZyOytRlV1SZDM7JxhbRkjy9FHnao dqlE8QTwfW5IoB6VK3Dt2Ck5+s9c0FfestBb1FU6l+3OeqCjv+W84qLqstJoVHX0fwFI a7xjl3g/MzSCH9uy5TOoZXT2q24HsLsEPdhmcaW8aE3S0QI7dm8lmLSzbWKjArybf/QN O1tA== X-Gm-Message-State: AOJu0Yzz8wY3XQTcyXUPvsvBEihSS12VJ0sm+z4/jMubPy5eLfDOyK91 RTgI6T52NEserEm6MHl7ej6WxGgC5lhwWLINcNZKUc/Lg8o= X-Google-Smtp-Source: AGHT+IEPmSzPeR2Sb/z/v6/BOPFH43a0vK/wAiDTJ7vav6O8LIp31uvIVWVi7CdUUz8jDu6vr83L7Fv4bo7tDBh5qJU= X-Received: by 2002:a17:907:7804:b0:9a1:db97:62a7 with SMTP id la4-20020a170907780400b009a1db9762a7mr2954412ejc.13.1694237123490; Fri, 08 Sep 2023 22:25:23 -0700 (PDT) List-Id: FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-usb List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Archimedes Gaviola Date: Sat, 9 Sep 2023 13:25:02 +0800 Message-ID: Subject: Re: udl(4) patch for SIIG USB 2.0 DVI/VGA Pro support To: freebsd-usb@freebsd.org Content-Type: multipart/alternative; boundary="000000000000e9375c0604e65153" X-Spamd-Bar: --- X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.998]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20221208]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; PREVIOUSLY_DELIVERED(0.00)[freebsd-usb@freebsd.org]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::52a:from]; DKIM_TRACE(0.00)[gmail.com:+]; MID_RHS_MATCH_FROMTLD(0.00)[]; TO_DN_NONE(0.00)[]; TAGGED_FROM(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; MLMMJ_DEST(0.00)[freebsd-usb@freebsd.org] X-Rspamd-Queue-Id: 4RjLz92kclz4P09 --000000000000e9375c0604e65153 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Sep 5, 2023 at 11:12=E2=80=AFPM Archimedes Gaviola < archimedes.gaviola@gmail.com> wrote: > Hi, > > I would like to submit some patches below for the SIIG USB 2.0 DVI/VGA Pr= o > device support for the udl(4) video driver. You can see actual device her= e > https://www.siig.com/usb-2-0-to-dvi-vga-pro.html. This has been tested on > both 14.0-ALPHA4 and 15.0-CURRENT in a compiled kernel and in the loadabl= e > module. Either way both are working. There are two files being patched (1= ) > /usr/src/sys/dev/usb/usbdevs and (2) /usr/src/sys/dev/usb/video/udl.c. > These changes apply for both 14.0-ALPHA4 and 15.0-CURRENT. > > root@fbsd14a4:~ # uname -a > FreeBSD fbsd14a4 14.0-ALPHA4 FreeBSD 14.0-ALPHA4 amd64 1400097 #0 > stable/14-n265026-4c3f144478d4: Fri Sep 1 05:47:56 UTC 2023 > root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC > amd64 > > root@fbsd15:~ # uname -a > FreeBSD fbsd15 15.0-CURRENT FreeBSD 15.0-CURRENT i386 1500000 #0 > main-n265091-e04c4b4a369d: Thu Aug 31 03:48:01 UTC 2023 > root@releng3.nyi.freebsd.org:/usr/obj/usr/src/i386.i386/sys/GENERIC i386 > > root@fbsd14a4:~ # diff -Nur /usr/src/sys/dev/usb/usbdevs.orig > /usr/src/sys/dev/usb/usbdevs > --- /usr/src/sys/dev/usb/usbdevs.orig 2023-09-03 04:16:01.453679000 +08= 00 > +++ /usr/src/sys/dev/usb/usbdevs 2023-09-03 09:23:33.848897000 +08= 00 > @@ -1808,6 +1808,7 @@ > product DISPLAYLINK M01061 0x01e2 Lenovo DVI > product DISPLAYLINK SWDVI 0x024c SUNWEIT DVI > product DISPLAYLINK NBDOCK 0x0215 VideoHome NBdock1920 > +product DISPLAYLINK AN2440D3 0x028f SIIG USB 2.0 DVI/VGA Pro > product DISPLAYLINK LUM70 0x02a9 Lilliput UM-70 > product DISPLAYLINK DVI_19 0x0360 USB to DVI-19 > product DISPLAYLINK UM7X0 0x401a nanovision MiMo > > root@fbsd14a4:~ # diff -Nur /usr/src/sys/dev/usb/video/udl.c.orig > /usr/src/sys/dev/usb/video/udl.c > --- /usr/src/sys/dev/usb/video/udl.c.orig 2023-09-03 > 04:15:21.204875000 +0800 > +++ /usr/src/sys/dev/usb/video/udl.c 2023-09-03 09:25:23.893228000 +08= 00 > @@ -179,6 +179,7 @@ > {USB_VPI(USB_VENDOR_DISPLAYLINK, USB_PRODUCT_DISPLAYLINK_LT1421, > DLUNK)}, > {USB_VPI(USB_VENDOR_DISPLAYLINK, USB_PRODUCT_DISPLAYLINK_ITEC, > DL165)}, > {USB_VPI(USB_VENDOR_DISPLAYLINK, USB_PRODUCT_DISPLAYLINK_DVI_19, > DL165)}, > + {USB_VPI(USB_VENDOR_DISPLAYLINK, USB_PRODUCT_DISPLAYLINK_AN2440D3= , > DL195)}, > > Some relevant info below upon detection of the device after patched (only > 14.0-ALPHA4 is shown as 15.0-CURRENT is the same). Because the videomode > driver is also a dependency to the udl(4) driver, it is also able to dete= ct > my Dell VGA monitor for available screen resolutions and video modes. > > root@fbsd14a4:~ # kldload udl > root@fbsd14a4:~ # kldstat > Id Refs Address Size Name > 1 10 0xffffffff80200000 1d339a8 kernel > 2 1 0xffffffff8261f000 3690 udl.ko > 3 1 0xffffffff82623000 5028 videomode.ko > > root@fbsd14a4:~ # kldstat -v -n kernel | grep udl > 107 udl/fbd > 282 uhub/udl > > root@fbsd14a4:~ # dmesg > ugen0.2: at usbus0 > udl0 on uhub0 > udl0: on usbus0 > Vendor: [DEL] Dell > Product: [2004] D1918H > Serial number: GC2RW07C8PHX > Manufactured 2019 Week 28 > EDID Version 1.3 > EDID Comment: > Video Input: 68 > Analog > -0.7, 0.0V > Separate syncs > Gamma: 2.20 > Max Size: 41 cm x 23 cm > Features: 2a > DPMS active-off > RGB > Preferred timing > Chroma Info: > Red X: 0.635 > Red Y: 0.635 > Grn X: 0.330 > Grn Y: 0.627 > Blu X: 0.155 > Blu Y: 0.046 > Wht X: 0.313 > Wht Y: 0.329 > Range: > Horizontal: 30 - 83 kHz > Vertical: 56 - 75 Hz > Max Dot Clock: 135 MHz > Video modes: > 720x400 @ 70Hz (28320 738 846 900 412 414 449 -H +V) > 640x480 @ 60Hz (25175 656 752 800 490 492 525 -H -V) > 640x480 @ 75Hz (31500 656 720 840 481 484 500 -H -V) > 800x600 @ 60Hz (40000 840 968 1056 601 605 628 +H +V) > 800x600 @ 75Hz (49500 816 896 1056 601 604 625 +H +V) > 1024x768 @ 60Hz (65000 1048 1184 1344 771 777 806 -H -V) > 1024x768 @ 75Hz (78750 1040 1136 1312 769 772 800 +H +V) > 1280x1024 @ 75Hz (135000 1296 1440 1688 1025 1028 1066 +H +V) > 1366x768 @ 60Hz (85500 1436 1579 1792 771 774 798 +H +V) > Preferred mode: 1366x768 @ 60Hz > Number of extension blocks: 0 > udl0: Mode selected 1280x1024 @ 75Hz > fbd0 on udl0 > > root@fbsd14a4:~ # usbconfig -d ugen0.2 dump_device_desc > ugen0.2: at usbus0, cfg=3D0 md=3DHOST spd=3DFULL (= 12Mbps) > pwr=3DON (500mA) > > bLength =3D 0x0012 > bDescriptorType =3D 0x0001 > bcdUSB =3D 0x0110 > bDeviceClass =3D 0x0000 > bDeviceSubClass =3D 0x0000 > bDeviceProtocol =3D 0x0000 > bMaxPacketSize0 =3D 0x0040 > idVendor =3D 0x17e9 > idProduct =3D 0x028f > bcdDevice =3D 0x0001 > iManufacturer =3D 0x0001 > iProduct =3D 0x0002 > iSerialNumber =3D 0x0003 <111018> > bNumConfigurations =3D 0x0001 > > root@fbsd14a4:~ # sysctl -a | grep udl > udl0 on uhub0 > udl0: on usbus0 > udl0: Mode selected 1280x1024 @ 75Hz > fbd0 on udl0 > device udl > hw.usb.udl.fps: 25 > hw.usb.udl.debug: 0 > dev.fbd.0.%parent: udl0 > dev.udl.0.mode: 17 > dev.udl.0.mode_force: -1 > dev.udl.0.chipid: 4 > dev.udl.0.chipid_force: -1 > dev.udl.0.%parent: uhub0 > dev.udl.0.%pnpinfo: vendor=3D0x17e9 product=3D0x028f devclass=3D0x00 > devsubclass=3D0x00 devproto=3D0x00 sernum=3D"111018" release=3D0x0001 mod= e=3Dhost > intclass=3D0xff intsubclass=3D0x00 intprotocol=3D0x00 > dev.udl.0.%location: bus=3D0 hubaddr=3D1 port=3D1 devaddr=3D2 interface= =3D0 > ugen=3Dugen0.2 > dev.udl.0.%driver: udl > dev.udl.0.%desc: DisplayLink AN2440D3, class 0/0, rev 1.10/0.01, addr 2 > dev.udl.%parent: > > Lastly, I would also submit a patch for the udl(4) manual for update. > First, there's a need to include DL-195 in the description since this mod= el > is the chipset of SIIG USB 2.0 DVI/VGA Pro which is working as tested. > Second, the udl(4) driver must be accompanied with the videomode driver > otherwise kernel compilation will fail and third, adding the SIIG USB 2.0 > DVI/VGA Pro device in the list. > > root@fbsd14a4:~ # diff -Nur udl-manual.orig udl-manual > --- udl-manual.orig 2023-08-18 00:13:25.583021000 +0000 > +++ udl-manual 2023-08-18 15:06:41.896163000 +0000 > @@ -1,13 +1,14 @@ > UDL(4) FreeBSD Kernel Interfaces Manual > UDL(4) > > NAME > - udl =E2=80=93 DisplayLink DL-120 / DL-160 USB display devices > + udl =E2=80=93 DisplayLink DL-120 / DL-160 / DL-195 USB display devi= ces > > SYNOPSIS > - To compile this driver into the kernel, place the following line in > your > + To compile this driver into the kernel, place the following lines i= n > your > kernel configuration file: > > device udl > + device videomode > > Alternatively, to load the driver as a module at boot time, place t= he > following line in loader.conf(5): > @@ -16,7 +17,7 @@ > > DESCRIPTION > The udl driver supports USB display devices based on the DisplayLin= k > - DL-120 / DL-160 graphic chip. > + DL-120 / DL-160 / DL-195 graphic chip. > > HARDWARE > The following devices should work: > @@ -40,6 +41,7 @@ > Unitek Y-2240 USB to DVI > VideoHome NBdock1920 > i-tec USB 2.0 Docking Station (USBDVIDOCK) > + SIIG USB 2.0 DVI/VGA Pro > > Thanks, > Archimedes > Hi, By the way, should I post this patch to the Phabricator https://reviews.freebsd.org for review? The other patch is related to the manual, where to post it as well? Thanks, Archimedes --000000000000e9375c0604e65153 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Tue, Sep 5, 2023 at 11:12=E2=80=AF= PM Archimedes Gaviola <a= rchimedes.gaviola@gmail.com> wrote:
Hi,

I would like to submit some patches=20 below for the SIIG USB 2.0 DVI/VGA Pro device support for the udl(4)=20 video driver. You can see actual device here https://www.siig.com/usb-2= -0-to-dvi-vga-pro.html. This has been tested on both 14.0-ALPHA4 and 15.0-CURRENT in a compiled kernel and in the loadable module. Either way both are working. There=20 are two files being patched (1)=20 /usr/src/sys/dev/usb/usbdevs and (2)=20 /usr/src/sys/dev/usb/video/udl.c. These changes apply for both 14.0-ALPHA4 = and 15.0-CURRENT.

root@fbsd14a4:~ # uname -a
Fr= eeBSD fbsd14a4 14.0-ALPHA4 FreeBSD 14.0-ALPHA4 amd64 1400097 #0 stable/14-n= 265026-4c3f144478d4: Fri Sep =C2=A01 05:47:56 UTC 2023 =C2=A0 =C2=A0 root@r= eleng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
root@fbsd15:~ # uname -a
FreeBSD fbsd15 15.0-CURRENT FreeBSD 15.0-CURRENT i386 1500000 #0=20 main-n265091-e04c4b4a369d: Thu Aug 31 03:48:01 UTC 2023 =C2=A0 =C2=A0=20 root@releng3.nyi.freebsd.org:/usr/obj/usr/src/i386.i386/sys/GENERIC i386

root@fbsd14a4:~ # diff -Nur /usr/src/sys/dev/usb/= usbdevs.orig /usr/src/sys/dev/usb/usbdevs
--- /usr/src/sys/dev/usb/usbde= vs.orig =C2=A0 2023-09-03 04:16:01.453679000 +0800
+++ /usr/src/sys/dev/= usb/usbdevs =C2=A0 =C2=A0 =C2=A0 =C2=A02023-09-03 09:23:33.848897000 +0800<= br>@@ -1808,6 +1808,7 @@
=C2=A0product DISPLAYLINK M01061 =C2=A0 =C2=A0 = 0x01e2 =C2=A0Lenovo DVI
=C2=A0product DISPLAYLINK SWDVI =C2=A0 =C2=A0 = =C2=A00x024c =C2=A0SUNWEIT DVI
=C2=A0product DISPLAYLINK NBDOCK =C2=A0 = =C2=A0 0x0215 =C2=A0VideoHome NBdock1920
+product DISPLAYLINK AN2440D3 = =C2=A0 0x028f =C2=A0SIIG USB 2.0 DVI/VGA Pro
=C2=A0product DISPLAYLINK L= UM70 =C2=A0 =C2=A0 =C2=A00x02a9 =C2=A0Lilliput UM-70
=C2=A0product DISPL= AYLINK DVI_19 =C2=A0 =C2=A0 0x0360 =C2=A0USB to DVI-19
=C2=A0product DIS= PLAYLINK UM7X0 =C2=A0 =C2=A0 =C2=A00x401a =C2=A0nanovision MiMo

root= @fbsd14a4:~ # diff -Nur /usr/src/sys/dev/usb/video/udl.c.orig /usr/src/sys/= dev/usb/video/udl.c
--- /usr/src/sys/dev/usb/video/udl.c.orig =C2=A0 =C2= =A0 =C2=A0 2023-09-03 04:15:21.204875000 +0800
+++ /usr/src/sys/dev/usb/= video/udl.c =C2=A0 =C2=A02023-09-03 09:25:23.893228000 +0800
@@ -179,6 += 179,7 @@
=C2=A0 =C2=A0 =C2=A0 =C2=A0 {USB_VPI(USB_VENDOR_DISPLAYLINK, US= B_PRODUCT_DISPLAYLINK_LT1421, DLUNK)},
=C2=A0 =C2=A0 =C2=A0 =C2=A0 {USB_= VPI(USB_VENDOR_DISPLAYLINK, USB_PRODUCT_DISPLAYLINK_ITEC, DL165)},
=C2= =A0 =C2=A0 =C2=A0 =C2=A0 {USB_VPI(USB_VENDOR_DISPLAYLINK, USB_PRODUCT_DISPL= AYLINK_DVI_19, DL165)},
+ =C2=A0 =C2=A0 =C2=A0 {USB_VPI(USB_VENDOR_DISPL= AYLINK, USB_PRODUCT_DISPLAYLINK_AN2440D3, DL195)},

=
Some relevant info below upon detection of the device after patched (only 14.0-= ALPHA4 is shown as 15.0-CURRENT is the same). Because the videomode driver is also a dependency to the udl(4) driver, it is=20 also able to detect my Dell VGA monitor for available screen resolutions and video modes.

root@fbsd14a4:~ # kldload ud= l
root@fbsd14a4:~ # kldstat
Id Refs Address =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Size Name
=C2=A01 =C2=A0 10 0xffffffff802= 00000 =C2=A01d339a8 kernel
=C2=A02 =C2=A0=C2=A0 1 0xffffffff8261f000 =C2= =A0 =C2=A0 3690 udl.ko
=C2=A03 =C2=A0=C2=A0 1 0xffffffff82623000 =C2=A0 = =C2=A0 5028 videomode.ko

root@fbsd14a4:~ # kldstat -v -n kernel | gr= ep udl
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 107 udl/f= bd
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 282 uhub/udl<= /div>

root@fbsd14a4:~ # dmesg
ugen0.2: <DisplayLink AN2440D3> at usbus0
udl0 on uhub0
udl= 0: <DisplayLink AN2440D3, class 0/0, rev 1.10/0.01, addr 2> on usbus0=
Vendor: [DEL] Dell
Product: [2004] D1918H
Serial number: GC2RW07C= 8PHX
Manufactured 2019 Week 28
EDID Version 1.3
EDID Comment:
V= ideo Input: 68
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Analog
=C2=A0 =C2=A0 =C2= =A0 =C2=A0 -0.7, 0.0V
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Separate syncs
Gamm= a: 2.20
Max Size: 41 cm x 23 cm
Features: 2a
=C2=A0 =C2=A0 =C2=A0 = =C2=A0 DPMS active-off
=C2=A0 =C2=A0 =C2=A0 =C2=A0 RGB
=C2=A0 =C2=A0 = =C2=A0 =C2=A0 Preferred timing
Chroma Info:
=C2=A0 =C2=A0 =C2=A0 =C2= =A0 Red X: 0.635
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Red Y: 0.635
=C2=A0 =C2= =A0 =C2=A0 =C2=A0 Grn X: 0.330
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Grn Y: 0.627<= br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 Blu X: 0.155
=C2=A0 =C2=A0 =C2=A0 =C2=A0 = Blu Y: 0.046
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Wht X: 0.313
=C2=A0 =C2=A0 = =C2=A0 =C2=A0 Wht Y: 0.329
Range:
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Horizon= tal: 30 - 83 kHz
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Vertical: 56 - 75 Hz
=C2= =A0 =C2=A0 =C2=A0 =C2=A0 Max Dot Clock: 135 MHz
Video modes:
=C2=A0 = =C2=A0 =C2=A0 =C2=A0 720x400 @ 70Hz (28320 738 846 900 412 414 449 -H +V)=C2=A0 =C2=A0 =C2=A0 =C2=A0 640x480 @ 60Hz (25175 656 752 800 490 492 525= -H -V)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 640x480 @ 75Hz (31500 656 720 840 48= 1 484 500 -H -V)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 800x600 @ 60Hz (40000 840 9= 68 1056 601 605 628 +H +V)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 800x600 @ 75Hz (4= 9500 816 896 1056 601 604 625 +H +V)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 1024x76= 8 @ 60Hz (65000 1048 1184 1344 771 777 806 -H -V)
=C2=A0 =C2=A0 =C2=A0 = =C2=A0 1024x768 @ 75Hz (78750 1040 1136 1312 769 772 800 +H +V)
=C2=A0 = =C2=A0 =C2=A0 =C2=A0 1280x1024 @ 75Hz (135000 1296 1440 1688 1025 1028 1066= +H +V)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 1366x768 @ 60Hz (85500 1436 1579 179= 2 771 774 798 +H +V)
Preferred mode: 1366x768 @ 60Hz
Number of extens= ion blocks: 0
udl0: Mode selected 1280x1024 @ 75Hz
fbd0 on udl0
=

root@fbsd14a4:~ # usbconfig -d ugen0.2 dump_device_desc=
ugen0.2: <DisplayLink AN2440D3> at usbus0, cfg=3D0 md=3DHOST spd= =3DFULL (12Mbps) pwr=3DON (500mA)

=C2=A0 bLength =3D 0x0012
=C2= =A0 bDescriptorType =3D 0x0001
=C2=A0 bcdUSB =3D 0x0110
=C2=A0 bDevic= eClass =3D 0x0000 =C2=A0<Probed by interface class>
=C2=A0 bDevice= SubClass =3D 0x0000
=C2=A0 bDeviceProtocol =3D 0x0000
=C2=A0 bMaxPack= etSize0 =3D 0x0040
=C2=A0 idVendor =3D 0x17e9
=C2=A0 idProduct =3D 0x= 028f
=C2=A0 bcdDevice =3D 0x0001
=C2=A0 iManufacturer =3D 0x0001 =C2= =A0<DisplayLink>
=C2=A0 iProduct =3D 0x0002 =C2=A0<AN2440D3>=
=C2=A0 iSerialNumber =3D 0x0003 =C2=A0<111018>
=C2=A0 bNumConf= igurations =3D 0x0001

root@fbsd14a4:~ # sysctl -a | grep udl
udl0= on uhub0
udl0: <DisplayLink AN2440D3, class 0/0, rev 1.10/0.01, addr= 2> on usbus0
udl0: Mode selected 1280x1024 @ 75Hz
fbd0 on udl0device =C2=A0udl
hw.usb.udl.fps: 25
hw.usb.udl.debug: 0
dev.fbd.0= .%parent: udl0
dev.udl.0.mode: 17
dev.udl.0.mode_force: -1
dev.udl= .0.chipid: 4
dev.udl.0.chipid_force: -1
dev.udl.0.%parent: uhub0
d= ev.udl.0.%pnpinfo: vendor=3D0x17e9 product=3D0x028f devclass=3D0x00 devsubclass=3D0x00=20 devproto=3D0x00 sernum=3D"111018" release=3D0x0001 mode=3Dhost in= tclass=3D0xff=20 intsubclass=3D0x00 intprotocol=3D0x00
dev.udl.0.%location: bus=3D0 hubad= dr=3D1 port=3D1 devaddr=3D2 interface=3D0 ugen=3Dugen0.2
dev.udl.0.%driv= er: udl
dev.udl.0.%desc: DisplayLink AN2440D3, class 0/0, rev 1.10/0.01,= addr 2
dev.udl.%parent:

Lastly, I would also submit a patch for the udl(4) manual for update. First,=20 there's a need to include DL-195 in the description since this model is the chipset of=20 SIIG USB 2.0 DVI/VGA Pro which is working as tested. Second, the udl(4) driver must be=20 accompanied with the videomode driver otherwise kernel compilation will fai= l and third, adding the SIIG USB 2.0 DVI/VGA Pro device in the list.

root@fbsd14a4:~ # diff -Nur udl-manual.orig udl-manua= l
--- udl-manual.orig =C2=A0 =C2=A0 2023-08-18 00:13:25.583021000 +0000<= br>+++ udl-manual =C2=A02023-08-18 15:06:41.896163000 +0000
@@ -1,13 +1,= 14 @@
=C2=A0UDL(4) =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 FreeBSD Kernel Interfaces Manual =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 UDL(4)

=C2=A0NAME
- =C2=A0 =C2=A0 udl =E2=80=93= DisplayLink DL-120 / DL-160 USB display devices
+ =C2=A0 =C2=A0 udl =E2= =80=93 DisplayLink DL-120 / DL-160 / DL-195 USB display devices

=C2= =A0SYNOPSIS
- =C2=A0 =C2=A0 To compile this driver into the kernel, plac= e the following line in your
+ =C2=A0 =C2=A0 To compile this driver into= the kernel, place the following lines in your
=C2=A0 =C2=A0 =C2=A0 kern= el configuration file:

=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 dev= ice udl
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 device videomode

=C2= =A0 =C2=A0 =C2=A0 Alternatively, to load the driver as a module at boot tim= e, place the
=C2=A0 =C2=A0 =C2=A0 following line in loader.conf(5):
@= @ -16,7 +17,7 @@

=C2=A0DESCRIPTION
=C2=A0 =C2=A0 =C2=A0 The udl d= river supports USB display devices based on the DisplayLink
- =C2=A0 =C2= =A0 DL-120 / DL-160 graphic chip.
+ =C2=A0 =C2=A0 DL-120 / DL-160 / DL-1= 95 graphic chip.

=C2=A0HARDWARE
=C2=A0 =C2=A0 =C2=A0 The followin= g devices should work:
@@ -40,6 +41,7 @@
=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 Unitek Y-2240 USB to DVI
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 VideoHome NBdock1920
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 i-tec USB 2.0 Docking Station (USBDVIDOCK)
+ =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 SIIG USB 2.0 DVI/VGA Pro

Thanks,
Archimedes

Hi,
=

By the way, should I post this patch to the Phabricator= https://reviews.freebsd.org fo= r review? The other patch is related to the manual, where to post it as wel= l?

Thanks,
Archimedes


=C2=A0
--000000000000e9375c0604e65153-- From nobody Sat Sep 9 08:45:40 2023 X-Original-To: freebsd-usb@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RjRQK13gbz4sc5l for ; Sat, 9 Sep 2023 08:45:45 +0000 (UTC) (envelope-from garyj@gmx.de) Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.gmx.net", Issuer "Telekom Security ServerID OV Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RjRQJ1dyyz4Tdf for ; Sat, 9 Sep 2023 08:45:44 +0000 (UTC) (envelope-from garyj@gmx.de) Authentication-Results: mx1.freebsd.org; dkim=fail ("headers rsa verify failed") header.d=gmx.de header.s=s31663417 header.b=i0xmlVeb; spf=pass (mx1.freebsd.org: domain of garyj@gmx.de designates 212.227.17.20 as permitted sender) smtp.mailfrom=garyj@gmx.de; dmarc=pass (policy=none) header.from=gmx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1694249141; x=1694853941; i=garyj@gmx.de; bh=EY9xREIy7w4xKLOkGBB1bEbc4lquU8YDccVgznBikLo=; h=X-UI-Sender-Class:Date:From:To:Cc:Subject:In-Reply-To:References:Reply- To; b=i0xmlVebbYAjP3rpG54ybvpUAWIpTOla/47bSdbTU5USjrgsinBRSJ1l89NN1S6u5vM2N2W 7nfTazv1ZfUqYhWXghSt+OHZ65VV9tjp6+JKprkiEIbmVvQXiTm/P2ZFP8KHa+chSKX/PI7KH duOQDbUBK17UVsIxOHa5PjvMy4+obDB9II7XiampYWXFO+Imyh1Xc0ywz3CpIKZWMudeN86Ey DG5F+L+8/Q0/jktOdn7hY7rLPmk0py5L+D8ReCJqqS44kLCkiSNUpIVU52iVAnJSG6f6YtGk4 TCirGpAhd0mAnt/76dyu5hFeYMZdfA/gGQ6+25qfh4eeD/CjLoHg== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from ernst.home ([217.226.51.105]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MbAci-1q3dyH1in2-00bZQg; Sat, 09 Sep 2023 10:45:41 +0200 Date: Sat, 9 Sep 2023 08:45:40 +0000 From: Gary Jennejohn To: Archimedes Gaviola Cc: freebsd-usb@freebsd.org Subject: Re: udl(4) patch for SIIG USB 2.0 DVI/VGA Pro support Message-ID: <20230909104540.01f60614@ernst.home> In-Reply-To: References: Reply-To: garyj@gmx.de X-Mailer: Claws Mail 3.19.1 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) List-Id: FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-usb List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:W0ZlSA1Y+mw8yI6pP/nD6YzWGVbP+v5ikC2Hpc1sOJDGh7xD64O xs+cm1+QJMnkb5QI2+XV4SjIIwu3XKTROTmmNasjkXWUNOgypVT8rSNf6x+tC97mPnmV2e4 vTGLK8/HSL+QCQCZGqy2ItnccKYdDrgoenQztGqrgOJYIchc7PdZDBTYm2854RUa13BYV7f juFtKjjf58ch3mMFu1xSw== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:69ngHUJGVaA=;uEV4efc74n/PbCX2sEbX2RhE3UI TS134KVxL42zkXMni4CgdxaXA6fYWWxIWwab1wnjBsC0gbmTon+26rGa5T4oonnyfXB2ki5uO fMbRekORjd9lKoYOXEKXoP2UaQsxhAJgC84ObTRhNDnFwIv6JnOsi8NxCTRsZRfVtMkOTGSGI zhoZXAYXQSnnwG6eX98BmXuJBdeXgt2HL5H2+474t+UeFuMhD8CDJVBQHQQYbKkf57TdOYZV/ 4IwqypkQ1hFMro94KBkTaUwbk8H2t8T1UNhJC6Rg6HH+MwIag9vZzpmbG3G1EcktiFwOZQ8No rF62meRlUhGwx1yeizy8t0qWIHxE02F6p+kHDPqFRmSfgxxCIP1PKPP31ng/c4PfK/mK5HFlB aTFTKC6s4VJ4wJ8YLCtKcFb0fIp5vk2qtKjdqxkwnLicW/SR+H2573pLbhqn0aDvyPOkbK5Ik P2Yxro0Fw7NpNSLjfJUdwM6pR1I6+eOj6K4LNIjvVuaDxNAJdg4quQPxUkJMXEhUduqYQ84G1 qD2Sl8fB11eitWBPh685aXsrHEaxsmtTJA3VSEgFtXb3bvXnffpyTfZ/oM7cKWFDLsVP31nNe bt9erP2X/M7Gt9Tu5dDpd+mAQzXduS3TXj6z9Ov8j3KU+lh/Ty9K7yabm+x0069FzmqcFWA/t JJLSmnu1bjVggc9nUsm4nyKpYVCKfEruujkuB8PYzQTFJcp9DBr5kxpB/Tw7Zr2F3P6w7YIp7 7ab9VG0sKm9HLQWZrZNZRaJTlDYUNMOQUQVKEuJIexmMEQjkuuipdCnBZJsq/9tLs0/rofs+N BxWvLybcAMAMZH0gd+uwZDfVNJ3zaBsAi03QAMhHmaIDqORk32NbVhmxQi9DAiO3MC2sI6pWd 6uCvmy63E2TyQ/kQZL+3dpwPnnjp1dc9DXh42ZZ6Ol6AtnDIU1dwWgQzxXXL3b557tjREad2X qUTlymzsdIhrSO3g9Xf3MFPKzEA= X-Spamd-Bar: / X-Spamd-Result: default: False [-0.66 / 15.00]; NEURAL_HAM_LONG(-0.99)[-0.991]; NEURAL_SPAM_MEDIUM(0.97)[0.973]; DMARC_POLICY_ALLOW_WITH_FAILURES(-0.50)[]; NEURAL_SPAM_SHORT(0.36)[0.360]; R_SPF_ALLOW(-0.20)[+ip4:212.227.17.0/27]; RWL_MAILSPIKE_VERYGOOD(-0.20)[212.227.17.20:from]; RCVD_IN_DNSWL_LOW(-0.10)[212.227.17.20:from]; ONCE_RECEIVED(0.10)[]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[garyj@gmx.de]; FREEMAIL_REPLYTO(0.00)[gmx.de]; TAGGED_RCPT(0.00)[]; MLMMJ_DEST(0.00)[freebsd-usb@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_FROM(0.00)[gmx.de]; R_DKIM_REJECT(0.00)[gmx.de:s=s31663417]; TO_DN_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmx.de]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_TO(0.00)[gmail.com]; DKIM_TRACE(0.00)[gmx.de:-]; RCVD_COUNT_ONE(0.00)[1]; DMARC_POLICY_ALLOW(0.00)[gmx.de,none]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4RjRQJ1dyyz4Tdf On Sat, 9 Sep 2023 13:25:02 +0800 Archimedes Gaviola wrote: > On Tue, Sep 5, 2023 at 11:12?PM Archimedes Gaviola < > archimedes.gaviola@gmail.com> wrote: > > > Hi, > > > > I would like to submit some patches below for the SIIG USB 2.0 DVI/VGA= Pro > > device support for the udl(4) video driver. You can see actual device = here > > https://www.siig.com/usb-2-0-to-dvi-vga-pro.html. This has been tested= on > > both 14.0-ALPHA4 and 15.0-CURRENT in a compiled kernel and in the load= able > > module. Either way both are working. There are two files being patched= (1) > > /usr/src/sys/dev/usb/usbdevs and (2) /usr/src/sys/dev/usb/video/udl.c. > > These changes apply for both 14.0-ALPHA4 and 15.0-CURRENT. > > > > root@fbsd14a4:~ # uname -a > > FreeBSD fbsd14a4 14.0-ALPHA4 FreeBSD 14.0-ALPHA4 amd64 1400097 #0 > > stable/14-n265026-4c3f144478d4: Fri Sep 1 05:47:56 UTC 2023 > > root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC > > amd64 > > > > root@fbsd15:~ # uname -a > > FreeBSD fbsd15 15.0-CURRENT FreeBSD 15.0-CURRENT i386 1500000 #0 > > main-n265091-e04c4b4a369d: Thu Aug 31 03:48:01 UTC 2023 > > root@releng3.nyi.freebsd.org:/usr/obj/usr/src/i386.i386/sys/GENERIC i3= 86 > > > > root@fbsd14a4:~ # diff -Nur /usr/src/sys/dev/usb/usbdevs.orig > > /usr/src/sys/dev/usb/usbdevs > > --- /usr/src/sys/dev/usb/usbdevs.orig 2023-09-03 04:16:01.453679000 = +0800 > > +++ /usr/src/sys/dev/usb/usbdevs 2023-09-03 09:23:33.848897000 = +0800 > > @@ -1808,6 +1808,7 @@ > > product DISPLAYLINK M01061 0x01e2 Lenovo DVI > > product DISPLAYLINK SWDVI 0x024c SUNWEIT DVI > > product DISPLAYLINK NBDOCK 0x0215 VideoHome NBdock1920 > > +product DISPLAYLINK AN2440D3 0x028f SIIG USB 2.0 DVI/VGA Pro > > product DISPLAYLINK LUM70 0x02a9 Lilliput UM-70 > > product DISPLAYLINK DVI_19 0x0360 USB to DVI-19 > > product DISPLAYLINK UM7X0 0x401a nanovision MiMo > > > > root@fbsd14a4:~ # diff -Nur /usr/src/sys/dev/usb/video/udl.c.orig > > /usr/src/sys/dev/usb/video/udl.c > > --- /usr/src/sys/dev/usb/video/udl.c.orig 2023-09-03 > > 04:15:21.204875000 +0800 > > +++ /usr/src/sys/dev/usb/video/udl.c 2023-09-03 09:25:23.893228000 = +0800 > > @@ -179,6 +179,7 @@ > > {USB_VPI(USB_VENDOR_DISPLAYLINK, USB_PRODUCT_DISPLAYLINK_LT142= 1, > > DLUNK)}, > > {USB_VPI(USB_VENDOR_DISPLAYLINK, USB_PRODUCT_DISPLAYLINK_ITEC, > > DL165)}, > > {USB_VPI(USB_VENDOR_DISPLAYLINK, USB_PRODUCT_DISPLAYLINK_DVI_1= 9, > > DL165)}, > > + {USB_VPI(USB_VENDOR_DISPLAYLINK, USB_PRODUCT_DISPLAYLINK_AN244= 0D3, > > DL195)}, > > > > Some relevant info below upon detection of the device after patched (o= nly > > 14.0-ALPHA4 is shown as 15.0-CURRENT is the same). Because the videomo= de > > driver is also a dependency to the udl(4) driver, it is also able to d= etect > > my Dell VGA monitor for available screen resolutions and video modes. > > > > root@fbsd14a4:~ # kldload udl > > root@fbsd14a4:~ # kldstat > > Id Refs Address Size Name > > 1 10 0xffffffff80200000 1d339a8 kernel > > 2 1 0xffffffff8261f000 3690 udl.ko > > 3 1 0xffffffff82623000 5028 videomode.ko > > > > root@fbsd14a4:~ # kldstat -v -n kernel | grep udl > > 107 udl/fbd > > 282 uhub/udl > > > > root@fbsd14a4:~ # dmesg > > ugen0.2: at usbus0 > > udl0 on uhub0 > > udl0: on usbu= s0 > > Vendor: [DEL] Dell > > Product: [2004] D1918H > > Serial number: GC2RW07C8PHX > > Manufactured 2019 Week 28 > > EDID Version 1.3 > > EDID Comment: > > Video Input: 68 > > Analog > > -0.7, 0.0V > > Separate syncs > > Gamma: 2.20 > > Max Size: 41 cm x 23 cm > > Features: 2a > > DPMS active-off > > RGB > > Preferred timing > > Chroma Info: > > Red X: 0.635 > > Red Y: 0.635 > > Grn X: 0.330 > > Grn Y: 0.627 > > Blu X: 0.155 > > Blu Y: 0.046 > > Wht X: 0.313 > > Wht Y: 0.329 > > Range: > > Horizontal: 30 - 83 kHz > > Vertical: 56 - 75 Hz > > Max Dot Clock: 135 MHz > > Video modes: > > 720x400 @ 70Hz (28320 738 846 900 412 414 449 -H +V) > > 640x480 @ 60Hz (25175 656 752 800 490 492 525 -H -V) > > 640x480 @ 75Hz (31500 656 720 840 481 484 500 -H -V) > > 800x600 @ 60Hz (40000 840 968 1056 601 605 628 +H +V) > > 800x600 @ 75Hz (49500 816 896 1056 601 604 625 +H +V) > > 1024x768 @ 60Hz (65000 1048 1184 1344 771 777 806 -H -V) > > 1024x768 @ 75Hz (78750 1040 1136 1312 769 772 800 +H +V) > > 1280x1024 @ 75Hz (135000 1296 1440 1688 1025 1028 1066 +H +V) > > 1366x768 @ 60Hz (85500 1436 1579 1792 771 774 798 +H +V) > > Preferred mode: 1366x768 @ 60Hz > > Number of extension blocks: 0 > > udl0: Mode selected 1280x1024 @ 75Hz > > fbd0 on udl0 > > > > root@fbsd14a4:~ # usbconfig -d ugen0.2 dump_device_desc > > ugen0.2: at usbus0, cfg=3D0 md=3DHOST spd=3DFUL= L (12Mbps) > > pwr=3DON (500mA) > > > > bLength =3D 0x0012 > > bDescriptorType =3D 0x0001 > > bcdUSB =3D 0x0110 > > bDeviceClass =3D 0x0000 > > bDeviceSubClass =3D 0x0000 > > bDeviceProtocol =3D 0x0000 > > bMaxPacketSize0 =3D 0x0040 > > idVendor =3D 0x17e9 > > idProduct =3D 0x028f > > bcdDevice =3D 0x0001 > > iManufacturer =3D 0x0001 > > iProduct =3D 0x0002 > > iSerialNumber =3D 0x0003 <111018> > > bNumConfigurations =3D 0x0001 > > > > root@fbsd14a4:~ # sysctl -a | grep udl > > udl0 on uhub0 > > udl0: on usbu= s0 > > udl0: Mode selected 1280x1024 @ 75Hz > > fbd0 on udl0 > > device udl > > hw.usb.udl.fps: 25 > > hw.usb.udl.debug: 0 > > dev.fbd.0.%parent: udl0 > > dev.udl.0.mode: 17 > > dev.udl.0.mode_force: -1 > > dev.udl.0.chipid: 4 > > dev.udl.0.chipid_force: -1 > > dev.udl.0.%parent: uhub0 > > dev.udl.0.%pnpinfo: vendor=3D0x17e9 product=3D0x028f devclass=3D0x00 > > devsubclass=3D0x00 devproto=3D0x00 sernum=3D"111018" release=3D0x0001 = mode=3Dhost > > intclass=3D0xff intsubclass=3D0x00 intprotocol=3D0x00 > > dev.udl.0.%location: bus=3D0 hubaddr=3D1 port=3D1 devaddr=3D2 interfac= e=3D0 > > ugen=3Dugen0.2 > > dev.udl.0.%driver: udl > > dev.udl.0.%desc: DisplayLink AN2440D3, class 0/0, rev 1.10/0.01, addr = 2 > > dev.udl.%parent: > > > > Lastly, I would also submit a patch for the udl(4) manual for update. > > First, there's a need to include DL-195 in the description since this = model > > is the chipset of SIIG USB 2.0 DVI/VGA Pro which is working as tested. > > Second, the udl(4) driver must be accompanied with the videomode drive= r > > otherwise kernel compilation will fail and third, adding the SIIG USB = 2.0 > > DVI/VGA Pro device in the list. > > > > root@fbsd14a4:~ # diff -Nur udl-manual.orig udl-manual > > --- udl-manual.orig 2023-08-18 00:13:25.583021000 +0000 > > +++ udl-manual 2023-08-18 15:06:41.896163000 +0000 > > @@ -1,13 +1,14 @@ > > UDL(4) FreeBSD Kernel Interfaces Manual > > UDL(4) > > > > NAME > > - udl ? DisplayLink DL-120 / DL-160 USB display devices > > + udl ? DisplayLink DL-120 / DL-160 / DL-195 USB display devices > > > > SYNOPSIS > > - To compile this driver into the kernel, place the following line= in > > your > > + To compile this driver into the kernel, place the following line= s in > > your > > kernel configuration file: > > > > device udl > > + device videomode > > > > Alternatively, to load the driver as a module at boot time, plac= e the > > following line in loader.conf(5): > > @@ -16,7 +17,7 @@ > > > > DESCRIPTION > > The udl driver supports USB display devices based on the Display= Link > > - DL-120 / DL-160 graphic chip. > > + DL-120 / DL-160 / DL-195 graphic chip. > > > > HARDWARE > > The following devices should work: > > @@ -40,6 +41,7 @@ > > Unitek Y-2240 USB to DVI > > VideoHome NBdock1920 > > i-tec USB 2.0 Docking Station (USBDVIDOCK) > > + SIIG USB 2.0 DVI/VGA Pro > > > > Thanks, > > Archimedes > > > > Hi, > > By the way, should I post this patch to the Phabricator > https://reviews.freebsd.org for review? The other patch is related to th= e > manual, where to post it as well? > Posting the patches to Phabricator would be a good idea. It might get more attention that way. Since the manpage is also relevant to the driver I would recommend putting it in the Phabricator entry along with the USB driver patches. Once you've created the Phabricator entry you should post its number. =2D- Gary Jennejohn From nobody Sat Sep 9 10:23:01 2023 X-Original-To: freebsd-usb@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RjTb14DJZz4sfQ1 for ; Sat, 9 Sep 2023 10:23:25 +0000 (UTC) (envelope-from archimedes.gaviola@gmail.com) Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RjTb11s5Rz3Sn8 for ; Sat, 9 Sep 2023 10:23:25 +0000 (UTC) (envelope-from archimedes.gaviola@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-lf1-x12b.google.com with SMTP id 2adb3069b0e04-501bd7711e8so4915354e87.1 for ; Sat, 09 Sep 2023 03:23:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694255002; x=1694859802; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=YvoeAy+IATtPGZVyCGu/272PbIJXXYl+U+9XGlraUIw=; b=NYltdL+rspktcURGDTjawFosOxzB6+A6nRUKu5KFN2YOz7wUMpe3OS2kS0rLhcyxgj zXGtpcmgFRwoP8KgCZFd/TNUIR3Bn7x3BK1KYLh2xVuUKVpYnsKkIvFsYyrGmbdbgkzN zo1IKDMJsKx5wJEy+zNyhgTCGEYiEwdFo5ka0uEa1I6kFQAwGnOv/UZ28M/HPNN9HwBn jhbgPTIODzHhs48g/Y2H+qJHHeUpwPFoAzFvDbRNvNaCvjnjLaddiL9F0Fj01R9YHrhj BwtWTWENlqUhximqBGPuAf5rIvBD+XEjS9CzHtdQd+jHdcpQB519KqX9sV/UkcsrsUVr Mulw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694255002; x=1694859802; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=YvoeAy+IATtPGZVyCGu/272PbIJXXYl+U+9XGlraUIw=; b=nicm/a5SMgq1uN7P74V7bbJYiURyBlLkA6+Kj8dGcr+v23o4x622Jn1x6+hZIzOJnG ezqZhi1ypOXrHoQK9xGpRkkHvicsbIlBxCCN9YigpdTYDKULJeK1+R3UGFTHxGkkTee9 ktcj6SC5QBgEhHWY5aZZkgLmsv/FJqDiAQDvxC/bMVdWLXEp5Scr4JpexPaaUA7L3pB5 0IGYzefF4XT6a/bnh5fXmx3QxJGSdOUlqX6yKXDdFH9eqGPDOOxBWWLlkxTI9dZOwkUl byN6g6lkxoe9sEjjGnrwOGNXYa8VycmDCER4q0J7PZlUbG1yIK/WlGRtoizd9Qlb5oEh dbUw== X-Gm-Message-State: AOJu0YzCDMVsejn2EwM1yneLfZz+wv/n2XuuT2NazfcJvYvhW31c6/og pN6aCWN5fy5UHAUH6xBiLRqMbZgApvjNGec5plrSnvWT X-Google-Smtp-Source: AGHT+IFJ2e+N2C8qJYub6rdg1D3nWxhHA1p9Nb+XTwfXQO8XR8fJWbGThSBJ7j1hKWuqdBLPLFu6JVCvSLGqHwL7EvY= X-Received: by 2002:ac2:4f16:0:b0:500:dc8d:c340 with SMTP id k22-20020ac24f16000000b00500dc8dc340mr4009067lfr.35.1694255001716; Sat, 09 Sep 2023 03:23:21 -0700 (PDT) List-Id: FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-usb List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org MIME-Version: 1.0 References: <20230909104540.01f60614@ernst.home> In-Reply-To: <20230909104540.01f60614@ernst.home> From: Archimedes Gaviola Date: Sat, 9 Sep 2023 18:23:01 +0800 Message-ID: Subject: Re: udl(4) patch for SIIG USB 2.0 DVI/VGA Pro support To: garyj@gmx.de Cc: freebsd-usb@freebsd.org Content-Type: multipart/alternative; boundary="000000000000894a240604ea7b8b" X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[] X-Rspamd-Queue-Id: 4RjTb11s5Rz3Sn8 --000000000000894a240604ea7b8b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, Sep 9, 2023 at 4:45=E2=80=AFPM Gary Jennejohn wrote: > On Sat, 9 Sep 2023 13:25:02 +0800 > Archimedes Gaviola wrote: > > > On Tue, Sep 5, 2023 at 11:12?PM Archimedes Gaviola < > > archimedes.gaviola@gmail.com> wrote: > > > > > Hi, > > > > > > I would like to submit some patches below for the SIIG USB 2.0 DVI/VG= A > Pro > > > device support for the udl(4) video driver. You can see actual device > here > > > https://www.siig.com/usb-2-0-to-dvi-vga-pro.html. This has been > tested on > > > both 14.0-ALPHA4 and 15.0-CURRENT in a compiled kernel and in the > loadable > > > module. Either way both are working. There are two files being patche= d > (1) > > > /usr/src/sys/dev/usb/usbdevs and (2) /usr/src/sys/dev/usb/video/udl.c= . > > > These changes apply for both 14.0-ALPHA4 and 15.0-CURRENT. > > > > > > root@fbsd14a4:~ # uname -a > > > FreeBSD fbsd14a4 14.0-ALPHA4 FreeBSD 14.0-ALPHA4 amd64 1400097 #0 > > > stable/14-n265026-4c3f144478d4: Fri Sep 1 05:47:56 UTC 2023 > > > root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC > > > amd64 > > > > > > root@fbsd15:~ # uname -a > > > FreeBSD fbsd15 15.0-CURRENT FreeBSD 15.0-CURRENT i386 1500000 #0 > > > main-n265091-e04c4b4a369d: Thu Aug 31 03:48:01 UTC 2023 > > > root@releng3.nyi.freebsd.org:/usr/obj/usr/src/i386.i386/sys/GENERIC > i386 > > > > > > root@fbsd14a4:~ # diff -Nur /usr/src/sys/dev/usb/usbdevs.orig > > > /usr/src/sys/dev/usb/usbdevs > > > --- /usr/src/sys/dev/usb/usbdevs.orig 2023-09-03 04:16:01.453679000 > +0800 > > > +++ /usr/src/sys/dev/usb/usbdevs 2023-09-03 09:23:33.848897000 > +0800 > > > @@ -1808,6 +1808,7 @@ > > > product DISPLAYLINK M01061 0x01e2 Lenovo DVI > > > product DISPLAYLINK SWDVI 0x024c SUNWEIT DVI > > > product DISPLAYLINK NBDOCK 0x0215 VideoHome NBdock1920 > > > +product DISPLAYLINK AN2440D3 0x028f SIIG USB 2.0 DVI/VGA Pro > > > product DISPLAYLINK LUM70 0x02a9 Lilliput UM-70 > > > product DISPLAYLINK DVI_19 0x0360 USB to DVI-19 > > > product DISPLAYLINK UM7X0 0x401a nanovision MiMo > > > > > > root@fbsd14a4:~ # diff -Nur /usr/src/sys/dev/usb/video/udl.c.orig > > > /usr/src/sys/dev/usb/video/udl.c > > > --- /usr/src/sys/dev/usb/video/udl.c.orig 2023-09-03 > > > 04:15:21.204875000 +0800 > > > +++ /usr/src/sys/dev/usb/video/udl.c 2023-09-03 09:25:23.893228000 > +0800 > > > @@ -179,6 +179,7 @@ > > > {USB_VPI(USB_VENDOR_DISPLAYLINK, > USB_PRODUCT_DISPLAYLINK_LT1421, > > > DLUNK)}, > > > {USB_VPI(USB_VENDOR_DISPLAYLINK, USB_PRODUCT_DISPLAYLINK_ITEC= , > > > DL165)}, > > > {USB_VPI(USB_VENDOR_DISPLAYLINK, > USB_PRODUCT_DISPLAYLINK_DVI_19, > > > DL165)}, > > > + {USB_VPI(USB_VENDOR_DISPLAYLINK, > USB_PRODUCT_DISPLAYLINK_AN2440D3, > > > DL195)}, > > > > > > Some relevant info below upon detection of the device after patched > (only > > > 14.0-ALPHA4 is shown as 15.0-CURRENT is the same). Because the > videomode > > > driver is also a dependency to the udl(4) driver, it is also able to > detect > > > my Dell VGA monitor for available screen resolutions and video modes. > > > > > > root@fbsd14a4:~ # kldload udl > > > root@fbsd14a4:~ # kldstat > > > Id Refs Address Size Name > > > 1 10 0xffffffff80200000 1d339a8 kernel > > > 2 1 0xffffffff8261f000 3690 udl.ko > > > 3 1 0xffffffff82623000 5028 videomode.ko > > > > > > root@fbsd14a4:~ # kldstat -v -n kernel | grep udl > > > 107 udl/fbd > > > 282 uhub/udl > > > > > > root@fbsd14a4:~ # dmesg > > > ugen0.2: at usbus0 > > > udl0 on uhub0 > > > udl0: on > usbus0 > > > Vendor: [DEL] Dell > > > Product: [2004] D1918H > > > Serial number: GC2RW07C8PHX > > > Manufactured 2019 Week 28 > > > EDID Version 1.3 > > > EDID Comment: > > > Video Input: 68 > > > Analog > > > -0.7, 0.0V > > > Separate syncs > > > Gamma: 2.20 > > > Max Size: 41 cm x 23 cm > > > Features: 2a > > > DPMS active-off > > > RGB > > > Preferred timing > > > Chroma Info: > > > Red X: 0.635 > > > Red Y: 0.635 > > > Grn X: 0.330 > > > Grn Y: 0.627 > > > Blu X: 0.155 > > > Blu Y: 0.046 > > > Wht X: 0.313 > > > Wht Y: 0.329 > > > Range: > > > Horizontal: 30 - 83 kHz > > > Vertical: 56 - 75 Hz > > > Max Dot Clock: 135 MHz > > > Video modes: > > > 720x400 @ 70Hz (28320 738 846 900 412 414 449 -H +V) > > > 640x480 @ 60Hz (25175 656 752 800 490 492 525 -H -V) > > > 640x480 @ 75Hz (31500 656 720 840 481 484 500 -H -V) > > > 800x600 @ 60Hz (40000 840 968 1056 601 605 628 +H +V) > > > 800x600 @ 75Hz (49500 816 896 1056 601 604 625 +H +V) > > > 1024x768 @ 60Hz (65000 1048 1184 1344 771 777 806 -H -V) > > > 1024x768 @ 75Hz (78750 1040 1136 1312 769 772 800 +H +V) > > > 1280x1024 @ 75Hz (135000 1296 1440 1688 1025 1028 1066 +H +V) > > > 1366x768 @ 60Hz (85500 1436 1579 1792 771 774 798 +H +V) > > > Preferred mode: 1366x768 @ 60Hz > > > Number of extension blocks: 0 > > > udl0: Mode selected 1280x1024 @ 75Hz > > > fbd0 on udl0 > > > > > > root@fbsd14a4:~ # usbconfig -d ugen0.2 dump_device_desc > > > ugen0.2: at usbus0, cfg=3D0 md=3DHOST spd=3DFU= LL > (12Mbps) > > > pwr=3DON (500mA) > > > > > > bLength =3D 0x0012 > > > bDescriptorType =3D 0x0001 > > > bcdUSB =3D 0x0110 > > > bDeviceClass =3D 0x0000 > > > bDeviceSubClass =3D 0x0000 > > > bDeviceProtocol =3D 0x0000 > > > bMaxPacketSize0 =3D 0x0040 > > > idVendor =3D 0x17e9 > > > idProduct =3D 0x028f > > > bcdDevice =3D 0x0001 > > > iManufacturer =3D 0x0001 > > > iProduct =3D 0x0002 > > > iSerialNumber =3D 0x0003 <111018> > > > bNumConfigurations =3D 0x0001 > > > > > > root@fbsd14a4:~ # sysctl -a | grep udl > > > udl0 on uhub0 > > > udl0: on > usbus0 > > > udl0: Mode selected 1280x1024 @ 75Hz > > > fbd0 on udl0 > > > device udl > > > hw.usb.udl.fps: 25 > > > hw.usb.udl.debug: 0 > > > dev.fbd.0.%parent: udl0 > > > dev.udl.0.mode: 17 > > > dev.udl.0.mode_force: -1 > > > dev.udl.0.chipid: 4 > > > dev.udl.0.chipid_force: -1 > > > dev.udl.0.%parent: uhub0 > > > dev.udl.0.%pnpinfo: vendor=3D0x17e9 product=3D0x028f devclass=3D0x00 > > > devsubclass=3D0x00 devproto=3D0x00 sernum=3D"111018" release=3D0x0001= mode=3Dhost > > > intclass=3D0xff intsubclass=3D0x00 intprotocol=3D0x00 > > > dev.udl.0.%location: bus=3D0 hubaddr=3D1 port=3D1 devaddr=3D2 interfa= ce=3D0 > > > ugen=3Dugen0.2 > > > dev.udl.0.%driver: udl > > > dev.udl.0.%desc: DisplayLink AN2440D3, class 0/0, rev 1.10/0.01, addr= 2 > > > dev.udl.%parent: > > > > > > Lastly, I would also submit a patch for the udl(4) manual for update. > > > First, there's a need to include DL-195 in the description since this > model > > > is the chipset of SIIG USB 2.0 DVI/VGA Pro which is working as tested= . > > > Second, the udl(4) driver must be accompanied with the videomode driv= er > > > otherwise kernel compilation will fail and third, adding the SIIG USB > 2.0 > > > DVI/VGA Pro device in the list. > > > > > > root@fbsd14a4:~ # diff -Nur udl-manual.orig udl-manual > > > --- udl-manual.orig 2023-08-18 00:13:25.583021000 +0000 > > > +++ udl-manual 2023-08-18 15:06:41.896163000 +0000 > > > @@ -1,13 +1,14 @@ > > > UDL(4) FreeBSD Kernel Interfaces Manual > > > UDL(4) > > > > > > NAME > > > - udl ? DisplayLink DL-120 / DL-160 USB display devices > > > + udl ? DisplayLink DL-120 / DL-160 / DL-195 USB display devices > > > > > > SYNOPSIS > > > - To compile this driver into the kernel, place the following lin= e > in > > > your > > > + To compile this driver into the kernel, place the following > lines in > > > your > > > kernel configuration file: > > > > > > device udl > > > + device videomode > > > > > > Alternatively, to load the driver as a module at boot time, > place the > > > following line in loader.conf(5): > > > @@ -16,7 +17,7 @@ > > > > > > DESCRIPTION > > > The udl driver supports USB display devices based on the > DisplayLink > > > - DL-120 / DL-160 graphic chip. > > > + DL-120 / DL-160 / DL-195 graphic chip. > > > > > > HARDWARE > > > The following devices should work: > > > @@ -40,6 +41,7 @@ > > > Unitek Y-2240 USB to DVI > > > VideoHome NBdock1920 > > > i-tec USB 2.0 Docking Station (USBDVIDOCK) > > > + SIIG USB 2.0 DVI/VGA Pro > > > > > > Thanks, > > > Archimedes > > > > > > > Hi, > > > > By the way, should I post this patch to the Phabricator > > https://reviews.freebsd.org for review? The other patch is related to > the > > manual, where to post it as well? > > > > Posting the patches to Phabricator would be a good idea. It might get > more attention that way. > > Since the manpage is also relevant to the driver I would recommend > putting it in the Phabricator entry along with the USB driver patches. > > Once you've created the Phabricator entry you should post its number. > > -- > Gary Jennejohn > Hi Gary, Thanks for your response! I will post both the USB driver patches along with its manpage in the Phabricator. I'll create a new diff and post its number back here. Thanks, Archimedes --000000000000894a240604ea7b8b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Sat, Sep 9, 2023 at 4:45=E2=80=AFP= M Gary Jennejohn <garyj@gmx.de> w= rote:
On Sat, 9 = Sep 2023 13:25:02 +0800
Archimedes Gaviola <archimedes.gaviola@gmail.com> wrote:

> On Tue, Sep 5, 2023 at 11:12?PM Archimedes Gaviola <
> arch= imedes.gaviola@gmail.com> wrote:
>
> > Hi,
> >
> > I would like to submit some patches below for the SIIG USB 2.0 DV= I/VGA Pro
> > device support for the udl(4) video driver. You can see actual de= vice here
> > https://www.siig.com/usb-2-0-to-dvi-vga-p= ro.html. This has been tested on
> > both 14.0-ALPHA4 and 15.0-CURRENT in a compiled kernel and in the= loadable
> > module. Either way both are working. There are two files being pa= tched (1)
> > /usr/src/sys/dev/usb/usbdevs and (2) /usr/src/sys/dev/usb/video/u= dl.c.
> > These changes apply for both 14.0-ALPHA4 and 15.0-CURRENT.
> >
> > root@fbsd14a4:~ # uname -a
> > FreeBSD fbsd14a4 14.0-ALPHA4 FreeBSD 14.0-ALPHA4 amd64 1400097 #0=
> > stable/14-n265026-4c3f144478d4: Fri Sep=C2=A0 1 05:47:56 UTC 2023=
> > root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GEN= ERIC
> > amd64
> >
> > root@fbsd15:~ # uname -a
> > FreeBSD fbsd15 15.0-CURRENT FreeBSD 15.0-CURRENT i386 1500000 #0<= br> > > main-n265091-e04c4b4a369d: Thu Aug 31 03:48:01 UTC 2023
> > root@releng3.nyi.freebsd.org:/usr/obj/usr/src/i386.i386/sys/GENER= IC i386
> >
> > root@fbsd14a4:~ # diff -Nur /usr/src/sys/dev/usb/usbdevs.orig
> > /usr/src/sys/dev/usb/usbdevs
> > --- /usr/src/sys/dev/usb/usbdevs.orig=C2=A0 =C2=A02023-09-03 04:1= 6:01.453679000 +0800
> > +++ /usr/src/sys/dev/usb/usbdevs=C2=A0 =C2=A0 =C2=A0 =C2=A0 2023-= 09-03 09:23:33.848897000 +0800
> > @@ -1808,6 +1808,7 @@
> >=C2=A0 product DISPLAYLINK M01061=C2=A0 =C2=A0 =C2=A00x01e2=C2=A0 = Lenovo DVI
> >=C2=A0 product DISPLAYLINK SWDVI=C2=A0 =C2=A0 =C2=A0 0x024c=C2=A0 = SUNWEIT DVI
> >=C2=A0 product DISPLAYLINK NBDOCK=C2=A0 =C2=A0 =C2=A00x0215=C2=A0 = VideoHome NBdock1920
> > +product DISPLAYLINK AN2440D3=C2=A0 =C2=A00x028f=C2=A0 SIIG USB 2= .0 DVI/VGA Pro
> >=C2=A0 product DISPLAYLINK LUM70=C2=A0 =C2=A0 =C2=A0 0x02a9=C2=A0 = Lilliput UM-70
> >=C2=A0 product DISPLAYLINK DVI_19=C2=A0 =C2=A0 =C2=A00x0360=C2=A0 = USB to DVI-19
> >=C2=A0 product DISPLAYLINK UM7X0=C2=A0 =C2=A0 =C2=A0 0x401a=C2=A0 = nanovision MiMo
> >
> > root@fbsd14a4:~ # diff -Nur /usr/src/sys/dev/usb/video/udl.c.orig=
> > /usr/src/sys/dev/usb/video/udl.c
> > --- /usr/src/sys/dev/usb/video/udl.c.orig=C2=A0 =C2=A0 =C2=A0 =C2= =A02023-09-03
> > 04:15:21.204875000 +0800
> > +++ /usr/src/sys/dev/usb/video/udl.c=C2=A0 =C2=A0 2023-09-03 09:2= 5:23.893228000 +0800
> > @@ -179,6 +179,7 @@
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0{USB_VPI(USB_VENDOR_DISPLAYLINK,= USB_PRODUCT_DISPLAYLINK_LT1421,
> > DLUNK)},
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0{USB_VPI(USB_VENDOR_DISPLAYLINK,= USB_PRODUCT_DISPLAYLINK_ITEC,
> > DL165)},
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0{USB_VPI(USB_VENDOR_DISPLAYLINK,= USB_PRODUCT_DISPLAYLINK_DVI_19,
> > DL165)},
> > +=C2=A0 =C2=A0 =C2=A0 =C2=A0{USB_VPI(USB_VENDOR_DISPLAYLINK, USB_= PRODUCT_DISPLAYLINK_AN2440D3,
> > DL195)},
> >
> > Some relevant info below upon detection of the device after patch= ed (only
> > 14.0-ALPHA4 is shown as 15.0-CURRENT is the same). Because the vi= deomode
> > driver is also a dependency to the udl(4) driver, it is also able= to detect
> > my Dell VGA monitor for available screen resolutions and video mo= des.
> >
> > root@fbsd14a4:~ # kldload udl
> > root@fbsd14a4:~ # kldstat
> > Id Refs Address=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 Size Name
> >=C2=A0 1=C2=A0 =C2=A010 0xffffffff80200000=C2=A0 1d339a8 kernel > >=C2=A0 2=C2=A0 =C2=A0 1 0xffffffff8261f000=C2=A0 =C2=A0 =C2=A03690= udl.ko
> >=C2=A0 3=C2=A0 =C2=A0 1 0xffffffff82623000=C2=A0 =C2=A0 =C2=A05028= videomode.ko
> >
> > root@fbsd14a4:~ # kldstat -v -n kernel | grep udl
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0107 = udl/fbd
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0282 = uhub/udl
> >
> > root@fbsd14a4:~ # dmesg
> > ugen0.2: <DisplayLink AN2440D3> at usbus0
> > udl0 on uhub0
> > udl0: <DisplayLink AN2440D3, class 0/0, rev 1.10/0.01, addr 2&= gt; on usbus0
> > Vendor: [DEL] Dell
> > Product: [2004] D1918H
> > Serial number: GC2RW07C8PHX
> > Manufactured 2019 Week 28
> > EDID Version 1.3
> > EDID Comment:
> > Video Input: 68
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Analog
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0-0.7, 0.0V
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Separate syncs
> > Gamma: 2.20
> > Max Size: 41 cm x 23 cm
> > Features: 2a
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0DPMS active-off
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0RGB
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Preferred timing
> > Chroma Info:
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Red X: 0.635
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Red Y: 0.635
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Grn X: 0.330
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Grn Y: 0.627
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Blu X: 0.155
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Blu Y: 0.046
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Wht X: 0.313
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Wht Y: 0.329
> > Range:
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Horizontal: 30 - 83 kHz
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Vertical: 56 - 75 Hz
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Max Dot Clock: 135 MHz
> > Video modes:
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0720x400 @ 70Hz (28320 738 846 90= 0 412 414 449 -H +V)
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0640x480 @ 60Hz (25175 656 752 80= 0 490 492 525 -H -V)
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0640x480 @ 75Hz (31500 656 720 84= 0 481 484 500 -H -V)
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0800x600 @ 60Hz (40000 840 968 10= 56 601 605 628 +H +V)
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0800x600 @ 75Hz (49500 816 896 10= 56 601 604 625 +H +V)
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A01024x768 @ 60Hz (65000 1048 1184= 1344 771 777 806 -H -V)
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A01024x768 @ 75Hz (78750 1040 1136= 1312 769 772 800 +H +V)
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A01280x1024 @ 75Hz (135000 1296 14= 40 1688 1025 1028 1066 +H +V)
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A01366x768 @ 60Hz (85500 1436 1579= 1792 771 774 798 +H +V)
> > Preferred mode: 1366x768 @ 60Hz
> > Number of extension blocks: 0
> > udl0: Mode selected 1280x1024 @ 75Hz
> > fbd0 on udl0
> >
> > root@fbsd14a4:~ # usbconfig -d ugen0.2 dump_device_desc
> > ugen0.2: <DisplayLink AN2440D3> at usbus0, cfg=3D0 md=3DHOS= T spd=3DFULL (12Mbps)
> > pwr=3DON (500mA)
> >
> >=C2=A0 =C2=A0bLength =3D 0x0012
> >=C2=A0 =C2=A0bDescriptorType =3D 0x0001
> >=C2=A0 =C2=A0bcdUSB =3D 0x0110
> >=C2=A0 =C2=A0bDeviceClass =3D 0x0000=C2=A0 <Probed by interface= class>
> >=C2=A0 =C2=A0bDeviceSubClass =3D 0x0000
> >=C2=A0 =C2=A0bDeviceProtocol =3D 0x0000
> >=C2=A0 =C2=A0bMaxPacketSize0 =3D 0x0040
> >=C2=A0 =C2=A0idVendor =3D 0x17e9
> >=C2=A0 =C2=A0idProduct =3D 0x028f
> >=C2=A0 =C2=A0bcdDevice =3D 0x0001
> >=C2=A0 =C2=A0iManufacturer =3D 0x0001=C2=A0 <DisplayLink> > >=C2=A0 =C2=A0iProduct =3D 0x0002=C2=A0 <AN2440D3>
> >=C2=A0 =C2=A0iSerialNumber =3D 0x0003=C2=A0 <111018>
> >=C2=A0 =C2=A0bNumConfigurations =3D 0x0001
> >
> > root@fbsd14a4:~ # sysctl -a | grep udl
> > udl0 on uhub0
> > udl0: <DisplayLink AN2440D3, class 0/0, rev 1.10/0.01, addr 2&= gt; on usbus0
> > udl0: Mode selected 1280x1024 @ 75Hz
> > fbd0 on udl0
> > device=C2=A0 udl
> > hw.usb.udl.fps: 25
> > hw.usb.udl.debug: 0
> > dev.fbd.0.%parent: udl0
> > dev.udl.0.mode: 17
> > dev.udl.0.mode_force: -1
> > dev.udl.0.chipid: 4
> > dev.udl.0.chipid_force: -1
> > dev.udl.0.%parent: uhub0
> > dev.udl.0.%pnpinfo: vendor=3D0x17e9 product=3D0x028f devclass=3D0= x00
> > devsubclass=3D0x00 devproto=3D0x00 sernum=3D"111018" re= lease=3D0x0001 mode=3Dhost
> > intclass=3D0xff intsubclass=3D0x00 intprotocol=3D0x00
> > dev.udl.0.%location: bus=3D0 hubaddr=3D1 port=3D1 devaddr=3D2 int= erface=3D0
> > ugen=3Dugen0.2
> > dev.udl.0.%driver: udl
> > dev.udl.0.%desc: DisplayLink AN2440D3, class 0/0, rev 1.10/0.01, = addr 2
> > dev.udl.%parent:
> >
> > Lastly, I would also submit a patch for the udl(4) manual for upd= ate.
> > First, there's a need to include DL-195 in the description si= nce this model
> > is the chipset of SIIG USB 2.0 DVI/VGA Pro which is working as te= sted.
> > Second, the udl(4) driver must be accompanied with the videomode = driver
> > otherwise kernel compilation will fail and third, adding the SIIG= USB 2.0
> > DVI/VGA Pro device in the list.
> >
> > root@fbsd14a4:~ # diff -Nur udl-manual.orig udl-manual
> > --- udl-manual.orig=C2=A0 =C2=A0 =C2=A02023-08-18 00:13:25.583021= 000 +0000
> > +++ udl-manual=C2=A0 2023-08-18 15:06:41.896163000 +0000
> > @@ -1,13 +1,14 @@
> >=C2=A0 UDL(4)=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0FreeBSD Kernel Interfaces Manual
> > UDL(4)
> >
> >=C2=A0 NAME
> > -=C2=A0 =C2=A0 =C2=A0udl ? DisplayLink DL-120 / DL-160 USB displa= y devices
> > +=C2=A0 =C2=A0 =C2=A0udl ? DisplayLink DL-120 / DL-160 / DL-195 U= SB display devices
> >
> >=C2=A0 SYNOPSIS
> > -=C2=A0 =C2=A0 =C2=A0To compile this driver into the kernel, plac= e the following line in
> > your
> > +=C2=A0 =C2=A0 =C2=A0To compile this driver into the kernel, plac= e the following lines in
> > your
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0kernel configuration file:
> >
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0device udl
> > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0device videomode
> >
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0Alternatively, to load the driver as a = module at boot time, place the
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0following line in loader.conf(5):
> > @@ -16,7 +17,7 @@
> >
> >=C2=A0 DESCRIPTION
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0The udl driver supports USB display dev= ices based on the DisplayLink
> > -=C2=A0 =C2=A0 =C2=A0DL-120 / DL-160 graphic chip.
> > +=C2=A0 =C2=A0 =C2=A0DL-120 / DL-160 / DL-195 graphic chip.
> >
> >=C2=A0 HARDWARE
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0The following devices should work:
> > @@ -40,6 +41,7 @@
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Unitek Y-2240 USB = to DVI
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0VideoHome NBdock19= 20
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0i-tec USB 2.0 Dock= ing Station (USBDVIDOCK)
> > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0SIIG USB 2.0 DVI/VGA Pr= o
> >
> > Thanks,
> > Archimedes
> >
>
> Hi,
>
> By the way, should I post this patch to the Phabricator
> https://reviews.freebsd.org for review? The other patch is relat= ed to the
> manual, where to post it as well?
>

Posting the patches to Phabricator would be a good idea.=C2=A0 It might get=
more attention that way.

Since the manpage is also relevant to the driver I would recommend
putting it in the Phabricator entry along with the USB driver patches.

Once you've created the Phabricator entry you should post its number.
--
Gary Jennejohn

Hi Gary,

<= /div>
Thanks for your response! I will post both the USB driver patches= along with its manpage in the Phabricator. I'll create a new diff and = post its number back here.

Thanks,
A= rchimedes
--000000000000894a240604ea7b8b-- From nobody Sat Sep 9 14:07:46 2023 X-Original-To: freebsd-usb@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RjZZL0gZcz4slKP for ; Sat, 9 Sep 2023 14:08:10 +0000 (UTC) (envelope-from archimedes.gaviola@gmail.com) Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RjZZK0JmWz3MQM for ; Sat, 9 Sep 2023 14:08:09 +0000 (UTC) (envelope-from archimedes.gaviola@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20221208 header.b=lWCEb3L9; spf=pass (mx1.freebsd.org: domain of archimedes.gaviola@gmail.com designates 2a00:1450:4864:20::533 as permitted sender) smtp.mailfrom=archimedes.gaviola@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-ed1-x533.google.com with SMTP id 4fb4d7f45d1cf-52a23227567so3902637a12.0 for ; Sat, 09 Sep 2023 07:08:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694268488; x=1694873288; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=JJD1BdJVHyvkb1I5MErZWGkGv7ClUSinrx14S5c7QVY=; b=lWCEb3L984HUQJSOHvSmHsZfbVhSrvhu8Ge6vQtrGRmAVaNwv1YQNhi/YXS+GFNtKw AZs9p7oe77JhmUVMVqc44mnmT0SH3d8GgOCJ8HoAvKZsssC8TZ1KXLYQzCVqzTHf41ve wQj87NrNmoQ2bVZsi31xeFBnYHggUClx83It9R+7W1QHG3CiqVJYfuM0UCDA0c7Duneq laA7LCkgjj510W3WP5RB6v9+uoFDHg0GYbntmAJ2WeKKzlCa8P3gyVWEZ7EWk5HHsGIr yPXDfbMxTM7L9uqqubp4XZ/6uoxwQQx286reJUm+vxXXFIVfdcI4X+JNOpuXNZJnTDux DVCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694268488; x=1694873288; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=JJD1BdJVHyvkb1I5MErZWGkGv7ClUSinrx14S5c7QVY=; b=A9yBboABVEat3Ub0c4830QtEvMKp1Vg1N2NtXJUo6IZja3zzVu1OI8smjyZwRwkUei jnUuRZyHmtghGvhxWUiFnaAjT0Euc6/bSfQONqSUiM35NRwwlHaBeL+1PLBpHyEmvIgu PtzBPm6krlxV0gRjze2lOPez14+jJynO511VaLSiEN+0gmB2sUKjZchh6Rnx44uADaiH kfRcfl57g4bASVcvsHeq00KLpDrWJe/FphH7vI3KwZyoMubTX3MXbxgTP+/y4pdtwGKl 6NuMesHKTT5oNzE4XnWhUtRofZ9nnZ5/Uy48ZY+TPq/EMGavslIsZohy6rs5Wb/qJUP7 wvWw== X-Gm-Message-State: AOJu0YyCGdJ1DO2/TG3E85WxJpXCT/AAFq4bG1uggppKbjcI0i5+BKqb T9xvKfcwM5i6OaLUG12vXgtp1KKZ1XMMyeZg8PZydrOMICs= X-Google-Smtp-Source: AGHT+IFlYMWyxAgFd4ty5HmfxIst2BJlp9pQqZaRPtBdZQ2S29EnA06yBlOhdf49Cna8MDgRrGvZ6ofukXC1JtWA1AY= X-Received: by 2002:a17:907:2cf8:b0:9a9:d5d8:a6f1 with SMTP id hz24-20020a1709072cf800b009a9d5d8a6f1mr3760923ejc.38.1694268487275; Sat, 09 Sep 2023 07:08:07 -0700 (PDT) List-Id: FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-usb List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org MIME-Version: 1.0 References: <20230909104540.01f60614@ernst.home> In-Reply-To: From: Archimedes Gaviola Date: Sat, 9 Sep 2023 22:07:46 +0800 Message-ID: Subject: Re: udl(4) patch for SIIG USB 2.0 DVI/VGA Pro support To: garyj@gmx.de Cc: freebsd-usb@freebsd.org Content-Type: multipart/alternative; boundary="00000000000056985e0604ed9fc8" X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.92 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.998]; NEURAL_HAM_SHORT(-0.92)[-0.920]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20221208]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; PREVIOUSLY_DELIVERED(0.00)[freebsd-usb@freebsd.org]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::533:from]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TAGGED_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; FREEMAIL_ENVFROM(0.00)[gmail.com]; DKIM_TRACE(0.00)[gmail.com:+]; MID_RHS_MATCH_FROMTLD(0.00)[]; TO_DN_NONE(0.00)[]; MLMMJ_DEST(0.00)[freebsd-usb@freebsd.org]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_TO(0.00)[gmx.de]; RCVD_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[] X-Rspamd-Queue-Id: 4RjZZK0JmWz3MQM --00000000000056985e0604ed9fc8 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, Sep 9, 2023 at 6:23=E2=80=AFPM Archimedes Gaviola < archimedes.gaviola@gmail.com> wrote: > > > On Sat, Sep 9, 2023 at 4:45=E2=80=AFPM Gary Jennejohn wrot= e: > >> On Sat, 9 Sep 2023 13:25:02 +0800 >> Archimedes Gaviola wrote: >> >> > On Tue, Sep 5, 2023 at 11:12?PM Archimedes Gaviola < >> > archimedes.gaviola@gmail.com> wrote: >> > >> > > Hi, >> > > >> > > I would like to submit some patches below for the SIIG USB 2.0 >> DVI/VGA Pro >> > > device support for the udl(4) video driver. You can see actual devic= e >> here >> > > https://www.siig.com/usb-2-0-to-dvi-vga-pro.html. This has been >> tested on >> > > both 14.0-ALPHA4 and 15.0-CURRENT in a compiled kernel and in the >> loadable >> > > module. Either way both are working. There are two files being >> patched (1) >> > > /usr/src/sys/dev/usb/usbdevs and (2) /usr/src/sys/dev/usb/video/udl.= c. >> > > These changes apply for both 14.0-ALPHA4 and 15.0-CURRENT. >> > > >> > > root@fbsd14a4:~ # uname -a >> > > FreeBSD fbsd14a4 14.0-ALPHA4 FreeBSD 14.0-ALPHA4 amd64 1400097 #0 >> > > stable/14-n265026-4c3f144478d4: Fri Sep 1 05:47:56 UTC 2023 >> > > root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERI= C >> > > amd64 >> > > >> > > root@fbsd15:~ # uname -a >> > > FreeBSD fbsd15 15.0-CURRENT FreeBSD 15.0-CURRENT i386 1500000 #0 >> > > main-n265091-e04c4b4a369d: Thu Aug 31 03:48:01 UTC 2023 >> > > root@releng3.nyi.freebsd.org:/usr/obj/usr/src/i386.i386/sys/GENERIC >> i386 >> > > >> > > root@fbsd14a4:~ # diff -Nur /usr/src/sys/dev/usb/usbdevs.orig >> > > /usr/src/sys/dev/usb/usbdevs >> > > --- /usr/src/sys/dev/usb/usbdevs.orig 2023-09-03 04:16:01.45367900= 0 >> +0800 >> > > +++ /usr/src/sys/dev/usb/usbdevs 2023-09-03 09:23:33.84889700= 0 >> +0800 >> > > @@ -1808,6 +1808,7 @@ >> > > product DISPLAYLINK M01061 0x01e2 Lenovo DVI >> > > product DISPLAYLINK SWDVI 0x024c SUNWEIT DVI >> > > product DISPLAYLINK NBDOCK 0x0215 VideoHome NBdock1920 >> > > +product DISPLAYLINK AN2440D3 0x028f SIIG USB 2.0 DVI/VGA Pro >> > > product DISPLAYLINK LUM70 0x02a9 Lilliput UM-70 >> > > product DISPLAYLINK DVI_19 0x0360 USB to DVI-19 >> > > product DISPLAYLINK UM7X0 0x401a nanovision MiMo >> > > >> > > root@fbsd14a4:~ # diff -Nur /usr/src/sys/dev/usb/video/udl.c.orig >> > > /usr/src/sys/dev/usb/video/udl.c >> > > --- /usr/src/sys/dev/usb/video/udl.c.orig 2023-09-03 >> > > 04:15:21.204875000 +0800 >> > > +++ /usr/src/sys/dev/usb/video/udl.c 2023-09-03 09:25:23.89322800= 0 >> +0800 >> > > @@ -179,6 +179,7 @@ >> > > {USB_VPI(USB_VENDOR_DISPLAYLINK, >> USB_PRODUCT_DISPLAYLINK_LT1421, >> > > DLUNK)}, >> > > {USB_VPI(USB_VENDOR_DISPLAYLINK, USB_PRODUCT_DISPLAYLINK_ITE= C, >> > > DL165)}, >> > > {USB_VPI(USB_VENDOR_DISPLAYLINK, >> USB_PRODUCT_DISPLAYLINK_DVI_19, >> > > DL165)}, >> > > + {USB_VPI(USB_VENDOR_DISPLAYLINK, >> USB_PRODUCT_DISPLAYLINK_AN2440D3, >> > > DL195)}, >> > > >> > > Some relevant info below upon detection of the device after patched >> (only >> > > 14.0-ALPHA4 is shown as 15.0-CURRENT is the same). Because the >> videomode >> > > driver is also a dependency to the udl(4) driver, it is also able to >> detect >> > > my Dell VGA monitor for available screen resolutions and video modes= . >> > > >> > > root@fbsd14a4:~ # kldload udl >> > > root@fbsd14a4:~ # kldstat >> > > Id Refs Address Size Name >> > > 1 10 0xffffffff80200000 1d339a8 kernel >> > > 2 1 0xffffffff8261f000 3690 udl.ko >> > > 3 1 0xffffffff82623000 5028 videomode.ko >> > > >> > > root@fbsd14a4:~ # kldstat -v -n kernel | grep udl >> > > 107 udl/fbd >> > > 282 uhub/udl >> > > >> > > root@fbsd14a4:~ # dmesg >> > > ugen0.2: at usbus0 >> > > udl0 on uhub0 >> > > udl0: on >> usbus0 >> > > Vendor: [DEL] Dell >> > > Product: [2004] D1918H >> > > Serial number: GC2RW07C8PHX >> > > Manufactured 2019 Week 28 >> > > EDID Version 1.3 >> > > EDID Comment: >> > > Video Input: 68 >> > > Analog >> > > -0.7, 0.0V >> > > Separate syncs >> > > Gamma: 2.20 >> > > Max Size: 41 cm x 23 cm >> > > Features: 2a >> > > DPMS active-off >> > > RGB >> > > Preferred timing >> > > Chroma Info: >> > > Red X: 0.635 >> > > Red Y: 0.635 >> > > Grn X: 0.330 >> > > Grn Y: 0.627 >> > > Blu X: 0.155 >> > > Blu Y: 0.046 >> > > Wht X: 0.313 >> > > Wht Y: 0.329 >> > > Range: >> > > Horizontal: 30 - 83 kHz >> > > Vertical: 56 - 75 Hz >> > > Max Dot Clock: 135 MHz >> > > Video modes: >> > > 720x400 @ 70Hz (28320 738 846 900 412 414 449 -H +V) >> > > 640x480 @ 60Hz (25175 656 752 800 490 492 525 -H -V) >> > > 640x480 @ 75Hz (31500 656 720 840 481 484 500 -H -V) >> > > 800x600 @ 60Hz (40000 840 968 1056 601 605 628 +H +V) >> > > 800x600 @ 75Hz (49500 816 896 1056 601 604 625 +H +V) >> > > 1024x768 @ 60Hz (65000 1048 1184 1344 771 777 806 -H -V) >> > > 1024x768 @ 75Hz (78750 1040 1136 1312 769 772 800 +H +V) >> > > 1280x1024 @ 75Hz (135000 1296 1440 1688 1025 1028 1066 +H +V= ) >> > > 1366x768 @ 60Hz (85500 1436 1579 1792 771 774 798 +H +V) >> > > Preferred mode: 1366x768 @ 60Hz >> > > Number of extension blocks: 0 >> > > udl0: Mode selected 1280x1024 @ 75Hz >> > > fbd0 on udl0 >> > > >> > > root@fbsd14a4:~ # usbconfig -d ugen0.2 dump_device_desc >> > > ugen0.2: at usbus0, cfg=3D0 md=3DHOST spd=3DF= ULL >> (12Mbps) >> > > pwr=3DON (500mA) >> > > >> > > bLength =3D 0x0012 >> > > bDescriptorType =3D 0x0001 >> > > bcdUSB =3D 0x0110 >> > > bDeviceClass =3D 0x0000 >> > > bDeviceSubClass =3D 0x0000 >> > > bDeviceProtocol =3D 0x0000 >> > > bMaxPacketSize0 =3D 0x0040 >> > > idVendor =3D 0x17e9 >> > > idProduct =3D 0x028f >> > > bcdDevice =3D 0x0001 >> > > iManufacturer =3D 0x0001 >> > > iProduct =3D 0x0002 >> > > iSerialNumber =3D 0x0003 <111018> >> > > bNumConfigurations =3D 0x0001 >> > > >> > > root@fbsd14a4:~ # sysctl -a | grep udl >> > > udl0 on uhub0 >> > > udl0: on >> usbus0 >> > > udl0: Mode selected 1280x1024 @ 75Hz >> > > fbd0 on udl0 >> > > device udl >> > > hw.usb.udl.fps: 25 >> > > hw.usb.udl.debug: 0 >> > > dev.fbd.0.%parent: udl0 >> > > dev.udl.0.mode: 17 >> > > dev.udl.0.mode_force: -1 >> > > dev.udl.0.chipid: 4 >> > > dev.udl.0.chipid_force: -1 >> > > dev.udl.0.%parent: uhub0 >> > > dev.udl.0.%pnpinfo: vendor=3D0x17e9 product=3D0x028f devclass=3D0x00 >> > > devsubclass=3D0x00 devproto=3D0x00 sernum=3D"111018" release=3D0x000= 1 >> mode=3Dhost >> > > intclass=3D0xff intsubclass=3D0x00 intprotocol=3D0x00 >> > > dev.udl.0.%location: bus=3D0 hubaddr=3D1 port=3D1 devaddr=3D2 interf= ace=3D0 >> > > ugen=3Dugen0.2 >> > > dev.udl.0.%driver: udl >> > > dev.udl.0.%desc: DisplayLink AN2440D3, class 0/0, rev 1.10/0.01, add= r >> 2 >> > > dev.udl.%parent: >> > > >> > > Lastly, I would also submit a patch for the udl(4) manual for update= . >> > > First, there's a need to include DL-195 in the description since thi= s >> model >> > > is the chipset of SIIG USB 2.0 DVI/VGA Pro which is working as teste= d. >> > > Second, the udl(4) driver must be accompanied with the videomode >> driver >> > > otherwise kernel compilation will fail and third, adding the SIIG US= B >> 2.0 >> > > DVI/VGA Pro device in the list. >> > > >> > > root@fbsd14a4:~ # diff -Nur udl-manual.orig udl-manual >> > > --- udl-manual.orig 2023-08-18 00:13:25.583021000 +0000 >> > > +++ udl-manual 2023-08-18 15:06:41.896163000 +0000 >> > > @@ -1,13 +1,14 @@ >> > > UDL(4) FreeBSD Kernel Interfaces Manual >> > > UDL(4) >> > > >> > > NAME >> > > - udl ? DisplayLink DL-120 / DL-160 USB display devices >> > > + udl ? DisplayLink DL-120 / DL-160 / DL-195 USB display devices >> > > >> > > SYNOPSIS >> > > - To compile this driver into the kernel, place the following >> line in >> > > your >> > > + To compile this driver into the kernel, place the following >> lines in >> > > your >> > > kernel configuration file: >> > > >> > > device udl >> > > + device videomode >> > > >> > > Alternatively, to load the driver as a module at boot time, >> place the >> > > following line in loader.conf(5): >> > > @@ -16,7 +17,7 @@ >> > > >> > > DESCRIPTION >> > > The udl driver supports USB display devices based on the >> DisplayLink >> > > - DL-120 / DL-160 graphic chip. >> > > + DL-120 / DL-160 / DL-195 graphic chip. >> > > >> > > HARDWARE >> > > The following devices should work: >> > > @@ -40,6 +41,7 @@ >> > > Unitek Y-2240 USB to DVI >> > > VideoHome NBdock1920 >> > > i-tec USB 2.0 Docking Station (USBDVIDOCK) >> > > + SIIG USB 2.0 DVI/VGA Pro >> > > >> > > Thanks, >> > > Archimedes >> > > >> > >> > Hi, >> > >> > By the way, should I post this patch to the Phabricator >> > https://reviews.freebsd.org for review? The other patch is related to >> the >> > manual, where to post it as well? >> > >> >> Posting the patches to Phabricator would be a good idea. It might get >> more attention that way. >> >> Since the manpage is also relevant to the driver I would recommend >> putting it in the Phabricator entry along with the USB driver patches. >> >> Once you've created the Phabricator entry you should post its number. >> >> -- >> Gary Jennejohn >> > > Hi Gary, > > Thanks for your response! I will post both the USB driver patches along > with its manpage in the Phabricator. I'll create a new diff and post its > number back here. > > Thanks, > Archimedes > Hi Gary, I already posted the patch here https://reviews.freebsd.org/D41798 however, submission requires reviewers. Any idea who should be the designated reviewers for this? Thanks, Archimedes --00000000000056985e0604ed9fc8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Sat, Sep 9, 2023 at 6:23=E2=80=AFP= M Archimedes Gaviola <ar= chimedes.gaviola@gmail.com> wrote:


<= div class=3D"gmail_quote">
On Sat, Sep= 9, 2023 at 4:45=E2=80=AFPM Gary Jennejohn <garyj@gmx.de> wrote:
On Sat, 9 Sep 2023 13:25:02 +0800
Archimedes Gaviola <archimedes.gaviola@gmail.com> wrote:

> On Tue, Sep 5, 2023 at 11:12?PM Archimedes Gaviola <
> arch= imedes.gaviola@gmail.com> wrote:
>
> > Hi,
> >
> > I would like to submit some patches below for the SIIG USB 2.0 DV= I/VGA Pro
> > device support for the udl(4) video driver. You can see actual de= vice here
> > https://www.siig.com/usb-2-0-to-dvi-vga-p= ro.html. This has been tested on
> > both 14.0-ALPHA4 and 15.0-CURRENT in a compiled kernel and in the= loadable
> > module. Either way both are working. There are two files being pa= tched (1)
> > /usr/src/sys/dev/usb/usbdevs and (2) /usr/src/sys/dev/usb/video/u= dl.c.
> > These changes apply for both 14.0-ALPHA4 and 15.0-CURRENT.
> >
> > root@fbsd14a4:~ # uname -a
> > FreeBSD fbsd14a4 14.0-ALPHA4 FreeBSD 14.0-ALPHA4 amd64 1400097 #0=
> > stable/14-n265026-4c3f144478d4: Fri Sep=C2=A0 1 05:47:56 UTC 2023=
> > root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GEN= ERIC
> > amd64
> >
> > root@fbsd15:~ # uname -a
> > FreeBSD fbsd15 15.0-CURRENT FreeBSD 15.0-CURRENT i386 1500000 #0<= br> > > main-n265091-e04c4b4a369d: Thu Aug 31 03:48:01 UTC 2023
> > root@releng3.nyi.freebsd.org:/usr/obj/usr/src/i386.i386/sys/GENER= IC i386
> >
> > root@fbsd14a4:~ # diff -Nur /usr/src/sys/dev/usb/usbdevs.orig
> > /usr/src/sys/dev/usb/usbdevs
> > --- /usr/src/sys/dev/usb/usbdevs.orig=C2=A0 =C2=A02023-09-03 04:1= 6:01.453679000 +0800
> > +++ /usr/src/sys/dev/usb/usbdevs=C2=A0 =C2=A0 =C2=A0 =C2=A0 2023-= 09-03 09:23:33.848897000 +0800
> > @@ -1808,6 +1808,7 @@
> >=C2=A0 product DISPLAYLINK M01061=C2=A0 =C2=A0 =C2=A00x01e2=C2=A0 = Lenovo DVI
> >=C2=A0 product DISPLAYLINK SWDVI=C2=A0 =C2=A0 =C2=A0 0x024c=C2=A0 = SUNWEIT DVI
> >=C2=A0 product DISPLAYLINK NBDOCK=C2=A0 =C2=A0 =C2=A00x0215=C2=A0 = VideoHome NBdock1920
> > +product DISPLAYLINK AN2440D3=C2=A0 =C2=A00x028f=C2=A0 SIIG USB 2= .0 DVI/VGA Pro
> >=C2=A0 product DISPLAYLINK LUM70=C2=A0 =C2=A0 =C2=A0 0x02a9=C2=A0 = Lilliput UM-70
> >=C2=A0 product DISPLAYLINK DVI_19=C2=A0 =C2=A0 =C2=A00x0360=C2=A0 = USB to DVI-19
> >=C2=A0 product DISPLAYLINK UM7X0=C2=A0 =C2=A0 =C2=A0 0x401a=C2=A0 = nanovision MiMo
> >
> > root@fbsd14a4:~ # diff -Nur /usr/src/sys/dev/usb/video/udl.c.orig=
> > /usr/src/sys/dev/usb/video/udl.c
> > --- /usr/src/sys/dev/usb/video/udl.c.orig=C2=A0 =C2=A0 =C2=A0 =C2= =A02023-09-03
> > 04:15:21.204875000 +0800
> > +++ /usr/src/sys/dev/usb/video/udl.c=C2=A0 =C2=A0 2023-09-03 09:2= 5:23.893228000 +0800
> > @@ -179,6 +179,7 @@
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0{USB_VPI(USB_VENDOR_DISPLAYLINK,= USB_PRODUCT_DISPLAYLINK_LT1421,
> > DLUNK)},
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0{USB_VPI(USB_VENDOR_DISPLAYLINK,= USB_PRODUCT_DISPLAYLINK_ITEC,
> > DL165)},
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0{USB_VPI(USB_VENDOR_DISPLAYLINK,= USB_PRODUCT_DISPLAYLINK_DVI_19,
> > DL165)},
> > +=C2=A0 =C2=A0 =C2=A0 =C2=A0{USB_VPI(USB_VENDOR_DISPLAYLINK, USB_= PRODUCT_DISPLAYLINK_AN2440D3,
> > DL195)},
> >
> > Some relevant info below upon detection of the device after patch= ed (only
> > 14.0-ALPHA4 is shown as 15.0-CURRENT is the same). Because the vi= deomode
> > driver is also a dependency to the udl(4) driver, it is also able= to detect
> > my Dell VGA monitor for available screen resolutions and video mo= des.
> >
> > root@fbsd14a4:~ # kldload udl
> > root@fbsd14a4:~ # kldstat
> > Id Refs Address=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 Size Name
> >=C2=A0 1=C2=A0 =C2=A010 0xffffffff80200000=C2=A0 1d339a8 kernel > >=C2=A0 2=C2=A0 =C2=A0 1 0xffffffff8261f000=C2=A0 =C2=A0 =C2=A03690= udl.ko
> >=C2=A0 3=C2=A0 =C2=A0 1 0xffffffff82623000=C2=A0 =C2=A0 =C2=A05028= videomode.ko
> >
> > root@fbsd14a4:~ # kldstat -v -n kernel | grep udl
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0107 = udl/fbd
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0282 = uhub/udl
> >
> > root@fbsd14a4:~ # dmesg
> > ugen0.2: <DisplayLink AN2440D3> at usbus0
> > udl0 on uhub0
> > udl0: <DisplayLink AN2440D3, class 0/0, rev 1.10/0.01, addr 2&= gt; on usbus0
> > Vendor: [DEL] Dell
> > Product: [2004] D1918H
> > Serial number: GC2RW07C8PHX
> > Manufactured 2019 Week 28
> > EDID Version 1.3
> > EDID Comment:
> > Video Input: 68
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Analog
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0-0.7, 0.0V
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Separate syncs
> > Gamma: 2.20
> > Max Size: 41 cm x 23 cm
> > Features: 2a
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0DPMS active-off
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0RGB
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Preferred timing
> > Chroma Info:
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Red X: 0.635
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Red Y: 0.635
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Grn X: 0.330
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Grn Y: 0.627
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Blu X: 0.155
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Blu Y: 0.046
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Wht X: 0.313
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Wht Y: 0.329
> > Range:
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Horizontal: 30 - 83 kHz
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Vertical: 56 - 75 Hz
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Max Dot Clock: 135 MHz
> > Video modes:
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0720x400 @ 70Hz (28320 738 846 90= 0 412 414 449 -H +V)
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0640x480 @ 60Hz (25175 656 752 80= 0 490 492 525 -H -V)
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0640x480 @ 75Hz (31500 656 720 84= 0 481 484 500 -H -V)
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0800x600 @ 60Hz (40000 840 968 10= 56 601 605 628 +H +V)
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0800x600 @ 75Hz (49500 816 896 10= 56 601 604 625 +H +V)
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A01024x768 @ 60Hz (65000 1048 1184= 1344 771 777 806 -H -V)
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A01024x768 @ 75Hz (78750 1040 1136= 1312 769 772 800 +H +V)
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A01280x1024 @ 75Hz (135000 1296 14= 40 1688 1025 1028 1066 +H +V)
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A01366x768 @ 60Hz (85500 1436 1579= 1792 771 774 798 +H +V)
> > Preferred mode: 1366x768 @ 60Hz
> > Number of extension blocks: 0
> > udl0: Mode selected 1280x1024 @ 75Hz
> > fbd0 on udl0
> >
> > root@fbsd14a4:~ # usbconfig -d ugen0.2 dump_device_desc
> > ugen0.2: <DisplayLink AN2440D3> at usbus0, cfg=3D0 md=3DHOS= T spd=3DFULL (12Mbps)
> > pwr=3DON (500mA)
> >
> >=C2=A0 =C2=A0bLength =3D 0x0012
> >=C2=A0 =C2=A0bDescriptorType =3D 0x0001
> >=C2=A0 =C2=A0bcdUSB =3D 0x0110
> >=C2=A0 =C2=A0bDeviceClass =3D 0x0000=C2=A0 <Probed by interface= class>
> >=C2=A0 =C2=A0bDeviceSubClass =3D 0x0000
> >=C2=A0 =C2=A0bDeviceProtocol =3D 0x0000
> >=C2=A0 =C2=A0bMaxPacketSize0 =3D 0x0040
> >=C2=A0 =C2=A0idVendor =3D 0x17e9
> >=C2=A0 =C2=A0idProduct =3D 0x028f
> >=C2=A0 =C2=A0bcdDevice =3D 0x0001
> >=C2=A0 =C2=A0iManufacturer =3D 0x0001=C2=A0 <DisplayLink> > >=C2=A0 =C2=A0iProduct =3D 0x0002=C2=A0 <AN2440D3>
> >=C2=A0 =C2=A0iSerialNumber =3D 0x0003=C2=A0 <111018>
> >=C2=A0 =C2=A0bNumConfigurations =3D 0x0001
> >
> > root@fbsd14a4:~ # sysctl -a | grep udl
> > udl0 on uhub0
> > udl0: <DisplayLink AN2440D3, class 0/0, rev 1.10/0.01, addr 2&= gt; on usbus0
> > udl0: Mode selected 1280x1024 @ 75Hz
> > fbd0 on udl0
> > device=C2=A0 udl
> > hw.usb.udl.fps: 25
> > hw.usb.udl.debug: 0
> > dev.fbd.0.%parent: udl0
> > dev.udl.0.mode: 17
> > dev.udl.0.mode_force: -1
> > dev.udl.0.chipid: 4
> > dev.udl.0.chipid_force: -1
> > dev.udl.0.%parent: uhub0
> > dev.udl.0.%pnpinfo: vendor=3D0x17e9 product=3D0x028f devclass=3D0= x00
> > devsubclass=3D0x00 devproto=3D0x00 sernum=3D"111018" re= lease=3D0x0001 mode=3Dhost
> > intclass=3D0xff intsubclass=3D0x00 intprotocol=3D0x00
> > dev.udl.0.%location: bus=3D0 hubaddr=3D1 port=3D1 devaddr=3D2 int= erface=3D0
> > ugen=3Dugen0.2
> > dev.udl.0.%driver: udl
> > dev.udl.0.%desc: DisplayLink AN2440D3, class 0/0, rev 1.10/0.01, = addr 2
> > dev.udl.%parent:
> >
> > Lastly, I would also submit a patch for the udl(4) manual for upd= ate.
> > First, there's a need to include DL-195 in the description si= nce this model
> > is the chipset of SIIG USB 2.0 DVI/VGA Pro which is working as te= sted.
> > Second, the udl(4) driver must be accompanied with the videomode = driver
> > otherwise kernel compilation will fail and third, adding the SIIG= USB 2.0
> > DVI/VGA Pro device in the list.
> >
> > root@fbsd14a4:~ # diff -Nur udl-manual.orig udl-manual
> > --- udl-manual.orig=C2=A0 =C2=A0 =C2=A02023-08-18 00:13:25.583021= 000 +0000
> > +++ udl-manual=C2=A0 2023-08-18 15:06:41.896163000 +0000
> > @@ -1,13 +1,14 @@
> >=C2=A0 UDL(4)=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0FreeBSD Kernel Interfaces Manual
> > UDL(4)
> >
> >=C2=A0 NAME
> > -=C2=A0 =C2=A0 =C2=A0udl ? DisplayLink DL-120 / DL-160 USB displa= y devices
> > +=C2=A0 =C2=A0 =C2=A0udl ? DisplayLink DL-120 / DL-160 / DL-195 U= SB display devices
> >
> >=C2=A0 SYNOPSIS
> > -=C2=A0 =C2=A0 =C2=A0To compile this driver into the kernel, plac= e the following line in
> > your
> > +=C2=A0 =C2=A0 =C2=A0To compile this driver into the kernel, plac= e the following lines in
> > your
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0kernel configuration file:
> >
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0device udl
> > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0device videomode
> >
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0Alternatively, to load the driver as a = module at boot time, place the
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0following line in loader.conf(5):
> > @@ -16,7 +17,7 @@
> >
> >=C2=A0 DESCRIPTION
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0The udl driver supports USB display dev= ices based on the DisplayLink
> > -=C2=A0 =C2=A0 =C2=A0DL-120 / DL-160 graphic chip.
> > +=C2=A0 =C2=A0 =C2=A0DL-120 / DL-160 / DL-195 graphic chip.
> >
> >=C2=A0 HARDWARE
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0The following devices should work:
> > @@ -40,6 +41,7 @@
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Unitek Y-2240 USB = to DVI
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0VideoHome NBdock19= 20
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0i-tec USB 2.0 Dock= ing Station (USBDVIDOCK)
> > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0SIIG USB 2.0 DVI/VGA Pr= o
> >
> > Thanks,
> > Archimedes
> >
>
> Hi,
>
> By the way, should I post this patch to the Phabricator
> https://reviews.freebsd.org for review? The other patch is relat= ed to the
> manual, where to post it as well?
>

Posting the patches to Phabricator would be a good idea.=C2=A0 It might get=
more attention that way.

Since the manpage is also relevant to the driver I would recommend
putting it in the Phabricator entry along with the USB driver patches.

Once you've created the Phabricator entry you should post its number.
--
Gary Jennejohn

Hi Gary,

<= /div>
Thanks for your response! I will post both the USB driver patches= along with its manpage in the Phabricator. I'll create a new diff and = post its number back here.

Thanks,
A= rchimedes

Hi Gary,

I already posted the patch here=C2=A0https://reviews.freebsd.org/D41798 howe= ver, submission requires reviewers. Any idea who should be the designated r= eviewers for this?

Thanks,
Archimedes
--00000000000056985e0604ed9fc8-- From nobody Sat Sep 9 16:09:45 2023 X-Original-To: freebsd-usb@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RjdGj2SbFz4t36X for ; Sat, 9 Sep 2023 16:09:49 +0000 (UTC) (envelope-from garyj@gmx.de) Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.gmx.net", Issuer "Telekom Security ServerID OV Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RjdGh3118z4XJw for ; Sat, 9 Sep 2023 16:09:48 +0000 (UTC) (envelope-from garyj@gmx.de) Authentication-Results: mx1.freebsd.org; dkim=fail ("headers rsa verify failed") header.d=gmx.de header.s=s31663417 header.b="i/6347w7"; spf=pass (mx1.freebsd.org: domain of garyj@gmx.de designates 212.227.15.19 as permitted sender) smtp.mailfrom=garyj@gmx.de; dmarc=pass (policy=none) header.from=gmx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1694275786; x=1694880586; i=garyj@gmx.de; bh=d4DMi8j2b5+cWU8HJKqJWy+j8cj33jW+exYX/zRHTIw=; h=X-UI-Sender-Class:Date:From:To:Cc:Subject:In-Reply-To:References:Reply- To; b=i/6347w7QJdr6d+vkYKcGeb9oFZSE+nXsPChIO2tmapiJ7QvmkkM8Mwqad51pQYRx2oHzmE 6XJSDCLjXZJ1U95rV2EAyxv7+HStnnPPeuFCJyCEFfzppfNN4OnzvD5StdSGP1nCmr3F65NP7 9nTsKc7d79qSsOWXUP/YsDeYSM7cuw0MKtNoMetEaUOGjSSWO63yWL6qukYUQ4M87ZBxmmOgH VTjpCQtu6ImP7YUGWniFPdZ2QWriGPJkzmufMJo5vNPlUNK2FgxjiCsqIY5YODQ/uSEAaQuqH 4iO1cG3USBADPFnlzuKKSt7JQ/2UUwp3TGRAI0sQBRQZkUPdUtOQ== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from ernst.home ([217.226.51.105]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1N5G9n-1peYaV0k0j-011D3r; Sat, 09 Sep 2023 18:09:46 +0200 Date: Sat, 9 Sep 2023 16:09:45 +0000 From: Gary Jennejohn To: Archimedes Gaviola Cc: freebsd-usb@freebsd.org Subject: Re: udl(4) patch for SIIG USB 2.0 DVI/VGA Pro support Message-ID: <20230909180945.7afb3d90@ernst.home> In-Reply-To: References: <20230909104540.01f60614@ernst.home> Reply-To: garyj@gmx.de X-Mailer: Claws Mail 3.19.1 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) List-Id: FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-usb List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:Bxe9cuPwW4of1MenavpVWsRcGX9ThDovMAe8MKGFlgoasHPZwco ytg2Ra8W0A3ny5b1JJLBs2eiTWooWSFOSCvIxPmC4E/ZfBFau+Nn1MIwPBM2Fx3o7YUBKEg IEbq0n8gLWgemZjsxQVB7T03lnvlCHk5GuGSBI5o+If859CNwkXGmei3nyK69hn47OZW+dc IdRmnOhwKpkMCz+i5Afpw== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:FCpDrptov04=;oporsSliKrQQKfscBuzFyC/hX8j nGrfUON+9bzB6pzLukqAptm/8Im2A0CuahhKL9GlCt9TT35o5YGVVmA9gDbmJpXkttawIeFmB krWW1TN2i/w7cV9y/L7o5Iv9/HxtGUW4YcNfXpb1JSYIiS3M3dqsmhZJfy4LI0JN4FW5Be24N bfbhutMPeTkZ3m9AM8cCG1AAucllVND1tWB1JH6iirDJGvni8UviQzbRelKtb64a8WO75QA0A h2fGyFtc/eoxJPLlmohdc3lsyGLY14YgdtMnMgB4WXmq0FdjfpbHzqjx+N46M6HfQYdAecjsO bkWTGCO78zSRMLGXv7BqSOD6ULCYtuyJIaT+CecF4YC5XmFj2C5wzsBrJCePx+8l1isnALCPI 7s3XAkFj0tfdnCnggQFi5g9jE4iElaKN8En+zJ4rrzmOv5pyWbU0+ITWKdsMyFgYmWGdtAT+v qggDnoXSLb461L8OslDfQFLN65CWbQnkt8VxzkHkAPDNr6mzSssd0OxFrXw1uANHh6cCd5Swb b4atsFewudgKpr2rLgnLNXOMfmgg3hh/hRh8FKe89oIfTQha635x+E7GrUWlAgzsbLjElAvnk rwHETuR8SyJpQvFa9YrsWQukVBvJ+j4dAuibuEOp6BwSWTE7AGlfoqfR32F3kmptZFJeM+9dn QM/xPKn/sggSo6YeQzCVVHLmSWj/U/Ckd7U30wNkLv/wZGgU4iAYoHYTPrdbDkw54MsfJELJv ffEXjcwqexgONNmmQZUAZA+oCAHU2bz8wJjTzu2i8sy7Oj7VzZmClJZdKravNehrH1ihem48P LDjXuDKkTasg7rZymLrhqlc0nhMiXDSbJPllfX+JfhXqOWf9C0yf57lFeM1rjqgPO8buLHfZP jMakoXrtaHcc4HtDZrN7vWhdfNqanm9h9rlA5IE9fB15yw9bX07xyHaleI65k4GzMEWI1f9Lc t1n55AgYV6dGOiu0WjwMi7ZcLOU= X-Spamd-Bar: - X-Spamd-Result: default: False [-1.94 / 15.00]; NEURAL_HAM_LONG(-0.99)[-0.991]; NEURAL_HAM_SHORT(-0.98)[-0.983]; NEURAL_SPAM_MEDIUM(0.93)[0.935]; DMARC_POLICY_ALLOW_WITH_FAILURES(-0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:212.227.15.0/25]; ONCE_RECEIVED(0.10)[]; RCVD_IN_DNSWL_LOW(-0.10)[212.227.15.19:from]; RWL_MAILSPIKE_GOOD(-0.10)[212.227.15.19:from]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; TAGGED_RCPT(0.00)[]; FREEMAIL_REPLYTO(0.00)[gmx.de]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmx.de]; MIME_TRACE(0.00)[0:+]; HAS_REPLYTO(0.00)[garyj@gmx.de]; MLMMJ_DEST(0.00)[freebsd-usb@freebsd.org]; FREEMAIL_FROM(0.00)[gmx.de]; R_DKIM_REJECT(0.00)[gmx.de:s=s31663417]; TO_DN_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_TO(0.00)[gmail.com]; DKIM_TRACE(0.00)[gmx.de:-]; RCVD_COUNT_ONE(0.00)[1]; DMARC_POLICY_ALLOW(0.00)[gmx.de,none]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4RjdGh3118z4XJw On Sat, 9 Sep 2023 22:07:46 +0800 Archimedes Gaviola wrote: > On Sat, Sep 9, 2023 at 6:23?PM Archimedes Gaviola < > archimedes.gaviola@gmail.com> wrote: > [big SNIP] > Hi Gary, > > I already posted the patch here https://reviews.freebsd.org/D41798 howev= er, > submission requires reviewers. Any idea who should be the designated > reviewers for this? > Unfortunately, the original USB maintainer. Hans Petter Selasky, died recently. But I see that stevek@FreeBSD.org did a few USB commits in August, so he may be a candidate. =2D- Gary Jennejohn From nobody Sat Sep 9 16:53:09 2023 X-Original-To: freebsd-usb@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RjfF92prMz4tRF1 for ; Sat, 9 Sep 2023 16:53:33 +0000 (UTC) (envelope-from archimedes.gaviola@gmail.com) Received: from mail-lj1-x22a.google.com (mail-lj1-x22a.google.com [IPv6:2a00:1450:4864:20::22a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RjfF918Q9z3K2d for ; Sat, 9 Sep 2023 16:53:33 +0000 (UTC) (envelope-from archimedes.gaviola@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-lj1-x22a.google.com with SMTP id 38308e7fff4ca-2bd0bc8b429so53201621fa.2 for ; Sat, 09 Sep 2023 09:53:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694278411; x=1694883211; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=RZ+gzPQM6qdVXR4ilxlFygWXqZmxUiq9uBa9k8YLzvA=; b=lGfmPwG2oxXuTkED8VLNGFVuyTenNYGJTL6hfGqVIikfjMje4WdJhDbXPUoBbIdtz7 4CVJ2HYmPgIzEFC1+5WK09BX0ZCSI9rEdzqy+Qb+c2IYljOd5xSTyL+Eok+ymWvjs+/M Yvi9y+62cNVe9ybEQzDFLzxpIjMPEievurIGG8pQsPhbOb4p2FDob9WLj/SBL2FkiMO6 W7JYxcR6sDlqDLPZFbU2kEnf2wgDhDFfEEmbdgohSUck6ua0eBnOGVoXCrb0DSiFAhem upd3OqnbRPKdTVxZeETLlGASdMMA1NcFTaIVxRULvABpvTfnOslHoNkq/3+1fd8bFc6/ W4HQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694278411; x=1694883211; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=RZ+gzPQM6qdVXR4ilxlFygWXqZmxUiq9uBa9k8YLzvA=; b=wr9yXFB6fp/AwROsSzgZfMnWKo0iFHvXngES7UzZr619Sx3AVaBwdzfJkZo1EuxCEZ +PUBM0YsEheIeMQtDD6E8DKQj0gQrUpsSTWgzzWzfLu/YlnFiN8HvGB+UdBvVplf4XWl 7cekFo1Lut6c2zzHLyvLJay/YO1wSgyH6FoSln65Jg9yFalsBxpW5rt3f8LstQFka7va gVEirNzjP12+bBKxiXD0FUlwLj+oniQeR90wGKl6uHV+LUGFK+fuO6/1Dmo9MPxaZn2Z sAXuUK/KxzREJuMYuGdOKPNU/FgGW4xzV7AFpMpQux4rGGN64hyjky43EYoc0ChkhqOl qM2w== X-Gm-Message-State: AOJu0Yy5aXGBk3+M4HwoZkcn+2L9/2A2c7p57n0yHBM5mdWJtJEuI+el cc4T+IdqFTDyCJxvpnw8GfgzU56dh8CuVLdlJqFPr7zKfos= X-Google-Smtp-Source: AGHT+IE6ueceBEvnTpJvRoN3BopTEhqXdmRpWnJI291Y61rkz6yJdg3osjCDM6pR+/nr76rrX1Q0LZBX1Y3NR3+FmOI= X-Received: by 2002:a05:651c:232:b0:2bb:aaab:b42f with SMTP id z18-20020a05651c023200b002bbaaabb42fmr3999254ljn.49.1694278410419; Sat, 09 Sep 2023 09:53:30 -0700 (PDT) List-Id: FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-usb List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org MIME-Version: 1.0 References: <20230909104540.01f60614@ernst.home> <20230909180945.7afb3d90@ernst.home> In-Reply-To: <20230909180945.7afb3d90@ernst.home> From: Archimedes Gaviola Date: Sun, 10 Sep 2023 00:53:09 +0800 Message-ID: Subject: Re: udl(4) patch for SIIG USB 2.0 DVI/VGA Pro support To: garyj@gmx.de Cc: freebsd-usb@freebsd.org Content-Type: multipart/alternative; boundary="000000000000cdc3c80604efeea3" X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[] X-Rspamd-Queue-Id: 4RjfF918Q9z3K2d --000000000000cdc3c80604efeea3 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, Sep 10, 2023 at 12:09=E2=80=AFAM Gary Jennejohn wrot= e: > On Sat, 9 Sep 2023 22:07:46 +0800 > Archimedes Gaviola wrote: > > > On Sat, Sep 9, 2023 at 6:23?PM Archimedes Gaviola < > > archimedes.gaviola@gmail.com> wrote: > > > > [big SNIP] > > > Hi Gary, > > > > I already posted the patch here https://reviews.freebsd.org/D41798 > however, > > submission requires reviewers. Any idea who should be the designated > > reviewers for this? > > > > Unfortunately, the original USB maintainer. Hans Petter Selasky, died > recently. > > But I see that stevek@FreeBSD.org did a few USB commits in August, so he > may be a candidate. > > -- > Gary Jennejohn > Hi Gary, Oh I'm sorry to hear that, I can't believe that he passed away. Last year I was able to interface with him, he helped me with my USB printer. Sigh, based on the email thread that we have, I know he's a good person. God bless and rest in peace to Hans, he will be missed. I will add stevek@FreeBSD.org and communicate with him. Again, thank you so much for the help. Regards, Archimedes --000000000000cdc3c80604efeea3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Sun, Sep 10, 2023 at 12:09=E2=80= =AFAM Gary Jennejohn <garyj@gmx.de&g= t; wrote:
On Sat= , 9 Sep 2023 22:07:46 +0800
Archimedes Gaviola <archimedes.gaviola@gmail.com> wrote:

> On Sat, Sep 9, 2023 at 6:23?PM Archimedes Gaviola <
> arch= imedes.gaviola@gmail.com> wrote:
>

[big SNIP]

> Hi Gary,
>
> I already posted the patch here https://reviews.freebsd.org/D= 41798 however,
> submission requires reviewers. Any idea who should be the designated > reviewers for this?
>

Unfortunately, the original USB maintainer. Hans Petter Selasky, died
recently.

But I see that stevek@FreeBSD.org did a few USB commits in August, so he may be a candidate.

--
Gary Jennejohn

Hi Gary,
=
Oh I'm sorry to hear that, I can't believe that he p= assed away. Last year I was able to interface with him, he helped me with m= y USB printer. Sigh, based on the email thread that we have, I know he'= s a good person. God bless and rest in peace to Hans, he will be missed.

I will add stevek@FreeBSD.org and communicate with h= im.

Again, thank you so much for the help.

Regards,
Archimedes =C2=A0
--000000000000cdc3c80604efeea3--