From owner-freebsd-usb@FreeBSD.ORG Sun May 8 19:46:28 2011 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3C94C1065670 for ; Sun, 8 May 2011 19:46:28 +0000 (UTC) (envelope-from clay@milos.co.za) Received: from lisa.milos.co.za (lisa.milos.co.za [109.169.49.137]) by mx1.freebsd.org (Postfix) with ESMTP id AF8CE8FC13 for ; Sun, 8 May 2011 19:46:27 +0000 (UTC) Received: (qmail 98707 invoked by uid 89); 8 May 2011 19:46:25 -0000 Received: from unknown (HELO claydesktop) (clay@milos.co.za@192.168.200.6) by lisa.milos.co.za with ESMTPA; 8 May 2011 19:46:25 -0000 Message-ID: <19D6F25774644079A2F18331E87C773D@claydesktop> From: "Clayton Milos" To: "Torfinn Ingolfsen" , References: <201105050841.56095.hselasky@c2i.net><201105051009.55454.hselasky@c2i.net> <20110508195639.fce81709.torfinn.ingolfsen@broadpark.no> Date: Sun, 8 May 2011 20:46:41 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5931 X-Mailman-Approved-At: Mon, 09 May 2011 00:13:22 +0000 Cc: Subject: Re: Relay controller X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 May 2011 19:46:28 -0000 ----- Original Message ----- From: "Torfinn Ingolfsen" To: Sent: Sunday, May 08, 2011 6:56 PM Subject: Re: Relay controller On Sun, 08 May 2011 14:59:24 +0100 Clayton Milos wrote: > Hi there > > I'm looking for any help out there. I have a USB relay controller that > should be seen as a modem. I think there was something similar working > before under FreeBSD called a PICKit. When I look up the error I'm getting > it points to this kit. The vendor ID seems to be the same. > > The chip on the controller I have is a PIC18F24 J50. > > When I plug it in on a FreeBSD8.2 AMD64 release I get the following: > root: Unknown USB device: vendor 0x04d8 product 0x000a bus uhub2 > kernel: ugen2.2: at usbus2 > > # usbconfig list > ugen2.2: at usbus2, > cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON That could be a CDCE device (communication class - ethernet). See cdce(4) man page. Try to load the if_cdce kernel module, then plug in your device. If that doen'st work, I'æm out of ideas. -- Torfinn Thanks Torfinn but that didn't work. It stil ldid not pick the device up. In Linux it picks it up as a modem and from what I've read up on the internet you connect to the virtual serial port to control the relays. Clay