Subject: kern/31954: sys/dev/if_cdce.c does not recognise YOPY PDA
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <raphael-langerhorst@gmx.at>
List: netbsd-bugs
Date: 10/31/2005 08:36:00
>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: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Mon Oct 31 08:36:00 +0000 2005
>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