Author |
Message |
kehaar23
|
Posted: Sun Aug 05, 2007 8:32 am |
|
Joined: Sun Jul 22, 2007 5:11 pm
Posts: 12
|
I built my box for watching movies that I store on my computers. I do not have the PVR because currently I do not have a need for it. I decided that it would be really handy to have a remote so I could just not have to use the keyboard unless I was making configuration changes. Anyway, I can not seem to get this remote to work at all. I know that it works but I can't get it to do anything. I have tried like four different installation methods that I have found and nothing. I even completely redid my whole box from scratch and nothing. I can't even get it to do anything with irw. I don't know if I have the wrong driver or if I am just a f*ing idiot and am completely screwing it up. This is the remote that I have.
http://www.mythtv.org/wiki/images/d/d8/ ... -2-alt.jpg
|
|
Top |
|
|
mjl
|
Posted: Sun Aug 05, 2007 5:50 pm |
|
Joined: Sun Jun 12, 2005 10:55 pm
Posts: 3161
Location:
Warwick, RI
|
Hi,
I have not made that one work either, nor have I tried very hard. Has that ugly button in the middle. The doggie bone shaped one with the 4 color buttons across the bottom works fine with the SMK usb receiver using the 150 with doggie bone selection with or without a tuner card.
Mike
|
|
Top |
|
|
kehaar23
|
Posted: Mon Aug 06, 2007 8:20 am |
|
Joined: Sun Jul 22, 2007 5:11 pm
Posts: 12
|
I am new to linux and am a sucker for trying to solve a problem. Even if I never use it I am now determined to make it work at least one time before I throw it out the window.
|
|
Top |
|
|
bruce_s01
|
Posted: Mon Aug 06, 2007 5:27 pm |
|
Joined: Tue Aug 08, 2006 7:08 pm
Posts: 561
Location:
UK
|
Firstly can your PC "see" the receiver by doing lsusb at the command prompt.
Secondly, what is your /etc/lirc/hardware.conf that you are using?
Is lirc actually running? ( ps aux |grep lirc )
Has there been any lirc devices created ( ls -l /dev/lir* )
Is the /etc/lirc/lircd.conf correctly setup for your remote.
It would be worthwhile pasting the results from the above.
Bruce S.
_________________ Updated 2019/10/26: AthlonII X2 265 Gigabyte GA-970A-DS3P 16Gb PC 1866 DDR3, 500GB+2TB+4TB SATA HDD, SATA DVD-RW Asus DRW-24D5MT , NVIDIA GeForce GT1080 Hauppauage Nova-T 500, Nova-T LinHes R8.6.1
|
|
Top |
|
|
rocky007
|
Posted: Thu Aug 09, 2007 4:36 pm |
|
Joined: Sat Jul 23, 2005 4:15 pm
Posts: 28
Location:
Calgary, Canada
|
Hi. I am having the same problem with r5f1.
improtant to note that my pvr_150 blasters are working but the remote is not.
Please help!
When i run irw after executing lircd it kills lircd like so:
Code: root@mythtv:/# lircd root@mythtv:/# irw root@mythtv:/# irw connect: Connection refused root@mythtv:/# lircd root@mythtv:/# lircd lircd: there seems to already be a lircd process with pid 4356 lircd: otherwise delete stale lockfile /var/run/lircd.pid here is lsusb: Code: root@mythtv:/# lsusb Bus 003 Device 001: ID 0000:0000 Bus 001 Device 003: ID 0471:0815 Philips Bus 001 Device 001: ID 0000:0000 Bus 002 Device 001: ID 0000:0000
here is my /etc/lirc/hardware.conf: Code: # /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/usb/hiddev0" MODULES="lirc_dev lirc_mceusb2 lirc_pvr150"
here is ps aux |grep lirc Code: root@mythtv:/# ps aux |grep lirc root 3184 0.0 0.0 2832 624 ? Ss 16:26 0:00 lircd --device=/dev/lirc1 --output=/dev/lircd1 --pidfile=/var/run/lircd1.pid root 3186 0.0 0.0 2836 520 ? Ss 16:26 0:00 lircd --device=/dev/lirc2 --output=/dev/lircd2 --pidfile=/var/run/lircd2.pid root 3407 0.0 0.0 0 0 ? S 16:26 0:00 [lirc_pvr150] root 3415 0.0 0.0 0 0 ? S 16:26 0:00 [lirc_pvr150] root 4356 0.0 0.0 2836 520 ? Ss 16:34 0:00 lircd root 4399 0.0 0.0 1744 584 ttyp0 S+ 16:36 0:00 grep lirc
here is ls -l /dev/lir*: Code: crw-rw---- 1 root video 61, 0 Aug 9 16:25 /dev/lirc0 crw-rw---- 1 root video 61, 1 Aug 9 16:26 /dev/lirc1 crw-rw---- 1 root video 61, 2 Aug 9 16:26 /dev/lirc2 srw-rw-rw- 1 root root 0 Aug 9 16:34 /dev/lircd srw-rw-rw- 1 root root 0 Aug 9 16:26 /dev/lircd1 srw-rw-rw- 1 root root 0 Aug 9 16:26 /dev/lircd2
here is the remote portion of the /etc/lirc/lircd.conf: Code: begin remote
name mceusb bits 16 flags RC6|CONST_LENGTH eps 30 aeps 100
header 2667 889 one 444 444 zero 444 444 pre_data_bits 21 pre_data 0x37FF0 gap 105000 toggle_bit 22 rc6_mask 0x100000000
begin codes
Blue 0x00007ba1 Yellow 0x00007ba2 Green 0x00007ba3 Red 0x00007ba4 Teletext 0x00007ba5
# starts at af Radio 0x00007baf Print 0x00007bb1 Videos 0x00007bb5 Pictures 0x00007bb6 RecTV 0x00007bb7 Music 0x00007bb8 TV 0x00007bb9 # no ba - d8
Guide 0x00007bd9 LiveTV 0x00007bda DVD 0x00007bdb Back 0x00007bdc OK 0x00007bdd Right 0x00007bde Left 0x00007bdf Down 0x00007be0 Up 0x00007be1
Star 0x00007be2 Hash 0x00007be3
Replay 0x00007be4 Skip 0x00007be5 Stop 0x00007be6 Pause 0x00007be7 Record 0x00007be8 Play 0x00007be9 Rewind 0x00007bea Forward 0x00007beb ChanDown 0x00007bec ChanUp 0x00007bed VolDown 0x00007bee VolUp 0x00007bef More 0x00007bf0 Mute 0x00007bf1 Home 0x00007bf2 Power 0x00007bf3 Enter 0x00007bf4 Clear 0x00007bf5 Nine 0x00007bf6 Eight 0x00007bf7 Seven 0x00007bf8 Six 0x00007bf9 Five 0x00007bfa Four 0x00007bfb Three 0x00007bfc Two 0x00007bfd One 0x00007bfe Zero 0x00007bff end codes
end remote
|
|
Top |
|
|
kehaar23
|
Posted: Fri Aug 10, 2007 2:05 pm |
|
Joined: Sun Jul 22, 2007 5:11 pm
Posts: 12
|
|
Top |
|
|
kehaar23
|
Posted: Fri Aug 10, 2007 2:10 pm |
|
Joined: Sun Jul 22, 2007 5:11 pm
Posts: 12
|
Currently I am having this problem :
configure: error: C preprocessor "/lib/cpp" fails sanity check
See 'config.log' for more details
|
|
Top |
|
|
rocky007
|
Posted: Fri Aug 10, 2007 3:49 pm |
|
Joined: Sat Jul 23, 2005 4:15 pm
Posts: 28
Location:
Calgary, Canada
|
I get the same error while running configure.sh for lirc
|
|
Top |
|
|
kehaar23
|
Posted: Sat Aug 11, 2007 11:20 am |
|
Joined: Sun Jul 22, 2007 5:11 pm
Posts: 12
|
rocky007 if irw is killing lircd it means all of your modules are not working correctly. I just found this out. I am going to completely uninstall lirc and do a clean install and see if that works. I will let you know if it works.
|
|
Top |
|
|
bruce_s01
|
Posted: Sat Aug 11, 2007 1:12 pm |
|
Joined: Tue Aug 08, 2006 7:08 pm
Posts: 561
Location:
UK
|
Have you seen this thread (which I reached from here)?
Bruce S.
_________________ Updated 2019/10/26: AthlonII X2 265 Gigabyte GA-970A-DS3P 16Gb PC 1866 DDR3, 500GB+2TB+4TB SATA HDD, SATA DVD-RW Asus DRW-24D5MT , NVIDIA GeForce GT1080 Hauppauage Nova-T 500, Nova-T LinHes R8.6.1
|
|
Top |
|
|
kehaar23
|
Posted: Sat Aug 11, 2007 6:38 pm |
|
Joined: Sun Jul 22, 2007 5:11 pm
Posts: 12
|
Thanks I found two things that I had missed. The first one was with the configure: error: C preprocessor "/lib/cpp" fails sanity check
See 'config.log' for more details. To fix this all I had to was "apt-get upgrade" after that finished I did not have that problem anymore.
The second one I edited the /etc/lirc/hardware.conf file from
Code:
DEVICE="/dev/usb/hiddev0"
MODULES="lirc_dev lirc_mceusb2"
to: Code:
DEVICE="/dev/lirc0"
MODULES="lirc_dev lirc_mceusb2"
The trick that kept screwing me up though was no symlink between these two files. After I did this everything worked fine. "ln -s /dev/lirc0 /dev/lirc"
The only problem is when you reboot you lose that symlink. With a little searching I found this to fix that problem.
A nasty hack, but I just want it to work, added the following to /etc/init.d/lirc
case "$1" in
start)
if [ "$LOAD_MODULES" = "true" ] && [ "$START_LIRCD" = "true" ]; then
load_modules $MODULES
fi
if [ ! -e /dev/lirc ]; then
echo "Creating link /dev/lirc0 -> /dev/lirc"
ln -s /dev/lirc0 /dev/lirc
fi
echo -n "Starting lirc daemon:"
That was thanks to mlbuser. Hope this helps someone anyway!
|
|
Top |
|
|
evilmex
|
Posted: Tue Aug 21, 2007 2:51 pm |
|
Joined: Sat Jun 18, 2005 9:53 am
Posts: 7
|
kehaar23 wrote: Thanks I found two things that I had missed. The first one was with the configure: error: C preprocessor "/lib/cpp" fails sanity check See 'config.log' for more details. To fix this all I had to was "apt-get upgrade" after that finished I did not have that problem anymore.
Is there anyway of fixing this error without using the apt-get upgrade?
|
|
Top |
|
|
kehaar23
|
Posted: Fri Aug 24, 2007 10:14 pm |
|
Joined: Sun Jul 22, 2007 5:11 pm
Posts: 12
|
That was the only way that I found that would make it work but I am sure there are way more experienced users that could figure it out. I am still a novice with Linux so I am still stumbling my way through all of this.
|
|
Top |
|
|