|
Progress with ATI Remote Wonder Plus: msg#00032hardware.lirc
I believe that I have found the correct init code(s) for the Remote Wonder Plus. I used a snooping program on Windows. I made the following changes to drivers/lirc_atiusb/lirc_atiusb.c: --------------------------------------------------------------------------------------------- --- lirc_atiusb.c 2006-01-29 12:25:57.000000000 -0600 +++ ../../../lirc-good/drivers/lirc_atiusb/lirc_atiusb.c 2006-02-07 19:07:03.362306424 -0600 @@ -147,9 +147,9 @@ static struct usb_device_id usb_remote_t /* init strings */ #define USB_OUTLEN 7 -static char init1[] = {0x01, 0x00, 0x20, 0x14}; -static char init2[] = {0x01, 0x00, 0x20, 0x14, 0x20, 0x20, 0x20}; - +static char init1[] = {0x80, 0x05, 0x1b, 0x15, 0x14, 0x20, 0x24, 0x15}; +static char init2[] = {0x83, 0x03}; +static char init3[] = {0x84, 0xd7, 0x020}; struct in_endpt { @@ -1034,8 +1034,9 @@ static void send_outbound_init(struct ir usb_sndintpipe(ir->usbdev, oep->ep->bEndpointAddress), oep->buf, USB_OUTLEN, usb_remote_send, oep, oep->ep->bInterval); - send_packet(oep, 0x8004, init1); - send_packet(oep, 0x8007, init2); + send_packet(oep, 0x8007, init1); + send_packet(oep, 0x8002, init2); + send_packet(oep, 0x8003, init3); } } --------------------------------------------------------------------------------------------- The mode2 results: [19:02:18] mythtv tools # # 1st with RW1/2 pressing keys 1,2,3 [19:02:23] mythtv tools # ./mode2 -d /dev/lirc/0 code: 0x14e20d0000 code: 0x14e20d0000 code: 0x14e30e0000 code: 0x14e30e0000 code: 0x14e40f0000 code: 0x14e40f0000 [19:02:35] mythtv tools # # now with Remote Wonder Plus pressing keys 1,2,3 [19:02:48] mythtv tools # ./mode2 -d /dev/lirc/0 code: 0x14b31b0000 code: 0x15e20d0000 code: 0x15e20d0000 code: 0x15638e0000 code: 0x15638e0000 code: 0x14c81f0000 code: 0x15e40f0000 code: 0x15e40f0000 code: 0x155a8d0000 code: 0x15628d0000 code: 0x15628d0000 code: 0x15e30e0000 code: 0x15e30e0000 code: 0x15648f0000 code: 0x15648f0000 It seems like the keys are 0x15 instead of 0x14 but every once in a while the 0x1564..instead of 0x15e.. pops up. I tried irw and the old remote is still spitting out keypresses but the new one isn't there yet. I am not surprised but I'm new to the lirc source so I'm going to poke around there next. Advice is welcomed! I believe only have one of the two older remotes so I do not know if all three are now functional or if one got borked by my change. Cymen
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: mceusb2 support for Microsoft Remote Keyboard?: 00032, Buzz |
|---|---|
| Next by Date: | ATI Remote Wonder Plus - lircd.conf: 00032, Cymen Vig |
| Previous by Thread: | mceusb2 support for Microsoft Remote Keyboard?i: 00032, Chris Petersen |
| Next by Thread: | ATI Remote Wonder Plus - lircd.conf: 00032, Cymen Vig |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |