NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/49681: Support BUFFALO PC-OP-RS1



>Number:         49681
>Category:       kern
>Synopsis:       Support BUFFALO PC-OP-RS1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 20 09:05:00 +0000 2015
>Originator:     fukumoto
>Release:        NetBSD 7.0_BETA
>Organization:
none
>Environment:
System: NetBSD kestrel 7.0_BETA NetBSD 7.0_BETA (GENERIC) #4: Fri Feb 20 14:04:17 JST 2015 fukumoto@kestrel:/u0/src.netbsd7/sys/arch/amd64/compile/obj/GENERIC amd64
Architecture: x86_64
Machine: amd64

>Description:

	BUFFALO PC-OP-RS1 is a USB to infrared remote-control
	interface using FTDI chip.

	With the trivial patch it can be attached like this:

uftdi0 at uhub3 port 1
uftdi0: BUFFALO BUFFALO RemoteStation PC-OP-RS1, rev 2.00/4.00, addr 2
ucom0 at uftdi0 portno 1



>How-To-Repeat:

>Fix:

Index: sys/dev/usb/uftdi.c
===================================================================
RCS file: /cvsroot/src/sys/dev/usb/uftdi.c,v
retrieving revision 1.59
diff -u -u -r1.59 uftdi.c
--- sys/dev/usb/uftdi.c	19 Dec 2013 08:22:40 -0000	1.59
+++ sys/dev/usb/uftdi.c	20 Feb 2015 08:40:27 -0000
@@ -168,6 +168,7 @@
 	{ USB_VENDOR_SIIG2, USB_PRODUCT_SIIG2_US2308 },
 	{ USB_VENDOR_MISC, USB_PRODUCT_MISC_TELLSTICK },
 	{ USB_VENDOR_MISC, USB_PRODUCT_MISC_TELLSTICK_DUO },
+	{ USB_VENDOR_MELCO, USB_PRODUCT_MELCO_PCOPRS1 },
 };
 #define uftdi_lookup(v, p) usb_lookup(uftdi_devs, v, p)
 
Index: sys/dev/usb/usbdevs
===================================================================
RCS file: /cvsroot/src/sys/dev/usb/usbdevs,v
retrieving revision 1.680.2.2
diff -u -u -r1.680.2.2 usbdevs
--- sys/dev/usb/usbdevs	16 Jan 2015 08:30:42 -0000	1.680.2.2
+++ sys/dev/usb/usbdevs	20 Feb 2015 08:40:31 -0000
@@ -2082,6 +2082,7 @@
 product MELCO KG54AI		0x0067	WLI-U2-KG54-AI WLAN
 product MELCO LUAU2GT		0x006e	LUA-U2-GT Ethernet
 product MELCO NINWIFI		0x008b	Nintendo Wi-Fi
+product MELCO PCOPRS1		0x00b3	RemoteStation PC-OP-RS1
 product MELCO SG54HP		0x00d8	WLI-U2-SG54HP
 product MELCO G54HP		0x00d9	WLI-U2-G54HP
 product MELCO KG54L		0x00da	WLI-U2-KG54L
Index: sys/dev/usb/usbdevs.h
===================================================================
RCS file: /cvsroot/src/sys/dev/usb/usbdevs.h,v
retrieving revision 1.672.2.2
diff -u -u -r1.672.2.2 usbdevs.h
--- sys/dev/usb/usbdevs.h	16 Jan 2015 08:31:31 -0000	1.672.2.2
+++ sys/dev/usb/usbdevs.h	20 Feb 2015 08:40:37 -0000
@@ -2089,6 +2089,7 @@
 #define	USB_PRODUCT_MELCO_KG54AI	0x0067		/* WLI-U2-KG54-AI WLAN */
 #define	USB_PRODUCT_MELCO_LUAU2GT	0x006e		/* LUA-U2-GT Ethernet */
 #define	USB_PRODUCT_MELCO_NINWIFI	0x008b		/* Nintendo Wi-Fi */
+#define	USB_PRODUCT_MELCO_PCOPRS1	0x00b3		/* RemoteStation PC-OP-RS1 */
 #define	USB_PRODUCT_MELCO_SG54HP	0x00d8		/* WLI-U2-SG54HP */
 #define	USB_PRODUCT_MELCO_G54HP	0x00d9		/* WLI-U2-G54HP */
 #define	USB_PRODUCT_MELCO_KG54L	0x00da		/* WLI-U2-KG54L */



Home | Main Index | Thread Index | Old Index