Fedora Linux Support Community & Resources Center
Old 5th May 2009, 02:44 AM
KKJensen Offline
Registered User
Join Date: Sep 2006
Posts: 242
Unhappy lirc transmit

Hi everyone,

I've got fedora 10 and mythtv setup (via mythdora) and my remote control works great at running the software.

I have purchased a serial ir-blaster to control the cable decoder box but don't know how to setup 'another instance of lirc' as it is put in the many old howtos on the web.

[root@mythbox dev]# ls -l /dev/lirc*
lrwxrwxrwx 1 root root     5 2009-05-02 21:44 /dev/lirc -> lirc0
crw-rw---- 1 root root 61, 0 2009-05-02 21:44 /dev/lirc0
srw-rw-rw- 1 root root     0 2009-05-04 19:57 /dev/lircd
srw-rw-rw- 1 root root     0 2009-05-02 21:44 /dev/lircd1
[root@mythbox dev]# ps aux|grep lircd
root       316  0.0  0.0   4212   688 pts/0    S+   21:29   0:00 grep lircd
root      2234  0.0  0.0   3680   540 ?        Ss   May02   0:04 /usr/sbin/lircd --driver=default -d /dev/lirc1 --output=/dev/lircd1 --pidfile=/var/run/lircd1.pid
root     31328  0.0  0.0   3680   544 ?        Ss   19:57   0:00 /usr/sbin/lircd --device=/dev/lirc0
[root@mythbox dev]# cat /etc/lircd.conf

# this config file was automatically generated
# using lirc-0.7.0(any) on Sun Nov 28 20:25:09 2004
# contributed by 
# brand:   Hauppauge 350
# Created: G.J. Werler (The Netherlands)
# Project: Mythtv Fedora Pundit-R www.mythtvportal.com
# Date:    2004/11/28
# model no. of remote control: Hauppauge A415-HPG
# devices being controlled by this remote: PVR-350

begin remote

  name  Hauppauge_350
  bits           13
  eps            30
  aeps          100

  one           969   811
  zero          969   811
  plead        1097
  gap          114605
  toggle_bit      2

      begin codes
          Go                       0x00000000000017BB
          Power                    0x00000000000017BD
          TV                       0x000000000000179C
          Videos                   0x0000000000001798
          Music                    0x0000000000001799
          Pictures                 0x000000000000179A
          Guide                    0x000000000000179B
          Radio                    0x000000000000178C
          Up                       0x0000000000001794
          Left                     0x0000000000001796
          Right                    0x0000000000001797
          Down                     0x0000000000001795
          OK                       0x00000000000017A5
          Back/Exit                0x000000000000179F
          Menu/i                   0x000000000000178D
          Vol+                     0x0000000000001790
          Vol-                     0x0000000000001791
          Prev.Ch                  0x0000000000001792
          Mute                     0x000000000000178F
          Ch+                      0x00000000000017A0
          Ch-                      0x00000000000017A1
          Record                   0x00000000000017B7
          Stop                     0x00000000000017B6
          Rewind                   0x00000000000017B2
          Play                     0x00000000000017B5
          Forward                  0x00000000000017B4
          Replay/SkipBackward      0x00000000000017A4
          Pause                    0x00000000000017B0
          SkipForward              0x000000000000179E
          1                        0x0000000000001781
          2                        0x0000000000001782
          3                        0x0000000000001783
          4                        0x0000000000001784
          5                        0x0000000000001785
          6                        0x0000000000001786
          7                        0x0000000000001787
          8                        0x0000000000001788
          9                        0x0000000000001789
          Asterix                  0x000000000000178A
          0                        0x0000000000001780
          #                        0x000000000000178E
          Red                      0x000000000000178B
          Green                    0x00000000000017AE
          Yellow                   0x00000000000017B8
          Blue                     0x00000000000017A9
      end codes

end remote

# this config file was automatically generated
# using lirc-0.6.6(sir) on Wed Mar 24 22:28:59 2004
# Modified by Stephane Lavergne <stephane|iMars.com>:
#    Base frequency is 56kHz, irrecord was otherwise right on.
# contributed by 
# brand:                       Scientific Atlanta
# model no. of remote control: AT8400
# devices being controlled by this remote: Explorer 8000

begin remote

  name  SAE8000
  bits           22
  eps            30
  aeps          100

  header       3397  3372
  one           827  2557
  zero          827   855
  ptrail        827
  gap          101386
  toggle_bit      0

  frequency 56000

      begin codes
          power                    0x000000000037C107
          guide                    0x000000000036C127
          menu                     0x000000000036F920
          info                     0x000000000036213B
          select_up                0x000000000036812F
          select_down              0x000000000037A10B
          select                   0x0000000000366133
          select_left              0x000000000037810F
          select_right             0x0000000000364137
          select_page+             0x000000000036D924
          select_page-             0x000000000037D904
          exit                     0x0000000000366932
          settings                 0x0000000000373918
          A                        0x000000000037E902
          B                        0x000000000036193C
          C                        0x000000000037191C
          vol+                     0x000000000036093E
          vol-                     0x000000000037091E
          ch+                      0x0000000000377111
          ch-                      0x000000000036F121
          mute                     0x000000000036892E
          fav                      0x000000000037F101
          last                     0x000000000036E123
          rew8secs                 0x000000000037C906
          list                     0x000000000036C926
          live                     0x000000000036B129
          rew                      0x000000000037291A
          ff                       0x000000000036293A
          play                     0x000000000037990C
          stop                     0x0000000000365934
          pause                    0x0000000000374117
          rec                      0x0000000000375914
          1                        0x000000000036113D
          2                        0x000000000037111D
          3                        0x000000000036912D
          4                        0x000000000037910D
          5                        0x0000000000365135
          6                        0x0000000000375115
          7                        0x000000000036D125
          8                        0x000000000037D105
          9                        0x0000000000363139
          asterisk                 0x000000000037E103
          0                        0x0000000000373119
          pound                    0x000000000036B928
          pip_power                0x000000000037B908
          pip_swap                 0x0000000000367930
          pip_move                 0x0000000000377910
          pip_ch+                  0x000000000036E922
          pip_ch-                  0x000000000037F900
          video_source             0x0000000000376113
      end codes

end remote
There is a setup script in mythdora that is supposed to set something up but I do not know what it is supposed to do and where it is falling short.

[root@mythbox dev]# irsend --device=/dev/lirc SEND_ONCE SAE8000 power
irsend: could not connect to socket
irsend: Connection refused
[root@mythbox dev]# irsend --device=/dev/lircd SEND_ONCE SAE8000 power
irsend: command failed: SEND_ONCE SAE8000 power
irsend: hardware does not support sending
[root@mythbox dev]# irsend --device=/dev/lirc0 SEND_ONCE SAE8000 power
irsend: could not connect to socket
irsend: Connection refused
[root@mythbox dev]# irsend --device=/dev/lircd1 SEND_ONCE SAE8000 power
irsend: command failed: SEND_ONCE SAE8000 power
irsend: hardware does not support sending
I'm pretty sure that /dev/lircd is the reciever since I can see the inputs showing up when buttons on the remote are hit.
[root@mythbox dev]# irw /dev/lircd
00000000000017b0 00 Pause Hauppauge_350
00000000000017b0 01 Pause Hauppauge_350
Does this mean /dev/lirc (which is just a link to /dev/lirc1) is the transmitter? The irsend commands gave socket errors and I'm not sure what that means.

Any help or direction anyone can provide would be greatly appreciated.
Reply With Quote

lirc, transmit

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
eth0: transmit error azahra Servers & Networking 2 1st October 2004 01:21 AM
PCMCIA Wireless Modem Transmit Issues klopfest Servers & Networking 1 14th April 2004 03:31 AM

Current GMT-time: 10:25 (Thursday, 21-09-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat