Date: Sat, 9 Apr 2005 23:57:00 +0200 From: Bernd Walter <ticso@cicely12.cicely.de> To: David Gilbert <dgilbert@dclg.ca> Cc: ticso@cicely.de Subject: Re: Tricky USB device. Message-ID: <20050409215700.GL96690@cicely12.cicely.de> In-Reply-To: <16984.19899.604657.135854@canoe.dclg.ca> References: <16982.46075.115518.130213@canoe.dclg.ca> <4256B5EB.9080506@savvis.net> <16982.47024.135663.645297@canoe.dclg.ca> <20050408190514.GS96690@cicely12.cicely.de> <16983.465.572693.73195@canoe.dclg.ca> <20050408233301.GW96690@cicely12.cicely.de> <16984.17307.804041.502108@canoe.dclg.ca> <20050409212327.GI96690@cicely12.cicely.de> <16984.19899.604657.135854@canoe.dclg.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Apr 09, 2005 at 05:48:43PM -0400, David Gilbert wrote: > >>>>> "Bernd" == Bernd Walter <ticso@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@bwct.de info@bwct.de
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050409215700.GL96690>