View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 51 posts ] 
Go to page Previous  1, 2, 3, 4  Next

Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject:
PostPosted: Fri May 25, 2007 5:18 pm 
Offline
Joined: Sat Jul 09, 2005 2:04 pm
Posts: 32
it's the same, here's a paste from /etc/lirc/lirc.conf:

Quote:
0 0x0000000000001780
star 0x0000000000001F8A
hash 0x000000000000178E
red 0x0000000000001F8B
green 0x00000000000017AE
yellow 0x0000000000001FB8
blue 0x00000000000017A9


and now when I try to run an irw, I get:

Quote:
connect: No such file or directory


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 26, 2007 4:13 pm 
Offline
Joined: Sat Jul 09, 2005 2:04 pm
Posts: 32
Also interesting: I removed all of the text from my /home/mythtv/.lircrc (it's now a blank file) and still the number pad works. Is there another file that holds the configuration?


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 26, 2007 5:01 pm 
Offline
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location: Farmington, MI USA
arzdb wrote:
Also interesting: I removed all of the text from my /home/mythtv/.lircrc (it's now a blank file) and still the number pad works. Is there another file that holds the configuration?
Still works after restarting lirc? The /home/mythtv/.lircrc file is a symlink to /home/mythtv/.mythtv/lircrc on my R5D1 boxen, is that the case on your system?

When configuring lirc, I have only played with the following files:
    /etc/lirc/lircd.conf
    /etc/lirc/hardware.conf
    /home/mythtv/.mythtv/lircrc

Judging by your posts I am guessing you have the Hauppauge silver remote (has a tag in the battery compartment with A415-HPG in it)? I have placed my lirc files here if you would like to try them out/take a look at them www.tbf-investments.com/Hauppauge_silver.tar
If this is not the remote you have, then we need to know exactly which remote it is you are playing with...


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 26, 2007 7:09 pm 
Offline
Joined: Sat Jul 09, 2005 2:04 pm
Posts: 32
I copied the files from your tar into my files and the same thing is happening. I restart lirc with "/etc/init.d/lirc restart." You're also correct on my silver remote. This is a fresh R5F1 install.

/var/log/messages
Quote:
May 26 21:08:16 mythtv kernel: i2c IR (Hauppauge): unknown key: key=0x25 raw=0x$
May 26 21:08:18 mythtv kernel: i2c IR (Hauppauge): unknown key: key=0x3b raw=0x$
May 26 21:08:18 mythtv kernel: i2c IR (Hauppauge): unknown key: key=0x3b raw=0x$


Is there any other log file that might help to shed some light on the situation? The odd thing was that my lircrc conf file was empty yet the num pad was still working for mythtv.


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 26, 2007 7:48 pm 
Offline
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location: Farmington, MI USA
The only thing that comes to mind is that the lirc in R5F1 somehow doesn't use the same button definitions/codes. Try
Code:
irrecord /tmp/test.conf
and compare the values in /tmp/test.conf with your /etc/lirc/lircd.conf. If they differ, then we're getting somewhere. If not, I'm not sure where to go from here.

Did you look through tjc's tips post http://mysettopbox.tv/phpBB2/viewtopic.php?t=15195 , particularly section 2.3?


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 26, 2007 7:58 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
To the best of my information the locations of the lirc configuration files in R5F1 is the same as it was in R5E50 and earlier...


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 26, 2007 7:58 pm 
Offline
Joined: Sat Jul 09, 2005 2:04 pm
Posts: 32
This is a fresh install, so I don't think tjc's tips apply to me. Am I wrong?

I tried and I got an error:

Quote:
root@mythtv:~# irrecord /tmp/test.conf

irrecord - application for recording IR-codes for usage with lirc

Copyright (C) 1998,1999 Christoph Bartelmus(lirc@bartelmus.de)

irrecord: could not init hardware (lircd running ? --> close it, check permissions)


I check to see if lircd is running:

Quote:
root@mythtv:~# ps -e | grep lirc
5478 ? 00:00:00 lirc_dev


When I try to kill lirc_dev, it won't stop.


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 26, 2007 8:04 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
arzdb wrote:
This is a fresh install, so I don't think tjc's tips apply to me. Am I wrong?

Yes. As the hints & hazards post says:
Quote:
R5F1 hints and hazards - Please read before installing!
:
These posts were originally an upgrade guide, and that is still the main focus, but most of the setup hints and the information under "Known Issues" and "Known Changes" still apply for a fresh install.

Over the last couple editions the hints have been getting more and more general. The new title was even intended to emphasize this.


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 26, 2007 8:09 pm 
Offline
Joined: Sat Jul 09, 2005 2:04 pm
Posts: 32
Thanks for the heads up, I read over stuff too fast sometimes.

I've already run the lirc reconfig a few times and it hasn't changed anything. I've tried it, rebooted, no luck. Editing the conf files, reboot, no luck. As for 2.3.2 and 2.3.3, I can't really do that as I don't have a backup.


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 26, 2007 8:51 pm 
Offline
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location: Farmington, MI USA
arzdb wrote:
I check to see if lircd is running:

Quote:
root@mythtv:~# ps -e | grep lirc
5478 ? 00:00:00 lirc_dev


When I try to kill lirc_dev, it won't stop.
Maybe I'm being daft here, but you should be killing off lircd. No idea where lirc_dev is coming from, maybe due to udev?

Code:
ps -ef | grep lirc
on my systems show something like
Quote:
root 2675 1 0 May19 ? 00:00:06 /usr/sbin/lircd

It would appear that lircd is not even running on your system, and that you have a possible issue with your /dev/lircX devices. Take a look at bkamen's solution in http://mysettopbox.tv/phpBB2/viewtopic.php?t=13532 , I'm guessing your hardware.conf file doesn't match up with your actual device.

What is the output if you start lircd manually?


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 27, 2007 5:19 am 
Offline
Joined: Wed Apr 12, 2006 3:05 pm
Posts: 252
Location: GA, USA
Just to add another solution after trying every one listed in this post:

Be sure your cable didn't accidentally get unplugged. I re-seated mine and the remote started working again!


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 27, 2007 11:28 am 
Offline
Joined: Sat Jul 09, 2005 2:04 pm
Posts: 32
I should have said that I had already killed lircd.

When I run lircd manually:
Quote:
root@mythtv:/home/dwasserman# ps -ef | grep lircd
root 5308 1 0 13:29 ? 00:00:00 /usr/sbin/lircd --driver=default --device=/dev/lirc0
root 5310 5155 0 13:29 ttyp1 00:00:00 grep lircd


I just did a total re-install, default settings everywhere and I get the same problem. I did a lirc-reconfig.sh and still no luck. What is just puzzling to me is the fact that lircd can be killed and yet I can still use the number pad on the remote.

DoomedTX: Trust me that was step #1 but good thinking!


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 27, 2007 2:15 pm 
Offline
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location: Farmington, MI USA
OK, what do you get from the following:
Code:
ls -la /home/mythtv/.lircrc
ls -l /home/mythtv/.mythtv
more /etc/lirc/hardware.conf
ls -l /dev/lir*
lsmod | grep lirc


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 27, 2007 3:10 pm 
Offline
Joined: Sat Jul 09, 2005 2:04 pm
Posts: 32
Here's what I get:

Quote:
root@mythtv:~# ls -la /home/mythtv/.lircrc
lrwxrwxrwx 1 mythtv mythtv 14 May 27 12:44 /home/mythtv/.lircrc -> .mythtv/lircrc
root@mythtv:~# ls -l /home/mythtv/.mythtv
total 36
lrwxrwxrwx 1 root root 12 May 27 12:51 MythPhone -> //myth/phone
drwxr-xr-x 2 mythtv mythtv 4096 May 27 12:56 channels
-rw-r--r-- 1 mythtv mythtv 838 Apr 29 2006 joystickmenurc
-rw-r--r-- 1 mythtv mythtv 9181 May 27 12:58 lircrc
-rw-r--r-- 1 mythtv mythtv 962 Mar 14 00:41 mysql.txt
lrwxrwxrwx 1 root root 12 May 27 12:51 mythstream -> /myth/stream
drwxr-xr-x 2 mythtv mythtv 8192 May 27 16:36 osdcache
drwxr-xr-x 3 mythtv mythtv 4096 May 27 12:56 themecache
root@mythtv:~# more /etc/lirc/hardware.conf
# /etc/lirc/hardware.conf
#
# Arguments which will be used when launching lircd
LIRCD_ARGS=""

#Don't start lircmd even if there seems to be a good config file
START_LIRCMD=false

#Try to load appropriate kernel modules
LOAD_MODULES=true

# Run "lircd --driver=help" for a list of supported drivers.
DRIVER="default"
# If DEVICE is set to /dev/lirc and devfs is in use /dev/lirc/0 will be
# automatically used instead
DEVICE="/dev/lirc0"
MODULES="lirc_dev lirc_i2c"
root@mythtv:~# ls -l /dev/lir*
crw-rw---- 1 root video 61, 0 May 27 12:58 /dev/lirc0
srw-rw-rw- 1 root root 0 May 27 13:29 /dev/lircd
root@mythtv:~# lsmod | grep lirc
lirc_i2c 12420 0
lirc_dev 16628 1 lirc_i2c
i2c_core 20864 19 lirc_i2c,nvidia,i2c_ec,cx88_vp3054_i2c,cx88xx,saa7134_dvb,dvb_pll,saa7134,ir_kbd_i2c,tda1004x,dvb_bt8xx,bttv,ivtv,saa7115,msp3400,tuner,i2c_algo_bit,tveeprom,i2c_nforce2


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 27, 2007 3:23 pm 
Offline
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location: Farmington, MI USA
arzdb wrote:
Here's what I get:

Quote:
root@mythtv:~# ls -la /home/mythtv/.lircrc
lrwxrwxrwx 1 mythtv mythtv 14 May 27 12:44 /home/mythtv/.lircrc -> .mythtv/lircrc
Where were you when you ran this? Is this a link to /home/mythtv/.mythtv/lircrc?

The rest looks fine. What receiver are you using? If it's the one that comes with the PVR-x50, unplug and re-plug it in, making sure it's seated completely. I had some trouble getting the receiver that came with my PVR-150 to seat, giving me some intermittent trouble.

I am afraid I'm out of ideas at this point...


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 51 posts ] 
Go to page Previous  1, 2, 3, 4  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 20 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu