View previous topic :: View next topic |
Author |
Message |
binky123 Expert
Joined: 14 Feb 2004 Posts: 1292
|
Posted: Sat Sep 01, 2007 8:32 pm Post subject: |
|
|
This remote uses 2 bytes for the protocol id in the device upgrade. Can you post your device and protocol upgrade and possibly the .IR file in case there is a format error somewhere. |
|
Back to top |
|
|
yesok
Joined: 25 Aug 2006 Posts: 136
|
Posted: Sun Sep 02, 2007 12:54 am Post subject: IR file uploaded |
|
|
Hello Binky,
binky123 wrote: | This remote uses 2 bytes for the protocol id in the device upgrade. Can you post your device and protocol upgrade and possibly the .IR file in case there is a format error somewhere. |
I have uploaded an IR file with Apple iPod upgrade for URC-8305(see http://www.hifi-remote.com/forums/dload.php?action=file&file_id=4979).
On loading iPod upgrade to RM(ver 1.80), RM complains "The selected protocol "Manual Settings(01 FF) is not compatible with the selected remote. This upgrade will NOT function properly. Please choose a different protocol."
Yesok |
|
Back to top |
|
|
binky123 Expert
Joined: 14 Feb 2004 Posts: 1292
|
Posted: Sun Sep 02, 2007 10:31 am Post subject: |
|
|
The .IR file is for a URC-8910 so it is not relevant to the URC-8305. The iPod protocol was written for a S3C8 JP1 remote. You'll need a protocol written for a HCS08 JP1.2 remote. If there is a Protocol Builder file for this protocol, they can probably modify it for the HCS08 chip.
RM is complaining that the URC-8305 is a HCS08 JP1.2 remote which is not compatible with the 01 FF protocol(S3C8). |
|
Back to top |
|
|
binky123 Expert
Joined: 14 Feb 2004 Posts: 1292
|
Posted: Mon Sep 03, 2007 12:39 am Post subject: |
|
|
Give this a try. I learned this protocol as well as the S3C8 version and they look identical.
Code: |
Upgrade protocol 0 = 01 FF (HCS08) Apple iPod
20 15 22 48 31 C7 4D 08 08 01 13 03 57 01 13 01 22
D2 F0 11 A5 08 CA 6E 01 B2 01 63 03 6E 12 B2
B6 63 BE 62 BF 63 A4 FE B7 62 CC FF 5F
End
|
|
|
Back to top |
|
|
yesok
Joined: 25 Aug 2006 Posts: 136
|
Posted: Mon Sep 03, 2007 3:35 am Post subject: It works! |
|
|
Hello Binky,
binky123 wrote: | Give this a try. I learned this protocol as well as the S3C8 version and they look identical.
Code: |
Upgrade protocol 0 = 01 FF (HCS08) Apple iPod
20 15 22 48 31 C7 4D 08 08 01 13 03 57 01 13 01 22
D2 F0 11 A5 08 CA 6E 01 B2 01 63 03 6E 12 B2
B6 63 BE 62 BF 63 A4 FE B7 62 CC FF 5F
End
|
|
Thanks, it works!
One question - Do I need to copy the code and paste it to IR or there are more elegant way to do?
Yesok |
|
Back to top |
|
|
abarea
Joined: 07 Sep 2005 Posts: 8
|
Posted: Mon Oct 08, 2007 12:29 am Post subject: Apple remote woes |
|
|
Capn Trips wrote: | HERE ya go.
(Verify the correct version of the 9960 is selected before you cut and paste into IR) |
I have a 8820 and RemoteMaster says it's not going to work (looks like my remote doesn't have the good protocol). Is there a way make it work on my remote?
By they way, i've been able to learn the apple remote buttons, but when i try to upload them to IR 7.06, the application crashes...
Here's my ir file after the download of the learned keys:
http://www.hifi-remote.com/forums/dload.php?action=file&file_id=5098
Alec
Last edited by abarea on Mon Oct 08, 2007 10:31 am; edited 1 time in total |
|
Back to top |
|
|
binky123 Expert
Joined: 14 Feb 2004 Posts: 1292
|
Posted: Mon Oct 08, 2007 12:53 am Post subject: |
|
|
This post here has the HCS08 protocol needed for the 8820. |
|
Back to top |
|
|
abarea
Joined: 07 Sep 2005 Posts: 8
|
Posted: Mon Oct 08, 2007 10:15 am Post subject: Thanks but doesn't work |
|
|
Thanks blinky, but it doesn't work as expected.
In fact i'm trying to use lirc on a mac mini. It looks like the mac mini receiver recognizes only the apple remote protocol.
I have a 8820 so i'm trying to generate some apple remote codes on my 8820 to make lirc learn them.
With this protocol upgrade and this devices upgrade :
Upgrade code 0 = 0F D0 (Video Acc/2000) Apple iPod Remote for Universal Dock (RM v1.68)
FF 00 7E D2 0E D5 77 E1 C2 50 30 A0 60 90 A1 C0
60 90 30 50 C0 A0 A0 A0 91 61 A0 90 60
End
Lirc learns the remote but finds that all keys have the same code. So there's something that's not right.
Did i do something wrong?
Note that when i learn the apple remote keys with my 8820 i can replay them without issue, but IR 7.06 doesn't want to download them and stops with an error.
Here's my ir file after the download of the learned keys:
http://www.hifi-remote.com/forums/dload.php?action=file&file_id=5098 |
|
Back to top |
|
|
binky123 Expert
Joined: 14 Feb 2004 Posts: 1292
|
Posted: Mon Oct 08, 2007 11:45 am Post subject: |
|
|
There may be some format issues or data it doesn't understand in the Learning section. Open up your .IR file and go to the F000: address and change all of those characters to FF to clear that area of any old signals and re-learn the signals. In that other thread, I was able to learn the iPod signals on a URC-10820 and it looked the same as the S3C80 version.
It could be that LIRC has trouble understanding this protocol? Have you tried using Raw Mode Capture and seeing if the values are different? I recall that WinLIRC had trouble understanding the XMP protocol. |
|
Back to top |
|
|
abarea
Joined: 07 Sep 2005 Posts: 8
|
Posted: Mon Oct 08, 2007 11:52 am Post subject: Hand modifying IR the file |
|
|
binky123 wrote: | There may be some format issues or data it doesn't understand in the Learning section. Open up your .IR file and go to the F000: address and change all of those characters to FF to clear that area of any old signals and re-learn the signals. In that other thread, I was able to learn the iPod signals on a URC-10820 and it looked the same as the S3C80 version.
It could be that LIRC has trouble understanding this protocol? Have you tried using Raw Mode Capture and seeing if the values are different? I recall that WinLIRC had trouble understanding the XMP protocol. |
I just tried replacing the values in the IR file but then nothing shows up in the learned signals in ir after reloading the file in, any idea?
Alec |
|
Back to top |
|
|
Mark Pierson Expert
Joined: 03 Aug 2003 Posts: 3017 Location: Connecticut, USA |
Posted: Mon Oct 08, 2007 11:59 am Post subject: Re: Hand modifying IR the file |
|
|
abarea wrote: | I just tried replacing the values in the IR file but then nothing shows up in the learned signals in ir after reloading the file in, any idea? |
binky123 wrote: | change all of those characters to FF to clear that area of any old signals and re-learn the signals |
_________________ Mark |
|
Back to top |
|
|
abarea
Joined: 07 Sep 2005 Posts: 8
|
Posted: Mon Oct 08, 2007 2:10 pm Post subject: Re: Hand modifying IR the file |
|
|
Mark Pierson wrote: | abarea wrote: | I just tried replacing the values in the IR file but then nothing shows up in the learned signals in ir after reloading the file in, any idea? |
binky123 wrote: | change all of those characters to FF to clear that area of any old signals and re-learn the signals |
|
You got me:)
Of so i tried uploading the cleaned up (learned signals) ir file into the remote and tried learning the apple remote codes, but it looks like the first button is always screwed up. I have to relearn it every time.
When trying to download to IR, i get either a divide by 0 error or a burst code error.
Last edited by abarea on Mon Oct 08, 2007 3:56 pm; edited 1 time in total |
|
Back to top |
|
|
abarea
Joined: 07 Sep 2005 Posts: 8
|
Posted: Mon Oct 08, 2007 3:07 pm Post subject: lirc and apple remote |
|
|
I just tried to use lirc with my urc8820 and the device and protocol upgrade that are in this thread.
I use lirc (linux) on a mac mini (macmini driver) in raw mode.
This is the resulting lircd.conf file:
begin remote
name /usr/local/lirc/lircd.conf.macmini-OFA-raw
bits 32
eps 30
aeps 100
one 0 0
zero 0 0
gap 204000
toggle_bit_mask 0x87EE4306
begin codes
play 0x87EE4303
fwd 0x87EE430C
rew 0x87EE4309
pause 0x87EE430A
stop 0x87EE4306
ffwd 0x87EE4309
frew 0x87EE4306
guide 0x87EE4305
menu 0x87EE4303
info 0x87EE4305
cc 0x87EE4306
prev 0x87EE4305
fav 0x00000000
ch+ 0x87EE4306
ch- 0x87EE4309
m1 0x00000000
m2 0x00000000
+100 0x87EE4309
left 0x87EE4305
end codes
end remote
As you can see, a lot of keys are duplicated when they should not be.
On top of that, when i try to use this file with irw to check if it's good, after each key press on the remote it show the good key in irw AND the STOP key at least once. I wonder if it has a relation with the "stop bit" that has the same value as the stop key.
I'm guessing there's a protocol problem, but really i don't know.
For reference, here's my protocol upgrade taken from IR 7.06:
Protocol ID 01FF
20 15 22 48 31 C7 4D 08 08 01 13 03 57 01 13 01
22 D2 F0 11 A5 08 CA 6E 01 B2 01 63 03 6E 12 B2
B6 63 BE 62 BF 63 A4 FE B7 62 CC FF 5F
Here's my device upgrade:
Type PVR
Setup code 2000
FF 00 7E D2 0E D5 77 E1 C2 50 30 A0 60 90 A1 C0
60 90 30 50 C0 A0 A0 A0 91 61 A0 90 60 |
|
Back to top |
|
|
binky123 Expert
Joined: 14 Feb 2004 Posts: 1292
|
Posted: Mon Oct 08, 2007 7:22 pm Post subject: |
|
|
I'm not familiar with the protocol or with LIRC. After uploading to the 8820, can you use the PVR/2000 device to control the Mac mini receiver? Forget about using LIRC to record the signal from the 8820. You suspect the protocol doesn't work for your Mac Mini correct? |
|
Back to top |
|
|
abarea
Joined: 07 Sep 2005 Posts: 8
|
Posted: Mon Oct 08, 2007 7:35 pm Post subject: the reason behind... |
|
|
binky123 wrote: | I'm not familiar with the protocol or with LIRC. After uploading to the 8820, can you use the PVR/2000 device to control the Mac mini receiver? Forget about using LIRC to record the signal from the 8820. You suspect the protocol doesn't work for your Mac Mini correct? |
In fact, i'm just trying to use lirc with my urc8820 and the macmini ir receiver to control Freevo (Home Theatre PC application).
To do this, i have to be able to configure lirc to recognize a number of keys from the remote.
currently, the only way i succeded was to learn the apple remote keys with the 8820. But it has only 6 keys so i'd like to add more. Since i cannot get these keys into IR (issue explained above) and the protocol/device upgrade in this thread doesn't really work for me, i'm stuck with the 6 learned key from the apple remote...Which sucks a bit
If you have any other idea on how to achieve this, please tell me, but it looks like the mac mini IR receiver can only work with the apple remote protocol. |
|
Back to top |
|
|
|