From owner-freebsd-hackers@FreeBSD.ORG Sat Apr 9 21:57:20 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C9A0416A4CE for ; Sat, 9 Apr 2005 21:57:20 +0000 (GMT) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id E09BB43D2D for ; Sat, 9 Apr 2005 21:57:19 +0000 (GMT) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [10.1.1.7]) (authenticated bits=0)j39LvBnr063939 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Sat, 9 Apr 2005 23:57:16 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [IPv6:3ffe:400:8d0:301::12]) by cicely5.cicely.de (8.12.10/8.12.10) with ESMTP id j39Lv1hs091768 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 9 Apr 2005 23:57:02 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.12.11/8.12.11) with ESMTP id j39Lv1WD014289; Sat, 9 Apr 2005 23:57:01 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.12.11/8.12.11/Submit) id j39Lv1cg014288; Sat, 9 Apr 2005 23:57:01 +0200 (CEST) (envelope-from ticso) Date: Sat, 9 Apr 2005 23:57:00 +0200 From: Bernd Walter To: David Gilbert Message-ID: <20050409215700.GL96690@cicely12.cicely.de> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <16984.19899.604657.135854@canoe.dclg.ca> X-Operating-System: FreeBSD cicely12.cicely.de 5.2-CURRENT alpha User-Agent: Mutt/1.5.6i X-Spam-Status: No, hits=-4.9 required=3.0 tests=BAYES_00 autolearn=no version=2.64 X-Spam-Report: * -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% * [score: 0.0000] X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on cicely12.cicely.de cc: freebsd-hackers@freebsd.org cc: ticso@cicely.de Subject: Re: Tricky USB device. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ticso@cicely.de List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Apr 2005 21:57:20 -0000 On Sat, Apr 09, 2005 at 05:48:43PM -0400, David Gilbert wrote: > >>>>> "Bernd" == Bernd Walter 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