NetBSD Problem Report #31954

From www@netbsd.org  Mon Oct 31 08:35:05 2005
Return-Path: <www@netbsd.org>
Received: by narn.netbsd.org (Postfix, from userid 31301)
	id 4D47063B99E; Mon, 31 Oct 2005 08:35:05 +0000 (UTC)
Message-Id: <20051031083505.4D47063B99E@narn.netbsd.org>
Date: Mon, 31 Oct 2005 08:35:05 +0000 (UTC)
From: raphael-langerhorst@gmx.at
Reply-To: raphael-langerhorst@gmx.at
To: gnats-bugs@netbsd.org
Subject: sys/dev/if_cdce.c does not recognise YOPY PDA
X-Send-Pr-Version: www-1.0

>Number:         31954
>Category:       kern
>Synopsis:       sys/dev/if_cdce.c does not recognise YOPY PDA
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 31 08:36:00 +0000 2005
>Closed-Date:    Thu May 25 06:08:28 +0000 2017
>Last-Modified:  Thu May 25 06:08:28 +0000 2017
>Originator:     Raphael Langerhorst
>Release:        3.0_BETA
>Organization:
>Environment:
NetBSD home.raphael.g-system.at 3.0_BETA NetBSD 3.0_BETA (HOME-$Revision: 1.42.2.4 $) #1: Sun Oct  2 12:11:56 CEST 2005  raphael@home.raphael.g-system.at:/usr/obj/sys/arch/amd64/compile/HOME amd64
>Description:
I have a YOPY 3700 PDA that is not recognized by the NetBSD system, although it uses the same driver as the Sharp Zaurus which is listed in the NetBSD cdce driver (sys/dev/if_cdce.c).

Please note that I would accept "supposed to work" patches to test on my system (if you don't have a YOPY), but as I'm not a kernel developer myself I don't want to fool around with the source code (it's a production system after all), but I accept patches for testing purpose.
>How-To-Repeat:
Plugin in a YOPY PDA and note that no new network interface is available.
>Fix:
The output of dmesg after attaching the device (for the vendor/product IDs):

Aug 12 07:53:42 home /netbsd: ugen0: vendor 0x0e7e SA1100 USB NIC, rev 1.00/0.00, addr 3
Aug 12 07:58:29 home /netbsd: ugen0: vendor 0x0e7e SA1100 USB NIC, rev 1.00/0.00, addr 3

... sorry about the dates... I actually wanted to fool around with the source code myself but never found the time or courage to do it, so I'm sending a PR now.

Basically the only thing you need to do is to add the IDs to the list of recognized devices for the driver - if I'm correct. As noted before you can send me patches for testing the device.

Thank you,
Raphael

>Release-Note:

>Audit-Trail:
From: ITOH Yasufumi <itohy@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: PR/31954 CVS commit: [itohy-usb1] src/sys/dev/usb
Date: Mon, 25 Jun 2007 09:23:33 +0000 (UTC)

 Module Name:	src
 Committed By:	itohy
 Date:		Mon Jun 25 09:23:33 UTC 2007

 Modified Files:
 	src/sys/dev/usb [itohy-usb1]: if_cdce.c

 Log Message:
 New devices from FreeBSD/OpenBSD:
 - Acer Labs M5632 USB 2.0 Data Link
 - Ambit NTL 250 cable modem
 - COMPAQ iPAQ Linux
 - G.Mate YP3X00 PDA (also in NetBSD PR kern/31954)
 - Two Motorola devices (details unknown)
 - NetChip Linux Ethernet/RNDIS gadgets


 To generate a diff of this commit:
 cvs rdiff -r1.12.10.8 -r1.12.10.9 src/sys/dev/usb/if_cdce.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->feedback
State-Changed-By: maya@NetBSD.org
State-Changed-When: Wed, 07 Dec 2016 23:42:09 +0000
State-Changed-Why:
ID was added a long while back -- does it work? (I'll assume fixed if no reply is given after some time)


State-Changed-From-To: feedback->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Thu, 25 May 2017 06:08:28 +0000
State-Changed-Why:
feedback timeout; fixed


>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.