Tricky USB device.

Bernd Walter ticso at cicely12.cicely.de
Sat Apr 9 14:57:20 PDT 2005


On Sat, Apr 09, 2005 at 05:48:43PM -0400, David Gilbert wrote:
> >>>>> "Bernd" == Bernd Walter <ticso at cicely12.cicely.de> writes:
> 
> Bernd> Then the device is still working and just has nothing to send.
> Bernd> Would be helpfull to know something about the protocol used on
> Bernd> the endpoints.
> 
> It's pretty simple.  I'm sending (right now) MK255 and MK0 with 1
> second sleeps in between.  The device has 8 relays and I should be
> triggering them on and off (The MK command doesn't have output --- so
> I'm not looking for it).  Here's a snippet from the manual:
> 
> The relays may be SET ( ON ) or RESET ( OFF ) individually or as an 8 bit port. The relay commands
> include;
> 
> SKn SETS ( ON ) relay specified by n ( n = 0-7 )
> # of Bytes 3
> Response NONE
> Example; SK2 ;closes contact K2
[...]

Sounds simple.
Tried with lower case characters?
Otherwise I would say sniff a working driver - for windows there is
at least one good freeware USB sniffer avaiable.

-- 
B.Walter                   BWCT                http://www.bwct.de
bernd at bwct.de                                  info at bwct.de



More information about the freebsd-hackers mailing list