usb/132811: Patch: [newusb] Add Sun Type 7 keyboard id

Renato Botelho garga at FreeBSD.org
Thu Mar 19 07:00:05 PDT 2009


>Number:         132811
>Category:       usb
>Synopsis:       Patch: [newusb] Add Sun Type 7 keyboard id
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-usb
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 19 14:00:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Renato Botelho
>Release:        FreeBSD 8.0-CURRENT i386
>Organization:
BluePex Security Solutions
>Environment:
System: FreeBSD botelhor.bplab.local 8.0-CURRENT FreeBSD 8.0-CURRENT #58 r189892M: Thu Mar 19 10:26:41 BRT 2009 root at botelhor.bplab.local:/usr/obj/usr/src/sys/GARGA i386

>Description:
Add Sun Type 7 keyboard id to usbdevs, working fine here:

ugen0.1: <UHCI root HUB VIA> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen1.1: <UHCI root HUB VIA> at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen2.1: <UHCI root HUB VIA> at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen3.1: <UHCI root HUB VIA> at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen4.1: <EHCI root HUB VIA> at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
ugen3.2: <product 0x100e Sun Microsystems> at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE
ugen3.3: <USB Mouse Alcor Micro> at usbus3, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON
ugen3.4: <Type 7 USB keyboard Sun Microsystems> at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON

ugen3.2 is the USB hub provvided by the keyboard, I didn't know how to describe
this and where it's supposed to be added, but would be nice to have it added
too
>How-To-Repeat:
>Fix:

--- usbdevs.diff begins here ---
Index: sys/dev/usb/usbdevs
===================================================================
--- sys/dev/usb/usbdevs	(revision 189892)
+++ sys/dev/usb/usbdevs	(working copy)
@@ -2308,7 +2308,8 @@
 product SUNTAC AS144L4		0x0011	SUNTAC U-Cable type A4
 
 /* Sun Microsystems products */
-product SUN KEYBOARD		0x0005	Type 6 USB keyboard
+product SUN KEYBOARD_TYPE_6	0x0005	Type 6 USB keyboard
+product SUN KEYBOARD_TYPE_7	0x00a2	Type 7 USB keyboard
 /* XXX The above is a North American PC style keyboard possibly */
 product SUN MOUSE		0x0100	Type 6 USB mouse
 
--- usbdevs.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-usb mailing list