Author |
Message |
ej4176
|
Posted: Tue Apr 10, 2007 9:29 pm |
|
Joined: Sat Apr 07, 2007 8:20 am
Posts: 49
Location:
Mansfield, OH
|
ok - I have mythtv working fine except for the remote. I've been all over different forums/wikis/how-to's to get this working on my ubuntu 7.04/pvr350 mythtv box. Here is some info in case anyone thinks they can point me in the right direction:
#sudo /sbin/modprobe lirc_i2c
and I get this:
ejohnson@mbe1:/etc$ sudo /sbin/modprobe lirc_i2c
FATAL: Module lirc_i2c not found.
FATAL: Error running install command for lirc_i2c
The card works fine so I know the ivtv drivers are installed and working.
I have the lircd.conf file in place for the remote that I have.
Here is the output of sudo ls-l /dev/lirc*
ejohnson@mbe1:/etc$ sudo ls -l /dev/lirc*
crw-rw---- 1 root root 61, 0 2007-04-10 22:29 /dev/lirc
srw-rw-rw- 1 root root 0 2007-04-10 22:53 /dev/lircd
prw-rw-rw- 1 root root 0 2007-04-10 22:29 /dev/lircm
Here is more:
ejohnson@mbe1:/etc$ cat /proc/bus/input/devices
I: Bus=0017 Vendor=0001 Product=0001 Version=0100
N: Name="Macintosh mouse button emulation"
P: Phys=
S: Sysfs=/class/input/input0
H: Handlers=mouse0 ts0 event0
B: EV=7
B: KEY=70000 0 0 0 0 0 0 0 0
B: REL=3
I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
S: Sysfs=/class/input/input1
H: Handlers=kbd event1
B: EV=120013
B: KEY=1007 2002000 4380207a f840d001 feffffdf ffefffff ffffffff ffffffff
B: MSC=10
B: LED=7
I: Bus=0010 Vendor=001f Product=0001 Version=0100
N: Name="PC Speaker"
P: Phys=isa0061/input0
S: Sysfs=/class/input/input2
H: Handlers=kbd event2
B: EV=40001
B: SND=6
I: Bus=0019 Vendor=0000 Product=0002 Version=0000
N: Name="Power Button (FF)"
P: Phys=ACPI_FPB/button/input0
S: Sysfs=/class/input/input3
H: Handlers=kbd event3
B: EV=3
B: KEY=100000 0 0 0
I: Bus=0019 Vendor=0000 Product=0001 Version=0000
N: Name="Power Button (CM)"
P: Phys=PNP0C0C/button/input0
S: Sysfs=/class/input/input4
H: Handlers=kbd event4
B: EV=3
B: KEY=100000 0 0 0
I: Bus=0003 Vendor=046d Product=c001 Version=0100
N: Name="Logitech USB-PS/2 Mouse"
P: Phys=usb-0000:00:1d.0-1/input0
S: Sysfs=/class/input/input5
H: Handlers=mouse1 ts1 event5
B: EV=7
B: KEY=70000 0 0 0 0 0 0 0 0
B: REL=103
Doesn't show the IR anywhere! I feel like the angry german kid on the mythnoob.wmv
Any help or kick in the right direction would be greatly appreciated!
Thanks!
|
|
Top |
|
|
bruce_s01
|
Posted: Wed Apr 11, 2007 8:30 am |
|
Joined: Tue Aug 08, 2006 7:08 pm
Posts: 561
Location:
UK
|
I'm pretty sure that the PVR350 doesn't use the /dev/input/inputX devices.
Have you installed the lirc package like here (yes I know it's for Edgy, but should still apply).
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 |
|
|
ej4176
|
Posted: Wed Apr 11, 2007 8:48 am |
|
Joined: Sat Apr 07, 2007 8:20 am
Posts: 49
Location:
Mansfield, OH
|
I did see that one last night but I'm not sure if I tried it or not. I will try it and see how it goes.
Thanks for the help
|
|
Top |
|
|
ej4176
|
Posted: Wed Apr 11, 2007 7:10 pm |
|
Joined: Sat Apr 07, 2007 8:20 am
Posts: 49
Location:
Mansfield, OH
|
will this work for the pvr350? I see the pvr150 module listed and I went thru the tutorial ok. It's better than it was but not much:
irw says:
connect: Connection refused
dmesg gives:
[16874.871565] lirc_dev: IR Remote Control driver registered, at major 61
[16874.893019] lirc_pvr150: no version for "lirc_unregister_plugin" found: kernel tainted.
[16874.943755] lirc_pvr150: ivtv i2c driver #0: no devices found
|
|
Top |
|
|
ej4176
|
Posted: Sun Apr 15, 2007 5:02 pm |
|
Joined: Sat Apr 07, 2007 8:20 am
Posts: 49
Location:
Mansfield, OH
|
http://www.mythtv.org/wiki/index.php/LI ... u_Edgy_Eft
and now its working. I still have to map a couple of the remote keys like the guide and menu but Im not complaining. It could have something to do with an update to myth packages this morning as well.
Now for the serial control of the d11-300. Im thinking I have a bad usb -> serial adapter. I ordered one that is said to be supported and will update my post for that accordingly.
Thanks to whoever wrote the above wiki and Bruce for lending a hand!
|
|
Top |
|
|
ej4176
|
Posted: Mon Apr 16, 2007 12:41 pm |
|
Joined: Sat Apr 07, 2007 8:20 am
Posts: 49
Location:
Mansfield, OH
|
Seems I jumped the gun a little bit. A reboot and now lirc is NOT working again. I'll go thru the tutorial linked above again tonight and see if that fixes it.
EDIT:
Going through the tutorial didn't help but I think I did find the problem. Lircd is on /dev/lirc/0 instead of /dev/lirc0. Once I switched that in my hardware.conf and restarted lirc it works!
If I run irw all of the buttons all work (outputs menu when I press the menu button) but a couple of them (guide and menu) do not work in myth - what is the issue? I press menu or guide when in mythfrontend and nothing happens. When I'm at a command prompt with irw and press menu or guide the correct codes come up.
Any idea where to look? Would it be the lircd.conf file somewhere?
|
|
Top |
|
|
techman83
|
Posted: Thu Apr 26, 2007 12:41 am |
|
Joined: Tue Aug 22, 2006 9:11 am
Posts: 127
Location:
Perth
|
You need to map the functions in the lircrc file (/home/mythtv/.mythtv/lircrc) and set the appropriate keys in the mythfrontend etc.
There should be sample lircrc files around for the PVR-350 remote already, here's a link to one I modified for my DVICO remote, might give you an idea what you need to look for.
http://mysettopbox.tv/phpBB2/viewtopic. ... highlight=
_________________ DRM 'manages access' in the same way that jail 'manages freedom.'
_________________
Intel P4 2.6
Intel Desktop Board
2GB DDR400
nVidia 6600GT
Dvico HDTV+
Dvico Dual 4
200GB WD for Swap /boot & /
2x 500GB WD with LVM & XFS for /myth/tv
|
|
Top |
|
|
ej4176
|
Posted: Mon Apr 30, 2007 5:28 am |
|
Joined: Sat Apr 07, 2007 8:20 am
Posts: 49
Location:
Mansfield, OH
|
I thought I already had the licrc file for my remote. Maybe its just hte keymapping. I'll give that a shot.
Thanks!
|
|
Top |
|
|