Re: Relay controller

2011-05-09 Thread Clayton Milos


- Original Message - 
From: "Hans Petter Selasky" 

To: 
Sent: Monday, May 09, 2011 7:41 AM
Subject: Re: Relay controller


On Sunday 08 May 2011 19:56:39 Torfinn Ingolfsen wrote:

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


The modem part of CDC is implemented by umodem.

kldload umodem

--HPS

Thanks Hans

It looks like it's found it.
I'll check if I can access it now.

Clay

___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"

___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


Re: Relay controller

2011-05-08 Thread Hans Petter Selasky
On Sunday 08 May 2011 19:56:39 Torfinn Ingolfsen wrote:
> > # 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

The modem part of CDC is implemented by umodem.

kldload umodem

--HPS
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


Re: Relay controller

2011-05-08 Thread Clayton Milos


- 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 


___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


Re: Relay controller

2011-05-08 Thread Torfinn Ingolfsen
On Sun, 08 May 2011 20:46:41 +0100
Clayton Milos  wrote:

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

You hvae troed the various usb serial modules, have you?
Like uark(4), ubsa(4), ubser(4), uchcom(4), uftdi(4), uplcom(4), uslcom
(4), uvscom(4) and umcs7840(4)?
HTH
-- 
Torfinn

___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


Re: Relay controller

2011-05-08 Thread Torfinn Ingolfsen
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

___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"