Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Dec 2003 19:49:40 +0100
From:      Steve O'Hara-Smith <steve@sohara.org>
To:        Lars Eggert <larse@ISI.EDU>
Cc:        current@FreeBSD.ORG
Subject:   Re: X10 Wireless Technology Inc USB Receiver
Message-ID:  <20031213194940.44073338.steve@sohara.org>
In-Reply-To: <3F6DE165.1020404@isi.edu>
References:  <3F57B0A0.2040508@isi.edu> <20030905072228.3def6a8b.steve@sohara.org> <3F63E246.8030801@isi.edu> <20030915190350.3e0fe0ec.steve@sohara.org> <20030918165710.GB19984@genius.tao.org.uk> <3F69FFC9.80308@isi.edu> <20030918231742.GB41432@genius.tao.org.uk> <3F6DE165.1020404@isi.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

--Multipart=_Sat__13_Dec_2003_19_49_40_+0100_9PF5LO2ParUKQ7eB
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

On Sun, 21 Sep 2003 10:35:33 -0700
Lars Eggert <larse@ISI.EDU> wrote:

LE> Hi,
LE> 
LE> I'm trying to get the USB RF remote control that comes with some ATI 
LE> Wonder cards to do something meaningful under -current.

	I've returned to this under a bit of USENET prodding - with
an up to date RELENG_4 and the latest USB from -current patchset I
am starting to get somewhere - the attached code at least does not
produce errors, unfortunately it doesn't produce output either.

	Ideas anyone ??

-- 
C:>WIN                                      |     Directable Mirrors
The computer obeys and wins.                |A Better Way To Focus The Sun
You lose and Bill collects.                 |  licenses available - see:
                                            |   http://www.sohara.org/

--Multipart=_Sat__13_Dec_2003_19_49_40_+0100_9PF5LO2ParUKQ7eB
Content-Type: application/octet-stream;
 name="ati_remote.c"
Content-Disposition: attachment;
 filename="ati_remote.c"
Content-Transfer-Encoding: base64

I2luY2x1ZGUgPGZjbnRsLmg+CiNpbmNsdWRlIDxzeXMvdHlwZXMuaD4KI2luY2x1ZGUgPHN5cy91
aW8uaD4KI2luY2x1ZGUgPHVuaXN0ZC5oPgojaW5jb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9VVCwgJmlvdik7CglpZiAoZXJy
ID09IC0xKQoJCXsgcGVycm9yICgiU2V0IFRpbWVvdXQiKTsgZXhpdCgxKTsgfQoKCXdmZCA9IG9w
ZW4gKCIvZGV2L3VnZW4wLjIiLCBPX1dST05MWSk7CglpZiAod2ZkID09IC0xKQoJCXsgcGVycm9y
ICgiT3BlbiB1Z2VuMC4yIik7IGV4aXQoMSk7IH0KCgllcnIgPSB3cml0ZSAod2ZkLCBpbml0MSwg
NCk7CglpZiAoZXJyICE9IDQpCgkJeyBwZXJyb3IgKCJXcml0ZSBpbml0MSIpOyBleGl0KDEpOyB9
CgllcnIgPSB3cml0ZSAod2ZkLCBpbml0MiwgNyk7CglpZiAoZXJyICE9IDcpCgkJeyBwZXJyb3Ig
KCJXcml0ZSBpbml0MiIpOyBleGl0KDEpOyB9CgogICB3aGlsZSAocmVhZCAocmZkLCAmYywgMSkp
IHB1dGNoYXIgKGMpOwp9Cg==

--Multipart=_Sat__13_Dec_2003_19_49_40_+0100_9PF5LO2ParUKQ7eB--



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