From owner-freebsd-hackers@freebsd.org Sun Oct 2 08:26:15 2016 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A9188AC6A65 for ; Sun, 2 Oct 2016 08:26:15 +0000 (UTC) (envelope-from lars@e-new.0x20.net) Received: from mail.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb:1::3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "0x20.net", Issuer "StartCom Class 1 DV Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 63CF78CB for ; Sun, 2 Oct 2016 08:26:14 +0000 (UTC) (envelope-from lars@e-new.0x20.net) Received: from e-new.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb:1::3]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.0x20.net (Postfix) with ESMTPS id C053B6E0081; Sun, 2 Oct 2016 10:26:11 +0200 (CEST) Received: from e-new.0x20.net (localhost [127.0.0.1]) by e-new.0x20.net (8.14.7/8.14.7) with ESMTP id u928QBik042046; Sun, 2 Oct 2016 10:26:11 +0200 (CEST) (envelope-from lars@e-new.0x20.net) Received: (from lars@localhost) by e-new.0x20.net (8.14.7/8.14.7/Submit) id u928Q9TQ041425; Sun, 2 Oct 2016 10:26:09 +0200 (CEST) (envelope-from lars) Date: Sun, 2 Oct 2016 10:26:09 +0200 From: Lars Engels To: Hans Petter Selasky Cc: Zaphod Beeblebrox , Eitan Adler , FreeBSD Hackers Subject: Re: Logitech G510s keyboard fail. Message-ID: <20161002082609.GC97879@e-new.0x20.net> References: <4300eab5-dafb-bce6-5b58-24d347202e23@selasky.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="/OCBIV6O7sl/38gM" Content-Disposition: inline In-Reply-To: <4300eab5-dafb-bce6-5b58-24d347202e23@selasky.org> X-Editor: VIM - Vi IMproved 7.4 X-Operation-System: FreeBSD 8.4-RELEASE-p23 User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Oct 2016 08:26:15 -0000 --/OCBIV6O7sl/38gM Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 28, 2016 at 10:01:18PM +0200, Hans Petter Selasky wrote: > On 09/28/16 20:46, Zaphod Beeblebrox wrote: > > Ok... that makes the keyboard attach. It still says the following on d= mesg: > > > > uhid1: > > on usbus0 > > hid_get_item: Number of items(991) truncated to 255 > > hid_get_item: Number of items(257) truncated to 255 > > hid_get_item: Number of items(991) truncated to 255 > > hid_get_item: Number of items(257) truncated to 255 > > hid_get_item: Number of items(991) truncated to 255 > > hid_get_item: Number of items(257) truncated to 255 > > > > How do I make this permanent? > > >=20 > Make a patch for sys/dev/usb/quirk/usb_quirk.c . Look at existing=20 > keyboard quirks. There are plenty of patches for the USB quirks coming in much faster than new FreeBSD releases are made. Would it be possible to swap out the quirks in a port? We could still have the quirks in base but if you install the port it would override them? --/OCBIV6O7sl/38gM Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQF8BAEBCgBmBQJX8MSgXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ4RjQwMDE3RTRERjUzMTI1N0FGRTUxNDlF NTRDQjM3RDNBMDg5RDZEAAoJEOVMs306CJ1tNNAIAL4wLGbp50iAh+smKcdDk/hk mlJQdM5TxNDU4QJRPEoKaX4JtnCQn7Dyn+IsDbUQc4GntQQWzVrwcV2cATT8fzbB Z1QWhiVsCli6BhKWDxzK4c08trlXr9uoQzMYHPZW5OgF/f/riCyX7PG0az4GPpv1 hgGLoufp9qd0BPNVVHf9Uix5katGUhJ1myDDx5ppGBxCrS0bPBHde62gEYFg64hG aa70PTaOkYxZzV7q/+x9ybe/Vl9WUf1ZZKKbY+pHUJCEQdjeGEU1G43NoPi/hd64 eSMewsL0gWs9qeozPett8SvPqJIs+OTNYqhSyC9hxHhOd9QFYPLx6SfZ2tn8xWA= =xNCX -----END PGP SIGNATURE----- --/OCBIV6O7sl/38gM--