Re: [mythtv-users] Lirc doesn't work

2005-06-24 Thread Oscar Curero
El Viernes, 24 de Junio de 2005 02:04, Marc Tousignant wrote:
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:mythtv-users-
> > [EMAIL PROTECTED] On Behalf Of Oscar Curero
> > Doesn't work.
> > My remote is the one that came with the pvr-350.
> > There are a lot of config files for this model:
> > http://www.mach8.nl/misc/hauppauge_grey.jpg
> > (30 buttons aprox.)
> >
> > BUT I have this:
> > http://images.amazon.com/images/P/B0007SV8QA.01-
> > A16GRAMNJJ3TBV._SCMZZZ_.jpg
> > (44 buttons aprox.)
> >
> > Using the linux-input-layer (the long file that I posted before) I can
> > use most of the buttons, although some of them are incorrect: for
> > examlpe, the "left" button is recognized using the "irw" program as the
> > "STOP" button:
> >
> > 00010080 00 STOP linux-input-layer
> > the right button:
> > 00010080 00 STOP linux-input-layer
> > the "up" button:
> > 0001007c 00 KPCOMMA linux-input-layer
> > the "down" button:
> > 0001007f 00 COMPOSE linux-input-layer
> >
> > What can I do now?

> Simple, create your own lircd.conf
> After you do this thou you'll have to create your own lircrc for myth too.

I have created one with "irrecord". the file config was exactly the same that 
Nick posted before 
( http://lirc.sourceforge.net/remotes/hauppauge/lircd.conf.hauppauge at the 
bottom). After that, I though that everything would work as expected... but 
no, the remote doesn't work. Using "irw" no output at all, but in dmesg I get 
the same errors as before:

i2c IR (Hauppauge): unknown key: key=0x14 raw=0x3f94 down=1
i2c IR (Hauppauge): unknown key: key=0x14 raw=0x3f94 down=0

i2c IR (Hauppauge): unknown key: key=0x17 raw=0x3797 down=1
i2c IR (Hauppauge): unknown key: key=0x17 raw=0x3797 down=0

i2c IR (Hauppauge): unknown key: key=0x18 raw=0x3798 down=1
i2c IR (Hauppauge): unknown key: key=0x18 raw=0x3798 down=0

i2c IR (Hauppauge): unknown key: key=0x14 raw=0x3f94 down=1
i2c IR (Hauppauge): unknown key: key=0x14 raw=0x3f94 down=0

i2c IR (Hauppauge): unknown key: key=0x14 raw=0x3794 down=1
i2c IR (Hauppauge): unknown key: key=0x14 raw=0x3794 down=0

I have the following modules loaded (related to lirc):

ir_kbd_i2c
ir_common
i2c_algo_bit
lirc_i2c
i2c_core 
lirc_dev
 
If I unload the first module (ir_kbd_i2c) then I can't use the remote:

Before unloading the module:

lilium:~/input # ./lsinput
/dev/input/event0
   bustype : BUS_ISA
   vendor  : 0x1f
   product : 0x1
   version : 256
   name: "PC Speaker"
   phys: "isa0061/input0"
   bits ev : EV_SYN EV_SND

/dev/input/event1
   bustype : BUS_I2C
   vendor  : 0x0
   product : 0x0
   version : 0
   name: "i2c IR (Hauppauge)"
   phys: "i2c-0//ir0"
   bits ev : EV_SYN EV_KEY EV_REP

AFTER ("irw" doesn't work because /dev/input/event1 doesn't exist):

lilium:~/input # ./lsinput
/dev/input/event0
   bustype : BUS_ISA
   vendor  : 0x1f
   product : 0x1
   version : 256
   name: "PC Speaker"
   phys: "isa0061/input0"
   bits ev : EV_SYN EV_SND


Ideas?

SuSE 9.3 (i386)
kernel: 2.6.11.4-20a-default
Lirc: 0.7.0


-- 
Oscar Curero - Linux user: 306877
--GPG keyID: 0xE0EA0B24-- 


pgp4IzDEYaUJW.pgp
Description: PGP signature
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Lirc doesn't work

2005-06-23 Thread Karsten Jeppesen



Nick wrote:


On 6/23/05, Oscar Curero <[EMAIL PROTECTED]> wrote:
 


El Jueves, 23 de Junio de 2005 03:22, Karsten Jeppesen escribió:
   


Oscar Curero wrote:
 


The lircd.conf (very long !! )

begin remote
   name linux-input-layer
   bits 32
   begin codes
   ESC  0x10001
   10x10002
   20x10003
   


. and on and on and on and..

Wrong lircd.conf

 


Doesn't work.
My remote is the one that came with the pvr-350.
There are a lot of config files for this model:
http://www.mach8.nl/misc/hauppauge_grey.jpg

   



Oops - sorry - don't know why I thought you had a streamzap.
I've got one, but never mind, must be the heat.

How about using irrecord to make a new config. It isn't that bad a job. 
Look through the sample lircd.conf for your remote so that you choose 
the same names for the same buttons.
In the end all that matters is that ~/.lircrc and /etc/lircd.conf are 
using the same names.
Try just defining VOL UP and VOL DOWN first to see that it works - or 
some of the numbers. All you need is one to work so you know you are in 
business.


karsten

___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Lirc doesn't work

2005-06-23 Thread Oscar Curero
El Jueves, 23 de Junio de 2005 23:44, Nick escribió:

> You want to use the Hauppauge_350 remote section (the one at the
> bottom) from the following file
> http://lirc.sourceforge.net/remotes/hauppauge/lircd.conf.hauppauge.

Thanks, that was what I needed :)

> Copy and paste this section to /etc/lircd.conf and then irw should
> work as normal.

No, doesn't work. irw doesn't show the buttons (none, although the config 
seems to be correct). Instead of that, in the dmesg I have:

Up
i2c IR (Hauppauge): unknown key: key=0x14 raw=0x3794 down=1
i2c IR (Hauppauge): unknown key: key=0x14 raw=0x3794 down=0
Left
i2c IR (Hauppauge): unknown key: key=0x16 raw=0x3f96 down=1
i2c IR (Hauppauge): unknown key: key=0x16 raw=0x3f96 down=0
Down
i2c IR (Hauppauge): unknown key: key=0x15 raw=0x3795 down=1
i2c IR (Hauppauge): unknown key: key=0x15 raw=0x3795 down=0
Right
i2c IR (Hauppauge): unknown key: key=0x17 raw=0x3f97 down=1
i2c IR (Hauppauge): unknown key: key=0x17 raw=0x3f97 down=0
Ok
i2c IR (Hauppauge): unknown key: key=0x25 raw=0x37a5 down=1
i2c IR (Hauppauge): unknown key: key=0x25 raw=0x37a5 down=0
...
...


So, I think it's a problem of the lirc package used in suse, Can anyone 
confirm this? 

Thanks!
-- 
Oscar Curero - Linux user: 306877
--GPG keyID: 0xE0EA0B24-- 


pgpvSimL5bSBq.pgp
Description: PGP signature
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


RE: [mythtv-users] Lirc doesn't work

2005-06-23 Thread Marc Tousignant


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:mythtv-users-
> [EMAIL PROTECTED] On Behalf Of Oscar Curero
> Sent: Thursday, June 23, 2005 2:14 PM
> To: Discussion about mythtv
> Subject: Re: [mythtv-users] Lirc doesn't work
> 
> El Jueves, 23 de Junio de 2005 03:22, Karsten Jeppesen escribió:
> > Oscar Curero wrote:
> > >The lircd.conf (very long !! )
> > >
> > >begin remote
> > >   name linux-input-layer
> > >   bits 32
> > >   begin codes
> > >   ESC  0x10001
> > >   10x10002
> > >   20x10003
> >
> > . and on and on and on and..
> >
> > Wrong lircd.conf
> >
> > you need to copy the lircd.conf for the streamzap in place. Do a:
> > find / -name "*streamzap*"
> >
> > Since I compiled lirc from scratch I have:
> > /root/import/lirc-0.7.1/remotes/streamzap/lircd.conf.streamzap
> >
> > Your lircd.conf is for another remote.
> 
> Doesn't work.
> My remote is the one that came with the pvr-350.
> There are a lot of config files for this model:
> http://www.mach8.nl/misc/hauppauge_grey.jpg
> (30 buttons aprox.)
> 
> BUT I have this:
> http://images.amazon.com/images/P/B0007SV8QA.01-
> A16GRAMNJJ3TBV._SCMZZZ_.jpg
> (44 buttons aprox.)
> 
> Using the linux-input-layer (the long file that I posted before) I can use
> most of the buttons, although some of them are incorrect: for examlpe, the
> "left" button is recognized using the "irw" program as the "STOP" button:
> 
> 00010080 00 STOP linux-input-layer
> the right button:
> 00010080 00 STOP linux-input-layer
> the "up" button:
> 0001007c 00 KPCOMMA linux-input-layer
> the "down" button:
> 0001007f 00 COMPOSE linux-input-layer
> 
> What can I do now?
> Thanks,
> 
> --
> Oscar Curero - Linux user: 306877
> --GPG keyID: 0xE0EA0B24--

Simple, create your own lircd.conf
After you do this thou you'll have to create your own lircrc for myth too.

The provide both to the web. Other users will appreciate it when they turn
out to have the same remote and find the work already done for them.

___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Lirc doesn't work

2005-06-23 Thread Nick
On 6/23/05, Oscar Curero <[EMAIL PROTECTED]> wrote:
> El Jueves, 23 de Junio de 2005 03:22, Karsten Jeppesen escribió:
> > Oscar Curero wrote:
> > >The lircd.conf (very long !! )
> > >
> > >begin remote
> > > name linux-input-layer
> > > bits 32
> > > begin codes
> > > ESC  0x10001
> > > 10x10002
> > > 20x10003
> >
> > . and on and on and on and..
> >
> > Wrong lircd.conf
> >
> > you need to copy the lircd.conf for the streamzap in place. Do a:
> > find / -name "*streamzap*"
> >
> > Since I compiled lirc from scratch I have:
> > /root/import/lirc-0.7.1/remotes/streamzap/lircd.conf.streamzap
> >
> > Your lircd.conf is for another remote.
> 
> Doesn't work.
> My remote is the one that came with the pvr-350.
> There are a lot of config files for this model:
> http://www.mach8.nl/misc/hauppauge_grey.jpg
> (30 buttons aprox.)
> 
> BUT I have this:
> http://images.amazon.com/images/P/B0007SV8QA.01-A16GRAMNJJ3TBV._SCMZZZ_.jpg
> (44 buttons aprox.)
> 
> Using the linux-input-layer (the long file that I posted before) I can use
> most of the buttons, although some of them are incorrect: for examlpe, the
> "left" button is recognized using the "irw" program as the "STOP" button:
> 
> 00010080 00 STOP linux-input-layer
> the right button:
> 00010080 00 STOP linux-input-layer
> the "up" button:
> 0001007c 00 KPCOMMA linux-input-layer
> the "down" button:
> 0001007f 00 COMPOSE linux-input-layer
> 
> What can I do now?
> Thanks,

You want to use the Hauppauge_350 remote section (the one at the
bottom) from the following file
http://lirc.sourceforge.net/remotes/hauppauge/lircd.conf.hauppauge.

Copy and paste this section to /etc/lircd.conf and then irw should
work as normal.

The Hauppauge remotes use RC5 protocol so there is no need to record
the remote manually as all of the code will be in the complete RC5
conf file that is available from lirc.org

Nick
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Lirc doesn't work

2005-06-23 Thread Mark Knecht
On 6/23/05, Oscar Curero <[EMAIL PROTECTED]> wrote:

> BUT I have this:
> http://images.amazon.com/images/P/B0007SV8QA.01-A16GRAMNJJ3TBV._SCMZZZ_.jpg
> (44 buttons aprox.)

Hey - interesting. I have one of these sitting around from my PVR-250.
I don't use it but I should.

I think the next step is for you to use irrecord and record the raw
data taht comes from the remote for each key. That gets sent to the
guy who's name is listed on the lirc site and he'll format it into
something usable. I'm sure you can probably do that step yourself if
you're into doing that sort of stuff.

Hope this helps,
Mark
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Lirc doesn't work

2005-06-23 Thread Oscar Curero
El Jueves, 23 de Junio de 2005 03:22, Karsten Jeppesen escribió:
> Oscar Curero wrote:
> >The lircd.conf (very long !! )
> >
> >begin remote
> > name linux-input-layer
> > bits 32
> > begin codes
> > ESC  0x10001
> > 10x10002
> > 20x10003
>
> . and on and on and on and..
>
> Wrong lircd.conf
>
> you need to copy the lircd.conf for the streamzap in place. Do a:
> find / -name "*streamzap*"
>
> Since I compiled lirc from scratch I have:
> /root/import/lirc-0.7.1/remotes/streamzap/lircd.conf.streamzap
>
> Your lircd.conf is for another remote.

Doesn't work.
My remote is the one that came with the pvr-350.
There are a lot of config files for this model:
http://www.mach8.nl/misc/hauppauge_grey.jpg
(30 buttons aprox.)

BUT I have this:
http://images.amazon.com/images/P/B0007SV8QA.01-A16GRAMNJJ3TBV._SCMZZZ_.jpg
(44 buttons aprox.)

Using the linux-input-layer (the long file that I posted before) I can use 
most of the buttons, although some of them are incorrect: for examlpe, the 
"left" button is recognized using the "irw" program as the "STOP" button:

00010080 00 STOP linux-input-layer
the right button:
00010080 00 STOP linux-input-layer
the "up" button:
0001007c 00 KPCOMMA linux-input-layer
the "down" button:
0001007f 00 COMPOSE linux-input-layer

What can I do now?
Thanks, 

-- 
Oscar Curero - Linux user: 306877
--GPG keyID: 0xE0EA0B24-- 


pgpeP5Kas85uV.pgp
Description: PGP signature
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Lirc doesn't work

2005-06-23 Thread David Watkins
> Yes - modules are loaded. If I point the StreamZap at the IR receiver
> irw gives me info. If I point the Hauppage at the IR receiver irw
> prints nothing.
> 
> Please be aware that I'm very green with this stuff so possibly I'm
> not doing something right, but that's what I see.
> 

If you're not sure about your lircd.conf file you could look at the
remotes.tar.bz2 file here:

http://www.lirc.org/index.html

This contains a whole bunch of lircd.conf files, one of which is a
generic RC-5 one which, if I understand correctly contains all the
RC-5 codes (PVR350 uses RC5).

What I did, when I wanted to use a universal remote with my Hauppauge
PVR350 was:

1. use the above file as my /etc/lircd.conf

2. run irw

3. press each key on my remote and note the keycode generated by irw.

4. where different keys gave the same code then I remap one of them to
an unused code.

5. modify the lircd.conf example supplied by Jarod in his univeral
remote howto to use the button names on my remote and the codes
generated by irw.

http://wilsonet.com/mythtv/remotes.php

6. modified Jarod's lircrc example to use the button names used in my
new lircd.conf file.

Hope this helps, and many thanks to Jarod for providing the clues to
this process in his excellent site.
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Lirc doesn't work

2005-06-22 Thread Mark Knecht
On 6/22/05, Karsten Jeppesen <[EMAIL PROTECTED]> wrote:
> 
> 
> Mark Knecht wrote:
> 
> >Nothing at all, I think. I tried this today with my Huappauge remote
> >talkign to my StreamZap machine. The IR receiver shows that it's
> >receiving as the red light flashes, but irw reports nothing.
> >
> >
> Are the modules loaded?
> 
> lsmod | grep lirc
> 
> should give the output:
> 
> lirc_streamzap 29700  1
> lirc_dev   16196  1 lirc_streamzap
> 
> karsten

Yes - modules are loaded. If I point the StreamZap at the IR receiver
irw gives me info. If I point the Hauppage at the IR receiver irw
prints nothing.

Please be aware that I'm very green with this stuff so possibly I'm
not doing something right, but that's what I see.

- Mark
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Lirc doesn't work

2005-06-22 Thread Karsten Jeppesen



Oscar Curero wrote:



The lircd.conf (very long !! )

begin remote
name linux-input-layer
bits 32
begin codes
ESC  0x10001
10x10002
20x10003
 


. and on and on and on and..

Wrong lircd.conf

you need to copy the lircd.conf for the streamzap in place. Do a:
find / -name "*streamzap*"

Since I compiled lirc from scratch I have:
/root/import/lirc-0.7.1/remotes/streamzap/lircd.conf.streamzap

Your lircd.conf is for another remote.

Karsten


___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Lirc doesn't work

2005-06-22 Thread Oscar Curero
Nick  wrote:

> Assuming the correct drivers are loaded, it is possible your
> /etc/lircd.conf (or SuSE equivalent) file is either incomplete or
> incorrect for your remote control. irw uses this file in order to tell
> you which keys you are pressing, so if it doesn't understand a
> particular key, it will either give an error or nothing at all.
>
Using the original lircd.conf from suse, some buttons work even in irw.The
buttons that are in the dmesg output are the ones that doesn't work in irw. The
left,right,down and up buttons from the pvr-350 remote control produce the dmesg
output (where can I assign them a "visible" key?). I though that all RC were
exactly the same and therefore they would use the same config file...

The lircd.conf (very long !! )

begin remote
name linux-input-layer
bits 32
begin codes
ESC  0x10001
10x10002
20x10003
30x10004
40x10005
50x10006
60x10007
70x10008
80x10009
90x1000a
00x1000b
MINUS0x1000c
EQUAL0x1000d
BACKSPACE0x1000e
TAB  0x1000f
Q0x10010
W0x10011
E0x10012
R0x10013
T0x10014
Y0x10015
U0x10016
I0x10017
O0x10018
P0x10019
LEFTBRACE0x1001a
RIGHTBRACE   0x1001b
ENTER0x1001c
LEFTCTRL 0x1001d
A0x1001e
S0x1001f
D0x10020
F0x10021
G0x10022
H0x10023
J0x10024
K0x10025
L0x10026
SEMICOLON0x10027
APOSTROPHE   0x10028
GRAVE0x10029
LEFTSHIFT0x1002a
BACKSLASH0x1002b
Z0x1002c
X0x1002d
C0x1002e
V0x1002f
B0x10030
N0x10031
M0x10032
COMMA0x10033
DOT  0x10034
SLASH0x10035
RIGHTSHIFT   0x10036
KPASTERISK   0x10037
LEFTALT  0x10038
SPACE0x10039
CAPSLOCK 0x1003a
F1   0x1003b
F2   0x1003c
F3   0x1003d
F4   0x1003e
F5   0x1003f
F6   0x10040
F7   0x10041
F8   0x10042
F9   0x10043
F10  0x10044
NUMLOCK  0x10045
SCROLLLOCK   0x10046
KP7  0x10047
KP8  0x10048
KP9  0x10049
KPMINUS  0x1004a
KP4  0x1004b
KP5  0x1004c
KP6  0x1004d
KPPLUS   0x1004e
KP1  0x1004f
KP2  0x10050
KP3  0x10051
KP0  0x10052
KPDOT0x10053
103RD0x10054
F13  0x10055
102ND0x10056
F11  0x10057
F12  0x10058
F14  0x10059
F15  0x1005a
F16  0x1005b
F17  0x1005c

Re: [mythtv-users] Lirc doesn't work

2005-06-22 Thread Karsten Jeppesen



Mark Knecht wrote:


Nothing at all, I think. I tried this today with my Huappauge remote
talkign to my StreamZap machine. The IR receiver shows that it's
receiving as the red light flashes, but irw reports nothing.
 


Are the modules loaded?

lsmod | grep lirc

should give the output:

lirc_streamzap 29700  1
lirc_dev   16196  1 lirc_streamzap

karsten

___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Lirc doesn't work

2005-06-22 Thread Mark Knecht
On 6/22/05, Nick <[EMAIL PROTECTED]> wrote:

> Assuming the correct drivers are loaded, it is possible your
> /etc/lircd.conf (or SuSE equivalent) file is either incomplete or
> incorrect for your remote control. irw uses this file in order to tell
> you which keys you are pressing, so if it doesn't understand a
> particular key, it will either give an error or nothing at all.
> 
> Nick

Nothing at all, I think. I tried this today with my Huappauge remote
talkign to my StreamZap machine. The IR receiver shows that it's
receiving as the red light flashes, but irw reports nothing.

Cheers,
Mark
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Lirc doesn't work

2005-06-22 Thread Nick
On 6/22/05, Oscar Curero <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> Now I'm trying to setup my remote control using the lirc daemon (suse) and the
> pvr-350. Although it's not perfect (I mean, suse is different), I'm following
> the howto for fedore core.
> 
> The howto says:
> If you get one or two [OK]'s, then proceed to testing the remote (one is for
> lircd, one is for lircmd; you only really need lircd). If not, check
> /var/log/messages to see if you can figure out what went wrong. To begin
> testing, fire up the irw tool:"
> 
> For me, irw doesn't give my anything. Some buttons produce a "dmesg" output
> (there are other buttons that neither produce irw nor dmesg output):
> 
> For "ok" button:
> i2c IR (Hauppauge): unknown key: key=0x25 raw=0x37a5 down=1
> i2c IR (Hauppauge): unknown key: key=0x25 raw=0x37a5 down=0
> 
> For "down" button:
> 
> i2c IR (Hauppauge): unknown key: key=0x15 raw=0x3f95 down=1
> i2c IR (Hauppauge): unknown key: key=0x15 raw=0x3f95 down=0
> 
> For "video" button:
> 
> i2c IR (Hauppauge): unknown key: key=0x18 raw=0x3798 down=1
> i2c IR (Hauppauge): unknown key: key=0x18 raw=0x3798 down=0

Assuming the correct drivers are loaded, it is possible your
/etc/lircd.conf (or SuSE equivalent) file is either incomplete or
incorrect for your remote control. irw uses this file in order to tell
you which keys you are pressing, so if it doesn't understand a
particular key, it will either give an error or nothing at all.

Nick
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users