URC-6440 on Linux and code programming
Posted: Thu May 24, 2018 1:14 pm
I just bought a URC-6440 remote, hoping that I can program it on Linux to control a couple of devices for which the remote controller is really not reliable.
When I plug the remote, I can mount the drive, read the the "settings.bin" file, and even write it with (with dd, as suggested here).
I run RM (java -jar RemoteMaster.jar) and it seems to work fine, but when I try to "download from remote" I get an error: "Command lsblk exited with an error code 1" and then "No remote found". Just running "lsblk" from a command line seems to work fine:
I added my user to the "dialout" group, although there's no tty device created when I plug the remote. Should the remote be mounted or unmounted to work with RM (I get the same behaviour, anyway).
Well, since I can read the settings.bin from the remote, I can open the file in RM, and it seems to work (except that when I try to save the file, modified or not, as a .bin, I get "writeRemote returned -1"). But now I encounter the problem of programming the remote for the right devices, which are as follows:
First, NAD D 3020 amplifier. The default NAD codes in the remote don't seem to work (I got as far as turning the device off, but nothing else). However NAD has released a document with the codes, which looks like:
Please tell me this information can be used to generate a device upgrade (and how), or point me to the appropriate upgrade. The original remote is as good as broken, so using it for learning codes is almost hopeless.
The second one is an unbranded DVD remote I found around left by the previous occupants of the apartment. I used it to "teach" a Raspberry Pi, and generate a lirc config file that looks like this:
begin remote
Can I use this somehow to directly program the URC-6440, or find out which device this unknown remote matches? I'd rather not have go through the learning procedure.
I'd appreciate any help and advice.
When I plug the remote, I can mount the drive, read the the "settings.bin" file, and even write it with (with dd, as suggested here).
I run RM (java -jar RemoteMaster.jar) and it seems to work fine, but when I try to "download from remote" I get an error: "Command lsblk exited with an error code 1" and then "No remote found". Just running "lsblk" from a command line seems to work fine:
Code: Select all
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 931,5G 0 disk
├─sda1 8:1 0 512M 0 part /boot/efi
├─sda2 8:2 0 923,3G 0 part /
└─sda3 8:3 0 7,7G 0 part [SWAP]
sdb 8:16 0 232,5K 0 disk
└─sdb1 8:17 0 232K 0 part /media/username/OFA REMOTEWell, since I can read the settings.bin from the remote, I can open the file in RM, and it seems to work (except that when I try to save the file, modified or not, as a .bin, I get "writeRemote returned -1"). But now I encounter the problem of programming the remote for the right devices, which are as follows:
First, NAD D 3020 amplifier. The default NAD codes in the remote don't seem to work (I got as far as turning the device off, but nothing else). However NAD has released a document with the codes, which looks like:
Code: Select all
Function Format Address Data Address Data
Hex Hex Dec Dec
Aux 1 NEC 877C 9B 34684 155
Aux 2 NEC 877C C0 34684 192
Bluetooth NEC 877C C2 34684 194
Coax 1 NEC 877C 85 34684 133
Computer NEC 877C 91 34684 145
Mute NEC 877C 94 34684 148
Optical 1 NEC 877C 89 34684 137
Optical 2 NEC 877C 8D 34684 141
Power Off NEC 877C C8 34684 200
Power On NEC 877C 25 34684 37
Source Down NEC 877C 1D 34684 29
Source Up NEC 877C 1A 34684 26
Volume Down NEC 877C 8C 34684 140
Volume Up NEC 877C 88 34684 136The second one is an unbranded DVD remote I found around left by the previous occupants of the apartment. I used it to "teach" a Raspberry Pi, and generate a lirc config file that looks like this:
begin remote
Code: Select all
name lircd.conf
flags RAW_CODES|CONST_LENGTH
eps 30
aeps 100
gap 107928
begin raw_codes
name 1
9038 4450 604 528 603 532
577 554 578 529 600 1666
605 528 581 526 583 550
581 1659 580 553 578 1662
577 1663 598 535 574 1666
606 1660 601 1639 579 554
576 530 601 1666 605 1635
584 1656 605 528 581 1659
602 530 579 1661 600 1667
604 502 607 526 584 550
580 1659 602 531 578 1663
608
...I'd appreciate any help and advice.