From owner-freebsd-usb@freebsd.org Sun May 23 00:03:05 2021 Return-Path: Delivered-To: freebsd-usb@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4168663AD08 for ; Sun, 23 May 2021 00:03:05 +0000 (UTC) (envelope-from mark@kane.mn) Received: from stinger.tntpowerhost.com (stinger.tntpowerhost.com [104.128.58.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "stinger.tntpowerhost.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FngXS2rblz3hYy for ; Sun, 23 May 2021 00:03:04 +0000 (UTC) (envelope-from mark@kane.mn) Received: from stinger.tntpowerhost.com (localhost [127.0.0.1]) by stinger.tntpowerhost.com (OpenSMTPD) with ESMTP id a2bc4975; Sat, 22 May 2021 19:03:03 -0500 (CDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kane.mn; h= mime-version:date:from:to:cc:subject:in-reply-to:references :message-id:content-type:content-transfer-encoding; s=stinger; bh=ye9SB7MN0QLpeqPwryDFePbZ/9+2JWKsySnO1Xj2N+M=; b=OONwzNNKkX4P 3KSdSyPLOf09o5cJq/YUIxLyo/BYDc/XSqto0b4Vp0rJIQAxecbV31Za+eyXnnT9 4T/5TjmqH59nSdW1kf8cppmcqqrCzrOJ44Ai14utklvjAcP0i+htMtVJ2af5emKa Ta5V84SZQ1yFWkn79LtWq2EY+c38tQA= Received: from stinger.tntpowerhost.com (localhost [127.0.0.1]) by stinger.tntpowerhost.com (OpenSMTPD) with ESMTPSA id 6252e3d3 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Sat, 22 May 2021 19:03:03 -0500 (CDT) MIME-Version: 1.0 Date: Sat, 22 May 2021 19:03:03 -0500 From: Mark Kane To: Hans Petter Selasky Cc: freebsd-usb@freebsd.org Subject: Re: eGalax USB touchscreen issues In-Reply-To: <5e09b9ca-4dce-332a-28fe-37ef0a875725@selasky.org> References: <24ab05f3-86f3-5da7-0485-2839eba43975@selasky.org> <8a7a7402-95e3-3fe3-bde2-01b4a16a97fd@selasky.org> <74c359d7-512d-0fcd-381f-82161cc20078@selasky.org> <5e09b9ca-4dce-332a-28fe-37ef0a875725@selasky.org> User-Agent: Roundcube Webmail/1.4.6 Message-ID: <95e95a19e9c09573a0ca4cdd20b659c4@kane.mn> X-Sender: mark@kane.mn Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4FngXS2rblz3hYy X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=kane.mn header.s=stinger header.b=OONwzNNK; dmarc=pass (policy=none) header.from=kane.mn; spf=pass (mx1.freebsd.org: domain of mark@kane.mn designates 104.128.58.83 as permitted sender) smtp.mailfrom=mark@kane.mn X-Spamd-Result: default: False [-4.00 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[kane.mn:s=stinger]; FREEFALL_USER(0.00)[mark]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:104.128.58.83:c]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; RBL_DBL_DONT_QUERY_IPS(0.00)[104.128.58.83:from]; SPAMHAUS_ZRD(0.00)[104.128.58.83:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[kane.mn:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[kane.mn,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:30455, ipnet:104.128.58.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; MAILMAN_DEST(0.00)[freebsd-usb] X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 May 2021 00:03:05 -0000 On 2021-05-22 17:57, Hans Petter Selasky wrote: > Just build the latest webcamd port as is 5.13.2.2 w/ INPUT option > selected. With webcamd-5.13.2.2 as-is with INPUT there is still the -6 ERR when running. # pkg info webcamd-5.13.2.2 | grep -A10 Options Options : COMPAT32 : on DEBUG : on DVB : on INPUT : on KEYBOARD : on MOUSE : on RADIO : on VT_CLIENT : off VT_SERVER : off WEBCAM : on # webcamd -d ugen0.3 -N eGalax-Inc--USB-TouchController -S unknown -M 0 webcamd 11010 - - IR NEC protocol handler initialized webcamd 11010 - - IR RC5(x/sz) protocol handler initialized webcamd 11010 - - IR RC6 protocol handler initialized webcamd 11010 - - IR JVC protocol handler initialized webcamd 11010 - - IR Sony protocol handler initialized webcamd 11010 - - IR SANYO protocol handler initialized webcamd 11010 - - IR XMP protocol handler initialized webcamd 11010 - - b2c2-flexcop: B2C2 FlexcopII/II(b)/III digital TV receiver chip loaded successfully webcamd 11010 - - cpia2: V4L-Driver for Vision CPiA2 based cameras v3.0.1 webcamd 11010 - - Attached to ugen0.3[0] webcamd 11010 - - ERR: : can't add hid device: -6 webcamd 11010 - - webcamd: Cannot find USB device # webcamd -d ugen0.3 -N eGalax-Inc--USB-TouchController -S unknown -M 0 -i 0 webcamd 11075 - - IR NEC protocol handler initialized webcamd 11075 - - IR RC5(x/sz) protocol handler initialized webcamd 11075 - - IR RC6 protocol handler initialized webcamd 11075 - - IR JVC protocol handler initialized webcamd 11075 - - IR Sony protocol handler initialized webcamd 11075 - - IR SANYO protocol handler initialized webcamd 11075 - - IR XMP protocol handler initialized webcamd 11075 - - b2c2-flexcop: B2C2 FlexcopII/II(b)/III digital TV receiver chip loaded successfully webcamd 11075 - - cpia2: V4L-Driver for Vision CPiA2 based cameras v3.0.1 webcamd 11075 - - Attached to ugen0.3[0] webcamd 11075 - - ERR: : can't add hid device: -6 webcamd 11075 - - webcamd: Cannot find USB device # webcamd -d ugen0.3 -N eGalax-Inc--USB-TouchController -S unknown -M 0 -i 1 webcamd 11076 - - IR NEC protocol handler initialized webcamd 11076 - - IR RC5(x/sz) protocol handler initialized webcamd 11076 - - IR RC6 protocol handler initialized webcamd 11076 - - IR JVC protocol handler initialized webcamd 11076 - - IR Sony protocol handler initialized webcamd 11076 - - IR SANYO protocol handler initialized webcamd 11076 - - IR XMP protocol handler initialized webcamd 11076 - - b2c2-flexcop: B2C2 FlexcopII/II(b)/III digital TV receiver chip loaded successfully webcamd 11076 - - cpia2: V4L-Driver for Vision CPiA2 based cameras v3.0.1 webcamd 11076 - - webcamd: Cannot find USB device # (and -i 2 etc) From owner-freebsd-usb@freebsd.org Sun May 23 08:29:47 2021 Return-Path: Delivered-To: freebsd-usb@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A39A0642DA4 for ; Sun, 23 May 2021 08:29:47 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [IPv6:2a01:4f8:c17:6c4b::2]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4Fntn65Qrbz4TjL for ; Sun, 23 May 2021 08:29:46 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2020.home.selasky.org (unknown [178.17.145.105]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id E270E260393; Sun, 23 May 2021 10:29:38 +0200 (CEST) Subject: Re: eGalax USB touchscreen issues To: Mark Kane Cc: freebsd-usb@freebsd.org References: <24ab05f3-86f3-5da7-0485-2839eba43975@selasky.org> <8a7a7402-95e3-3fe3-bde2-01b4a16a97fd@selasky.org> <74c359d7-512d-0fcd-381f-82161cc20078@selasky.org> <5e09b9ca-4dce-332a-28fe-37ef0a875725@selasky.org> <95e95a19e9c09573a0ca4cdd20b659c4@kane.mn> From: Hans Petter Selasky Message-ID: <64b3d657-6e30-934d-f316-cacda545c58d@selasky.org> Date: Sun, 23 May 2021 10:28:19 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 MIME-Version: 1.0 In-Reply-To: <95e95a19e9c09573a0ca4cdd20b659c4@kane.mn> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Fntn65Qrbz4TjL X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of hps@selasky.org designates 2a01:4f8:c17:6c4b::2 as permitted sender) smtp.mailfrom=hps@selasky.org X-Spamd-Result: default: False [-3.04 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+a:mail.turbocat.net]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[selasky.org]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a01:4f8:c17:6c4b::2:from]; SPAMHAUS_ZRD(0.00)[2a01:4f8:c17:6c4b::2:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_MEDIUM(-0.74)[-0.739]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/32, country:DE]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-usb]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 May 2021 08:29:47 -0000 On 5/23/21 2:03 AM, Mark Kane wrote: > can't add hid device You would have to search for this print in the code a figure out why it doesn't work. Might be a missing CONFIG option, needed for this device. --HPS From owner-freebsd-usb@freebsd.org Sun May 23 08:48:51 2021 Return-Path: Delivered-To: freebsd-usb@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 23161643607 for ; Sun, 23 May 2021 08:48:51 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [IPv6:2a01:4f8:c17:6c4b::2]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4FnvC629TZz4cGK for ; Sun, 23 May 2021 08:48:49 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2020.home.selasky.org (unknown [178.17.145.105]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 1FF5C260393; Sun, 23 May 2021 10:48:47 +0200 (CEST) Subject: Re: eGalax USB touchscreen issues From: Hans Petter Selasky To: Mark Kane Cc: freebsd-usb@freebsd.org References: <24ab05f3-86f3-5da7-0485-2839eba43975@selasky.org> <8a7a7402-95e3-3fe3-bde2-01b4a16a97fd@selasky.org> <74c359d7-512d-0fcd-381f-82161cc20078@selasky.org> <5e09b9ca-4dce-332a-28fe-37ef0a875725@selasky.org> <95e95a19e9c09573a0ca4cdd20b659c4@kane.mn> <64b3d657-6e30-934d-f316-cacda545c58d@selasky.org> Message-ID: <1b4f0f24-95f8-abe5-1a06-e8e5ff6f8540@selasky.org> Date: Sun, 23 May 2021 10:47:29 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 MIME-Version: 1.0 In-Reply-To: <64b3d657-6e30-934d-f316-cacda545c58d@selasky.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4FnvC629TZz4cGK X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of hps@selasky.org designates 2a01:4f8:c17:6c4b::2 as permitted sender) smtp.mailfrom=hps@selasky.org X-Spamd-Result: default: False [-3.06 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+a:mail.turbocat.net:c]; MID_RHS_MATCH_FROM(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[selasky.org]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a01:4f8:c17:6c4b::2:from]; SPAMHAUS_ZRD(0.00)[2a01:4f8:c17:6c4b::2:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-0.76)[-0.759]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/32, country:DE]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-usb] X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 May 2021 08:48:51 -0000 On 5/23/21 10:28 AM, Hans Petter Selasky wrote: > You would have to search for this print in the code a figure out why it > doesn't work. Might be a missing CONFIG option, needed for this device. Hi, I suspect device_add() returns -ENXIO . This just means that there is a missing driver for this device. Looking at the Linux sources again, it looks like this device should be supported by generic HID. Wulf, do we support these usages in our kernel HID drivers? HID APPLICATION COLLECTION (Touch Screen) size(78) HID REPORT: ID 2 INPUT: POS:0 SIZE:1 COUNT:2 [VARIABLE] USAGE Tip Switch USAGE In Range POS:2 SIZE:1 COUNT:6 [CONST] POS:8 SIZE:16 COUNT:1 [VARIABLE] USAGE X POS:24 SIZE:16 COUNT:1 [VARIABLE] USAGE Y --HPS From owner-freebsd-usb@freebsd.org Sun May 23 15:35:31 2021 Return-Path: Delivered-To: freebsd-usb@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9EADF64A291 for ; Sun, 23 May 2021 15:35:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4Fp4DM1NMHz4gVy for ; Sun, 23 May 2021 15:35:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id BEBCD64A308; Sun, 23 May 2021 15:35:30 +0000 (UTC) Delivered-To: usb@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B5DE564A307 for ; Sun, 23 May 2021 15:35:30 +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 4Fp4DL1cm8z4gMn for ; Sun, 23 May 2021 15:35:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 0A3F419D17 for ; Sun, 23 May 2021 15:35:30 +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 14NFZTjK070056 for ; Sun, 23 May 2021 15:35:29 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 14NFZTfT070055 for usb@FreeBSD.org; Sun, 23 May 2021 15:35:29 GMT (envelope-from bugzilla-noreply@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: [Bug 255759] [Patch] Add USB product ID for ASUS USB-N14 Wireless Adaptor Date: Sun, 23 May 2021 15:35:30 +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: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: usb@FreeBSD.org X-Bugzilla-Flags: 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 MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 May 2021 15:35:31 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255759 --- Comment #3 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D43f5d5bf01fdf821e8037272c636a9be1= 8323e00 commit 43f5d5bf01fdf821e8037272c636a9be18323e00 Author: Dmitry Chagin AuthorDate: 2021-05-23 13:35:31 +0000 Commit: Dmitry Chagin CommitDate: 2021-05-23 13:35:31 +0000 run(4): fix manual after d6fd321ef60d43dce9f437187c94a7de2b91ab69. PR: 255759 MFC After: 2 weeks share/man/man4/run.4 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-usb@freebsd.org Sun May 23 21:00:42 2021 Return-Path: Delivered-To: freebsd-usb@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 322DE64F90A for ; Sun, 23 May 2021 21:00:42 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4FpCRY0n14z3rXr for ; Sun, 23 May 2021 21:00:41 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: by mailman.nyi.freebsd.org (Postfix) id BE39B64F85B; Sun, 23 May 2021 21:00:38 +0000 (UTC) Delivered-To: usb@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BAB4C64F85A for ; Sun, 23 May 2021 21:00:38 +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 4FpCRT6qzVz3rk0 for ; Sun, 23 May 2021 21:00:37 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) 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 6921A1E197 for ; Sun, 23 May 2021 21:00:35 +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 14NL0Zc2038412 for ; Sun, 23 May 2021 21:00:35 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 14NL0ZS7038411 for usb@FreeBSD.org; Sun, 23 May 2021 21:00:35 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <202105232100.14NL0ZS7038411@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, 23 May 2021 21:00:35 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 May 2021 21:00:42 -0000 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. From owner-freebsd-usb@freebsd.org Mon May 24 06:32:03 2021 Return-Path: Delivered-To: freebsd-usb@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2B2366563E6 for ; Mon, 24 May 2021 06:32:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4FpS6q0YN8z3JH0 for ; Mon, 24 May 2021 06:32:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 12D2165662B; Mon, 24 May 2021 06:32:03 +0000 (UTC) Delivered-To: usb@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 116C5655F5B for ; Mon, 24 May 2021 06:32: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 4FpS6p6wsmz3Hy3 for ; Mon, 24 May 2021 06:32:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 D5E15253ED for ; Mon, 24 May 2021 06:32:02 +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 14O6W2l2040832 for ; Mon, 24 May 2021 06:32:02 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 14O6W2UK040831 for usb@FreeBSD.org; Mon, 24 May 2021 06:32:02 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 255759] [Patch] Add USB product ID for ASUS USB-N14 Wireless Adaptor Date: Mon, 24 May 2021 06:32: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: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dchagin@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: dchagin@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to cc bug_status 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 MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 May 2021 06:32:03 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255759 Dmitry Chagin changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|usb@FreeBSD.org |dchagin@FreeBSD.org CC| |dchagin@FreeBSD.org Status|New |In Progress --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-usb@freebsd.org Mon May 24 21:48:38 2021 Return-Path: Delivered-To: freebsd-usb@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2BD7563D943 for ; Mon, 24 May 2021 21:48:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4FprSQ0FgNz4SSh for ; Mon, 24 May 2021 21:48:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 0400363DD28; Mon, 24 May 2021 21:48:38 +0000 (UTC) Delivered-To: usb@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 03AF863D942 for ; Mon, 24 May 2021 21:48:38 +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 4FprSP6S7Qz4SMv for ; Mon, 24 May 2021 21:48:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 BEF5611F2C for ; Mon, 24 May 2021 21:48:37 +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 14OLmbQx091502 for ; Mon, 24 May 2021 21:48:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 14OLmbD8091501 for usb@FreeBSD.org; Mon, 24 May 2021 21:48:37 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 218908] Missing usbdevs for TP-Link WN-821N v5 Date: Mon, 24 May 2021 21:48:38 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: asherikov@yandex.com X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: wireless@FreeBSD.org X-Bugzilla-Flags: 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 MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 May 2021 21:48:38 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218908 --- Comment #10 from Alexander Sherikov --- Played a bit more with parameters without any success and also tried it in Linux where it fails in the same way until I force wext driver when starting wpa_supplicant. Don't want to waste more time on this, it was a backup opti= on anyways. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-usb@freebsd.org Fri May 28 10:39:01 2021 Return-Path: Delivered-To: freebsd-usb@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2520165121D for ; Fri, 28 May 2021 10:39:01 +0000 (UTC) (envelope-from wulf@FreeBSD.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4Fs1Px0WwMz4mQN for ; Fri, 28 May 2021 10:39:01 +0000 (UTC) (envelope-from wulf@FreeBSD.org) Received: by mailman.nyi.freebsd.org (Postfix) id 10077650E47; Fri, 28 May 2021 10:39:01 +0000 (UTC) Delivered-To: usb@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0E9CE650EB9 for ; Fri, 28 May 2021 10:39:01 +0000 (UTC) (envelope-from wulf@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Fs1Pw6y5wz4mL5; Fri, 28 May 2021 10:39:00 +0000 (UTC) (envelope-from wulf@FreeBSD.org) Received: from [192.168.0.30] (unknown [94.45.211.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: wulf) by smtp.freebsd.org (Postfix) with ESMTPSA id 64C6CAE71; Fri, 28 May 2021 10:39:00 +0000 (UTC) (envelope-from wulf@FreeBSD.org) From: Vladimir Kondratyev Subject: eGalax USB touchscreen issues To: usb@freebsd.org Message-ID: <324d49ca-1c0e-659d-194d-ece4d5f7f5e2@FreeBSD.org> Date: Fri, 28 May 2021 13:37:34 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------BD6D8EAA76512764C3AA9C0B" Content-Language: en-US X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 May 2021 10:39:01 -0000 This is a multi-part message in MIME format. --------------BD6D8EAA76512764C3AA9C0B Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit > Looking at the Linux sources again, it looks like this device should be > supported by generic HID. > > Wulf, do we support these usages in our kernel HID drivers? > > HID APPLICATION COLLECTION (Touch Screen) size(78) > HID REPORT: ID 2 > INPUT: > POS:0 SIZE:1 COUNT:2 [VARIABLE] > USAGE Tip Switch > USAGE In Range > POS:2 SIZE:1 COUNT:6 [CONST] > POS:8 SIZE:16 COUNT:1 [VARIABLE] > USAGE X > POS:24 SIZE:16 COUNT:1 [VARIABLE] > USAGE Y Yes, hpen(4) supports them. It is required to apply some quirks though as TouchScreen usage page is handled with hmt(4) driver by default. Try attached patch and don't forget to enable usbhid(4) to use it with addition of following lines to /boot/loader.conf: hw.usb.usbhid.enable=1 usbhid_load="YES" P.S. I am not subscribed to usb@, so keep me in CC. -- WBR Vladimir Kondratyev --------------BD6D8EAA76512764C3AA9C0B Content-Type: text/x-patch; charset=UTF-8; name="hpen.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="hpen.patch" commit fefbdb3caa8eefcce7cdd8a73b61edacfbf82353 Author: Vladimir Kondratyev Date: Fri May 28 13:24:04 2021 +0300 hpen(4): Add support for HID-compatible eGalax USB touchscreens diff --git a/sys/dev/hid/hpen.c b/sys/dev/hid/hpen.c index 1d505e14089..c00578aa6e5 100644 --- a/sys/dev/hid/hpen.c +++ b/sys/dev/hid/hpen.c @@ -110,6 +110,8 @@ static const struct hidmap_item hpen_map_pen[] = { static const struct hid_device_id hpen_devs[] = { { HID_TLC(HUP_DIGITIZERS, HUD_DIGITIZER) }, { HID_TLC(HUP_DIGITIZERS, HUD_PEN) }, + { HID_TLC(HUP_DIGITIZERS, HUD_TOUCHSCREEN), + HID_BVP(BUS_USB, USB_VENDOR_EGALAX, USB_PRODUCT_EGALAX_TPANEL) }, }; static int @@ -186,7 +188,7 @@ hpen_probe(device_t dev) { struct hidmap *hm = device_get_softc(dev); int error; - bool is_pen; + const char *suffix; error = HIDBUS_LOOKUP_DRIVER_INFO(dev, hpen_devs); if (error != 0) @@ -195,14 +197,23 @@ hpen_probe(device_t dev) hidmap_set_dev(hm, dev); /* Check if report descriptor belongs to a HID tablet device */ - is_pen = hidbus_get_usage(dev) == HID_USAGE2(HUP_DIGITIZERS, HUD_PEN); - error = is_pen - ? HIDMAP_ADD_MAP(hm, hpen_map_pen, NULL) - : HIDMAP_ADD_MAP(hm, hpen_map_digi, NULL); + switch (HID_GET_USAGE(hidbus_get_usage(dev))) { + case HUD_PEN: + error = HIDMAP_ADD_MAP(hm, hpen_map_pen, NULL); + suffix = "Pen"; + case HUD_TOUCHSCREEN: + error = HIDMAP_ADD_MAP(hm, hpen_map_pen, NULL); + suffix = "TouchScreen"; + case HUD_DIGITIZER: + error = HIDMAP_ADD_MAP(hm, hpen_map_digi, NULL); + suffix = "Digitizer"; + default: + KASSERT(1 == 0, ("Unknown usage")); + } if (error != 0) return (error); - hidbus_set_desc(dev, is_pen ? "Pen" : "Digitizer"); + hidbus_set_desc(dev, suffix); return (BUS_PROBE_DEFAULT); } --------------BD6D8EAA76512764C3AA9C0B-- From owner-freebsd-usb@freebsd.org Fri May 28 20:31:54 2021 Return-Path: Delivered-To: freebsd-usb@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CABA8631B3D for ; Fri, 28 May 2021 20:31:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4FsGZ2563dz4jGB for ; Fri, 28 May 2021 20:31:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id AEDB6631AC0; Fri, 28 May 2021 20:31:54 +0000 (UTC) Delivered-To: usb@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id AE90F631B3C for ; Fri, 28 May 2021 20:31:54 +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 4FsGZ24QJCz4jV3 for ; Fri, 28 May 2021 20:31:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 805F01D8B8 for ; Fri, 28 May 2021 20:31:54 +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 14SKVsbQ022414 for ; Fri, 28 May 2021 20:31:54 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 14SKVs0u022413 for usb@FreeBSD.org; Fri, 28 May 2021 20:31:54 GMT (envelope-from bugzilla-noreply@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: [Bug 254974] Corsair K95 RGB PLATINUM gaming keyboard not working Date: Fri, 28 May 2021 20:31:54 +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: 12.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: usb@FreeBSD.org X-Bugzilla-Flags: 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 MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 May 2021 20:31:54 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254974 --- Comment #24 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3De889a462d878675551b227a382764c387= 9e6c2b3 commit e889a462d878675551b227a382764c3879e6c2b3 Author: Vladimir Kondratyev AuthorDate: 2021-05-28 20:13:44 +0000 Commit: Vladimir Kondratyev CommitDate: 2021-05-28 20:29:42 +0000 usbhid(4): Fix NULL pointer dereference in usbd_xfer_max_len() Which happens when USB transfer setup is failed. MFC after: 1 week PR: 254974 Reviewed by: hselasky Differential revision: https://reviews.freebsd.org/D30485 sys/dev/usb/input/usbhid.c | 64 +++++++++++++++++++++++++++++++++++-------= ---- 1 file changed, 49 insertions(+), 15 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-usb@freebsd.org Sat May 29 20:27:13 2021 Return-Path: Delivered-To: freebsd-usb@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8ABC4647682 for ; Sat, 29 May 2021 20:27:13 +0000 (UTC) (envelope-from mark@kane.mn) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4FstQ914kDz4ZSp for ; Sat, 29 May 2021 20:27:13 +0000 (UTC) (envelope-from mark@kane.mn) Received: by mailman.nyi.freebsd.org (Postfix) id 1F1AC647513; Sat, 29 May 2021 20:27:13 +0000 (UTC) Delivered-To: usb@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1D0D864749C for ; Sat, 29 May 2021 20:27:13 +0000 (UTC) (envelope-from mark@kane.mn) Received: from stinger.tntpowerhost.com (stinger.tntpowerhost.com [104.128.58.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "stinger.tntpowerhost.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FstQ80mMnz4ZVj; Sat, 29 May 2021 20:27:08 +0000 (UTC) (envelope-from mark@kane.mn) Received: from stinger.tntpowerhost.com (localhost [127.0.0.1]) by stinger.tntpowerhost.com (OpenSMTPD) with ESMTP id 1e373384; Sat, 29 May 2021 15:27:01 -0500 (CDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kane.mn; h= mime-version:date:from:to:cc:subject:in-reply-to:references :message-id:content-type:content-transfer-encoding; s=stinger; bh=mWdGybKhPkA8w5dNYSu0C2S7G1b5UUAGmrsSDIQ+yag=; b=Fq931R8PnPFg L9oBpkzRq/BPkXUfBflRr9ehAmVFLfqteCROxtzEfasv+vof+7DONd3ht7I6i/z/ NF+znNLdFxgNdD6J04aisGFzN/w9sSjsu74pcEgFKY3MT0JbHnVYKqKQOTb/Qivs 1x/Vud9fCj3kBNHpiBOGDPb4a26izNc= Received: from stinger.tntpowerhost.com (localhost [127.0.0.1]) by stinger.tntpowerhost.com (OpenSMTPD) with ESMTPSA id b84b76a2 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Sat, 29 May 2021 15:27:01 -0500 (CDT) MIME-Version: 1.0 Date: Sat, 29 May 2021 15:27:01 -0500 From: Mark Kane To: Vladimir Kondratyev Cc: usb@freebsd.org, hps@selasky.org Subject: Re: eGalax USB touchscreen issues In-Reply-To: <324d49ca-1c0e-659d-194d-ece4d5f7f5e2@FreeBSD.org> References: <324d49ca-1c0e-659d-194d-ece4d5f7f5e2@FreeBSD.org> User-Agent: Roundcube Webmail/1.4.6 Message-ID: <0ae3fec48e2c351d2c006f4ba4932cd7@kane.mn> X-Sender: mark@kane.mn Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4FstQ80mMnz4ZVj X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=kane.mn header.s=stinger header.b=Fq931R8P; dmarc=pass (policy=none) header.from=kane.mn; spf=pass (mx1.freebsd.org: domain of mark@kane.mn designates 104.128.58.83 as permitted sender) smtp.mailfrom=mark@kane.mn X-Spamd-Result: default: False [-4.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[kane.mn:s=stinger]; FREEFALL_USER(0.00)[mark]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:104.128.58.83]; MIME_GOOD(-0.10)[text/plain]; RBL_DBL_DONT_QUERY_IPS(0.00)[104.128.58.83:from]; SPAMHAUS_ZRD(0.00)[104.128.58.83:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[kane.mn:+]; DMARC_POLICY_ALLOW(-0.50)[kane.mn,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:30455, ipnet:104.128.58.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; MAILMAN_DEST(0.00)[usb] X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 May 2021 20:27:13 -0000 On 2021-05-28 05:37, Vladimir Kondratyev wrote: > Yes, hpen(4) supports them. > > It is required to apply some quirks though as TouchScreen usage page > is handled with hmt(4) driver by default. > Try attached patch and don't forget to enable usbhid(4) to use it with > addition of following lines to /boot/loader.conf: > > hw.usb.usbhid.enable=1 > usbhid_load="YES" Thanks for the patch. With this hpen(4) attaches, just one libinput error now about btn-stylus: ugen0.3: at usbus0 usbhid0 on uhub1 usbhid0: on usbus0 hidbus0: on usbhid0 hpen0: on hidbus0 hpen1: on hidbus0 hconf0: on hidbus0 [ 85.007] (II) config/udev: Adding input device eGalax Inc. USB TouchController Digitizer (/dev/input/event5) [ 85.007] (**) eGalax Inc. USB TouchController Digitizer: Applying InputClass "evdev tablet catchall" [ 85.007] (**) eGalax Inc. USB TouchController Digitizer: Applying InputClass "libinput tablet catchall" [ 85.007] (II) Using input driver 'libinput' for 'eGalax Inc. USB TouchController Digitizer' [ 85.007] (**) eGalax Inc. USB TouchController Digitizer: always reports core events [ 85.007] (**) Option "Device" "/dev/input/event5" [ 85.007] (**) Option "_source" "server/udev" [ 85.010] (II) event5 - eGalax Inc. USB TouchController Digitizer: is tagged by udev as: Tablet [ 85.171] (EE) event5 - eGalax Inc. USB TouchController Digitizer: libinput bug: missing tablet capabilities: btn-stylus resolution. Ignoring this device. [ 85.172] (II) event5 - eGalax Inc. USB TouchController Digitizer: device is a tablet [ 85.182] (II) event5 - failed to create input device '/dev/input/event5'. [ 85.182] (EE) libinput: eGalax Inc. USB TouchController Digitizer: Failed to create a device for /dev/input/event5 [ 85.182] (EE) PreInit returned 2 for "eGalax Inc. USB TouchController Digitizer" [ 85.182] (II) UnloadModule: "libinput" [ 85.182] (II) config/udev: Adding input device eGalax Inc. USB TouchController Digitizer (/dev/input/event6) [ 85.182] (**) eGalax Inc. USB TouchController Digitizer: Applying InputClass "evdev tablet catchall" [ 85.183] (**) eGalax Inc. USB TouchController Digitizer: Applying InputClass "libinput tablet catchall" [ 85.183] (II) Using input driver 'libinput' for 'eGalax Inc. USB TouchController Digitizer' [ 85.183] (**) eGalax Inc. USB TouchController Digitizer: always reports core events [ 85.183] (**) Option "Device" "/dev/input/event6" [ 85.183] (**) Option "_source" "server/udev" [ 85.186] (II) event6 - eGalax Inc. USB TouchController Digitizer: is tagged by udev as: Tablet [ 85.229] (EE) event6 - eGalax Inc. USB TouchController Digitizer: libinput bug: missing tablet capabilities: btn-stylus resolution. Ignoring this device. [ 85.229] (II) event6 - eGalax Inc. USB TouchController Digitizer: device is a tablet [ 85.239] (II) event6 - failed to create input device '/dev/input/event6'. [ 85.239] (EE) libinput: eGalax Inc. USB TouchController Digitizer: Failed to create a device for /dev/input/event6 [ 85.239] (EE) PreInit returned 2 for "eGalax Inc. USB TouchController Digitizer" [ 85.239] (II) UnloadModule: "libinput"