Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

LIRC installation PVR-350

 

 

MythTV users RSS feed   Index | Next | Previous | View Threaded


barbex at gmail

Sep 23, 2010, 4:37 AM

Post #1 of 5 (1377 views)
Permalink
LIRC installation PVR-350

Hello everyone!

I've been pulling my hair out getting the remote control to work and I
fail. The remote is from the Hauppauge PVR-350 and has worked with
that very same card before in my old system but I set up a new one
with slightly more potent hardware.

So far all I'm trying to achieve is to see some things when I start
irw and press buttons on the remote but there is nothing.
And yes, I double checked if the cable is connected correctly.

I just list what I checked and then I desperately need some pointers
what I should do next.

1. hardware loaded at boot:
dmesg | grep lirc
[ 18.923335] lirc_dev: IR Remote Control driver registered, major 61
[ 19.449060] lirc_i2c: chip 0x0 found @ 0x18 (Leadtek IR)
[ 19.449063] lirc_dev: lirc_register_driver: sample_rate: 10

Yes.

2. module loaded:
lsmod | grep lirc
lirc_i2c 5845 1
lirc_dev 8884 3 lirc_i2c

Yes.

3. device created:
ls /dev |grep lirc
lirc0
lircd

Yes.

4. deamon running:
ps -ef | grep lirc
root 1141 2 0 11:00 ? 00:00:00 [lirc_dev]
root 1167 1 0 11:00 ? 00:00:00 /usr/sbin/lircd
--output=/var/run/lirc/lircd --device=/dev/lirc0
master 2048 1827 0 12:16 pts/0 00:00:00 grep --color=auto lirc

Yes (I think?).

5. Configurationfiles:
locate .lircrc
/home/master/.lircrc

locate hardware.conf
/etc/lirc/hardware.conf

locate lircd.conf
/etc/lirc/lircd.conf

All there.

6. Somewhere I read about events being created but I'm unsure what
that means here:
ls -lah /dev/input/by-path/
total 0
drwxr-xr-x 2 root root 120 2010-09-23 11:00 .
drwxr-xr-x 4 root root 280 2010-09-23 11:00 ..
lrwxrwxrwx 1 root root 9 2010-09-23 11:00
pci-0000:00:02.1-usb-0:2:1.0-event-kbd -> ../event3
lrwxrwxrwx 1 root root 9 2010-09-23 11:00
pci-0000:00:02.1-usb-0:2:1.1-event -> ../event4
lrwxrwxrwx 1 root root 9 2010-09-23 11:00
platform-i8042-serio-1-event-mouse -> ../event5
lrwxrwxrwx 1 root root 9 2010-09-23 11:00
platform-i8042-serio-1-mouse -> ../mouse1

I guess not good? I don't see an event for lirc but then again I don't
know if there should be. Can I create one?


7. lircd.conf
#Configuration for the Hauppauge TV card remote:
include "/usr/share/lirc/extras/more_remotes/hauppauge/lircd.conf.hauppauge"

That used to have the codes directly, now it links to a file with the
same codes, I compared them.


8. hardware.conf
# /etc/lirc/hardware.conf
#
#Chosen Remote Control
REMOTE="Hauppauge TV card"
REMOTE_MODULES="lirc_dev lirc_i2c"
REMOTE_DRIVER=""
REMOTE_DEVICE="/dev/lirc0"
REMOTE_SOCKET=""
REMOTE_LIRCD_CONF="hauppauge/lircd.conf.hauppauge"
REMOTE_LIRCD_ARGS=""

#Chosen IR Transmitter
TRANSMITTER="None"
TRANSMITTER_MODULES=""
TRANSMITTER_DRIVER=""
TRANSMITTER_DEVICE=""
TRANSMITTER_SOCKET=""
TRANSMITTER_LIRCD_CONF=""
TRANSMITTER_LIRCD_ARGS=""

#Enable lircd
START_LIRCD="true"

#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"

# Default configuration files for your hardware if any
LIRCMD_CONF=""

#Forcing noninteractive reconfiguration
FORCE_NONINTERACTIVE_RECONFIGURATION="false"
START_LIRCMD=""

Anything wrong here?



So, I don't know, I'm lost here. Did I miss something? I'll be
grateful for all pointers and ideas.
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


barbex at gmail

Sep 23, 2010, 6:58 AM

Post #2 of 5 (1365 views)
Permalink
LIRC installation PVR-350 [In reply to]

Hello everyone!

I've been pulling my hair out getting the remote control to work and I
fail. The remote is from the Hauppauge PVR-350 and has worked with
that very same card before in my old system but I set up a new one
with slightly more potent hardware.

So far all I'm trying to achieve is to see some things when I start
irw and press buttons on the remote but there is nothing.
And yes, I double checked if the cable is connected correctly.

I just list what I checked and then I desperately need some pointers
what I should do next.

1. hardware loaded at boot:
dmesg | grep lirc
[ 18.923335] lirc_dev: IR Remote Control driver registered, major 61
[ 19.449060] lirc_i2c: chip 0x0 found @ 0x18 (Leadtek IR)
[ 19.449063] lirc_dev: lirc_register_driver: sample_rate: 10

Yes.

2. module loaded:
lsmod | grep lirc
lirc_i2c 5845 1
lirc_dev 8884 3 lirc_i2c

Yes.

3. device created:
ls /dev |grep lirc
lirc0
lircd

Yes.

4. deamon running:
ps -ef | grep lirc
root 1141 2 0 11:00 ? 00:00:00 [lirc_dev]
root 1167 1 0 11:00 ? 00:00:00 /usr/sbin/lircd
--output=/var/run/lirc/lircd --device=/dev/lirc0
master 2048 1827 0 12:16 pts/0 00:00:00 grep --color=auto lirc

Yes (I think?).

5. Configurationfiles:
locate .lircrc
/home/master/.lircrc

locate hardware.conf
/etc/lirc/hardware.conf

locate lircd.conf
/etc/lirc/lircd.conf

All there.

6. Somewhere I read about events being created but I'm unsure what
that means here:
ls -lah /dev/input/by-path/
total 0
drwxr-xr-x 2 root root 120 2010-09-23 11:00 .
drwxr-xr-x 4 root root 280 2010-09-23 11:00 ..
lrwxrwxrwx 1 root root 9 2010-09-23 11:00
pci-0000:00:02.1-usb-0:2:1.0-event-kbd -> ../event3
lrwxrwxrwx 1 root root 9 2010-09-23 11:00
pci-0000:00:02.1-usb-0:2:1.1-event -> ../event4
lrwxrwxrwx 1 root root 9 2010-09-23 11:00
platform-i8042-serio-1-event-mouse -> ../event5
lrwxrwxrwx 1 root root 9 2010-09-23 11:00
platform-i8042-serio-1-mouse -> ../mouse1

I guess not good? I don't see an event for lirc but then again I don't
know if there should be. Can I create one?


7. lircd.conf
#Configuration for the Hauppauge TV card remote:
include "/usr/share/lirc/extras/more_remotes/hauppauge/lircd.conf.hauppauge"

That used to have the codes directly, now it links to a file with the
same codes, I compared them.


8. hardware.conf
# /etc/lirc/hardware.conf
#
#Chosen Remote Control
REMOTE="Hauppauge TV card"
REMOTE_MODULES="lirc_dev lirc_i2c"
REMOTE_DRIVER=""
REMOTE_DEVICE="/dev/lirc0"
REMOTE_SOCKET=""
REMOTE_LIRCD_CONF="hauppauge/lircd.conf.hauppauge"
REMOTE_LIRCD_ARGS=""

#Chosen IR Transmitter
TRANSMITTER="None"
TRANSMITTER_MODULES=""
TRANSMITTER_DRIVER=""
TRANSMITTER_DEVICE=""
TRANSMITTER_SOCKET=""
TRANSMITTER_LIRCD_CONF=""
TRANSMITTER_LIRCD_ARGS=""

#Enable lircd
START_LIRCD="true"

#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"

# Default configuration files for your hardware if any
LIRCMD_CONF=""

#Forcing noninteractive reconfiguration
FORCE_NONINTERACTIVE_RECONFIGURATION="false"
START_LIRCMD=""

Anything wrong here?



So, I don't know, I'm lost here. Did I miss something? I'll be
grateful for all pointers and ideas.


P.S. I'm very sorry if this turns up as double posting, I have had
some problems here.
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


jarod at wilsonet

Sep 23, 2010, 6:14 PM

Post #3 of 5 (1341 views)
Permalink
Re: LIRC installation PVR-350 [In reply to]

On Thu, Sep 23, 2010 at 7:37 AM, barbex <barbex [at] gmail> wrote:
> Hello everyone!
>
> I've been pulling my hair out getting the remote control to work and I
> fail. The remote is from the Hauppauge PVR-350 and has worked with
> that very same card before in my old system but I set up a new one
> with slightly more potent hardware.
>
> So far all I'm trying to achieve is to see some things when I start
> irw and press buttons on the remote but there is nothing.
> And yes, I double checked if the cable is connected correctly.
>
> I just list what I checked and then I desperately need some pointers
> what I should do next.
>
> 1. hardware loaded at boot:
> dmesg | grep lirc
> [   18.923335] lirc_dev: IR Remote Control driver registered, major 61
> [   19.449060] lirc_i2c: chip 0x0 found @ 0x18 (Leadtek IR)
> [   19.449063] lirc_dev: lirc_register_driver: sample_rate: 10
...
> So, I don't know, I'm lost here. Did I miss something?

Yes. Note the part where it says "Leadtek IR". :) (It should say
"Hauppauge IR" there, iirc).

This is an issue with an old version of lirc_i2c mated with a
sufficient recent kernel. This was fixed in lirc cvs quite a while
back, so all you need is a newer lirc_i2c (like, for example, the one
in the lirc 0.8.7 release), and it should then work just fine.

--
Jarod Wilson
jarod [at] wilsonet
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


barbex at gmail

Sep 24, 2010, 1:03 AM

Post #4 of 5 (1350 views)
Permalink
Re: LIRC installation PVR-350 [In reply to]

On Fri, Sep 24, 2010 at 3:14 AM, Jarod Wilson <jarod [at] wilsonet> wrote:
>> [   19.449060] lirc_i2c: chip 0x0 found @ 0x18 (Leadtek IR)
>> [   19.449063] lirc_dev: lirc_register_driver: sample_rate: 10
> ...
>> So, I don't know, I'm lost here. Did I miss something?
>
> Yes. Note the part where it says "Leadtek IR". :) (It should say
> "Hauppauge IR" there, iirc).
>

(insert swearwords...)

Thank you, I never realized that, I thought that would just indicate
the chipset or something.
Would I have to compile the newer lirc 0.8.7 over my current 0.8.6?
Cause I've never done that.
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


jarod at wilsonet

Sep 24, 2010, 9:16 PM

Post #5 of 5 (1320 views)
Permalink
Re: LIRC installation PVR-350 [In reply to]

On Fri, Sep 24, 2010 at 4:03 AM, barbex <barbex [at] gmail> wrote:
> On Fri, Sep 24, 2010 at 3:14 AM, Jarod Wilson <jarod [at] wilsonet> wrote:
>>> [   19.449060] lirc_i2c: chip 0x0 found @ 0x18 (Leadtek IR)
>>> [   19.449063] lirc_dev: lirc_register_driver: sample_rate: 10
>> ...
>>> So, I don't know, I'm lost here. Did I miss something?
>>
>> Yes. Note the part where it says "Leadtek IR". :) (It should say
>> "Hauppauge IR" there, iirc).
>>
>
> (insert swearwords...)
>
> Thank you, I never realized that, I thought that would just indicate
> the chipset or something.
> Would I have to compile the newer lirc 0.8.7 over my current 0.8.6?
> Cause I've never done that.

Probably. Unless you can find updated packages for your distro
somewhere, or get the maintainer of your distro's packages to patch
things.


--
Jarod Wilson
jarod [at] wilsonet
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.