From owner-freebsd-current@FreeBSD.ORG Sat Dec 20 11:43:31 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5566F16A4D0 for ; Sat, 20 Dec 2003 11:43:31 -0800 (PST) Received: from smtp1.powertech.no (smtp1.powertech.no [195.159.0.145]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF1EA43DC3 for ; Sat, 20 Dec 2003 11:35:45 -0800 (PST) (envelope-from tingo@start.no) Received: from epost.start.no (epost.start.no [195.159.1.214]) by smtp1.powertech.no (Postfix) with ESMTP id 799AA8175; Sat, 20 Dec 2003 19:26:42 +0100 (CET) Received: (from apache@localhost) by epost.start.no (8.11.6/8.11.2) id hBKIQTY22055; Sat, 20 Dec 2003 19:26:29 +0100 To: "Steve O'Hara-Smith" Message-ID: <1071944789.3fe4945507bed@epost.start.no> Date: Sat, 20 Dec 2003 19:26:29 +0100 (CET) From: Torfinn Ingolfsen MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="-MOQ10719447881dcff30b071bb220492ac7c4c7e19b24" User-Agent: IMP/PHP IMAP webmail program 2.2.8 X-Mailman-Approved-At: Sat, 20 Dec 2003 13:03:24 -0800 cc: Torfinn Ingolfsen cc: larse@ISI.EDU cc: usb-bsd@eleetbsd.org cc: current@FreeBSD.ORG Subject: Re: X10 Wireless Technology Inc USB Receiver X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Dec 2003 19:43:31 -0000 This message is in MIME format. ---MOQ10719447881dcff30b071bb220492ac7c4c7e19b24 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Quoting Steve O'Hara-Smith : > It's even better - once the initialisation has run it is possible > to just cat /dev/ugen0.1 :) Using 'cat /dev/ugen0.1 | od -A n -t x1' I have made a first attempt to find out all the codes the keys on the remote generates. The atteched text file contains my findings so far. Oh, and they might be wrong. You have been warned. ;) -- Torfinn Ingolfsen, Norway ------------------------------------------------------------ Få din egen @start.no-adresse gratis på http://www.start.no/ ---MOQ10719447881dcff30b071bb220492ac7c4c7e19b24 Content-Type: text/plain; name="ati_key_codes.txt"; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Disposition: attachment; filename="ati_key_codes.txt" ATI remote - decoding of keys -------------------------------------- NOTE WELL: this is my best GUESS, nothing in here is confirmed yet! All code numbers in hexadecimal. It seems that codes are four (4) bytes, each code starting with 14 hex (dc4 in ASCII), and ending with f0 hex. All codes are transmitted four times, it seems. Be sure to check the table below for errors. If the first code in a line is different from the three others, it is probably wrong. Key Generated code ------------------------------------------------------------------------- "A" 14 c5 00 f0 14 c5 00 f0 14 c5 00 f0 14 c5 00 f0 "B" 14 c6 01 f0 14 c6 01 f0 14 c6 01 f0 14 c6 01 f0 Power 14 c6 01 f0 14 c7 02 f0 14 c7 02 f0 14 c7 02 f0 TV 14 c8 03 f0 14 c8 03 f0 14 c8 03 f0 14 c8 03 f0 DVD 14 c9 04 f0 14 c9 04 f0 14 c9 04 f0 14 c9 04 f0 WEB 14 ca 05 f0 14 ca 05 f0 14 ca 05 f0 14 ca 05 f0 (book) 14 cb 06 f0 14 cb 06 f0 14 cb 06 f0 14 cb 06 f0 (hand) 14 cc 07 f0 14 cc 07 f0 14 cc 07 f0 14 cc 07 f0 (LMB) 14 3e 79 f0 14 3e 79 f0 14 3e 79 f0 14 3d 78 f0 (RMB) 14 42 7d f0 14 42 7d f0 14 42 7d f0 14 42 7d f0 N 14 37 72 f0 14 37 72 f0 14 37 72 f0 14 37 72 f0 NE 14 3a 75 f0 14 36 71 f0 14 36 71 f0 14 36 71 f0 E 14 36 71 f0 14 36 71 f0 14 36 71 f0 14 36 71 f0 SE 14 3b 76 f0 14 36 71 f0 14 36 71 f0 14 3b 76 f0 S 14 38 73 f0 14 38 73 f0 14 38 73 f0 14 38 73 f0 SW 14 3c 77 f0 14 3c 77 f0 14 3c 77 f0 14 3c 77 f0 W 14 35 70 f0 14 3c 77 f0 14 35 70 f0 14 35 70 f0 NW 14 39 74 f0 14 35 70 f0 14 35 70 f0 14 39 74 f0 Vol- 14 ce 09 f0 14 ce 09 f0 14 ce 09 f0 14 ce 09 f0 Vol+ 14 cd 08 f0 14 cd 08 f0 14 cd 08 f0 14 cd 08 f0 Mute 14 cf 0a f0 14 cf 0a f0 14 cf 0a f0 14 cf 0a f0 "1" 14 d2 0d f0 14 d2 0d f0 14 d2 0d f0 14 d2 0d f0 "2" 14 d3 0e f0 14 d3 0e f0 14 d3 0e f0 14 d3 0e f0 "3" 14 d4 0f f0 14 d4 0f f0 14 d4 0f f0 14 d4 0f f0 "4" 14 d5 10 f0 14 d5 10 f0 14 d5 10 f0 14 d5 10 f0 "5" 14 d6 11 f0 14 d6 11 f0 14 d6 11 f0 14 d6 11 f0 "6" 14 d7 12 f0 14 d7 12 f0 14 d7 12 f0 14 d7 12 f0 "7" 14 d8 13 f0 14 d8 13 f0 14 d8 13 f0 14 d8 13 f0 "8" 14 d9 14 f0 14 d9 14 f0 14 d9 14 f0 14 d9 14 f0 "9" 14 da 15 f0 14 da 15 f0 14 da 15 f0 14 da 15 f0 (root menu)14 db 16 f0 14 db 16 f0 14 db 16 f0 14 db 16 f0 "0" 14 dc 17 f0 14 dc 17 f0 14 dc 17 f0 14 dc 17 f0 (setup) 14 dd 18 f0 14 dd 18 f0 14 dd 18 f0 14 dd 18 f0 "C" 14 de 19 f0 14 de 19 f0 14 de 19 f0 14 de 19 f0 "D" 14 e0 1b f0 14 e0 1b f0 14 e0 1b f0 14 e0 1b f0 (up) 14 df 1a f0 14 df 1a f0 14 df 1a f0 14 df 1a f0 (down) 14 e7 22 f0 14 e7 22 f0 14 e7 22 f0 14 e7 22 f0 (left) 14 e2 1d f0 14 e2 1d f0 14 e2 1d f0 14 e2 1d f0 (right) 14 e4 1f f0 14 e4 1f f0 14 e4 1f f0 14 e4 1f f0 OK 14 e3 1e f0 14 e3 1e f0 14 e3 1e f0 14 e3 1e f0 (on demand)14 e1 1c f0 14 e1 1c f0 14 e1 1c f0 14 e1 1c f0 (minimize) 14 e5 20 f0 14 e5 20 f0 14 e5 20 f0 14 e5 20 f0 "E" 14 e6 21 f0 14 e6 21 f0 14 e6 21 f0 14 e6 21 f0 "F" 14 e8 23 f0 14 e8 23 f0 14 e8 23 f0 14 e8 23 f0 (rewind) 14 e9 24 f0 14 e9 24 f0 14 e9 24 f0 14 e9 24 f0 (f. forw.) 14 eb 26 f0 14 eb 26 f0 14 eb 26 f0 14 eb 26 f0 (play) 14 ea 25 f0 14 ea 25 f0 14 ea 25 f0 14 ea 25 f0 (stop) 14 ed 28 f0 14 ed 28 f0 14 ed 28 f0 14 ed 28 f0 (pause) 14 ee 29 f0 14 ee 29 f0 14 ee 29 f0 14 ee 29 f0 (record) 14 ec 27 f0 14 ec 27 f0 14 ec 27 f0 14 ec 27 f0 ---MOQ10719447881dcff30b071bb220492ac7c4c7e19b24--