[Bug 271855] Sun Type 6 keyboard identified by vendor id instead of name on connect

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 06 Jun 2023 00:56:47 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271855

            Bug ID: 271855
           Summary: Sun Type 6 keyboard identified by vendor id instead of
                    name on connect
           Product: Base System
           Version: 13.2-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: usb
          Assignee: usb@FreeBSD.org
          Reporter: nicholas.h.briggs@gmail.com

Connecting/disconnecting a Sun type 6 USB keyboard generates the following
messages:

Jun  5 17:35:28 flap kernel: ugen0.2: <vendor 0x0430 product 0x0005> at usbus0
Jun  5 17:35:28 flap kernel: ukbd0 on uhub2
Jun  5 17:35:28 flap kernel: ukbd0: <vendor 0x0430 product 0x0005, class 0/0,
rev 1.10/2.00, addr 2> on usbus0
Jun  5 17:35:28 flap kernel: kbd2 at ukbd0
Jun  5 17:35:33 flap kernel: ugen0.2: <vendor 0x0430 product 0x0005> at usbus0
(disconnected)
Jun  5 17:35:33 flap kernel: ukbd0: at uhub2, port 2, addr 2 (disconnected)
Jun  5 17:35:33 flap kernel: ukbd0: detached

Is there a reason not to identify the Sun keyboard by name?
The vendor/product values are present in /usr/src/sys/dev/usb/usbdevs

Compare to connecting/disconnecting an old Apple keyboard:

Jun  5 17:35:06 flap kernel: ugen0.2: <Mitsumi Electric Hub in Apple Extended
USB Keyboard> at usbus0
Jun  5 17:35:06 flap kernel: uhub3 on uhub2
Jun  5 17:35:06 flap kernel: uhub3: <Mitsumi Electric Hub in Apple Extended USB
Keyboard, class 9/0, rev 1.10/3.95, addr 2> on usbus0
Jun  5 17:35:07 flap kernel: uhub3: 3 ports with 2 removable, bus powered
Jun  5 17:35:07 flap kernel: ugen0.3: <Mitsumi Electric Apple Extended USB
Keyboard> at usbus0
Jun  5 17:35:07 flap kernel: ukbd0 on uhub3
Jun  5 17:35:07 flap kernel: ukbd0: <Mitsumi Electric Apple Extended USB
Keyboard, class 0/0, rev 1.10/3.95, addr 3> on usbus0
Jun  5 17:35:07 flap kernel: kbd2 at ukbd0
Jun  5 17:35:07 flap kernel: uhid0 on uhub3
Jun  5 17:35:07 flap kernel: uhid0: <Mitsumi Electric Apple Extended USB
Keyboard, class 0/0, rev 1.10/3.95, addr 3> on usbus0
Jun  5 17:35:17 flap kernel: ugen0.2: <Mitsumi Electric Hub in Apple Extended
USB Keyboard> at usbus0 (disconnected)
Jun  5 17:35:17 flap kernel: uhub3: at uhub2, port 2, addr 2 (disconnected)
Jun  5 17:35:17 flap kernel: ugen0.3: <Mitsumi Electric Apple Extended USB
Keyboard> at usbus0 (disconnected)
Jun  5 17:35:17 flap kernel: ukbd0: at uhub3, port 3, addr 3 (disconnected)
Jun  5 17:35:17 flap kernel: ukbd0: detached
Jun  5 17:35:17 flap kernel: uhid0: at uhub3, port 3, addr 3 (disconnected)
Jun  5 17:35:17 flap kernel: uhid0: detached
Jun  5 17:35:17 flap kernel: uhub3: detached

-- 
You are receiving this mail because:
You are the assignee for the bug.