Hi there again - thanks for the tips Ralphy, but i'm not sure i fully
understood them ?!

Anyway, having messed around far too much with LIRC - trying to somehow
disable the receive function, whilst exploiting transmit (didn't work in
the end, i could either have only Rx with IR-tools, or only Tx with
LIRC) - and then i discovered ir-ctl !

So, ir-ctl is part of the ir-tools package and will allow me to
transmit, whilst receive continues to work as is!

ir-ctl -f gives me this:
Receive features /dev/lirc0:
- Device cannot receive
Send features /dev/lirc0:
- Device can send raw IR
- IR scancode encoder
- Set carrier
- Set duty cycle
So this makes sense i guess as receive is already busy via jivelite.

and indeed, the following will send a key code and make the IR LED
flash:   sudo ir-ctl -S rc6_0:0xA45B

However, this wont turn my NAD amp on !! - whereas the licrc equivalent:
irsend SEND_ONCE  NAD_SR6 KEY_POWER does indeed work.

Below is the first part of the LIRC config file i am using for my amp -
and i assumed if i could guess the correct protocol (which is the
function of the first part of the lirc.conf file right ?!) then all i
need to send would be the key code and possibly the pre_data 0xE13E
beforehand (which i think identifies the make and model). But i cant
find / guess whcih IR protocol the NAD is using and also i cant get any
to work with the 4 hex numbers 0xE13EA45B

So, the two questions I have are: Am i barking up the right tree or
completely not ? / and does anyone have a clue which IR protocol NAD use
??

Ta - Charlie

# this config file was automatically generated
# using lirc-0.8.3(default) on Wed Nov 26 13:31:18 2008
# contributed by Amigac
#
# brand: NAD
# model no. of remote control: SR6
# devices being controlled by this remote: Amplifiers/CD Players/DVD
Players/Tuners

begin remote

name  NAD_SR6
bits           16
flags SPACE_ENC|CONST_LENGTH
eps            30
aeps          100

header       9038  4332
one           675  1556
zero          675   454
ptrail        662
repeat       9064  2113
pre_data_bits   16
pre_data       0xE13E
gap          107932
toggle_bit_mask 0x0

begin codes
KEY_POWER          0xA45B                    #  Was: on
off                        0x13EC


------------------------------------------------------------------------
chazza's Profile: http://forums.slimdevices.com/member.php?userid=64267
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

_______________________________________________
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to