Fwd: [mythtv-users] native lirc still not working in Myth - works on command line.

DanM dan at milkcarton.com
Fri Feb 6 00:30:26 EST 2004


Malcom, hmm, one last thing to try:  cd ~; ln -s ./mythtv/lircrc ./.lircrc

Thats the only other thing I can suggest.

-dan

malcolm-mythtv wrote:

>On Thursday 05 February 2004 10:33 pm, DanM wrote:
>  
>
>>Hmm, I didn't see your lircrc file attached.  Oh, one thing I just
>>thought of, run dos2unix on your lircrc.  lirc gave me the same exact
>>problem after I edited it with notepad.  ran dos2unix and then it worked
>>fine.  I would be willing to bet thats the problem.
>>
>>-dan
>>    
>>
>
>Sorry I tried sending the email once and it failed and the second time I 
>forgot to attach the file.  It should be on this one :)
>
>As for the file.  There are not CR in it.  I don't have any windows boxes at 
>home so no notepad involved.  Plus my error when starting mythfrontend is 
>"file not found" which makes me think something is looking for a file in the 
>wrong place?
>
>
>  
>
>>malcolm-mythtv wrote:
>>    
>>
>>>On Thursday 05 February 2004 08:10 pm, DanM wrote:
>>>      
>>>
>>>>malcome, make sure that 1) you don't have irxevent started as that will
>>>>lock lircd.  The other thing is make sure you have a version of the
>>>>.lircrc file in your ~/.mythtv/ directory and call that file lircrc (No
>>>>".")  In that file, change "prog = irxevent" to "prog = mythtv"  Give
>>>>that a shot and reply back if that doesn't work.
>>>>
>>>>-dan
>>>>        
>>>>
>>>Dan,
>>>
>>>Thanks for taking the time to help but everything you mentioned is already
>>>that way.  I'm running mythbackend and frontend as root so as root user:
>>>ls -l ~/.mythtv/lircrc
>>>-rwxrwxrwx    1 root     root         3291 Feb  4 19:51
>>>/root/.mythtv/lircrc
>>>
>>>Attached to this email is a copy of my ~/.mythtv/lircrc incase there's
>>>something wrong with it.  It already had "prog = mythtv" in it.  It's the
>>>sample file that comes with MythTV.
>>>
>>>ps -ef|grep irx (comes back with nothing.  irxevent is not running.)
>>>
>>>Where should I look from here?
>>>
>>>Thanks
>>>Malcolm
>>>
>>>      
>>>
>>>>On Thu, 5
>>>>
>>>>Feb 2004, malcolm-mythtv wrote:
>>>>        
>>>>
>>>>>v-users>
>>>>>List-Post: <mailto:mythtv-users at mythtv.org>
>>>>>List-Help: <mailto:mythtv-users-request at mythtv.org?subject=help>
>>>>>List-Subscribe:
>>>>><http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users>,
>>>>><mailto:mythtv-users-request at mythtv.org?subject=subscribe>
>>>>>Content-Type: multipart/mixed;
>>>>> boundary="===============1271925058=="
>>>>>Mime-version: 1.0
>>>>>Sender: mythtv-users-bounces at mythtv.org
>>>>>Errors-To: mythtv-users-bounces at mythtv.org
>>>>>Status: R
>>>>>X-Status: N
>>>>>X-KMail-EncryptionState:
>>>>>X-KMail-SignatureState:
>>>>>
>>>>>
>>>>>--===============1271925058==
>>>>>Content-Type: text/plain;
>>>>> charset="us-ascii"
>>>>>Content-Transfer-Encoding: 7bit
>>>>>Content-Disposition: inline
>>>>>
>>>>>I'm trying to get my Hauppauge grey remote to work with my 350.
>>>>>Over here:
>>>>>
>>>>>http://www.mythtv.org/docs/mythtv-HOWTO-22.html#ss22.2
>>>>>
>>>>>It says settings.pro should look like this:
>>>>>
>>>>># Native lirc support
>>>>>CONFIG += using_lirc
>>>>>EXTRA_LIBS += -llirc_client
>>>>>
>>>>>Yet inside of settings.pro it really looks like this:
>>>>>
>>>>># Native lirc support
>>>>>CONFIG += using_lirc
>>>>>EXTRA_LIBS = -llirc_client
>>>>>
>>>>>Notice the missing "+" in the last line.  Which way is it supposed to
>>>>>be? I've tried recompiling MythTV 0.14 both ways and still cannot get
>>>>>my remote to work in Myth.
>>>>>
>>>>>Here's what I get when I start the frontend:
>>>>>
>>>>>[root at mythtv lirc-0.7.0pre2]# mythfrontend
>>>>>2004-02-05 01:27:51 mythfrontend version: 0.14.20040123-1 www.mythtv.org
>>>>>2004-02-05 0
>>>>>          
>>>>>
>>>_______________________________________________
>>>mythtv-users mailing list
>>>mythtv-users at mythtv.org
>>>http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>>>      
>>>
>>_______________________________________________
>>mythtv-users mailing list
>>mythtv-users at mythtv.org
>>http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>>    
>>
>>------------------------------------------------------------------------
>>
>># lircrc.example.HauppaugeGrey-nativelirc
>># 2003-09-17, Robert Kulagowski
>># mailto:rkulagow at rocketmail.com
>># Save this file in ~/.mythtv/lircrc
>>
>>begin
>>    prog = mythtv
>>    button = Off
>>    config = Esc
>>end
>>
>>begin
>>    prog = mythtv
>>    button = Go
>># Swap the PiP windows
>>    config = N  
>>end
>>
>>begin
>>    prog = mythtv
>>    button = 1
>>    config = 1  
>>end
>>
>>begin
>>    prog = mythtv
>>    button = 2
>>    config = 2  
>>end
>>
>>begin
>>    prog = mythtv
>>    button = 3
>>    config = 3  
>>end
>>
>>begin
>>    prog = mythtv
>>    button = 4
>>    config = 4  
>>end
>>
>>begin
>>    prog = mythtv
>>    button = 5
>>    config = 5  
>>end
>>
>>begin
>>    prog = mythtv
>>    button = 6
>>    config = 6  
>>end
>>
>>begin
>>    prog = mythtv
>>    button = 7
>>    config = 7  
>>end
>>
>>begin
>>    prog = mythtv
>>    button = 8
>>    config = 8  
>>end
>>
>>begin
>>    prog = mythtv
>>    button = 9
>>    config = 9  
>>end
>>
>>begin
>>    prog = mythtv
>>    button = Back/Exit
>>    config = Esc
>>end
>>
>>begin
>>    prog = mythtv
>>    button = 0
>>    config = 0  
>>end
>>
>>begin
>>    prog = mythtv
>>    button = Menu
>>    config = M  
>>end
>>
>># Below are keys used with the Hauppauge Grey remote
>>
>>begin
>>   prog = mythtv
>># This is the Red key
>># We'll use it for "Delete"
>>   button = Red
>>   config = D  
>>end
>>
>>begin
>>   prog = mythtv
>># This is the Green key
>># We'll use it for "Information"
>>   button = Green
>>   config = I  
>>end
>>
>># Note the "repeat =" strings in the volume and channel.
>># This means that if you hold down the key, every nth instance will be
>># passed.  This depends on your system, so you may want to increase or
>># decrease this and see what happens.  repeat = 1 is probably too
>># fast.
>>
>>begin
>>  prog = mythtv
>># This is the Yellow key
>># Use it as a volume key
>>  button = Yellow
>>  repeat = 3
>>  config = F10  
>>end
>>
>>begin
>>  prog = mythtv
>># This is the Blue key
>># Use it as a volume key
>>  button = Blue
>>  repeat = 3
>>  config = F11  
>>end
>>
>>begin
>>    prog = mythtv
>>    button = Ch+
>># This is the "up" on the central diamond 
>>    repeat = 3
>>    config = Up
>>end
>>
>>begin
>>    prog = mythtv
>>    button = Ch-
>># This is the "down" on the central diamond 
>>    repeat = 3
>>    config = Down
>>end
>>
>>begin
>>    prog = mythtv
>>    button = Vol-
>># This is the "left" on the central diamond 
>>    repeat = 3
>>    config = Left
>>end
>>
>>begin
>>    prog = mythtv
>>    button = Vol+
>># This is the "right" on the central diamond 
>>    repeat = 3
>>    config = Right
>>end
>>
>>begin
>>    prog = mythtv
>># Middle button on the diamond
>>    button = Ok
>>    config = Return
>>end
>>
>>begin
>>    prog = mythtv
>>    button = Mute
>>    config = F9  
>>end
>>
>>begin
>>   prog = mythtv
>># Change focus for PiP (to change channel in the other window)
>>   button = Blank
>>   config = B  
>>end
>>
>>begin
>>   prog = mythtv
>># Toggle PiP on/off
>>   button = Full
>>   config = V  
>>end
>>
>>begin
>>    prog = mythtv
>>    button = Rew
>>    config = Left  
>>end
>>
>>begin
>>    prog = mythtv
>>    button = Play
>>    config = P  
>>end
>>
>>begin
>>    prog = mythtv
>>    button = FFW
>>    config = Right  
>>end
>>
>>begin
>>  prog = mythtv
>>  button = Record
>>  config = R  
>>end
>>
>>begin
>>   prog = mythtv
>># Teletext
>>   button = Stop
>>   config = T  
>>end
>>
>>begin
>>    prog = mythtv
>>    button = pause
>>    config = P  
>>end
>>
>>begin
>>   prog = mythtv
>>   button = Replay
>># Use for backwards commercial skip
>>    config = Q  
>>end
>>
>>begin
>>   prog = mythtv
>>   button = Skip
>># Use for forward commercial skip
>>    config = Z  
>>end
>>    
>>
>>------------------------------------------------------------------------
>>
>>_______________________________________________
>>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