[Fwd: [mythtv-users] LIRC & Home Brew IR Xmiter not Working]

Babak Pasdar bpasdar at pasdar.com
Sat Dec 18 14:01:32 UTC 2004


Thank you all for your assistance and support.  IT FINALLY WORKS!

I believe Jim's new script did the trick however I was using the raw
info from the SA2000 remote. When in an act of desperation I compared
the SA2000 and SAE8000 info on the lirc remote site I noticed a huge
difference in the format.

The SA2000 which I used exclusively since it was the only one I could
find documentation on mentioning the support of the SA4200HD I have has
the following raw format:

-------------------------------------- SNIPET --------------
  name   SA2000
  flags CONST_LENGTH|RAW_CODES
  eps            30
  aeps          100

  ptrail          0
  repeat     0     0
  gap    100240

      begin raw_codes

          name MUTE
              972     802     971     802    1887     778
              971     798     971     798     972     798
              971     798     972     798     971    1677
              972     802    1887    1656     992

          name POWER
             3450    3229     894    2468     891    2468
              893     778     892    2468     891    2469
              917    2444     891    2468     892    2469
              891     779     892     778     918     752
              917     754     917     752     892    2471
              889     779     892     779     892     777
              892     779     892     777     868    2492
              892    2469     891    2470     890

          name GUIDE
             3397    3285     890    2470     840    2519
              916     755     891    2470     839    2520
              891     780     891    2474     860    2495
              892     778     917     754     890     780
              891     781     864     804     917    2443
              865     805     891     779     866    2495
              864     805     892     779     891    2469
              865    2495     891    2469     866
-------------------------------------- SNIPET --------------

 Where as the SAE8200 on the lirc site has the following format which
works:

-------------------------------------- SNIPET --------------
begin remote

  name  SAE8000
  bits           22
  flags SPACE_ENC|CONST_LENGTH
  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
-------------------------------------- SNIPET --------------



Also as a contribution here is some brief info on
setting up kdm for auto login:

After you have configured your mythtv user, edit the following file:

# vi /etc/kde/kdm/kdmrc

Make sure the following lines are at the bottom of the file:

# Enable automatic login on this display. USE WITH EXTREME CARE!
# Default is false

AutoLoginEnable=true

# The user to log in automatically. NEVER specify root! Default is ""

AutoLoginUser=mythtv

# The password for the user to log in automatically. This is NOT required
# unless the user is to be logged into a NIS or Kerberos domain. If you use
# it, you should "chmod 600 kdmrc" for obvious reasons. Default is ""

AutoLoginPass=mythtv


Thank you again for all of your support.

Sincerely,

Babak



-------- Original Message --------
Subject: [mythtv-users] LIRC & Home Brew IR Xmiter not Working
From: "Babak Pasdar" <bpasdar at pasdar.com>
Date: Sat, December 11, 2004 17:04
To: <mythtv-users at mythtv.org>
Cc:


Hello,

I have just brought online my installation of MythTV. For the most part all is
working however I cannot get LIRC to work as a second instance to change channels
on my Cable box via a homemade IR Blaster.

Some background:

I have a P4 w/ 1 Gig Ram
2x 80 Gig SATA w/ 3Ware Raid 1 (OS)
1x 250 Gig SATA for Myth Content
nVidia GForce 5700 w/ 256 Mb
Hauppauge PVR-250
Fedora Core 2 w/ most recent patches running 2.6.9-1.6 kernel.
My cable box is a Scientific Atlanta Explorer 4200

I have downloaded and successfully compiled a second instance of LIRC using JDS'
excellent howto and script located here:

http://losdos.dyndns.org:8080/public/mythtv-info/MythTV_DISH_IR_LED_TX_via_Modified_LIRC.html

My problem is that my IR Blaster does not change channels. My homemade IR Blaster
seems to work -- at least when I put a normal led and tell it to change channels
it blinks. Also with an IR LED (Several actually) and using the "Camera Trick"
using the display of a digital camera see that the LED is blinking.

I am using lirc-0.7.0pre8 and made sure I uncommented the two lines in the
myth-ledxmit.sh script. All compiles and makes seem OK. I am using the code from
SA2000 in my /etc/ledxmit.conf. Several have verified that the SA2000 is
compatible with the SA4200HD. Only thing I can see that may be casuing the problem
is the following error I get when I load the modules (ledxmit_dev &
ledxmit_serial) for the second instance of LIRC.

Badness in sleep_on_timeout at kernel/sched.c:3022
[<022a689e>] sleep_on_timeout+0x5d/0xd0
[<021171fc>] default_wake_function+0x0/0xc
[<0211ea6f>] __request_region+0x84/0x8d
[<42e708e7>] init_port+0x1f0/0x254 [ledxmit_serial]
[<42e710f7>] init_module+0x33/0x89 [ledxmit_serial]
[<0212e8e0>] sys_init_module+0x116/0x238
ledxmit_serial: auto-detected active high receiver
ledxmit_dev: ledxmit_register_plugin:sample_rate: 0

I found one article googling that discusses this, however after applying the patch
provided and recompiling the problem persists. Here is the link to the article:

http://lists.atrpms.net/pipermail/atrpms-users/2004-November/001294.html

Any assistance in this matter is appreciated.

Sincerely,

Babak Pasdar
bpasdar1 !at! yahoo.com

-- 


-- 



_______________________________________________
mythtv-users mailing list
mythtv-users at mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


-- 





More information about the mythtv-users mailing list