Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 May 2011 20:46:41 +0100
From:      "Clayton Milos" <clay@milos.co.za>
To:        "Torfinn Ingolfsen" <torfinn.ingolfsen@broadpark.no>, <freebsd-usb@FreeBSD.org>
Subject:   Re: Relay controller
Message-ID:  <19D6F25774644079A2F18331E87C773D@claydesktop>
References:  <BANLkTik9MDy_tS3s78xG9VtbTaW%2BnCoM9A@mail.gmail.com><201105050841.56095.hselasky@c2i.net><BANLkTi=8--eu8%2BxWt26eJP3P3DYQ0En%2BSg@mail.gmail.com><201105051009.55454.hselasky@c2i.net><BANLkTin8CXZExgn6p20NNwoZ0fyiR%2BTXkA@mail.gmail.com><AA1C9B80ADCD490EB24DC989A81439A4@claydesktop> <20110508195639.fce81709.torfinn.ingolfsen@broadpark.no>

index | next in thread | previous in thread | raw e-mail


----- Original Message ----- 
From: "Torfinn Ingolfsen" <torfinn.ingolfsen@broadpark.no>
To: <freebsd-usb@FreeBSD.org>
Sent: Sunday, May 08, 2011 6:56 PM
Subject: Re: Relay controller


On Sun, 08 May 2011 14:59:24 +0100
Clayton Milos <clay@milos.co.za> 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: <Microchip Technology Inc.> at usbus2
>
> # usbconfig list
> ugen2.2: <CDC RS-232 Emulation Demo Microchip Technology Inc.> 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 



home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19D6F25774644079A2F18331E87C773D>