View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 14 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Tue May 16, 2006 11:28 am 
Offline
Joined: Tue Sep 13, 2005 10:48 am
Posts: 852
Location: London, UK
Hi all,
I finally deciding to bite the bullet and have a go at sorting out the remote control that came with my Nova-T cards after seeing several posts about getting the A415-HPG remote working.

I have now tried to follow the HOW-TO put up by mad_paddler, I've also tried various configurations supplied by the good people on the forums.
Unfortunately to no avail.

Where I am up to:

My remote works after a fashion: arrow buttons and the OK button and with a bit of persuation the numbers appear to work.

I've edited my Hardware.conf to be this (taken from mad_paddler):


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="dev/input"
# If DEVICE is set to /dev/lirc and devfs is in use /dev/lirc/0 will be
# automatically used instead
DEVICE="/dev/input/event2"
MODULES="lirc_dev lirc_i2c"
LIRC_CONF="etc/lircd.conf"


I've replaced my lircd.conf with an updated and appropriate one from off this forum:


Quote:
# Please make this file available to others
# by sending it to <lirc@bartelmus.de>
#
# this config file was automatically generated
# using lirc-0.7.2pre1(devinput) on Sat Jun 18 13:18:13 2005
#
# contributed by Paul Grigg (mad_paddler)
#
# brand: Hauppauge Nova-T Connexant
# model no. of remote control: A415-HPG
# devices being controlled by this remote:
#

begin remote

name cx88.cfg
bits 16
eps 30
aeps 100

one 0 0
zero 0 0
pre_data_bits 16
pre_data 0x8001
gap 132900
toggle_bit 0


begin codes
Go 0x0161
Power 0x0074
TV 0x0179
Videos 0x0189
Music 0x0188
Pictures 0x016F
Guide 0x016D
Radio 0x0181
UP 0x0067
DOWN 0x006C
LEFT 0x0069
RIGHT 0x006A
OK 0x001C
Back 0x00AE
Menu 0x008B
Vol+ 0x0073
Vol- 0x0072
CH+ 0x0192
CH- 0x0193
Prev-Ch 0x019C
Mute 0x0071
Rec 0x00A7
Stop 0x0080
FRW 0x00A8
Play 0x00CF
FFW 0x00D0
Skip-Back 0x00A5
Pause 0x0077
Skip-For 0x00A3
1 0x004F
2 0x0050
3 0x0051
4 0x004B
5 0x004C
6 0x004D
7 0x0047
8 0x0048
9 0x0049
0 0x0052
Star 0x0184
Hash 0x0172
Red 0x018E
Green 0x018F
Yellow 0x0190
Blue 0x0191
end codes

end remote


And put a new lircrc in /home/mythtv/.mythtv

cat /proc/bus/input/devices reports this:
Code:
 I:Bus: 001 Vendor=0070 Product=9002 Version1
N:Name="cx88 IR (Hauppage Nova-T DVB-T)"
P:Phy=pci_0000=01:08.2/ir0
S:Sysfs:/class/input/input2
H:Handlers=kbd event2
B:EV=100003
B:KEY=100fc312 214a802 0 000 18000 41a8 4801 9e1680 7bb80 0 10000000


The other Nova T is the same bar this difference:
Code:
 P:Phy=pci_0000=01:0a.2/ir0
S:Sysfs:/class/input/input3
H:Handlers=kbd event3


What now? Am I just going to have to record all the numbers for each keypress?

Thanks.


Last edited by tophee on Tue Jun 20, 2006 7:56 am, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 18, 2006 2:22 am 
Offline
Joined: Sun Jun 12, 2005 2:39 pm
Posts: 464
Location: UK
The only difference between mine and your config is this:

Code:
LIRC_CONF="etc/lircd.conf"


I don't have that line at all! Try removing it and rebooting :)
After a reboot run irw in a terminal and try some keypresses.



[/code]


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 18, 2006 3:59 am 
Offline
Joined: Tue Sep 13, 2005 10:48 am
Posts: 852
Location: London, UK
Ah, well that line was a late addition after your vanilla hardware.conf didn't do anything - I got the line from the Nova-S howto on the wiki. Can't have taken it out again.

I've been thinking about this little problem and I'm wondering if the Nova-T's keypress code is dependent on the event number (?)

Well, will remove the line. Reboot and try the key presses in the terminal window.

If I get anything different from your original lircd.conf I will post it here - might mean a step towards a univeral working out of the box remote.
If not, I'll be back seeking further help.


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 18, 2006 6:49 am 
Offline
Joined: Tue Sep 13, 2005 10:48 am
Posts: 852
Location: London, UK
So, I removed the LIRC_CONF line and rebooted.
I started an X-term windo, su'd and then entered the following:

Code:
modprobe lirc_12c
lircd
irw

and when i pressed keys on my remote nothing. Though the arrow keys allowed me to scroll through things i'd previously typed.

I'm sure I put everything in the right places, so what gives?

Any suggestions greatfully recieved.


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 18, 2006 2:56 pm 
Offline
Joined: Sun Jun 12, 2005 2:39 pm
Posts: 464
Location: UK
Are you having to launch lirc manually? If you run:
update-rc.d lirc defaults

it will start each boot with the proper modules loaded.

Before doing that tho, try starting lirc with the following command instead:

/etc/init.d/lirc start

if that doesnt work, reboot and try:

lircd -H dev/input -d /dev/input/event2

something else i just thought of... you have 2 nova-t's, are you sure the ir dongle is plugged into the one with event2?

You can find out which is which by running cat /dev/input/event2 then pressing a key, it should come up with loads of gibberish if the dongle is in the one with event2.

Hope this helps :)


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 19, 2006 3:07 am 
Offline
Joined: Sun Feb 05, 2006 8:13 am
Posts: 22
Location: UK
I had to go through the setup procedure as well as doing what you've already done to get mine working.
Details here.

_________________
Dell Dimension 4600, P4 2.8GHz, 1Gb, GeForce FX5200, Audigy 4, 2x Hauppauge DVB Nova-T (silver remote), KnoppMyth R5B7 -> R5E50


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 19, 2006 4:18 am 
Offline
Joined: Sun Jun 12, 2005 2:39 pm
Posts: 464
Location: UK
I remember having to recompile lirc in previous versions, but i don't remember having to do it since r5a22, my memory may be failing me tho ;)


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 20, 2006 10:50 am 
Offline
Joined: Thu Apr 06, 2006 2:31 am
Posts: 41
Got my Nova-T + remote working.

It took a while, but I found two things for people to check when they have problems...

the event number. I had to put event2, but when i removed the kb and mouse it became event0

You MUST check
at /proc/bus/input/devices

I:Bus: 001 Vendor=0070 Product=9002 Version1
N:Name="cx88 IR (Hauppage Nova-T DVB-T)"
P:Phy=pci_0000=01:08.2/ir0
S:Sysfs:/class/input/input2
H:Handlers=kbd event2
B:EV=100003
B:KEY=100fc312 214a802 0 000 18000 41a8 4801 9e1680 7bb80 0 10000000

check the event number. This caused me problems.

Also, I found there are at least 2 sets of codes for the Silver remote that people claim work for them.
I tried the second set and all worked fine. So make sure you try both sets of codes.


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 21, 2006 7:37 am 
Offline
Joined: Tue Sep 13, 2005 10:48 am
Posts: 852
Location: London, UK
I've not solved this just yet, but it turns out, the nearest Nova-T's IR dongle is Event 3 not Event 2 as I had originally supposed. So assigning it to Event 2 in the hardware.cof file was wrong.

It took me to type cat /dev/input/event2 and swapping the dongle over to get the 'gibberish' from IR keypresses.

I still only have the arrow keys and the 'OK' button working, but it's progress of some sort. Unfortunately I'm up to my eyes with work atm, so it'll have to wait.


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 21, 2006 11:25 pm 
Offline
Joined: Tue Sep 27, 2005 12:32 pm
Posts: 104
The event number is set during boot and depends on how many input devices are connected. Keyboard and mouse counts, so if you boot with keyboard and mouse connected you probably end up with the remote on event3. But if you boot without keyboard and mouse connected you find your remote on event1.

So, ALWAYS BOOT AS YOU INTEND TO BOOT IN THE FUTURE. And connect mouse and keyboard AFTER boot.

That worked for me.

And as soon as irw works, the next important step is to always start mythfrontend from a terminal window to see its output. Because any typos in the config will only be revealed there.


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 22, 2006 2:41 am 
Offline
Joined: Sun Feb 05, 2006 8:13 am
Posts: 22
Location: UK
tophee wrote:
I still only have the arrow keys and the 'OK' button working, but it's progress of some sort. Unfortunately I'm up to my eyes with work atm, so it'll have to wait.


That's exactly how mine was after original installation.
I think you need to recompile (think that's the right terminology) lirc, like this:
timd wrote:
......
fixed in my case by:
    1) untar lirc
    2) run ./setup.sh
    In the setup program select option 1-'Driver config', then option 0-'Other', then option 6-'/dev/input/eventX', followed by option 3-'save and configure'
    type 'make' then 'make install'

    3) Edit hardware.conf to look like this: (change event number towards bottom to match your setup)
    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="dev/input"
    # If DEVICE is set to /dev/lirc and devfs is in use /dev/lirc/0 will be
    # automatically used instead
    DEVICE="/dev/input/event2"
    MODULES="lirc_dev lirc_i2c"


    4) Reboot.

    5) Use lircd.conf and lircrc files from mad_paddler's post at the end of pg3 here: http://mysettopbox.tv/phpBB2/viewtopic.php?t=6232&start=30


HTH. :)

_________________
Dell Dimension 4600, P4 2.8GHz, 1Gb, GeForce FX5200, Audigy 4, 2x Hauppauge DVB Nova-T (silver remote), KnoppMyth R5B7 -> R5E50


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 22, 2006 4:14 am 
Offline
Joined: Sun Jun 12, 2005 2:39 pm
Posts: 464
Location: UK
Ok, I installed the latest knoppmyth over the weekend and had to do things slightly different lol.

I had to upgrade the kernel to 2.6.16 to get some other hardware working so that might have caused the oddities...

When I launched lirc (/etc/init.d/lirc start) it came up with an error about the modules!

So firstly I recompiled lirc as above^^ and tried again. Same error!

I then changed hardware.conf to have:

LOAD_MODULES=false

rebooted and everything worked :)


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 20, 2006 8:07 am 
Offline
Joined: Tue Sep 13, 2005 10:48 am
Posts: 852
Location: London, UK
Oops. Double post.


Last edited by tophee on Tue Jun 20, 2006 8:10 am, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 20, 2006 8:08 am 
Offline
Joined: Tue Sep 13, 2005 10:48 am
Posts: 852
Location: London, UK
Well, as I have had a few days off work (due to a sporting injury) I finally have gotten around to writing [SOLVED] on some old posts of mine for sake of completeness and hopefully helping others in the future.

To get the Nova-T remote to work the key is to change the line in hardware.conf to
Code:
LOAD_MODULES=false


Obviously the correct codes are needed in lircd.conf
and lircrc in /home/mythtv/.mythtv to be mapped to the correct keys.

Oh and for the record as I still have a wireless keyboard and mouse connected, my event number is 3.

Followed by a reboot.

In my experience no recompile of LIRC was necessary.

This was on a R5C7 build upgraded from R5B7 and before that a pretty clean install of R5A30.2.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 22 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