NetBSD Problem Report #49681

From www@NetBSD.org  Fri Feb 20 09:04:09 2015
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id B7125A654F
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 20 Feb 2015 09:04:09 +0000 (UTC)
Message-Id: <20150220090408.8ABDFA6554@mollari.NetBSD.org>
Date: Fri, 20 Feb 2015 09:04:08 +0000 (UTC)
From: fukumoto@imasy.or.jp
Reply-To: fukumoto@imasy.or.jp
To: gnats-bugs@NetBSD.org
Subject: Support BUFFALO PC-OP-RS1
X-Send-Pr-Version: www-1.0

>Number:         49681
>Category:       kern
>Synopsis:       Support BUFFALO PC-OP-RS1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 20 09:05:00 +0000 2015
>Closed-Date:    Sat Feb 21 11:09:55 +0000 2015
>Last-Modified:  Sat Feb 21 19:40: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 */

>Release-Note:

>Audit-Trail:
From: "NONAKA Kimihiro" <nonaka@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/49681 CVS commit: src/sys/dev/usb
Date: Fri, 20 Feb 2015 14:48:55 +0000

 Module Name:	src
 Committed By:	nonaka
 Date:		Fri Feb 20 14:48:55 UTC 2015

 Modified Files:
 	src/sys/dev/usb: usbdevs

 Log Message:
 PR/49681: Support BUFFALO PC-OP-RS1


 To generate a diff of this commit:
 cvs rdiff -u -r1.689 -r1.690 src/sys/dev/usb/usbdevs

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: "NONAKA Kimihiro" <nonaka@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/49681 CVS commit: src/sys/dev/usb
Date: Fri, 20 Feb 2015 14:49:49 +0000

 Module Name:	src
 Committed By:	nonaka
 Date:		Fri Feb 20 14:49:49 UTC 2015

 Modified Files:
 	src/sys/dev/usb: usbdevs.h usbdevs_data.h

 Log Message:
 regen

 > PR/49681: Support BUFFALO PC-OP-RS1


 To generate a diff of this commit:
 cvs rdiff -u -r1.681 -r1.682 src/sys/dev/usb/usbdevs.h
 cvs rdiff -u -r1.682 -r1.683 src/sys/dev/usb/usbdevs_data.h

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: "NONAKA Kimihiro" <nonaka@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/49681 CVS commit: src/sys/dev/usb
Date: Fri, 20 Feb 2015 14:50:54 +0000

 Module Name:	src
 Committed By:	nonaka
 Date:		Fri Feb 20 14:50:53 UTC 2015

 Modified Files:
 	src/sys/dev/usb: uftdi.c

 Log Message:
 PR/49681: Support BUFFALO PC-OP-RS1


 To generate a diff of this commit:
 cvs rdiff -u -r1.59 -r1.60 src/sys/dev/usb/uftdi.c

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: nonaka@NetBSD.org
State-Changed-When: Sat, 21 Feb 2015 11:09:55 +0000
State-Changed-Why:
Commited. Thanks.


From: "Martin Husemann" <martin@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/49681 CVS commit: [netbsd-7] src/sys/dev/usb
Date: Sat, 21 Feb 2015 19:38:02 +0000

 Module Name:	src
 Committed By:	martin
 Date:		Sat Feb 21 19:38:02 UTC 2015

 Modified Files:
 	src/sys/dev/usb [netbsd-7]: uftdi.c usbdevs

 Log Message:
 Pull up following revision(s) (requested by nonaka in ticket #538):
 	sys/dev/usb/uftdi.c: revision 1.60
 	sys/dev/usb/usbdevs: revision 1.690
 PR/49681: Support BUFFALO PC-OP-RS1
 PR/49681: Support BUFFALO PC-OP-RS1


 To generate a diff of this commit:
 cvs rdiff -u -r1.59 -r1.59.4.1 src/sys/dev/usb/uftdi.c
 cvs rdiff -u -r1.680.2.2 -r1.680.2.3 src/sys/dev/usb/usbdevs

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.