[mythtv-users] mythbuntu 9.10 lirc irblaster serial homebrew hardware.comf

Björn Lundin b.f.lundin at gmail.com
Thu May 20 20:14:38 UTC 2010


Hi list!
I've been trying to get a 'Homebrew' tranceiver to work with my
mythbackend but I don't succeed .

Been back and forth, but right now, I have compiled it myself.


This is a serial device, hooked up on /dev/ttyS0

SO, if I open 2 terminals, then I get this


#window 1
bnl at ibm:~/download/lirc-0.8.6$ sudo modprobe lirc_serial


#window 2
bnl at ibm:/etc/lirc$ sudo /usr/local/sbin/lircd  -n -o
/var/run/lirc/lircd -d /dev/lirc /etc/lirc/lircd.conf
lircd: lircd(default) ready, using /var/run/lirc/lircd


#window 1
bnl at ibm:~/download/lirc-0.8.6$ irsend -d /var/run/lirc/lircd SEND_ONCE
Dilog_DT_358 6
irsend: command failed: SEND_ONCE Dilog_DT_358 6
irsend: transmission failed


and
#window 2
bnl at ibm:/etc/lirc$ sudo /usr/local/sbin/lircd  -n -o
/var/run/lirc/lircd -d /dev/lirc /etc/lirc/lircd.conf
lircd: lircd(default) ready, using /var/run/lirc/lircd
lircd: accepted new client on /var/run/lirc/lircd
lircd: invalid send buffer
lircd: this remote configuration cannot be used to transmit
lircd: error processing command: SEND_ONCE Dilog_DT_358 6
lircd: transmission failed
lircd: removed client




bnl at ibm:~/download/lirc-0.8.6$ cat /etc/lirc/lircd.conf
- Visa citerad text -
begin remote
 name            Dilog_DT_358
 bits            32
 eps             30
 aeps            100
 one             0     0
 zero            0     0
 gap             147988

 begin codes
      OnOff           0x54A4699B
      Mute            0x4CA46A5B
      1               0x54A46167
      2               0x4CAC4197
      3               0x4CA661AB
      4               0x4CA46657
      5               0x5406666B
      6               0x4CAC469B
      7               0x4CACC4A7
      8               0x54AC101B
      9               0x54AC1067
      PageDown        0x4CA41A57
      0               0x54AC615B
      PageUp          0x4CAC966B
      Menu            0x54A41997
      EPG             0x4CAD2847
      Exit            0x54AC19AB
      ChannelUp       0x4CAC0057
      ChannelDown     0x54ACA06B
      VolumeDown      0x54AC01A7
      VolumeUp        0x5406019B
      OK/Store        0x4CACB5A7
      TV/Radio        0x54ACAC47
      FAV             0x03EF6676
      Group           0x54AD296B
      AllChan         0x4CACD1A7
      Return          0x54ACD467
      Function        0x4CAC50AB
      Selecttext      0x54A5855B
      TextTV          0x4CA40697
      PictureFormat   0x54ACD507
      MultiVideo      0x4CACD007
      Soundselection  0x54ACAD5B
      SleepTimer      0x4C86065B
      Pause           0x54A5199B
      Zoom            0x54AD066B
      Info            0x4CA41A9B

 end codes

end remote



I also did a sudo setserial /dev/ttyS0 uart none before.


Now, how should my hardware.conf look like?
I will not receive, only send (dedicated backend)

This, I tried, but did not work
REMOTE=""
LIRCD_ARGS=""
LOAD_MODULES=true
DRIVER=""
DEVICE=""
MODULES=""
LIRCD_CONF="/etc/lirc/lircd.conf"
LIRCMD_CONF=""


#Chosen IR Transmitter
TRANSMITTER="Homebrew"
TRANSMITTER_MODULES="lirc_serial"
TRANSMITTER_DRIVER=""
TRANSMITTER_DEVICE="/dev/lirc"
TRANSMITTER_SOCKET=""
TRANSMITTER_LIRCD_CONF=""
TRANSMITTER_LIRCD_ARGS=""


-- 
/Björn


More information about the mythtv-users mailing list