Welcome to Soft32 Linux Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

lircd doesn't work anymore - kernel 2.6.30

 
Goto page 1, 2
   Soft32 Home -> Linux -> General Discussions RSS
Next:  udev 146-5 and ppc64 kernel  
Author Message
jf

External


Since: Oct 22, 2009
Posts: 10



(Msg. 1) Posted: Wed Oct 21, 2009 5:20 pm
Post subject: lircd doesn't work anymore - kernel 2.6.30
Archived from groups: alt>os>linux>gentoo (more info?)

Hi u all Smile
I've completely reinstalled my broken gentoo, and almost anything seems to
work, except my realmagic remote control. I've already tried to emerge
lircd, then downloaded and install lircd 0.8.6, but I get always the same
answer "lircd: there's no hardware I can use and no peers are specified"
Before I broke the previous Gentoo, it worked perfectly, using /dev/ttyS0.
On the same PC, I run ubuntu, and the remote works well ( on /dev/ttyS0).
I've had a look on several docs, howtos and FAQ,as my system uses HAL, but
I've been unable to find an answer.
Any idea will be welcome.
thanks,
jf
Back to top
Login to vote
AZ Nomad

External


Since: Nov 03, 2008
Posts: 51



(Msg. 2) Posted: Wed Oct 21, 2009 5:20 pm
Post subject: Re: lircd doesn't work anymore - kernel 2.6.30 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Thu, 22 Oct 2009 00:01:31 +0200, jf <cestjihef.TakeThisOut@free.fr> wrote:
>Hi u all Smile
>I've completely reinstalled my broken gentoo, and almost anything seems to
>work, except my realmagic remote control. I've already tried to emerge
>lircd, then downloaded and install lircd 0.8.6, but I get always the same
>answer "lircd: there's no hardware I can use and no peers are specified"
>Before I broke the previous Gentoo, it worked perfectly, using /dev/ttyS0.
>On the same PC, I run ubuntu, and the remote works well ( on /dev/ttyS0).
>I've had a look on several docs, howtos and FAQ,as my system uses HAL, but
>I've been unable to find an answer.
>Any idea will be welcome.
>thanks,
>jf

Do you set LIRC_DEVICES in /etc/make.conf?
Back to top
Login to vote
AZ Nomad

External


Since: Nov 03, 2008
Posts: 51



(Msg. 3) Posted: Wed Oct 21, 2009 5:45 pm
Post subject: Re: lircd doesn't work anymore - kernel 2.6.30 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Thu, 22 Oct 2009 00:35:55 +0200, jf <cestjihef.DeleteThis@free.fr> wrote:
>AZ Nomad wrote:

>> On Thu, 22 Oct 2009 00:01:31 +0200, jf <cestjihef.DeleteThis@free.fr> wrote:
>>>Hi u all Smile
>>>I've completely reinstalled my broken gentoo, and almost anything seems to
>>>work, except my realmagic remote control.
>>>thanks,
>>>jf
>>
>> Do you set LIRC_DEVICES in /etc/make.conf?
>no, I have read I should set INPUT_DEVICES="keyboard mouse lirc evdev"
>but nothing about LIRC_DEVICES .What should I put there ?

They are two seperate lines. INPUT_DEVICES is for X, LIRC_DEVICES is
for LIRC.

The name of the remote control device goes there. If you have it
blank, LIRC might default to installing everything. Do a
'emerge -pv lirc' to see what device(s) would be installed.

For example, on one of my systems I have a streamzap remote. The
device line is LIRC_DEVICES="streamzap". The actual kernel module
installed is lirc_streamzap. (the lirc package supplies the kernel
module)
Back to top
Login to vote
jf

External


Since: Oct 22, 2009
Posts: 10



(Msg. 4) Posted: Wed Oct 21, 2009 7:20 pm
Post subject: Re: lircd doesn't work anymore - kernel 2.6.30 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

AZ Nomad wrote:

> On Thu, 22 Oct 2009 00:01:31 +0200, jf <cestjihef.TakeThisOut@free.fr> wrote:
>>Hi u all Smile
>>I've completely reinstalled my broken gentoo, and almost anything seems to
>>work, except my realmagic remote control.
>>thanks,
>>jf
>
> Do you set LIRC_DEVICES in /etc/make.conf?
no, I have read I should set INPUT_DEVICES="keyboard mouse lirc evdev"
but nothing about LIRC_DEVICES .What should I put there ?
Back to top
Login to vote
jf

External


Since: Oct 22, 2009
Posts: 10



(Msg. 5) Posted: Wed Oct 21, 2009 7:20 pm
Post subject: Re: lircd doesn't work anymore - kernel 2.6.30 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

jf wrote:

> AZ Nomad wrote:
>
>> On Thu, 22 Oct 2009 00:01:31 +0200, jf <cestjihef.TakeThisOut@free.fr> wrote:
>>>Hi u all Smile
>>>I've completely reinstalled my broken gentoo, and almost anything seems
>>>to work, except my realmagic remote control.
>>>thanks,
>>>jf
>>
>> Do you set LIRC_DEVICES in /etc/make.conf?
> no, I have read I should set INPUT_DEVICES="keyboard mouse lirc evdev"
> but nothing about LIRC_DEVICES .What should I put there ?
is it LIRC_DEVICES="devinput" ?
Back to top
Login to vote
jf

External


Since: Oct 22, 2009
Posts: 10



(Msg. 6) Posted: Wed Oct 21, 2009 7:20 pm
Post subject: Re: lircd doesn't work anymore - kernel 2.6.30 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

AZ Nomad wrote:

> On Thu, 22 Oct 2009 00:35:55 +0200, jf <cestjihef.TakeThisOut@free.fr> wrote:
>>AZ Nomad wrote:
>
> They are two seperate lines. INPUT_DEVICES is for X, LIRC_DEVICES is
> for LIRC.
>
> The name of the remote control device goes there. If you have it
> blank, LIRC might default to installing everything. Do a
> 'emerge -pv lirc' to see what device(s) would be installed.
>
> For example, on one of my systems I have a streamzap remote. The
> device line is LIRC_DEVICES="streamzap". The actual kernel module
> installed is lirc_streamzap. (the lirc package supplies the kernel
> module)
Thanks, I'll try that. But I know this remote doesn't need a kernel module.
The device driver is "pixelview".
jf
Back to top
Login to vote
AZ Nomad

External


Since: Nov 03, 2008
Posts: 51



(Msg. 7) Posted: Wed Oct 21, 2009 7:41 pm
Post subject: Re: lircd doesn't work anymore - kernel 2.6.30 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Thu, 22 Oct 2009 00:57:38 +0200, jf <cestjihef.TakeThisOut@free.fr> wrote:
>AZ Nomad wrote:

>> On Thu, 22 Oct 2009 00:35:55 +0200, jf <cestjihef.TakeThisOut@free.fr> wrote:
>>>AZ Nomad wrote:
>>
>> They are two seperate lines. INPUT_DEVICES is for X, LIRC_DEVICES is
>> for LIRC.
>>
>> The name of the remote control device goes there. If you have it
>> blank, LIRC might default to installing everything. Do a
>> 'emerge -pv lirc' to see what device(s) would be installed.
>>
>> For example, on one of my systems I have a streamzap remote. The
>> device line is LIRC_DEVICES="streamzap". The actual kernel module
>> installed is lirc_streamzap. (the lirc package supplies the kernel
>> module)
>Thanks, I'll try that. But I know this remote doesn't need a kernel module.
>The device driver is "pixelview".

Driver == kernel module.

Try setting LIRC_DEVICES to pixelview_bt878, pixelview_pak, or pixelview_pro
Back to top
Login to vote
jf

External


Since: Oct 22, 2009
Posts: 10



(Msg. 8) Posted: Thu Oct 22, 2009 1:20 pm
Post subject: Re: lircd doesn't work anymore - kernel 2.6.30 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

AZ Nomad wrote:

> On Thu, 22 Oct 2009 00:57:38 +0200, jf <cestjihef.TakeThisOut@free.fr> wrote:
>>AZ Nomad wrote:
>
>
> Driver == kernel module.
>
> Try setting LIRC_DEVICES to pixelview_bt878, pixelview_pak, or
> pixelview_pro

Yes, you are right, it says it doesn't need a "special kernel module" Wink
I set LIRC_DEVICES to pixelview, but it gave me the same answer, then I
tried with "devinput" and lirc says :
lircd: lircd(pixelview) ready
but if I launch vdr , it asks me to push a key, the remote answers ( I can
see the led on the receiver ), but vdr doesn't get it....
it"s not far, I'll get it Wink
regards,
jf
Back to top
Login to vote
jf

External


Since: Oct 22, 2009
Posts: 10



(Msg. 9) Posted: Thu Oct 22, 2009 1:20 pm
Post subject: Re: lircd doesn't work anymore - kernel 2.6.30 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

jf wrote:

> AZ Nomad wrote:
>
>> On Thu, 22 Oct 2009 00:57:38 +0200, jf <cestjihef.TakeThisOut@free.fr> wrote:
>>>AZ Nomad wrote:
>>
>>
>> Driver == kernel module.
>>
>> Try setting LIRC_DEVICES to pixelview_bt878, pixelview_pak, or
>> pixelview_pro
>
> Yes, you are right, it says it doesn't need a "special kernel module" Wink
> I set LIRC_DEVICES to pixelview, but it gave me the same answer, then I
> tried with "devinput" and lirc says :
> lircd: lircd(pixelview) ready
> but if I launch vdr , it asks me to push a key, the remote answers ( I can
> see the led on the receiver ), but vdr doesn't get it....
> it"s not far, I'll get it Wink
> regards,
> jf
I think it's now a matter of vdr config..
Back to top
Login to vote
AZ Nomad

External


Since: Nov 03, 2008
Posts: 51



(Msg. 10) Posted: Thu Oct 22, 2009 4:45 pm
Post subject: Re: lircd doesn't work anymore - kernel 2.6.30 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Thu, 22 Oct 2009 20:10:39 +0200, jf <cestjihef.RemoveThis@free.fr> wrote:
>jf wrote:

>> AZ Nomad wrote:
>>
>>> On Thu, 22 Oct 2009 00:57:38 +0200, jf <cestjihef.RemoveThis@free.fr> wrote:
>>>>AZ Nomad wrote:
>>>
>>>
>>> Driver == kernel module.
>>>
>>> Try setting LIRC_DEVICES to pixelview_bt878, pixelview_pak, or
>>> pixelview_pro
>>
>> Yes, you are right, it says it doesn't need a "special kernel module" Wink
>> I set LIRC_DEVICES to pixelview, but it gave me the same answer, then I
>> tried with "devinput" and lirc says :
>> lircd: lircd(pixelview) ready
>> but if I launch vdr , it asks me to push a key, the remote answers ( I can
>> see the led on the receiver ), but vdr doesn't get it....
>> it"s not far, I'll get it Wink
>> regards,
>> jf
>I think it's now a matter of vdr config..

the /etc/lirc/lirc.conf setup may be returning button strings that vdr
doesn't recognize.

IE: you hit the rewind key; lirc returns "<<"; vdr then has to be
setup to interpret "<<" as rewind.

use the 'irw' command alone to test lirc w/out the vdr application.
Back to top
Login to vote
jf

External


Since: Oct 22, 2009
Posts: 10



(Msg. 11) Posted: Thu Oct 22, 2009 7:20 pm
Post subject: Re: lircd doesn't work anymore - kernel 2.6.30 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

AZ Nomad wrote:
>
> use the 'irw' command alone to test lirc w/out the vdr application.

Again, I get nothing with irw Sad

first try :
pcjf jf # /usr/local/sbin/lircd -n
lircd: lircd(realmagic) ready
lircd: accepted new client on /dev/lircd
lircd: readlink() failed for "/dev/lirc"
lircd: No such file or directory
lircd: could not create lock files
lircd: caught signal
Terminated

second try :
pcjf jf # /usr/local/sbin/lircd -n -d /dev/ttyS0
lircd: lircd(realmagic) ready
lircd: accepted new client on /dev/lircd

this time, when I run irw, I see the led flashing, but nothing on stdout

I'll try again tomorrow Wink
regards,
jf
Back to top
Login to vote
AZ Nomad

External


Since: Nov 03, 2008
Posts: 51



(Msg. 12) Posted: Thu Oct 22, 2009 7:28 pm
Post subject: Re: lircd doesn't work anymore - kernel 2.6.30 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Fri, 23 Oct 2009 01:42:06 +0200, jf <cestjihef.TakeThisOut@free.fr> wrote:
>AZ Nomad wrote:
>>
>> use the 'irw' command alone to test lirc w/out the vdr application.

>Again, I get nothing with irw Sad

use '/etc/init.d/lircd start' to start it

Have you googled for 'gentoo lirc' yet?

LIRC_DEVICES has to be pixelview_bt878. pixelview_pak, or pixelview_pro

setting it to an unknown value like 'pixelview' is the same as not
setting it as all.

/etc/init.d/lircd will load the kernel module, for example lirc_pixelview_bt878.
It'll create a device such as /dev/lirc0

/dev/ttyS0 is only for RS232 devices.
Back to top
Login to vote
jf

External


Since: Oct 22, 2009
Posts: 10



(Msg. 13) Posted: Fri Oct 23, 2009 5:20 pm
Post subject: Re: lircd doesn't work anymore - kernel 2.6.30 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

AZ Nomad wrote:

> On Fri, 23 Oct 2009 01:42:06 +0200, jf <cestjihef.DeleteThis@free.fr> wrote:
>>AZ Nomad wrote:
>>>
>>> use the 'irw' command alone to test lirc w/out the vdr application.
>
>>Again, I get nothing with irw Sad
>
> use '/etc/init.d/lircd start' to start it
>
> Have you googled for 'gentoo lirc' yet?
>
Sure I have Smile

> LIRC_DEVICES has to be pixelview_bt878. pixelview_pak, or pixelview_pro
>
> setting it to an unknown value like 'pixelview' is the same as not
> setting it as all.

why do they need to change things which work well !? Wink

>
> /etc/init.d/lircd will load the kernel module, for example
> lirc_pixelview_bt878. It'll create a device such as /dev/lirc0
>
> /dev/ttyS0 is only for RS232 devices.

my remote is a realmagic , the receiver is plugged on the serial port. And
that is the way I used it before, and also the way it works on the ubuntu
distro
Back to top
Login to vote
jf

External


Since: Oct 22, 2009
Posts: 10



(Msg. 14) Posted: Fri Oct 23, 2009 7:20 pm
Post subject: Re: lircd doesn't work anymore - kernel 2.6.30 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

jf wrote:

> my remote is a realmagic , the receiver is plugged on the serial port. And
> that is the way I used it before, and also the way it works on the ubuntu
> distro

I'm not far : now, when I run lircd, it says :
lircd: lircd(pixelview) ready, using /var/run/lirc/lircd

Then I run irw /var/run/lirc/lircd , and I get :
pcjf jf # irw /var/run/lirc/lircd
0000000018362d8b 00 1 REALmagic
0000000018362d8b 01 1 REALmagic
0000000018312c4b 00 2 REALmagic
0000000018312c4b 01 2 REALmagic
000000001831ac6b 00 3 REALmagic
000000001831ac6b 01 3 REALmagic
^C

when I press the 1,2,3 buttons Smile
But vdr --rcu=/var/run/lirc/lircd can't is not accepted as a lircd client
I'll try to find some help in vdr groups.
Thanks again for your help Smile
regards,
jf
Back to top
Login to vote
jf

External


Since: Oct 22, 2009
Posts: 10



(Msg. 15) Posted: Sat Oct 24, 2009 5:20 am
Post subject: Re: lircd doesn't work anymore - kernel 2.6.30 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

jf wrote:

> jf wrote:
>
>> my remote is a realmagic , the receiver is plugged on the serial port.
>> And that is the way I used it before, and also the way it works on the
>> ubuntu distro
>
> I'm not far : now, when I run lircd, it says :
> lircd: lircd(pixelview) ready, using /var/run/lirc/lircd
>
> Then I run irw /var/run/lirc/lircd , and I get :
> pcjf jf # irw /var/run/lirc/lircd
> 0000000018362d8b 00 1 REALmagic
> 0000000018362d8b 01 1 REALmagic
> 0000000018312c4b 00 2 REALmagic
> 0000000018312c4b 01 2 REALmagic
> 000000001831ac6b 00 3 REALmagic
> 000000001831ac6b 01 3 REALmagic
> ^C
>
> when I press the 1,2,3 buttons Smile
> But vdr --rcu=/var/run/lirc/lircd can't is not accepted as a lircd client
> I'll try to find some help in vdr groups.
> Thanks again for your help Smile
> regards,
> jf
It's OK now : vdr --lirc=/var/run/lirc/lircd makes it work Smile
Back to top
Login to vote
Display posts from previous:   
Related Topics:
X Font nightmare - The other day I rebooted after eighteen days, and every X font on my system went nuts. Now it's an adventure to see wha...

[gentoo-user] Xdm doesn´t start anymore - Hi After update the hole system xdm doesn´t start anymore. During the boot process i saw this error message ..

Kernel 2.6.20 does not work anymore with SCSI or SATA on o.. - Hello! We've a very strange Problem with Kernel 2.6.20.x If i try to access a SCSI or SATA Disk (tested with Adaptec....

netscape does'nt work anymore - -- Hello! Warning: the following hosts are unknown home.netscape.com home6.netscape.com ...

[gentoo-user] Why won't X work anymore - Hi - I've just done a emerge -Dup world after emerge sync(ing) a LiveCD I bought last year. X is now complaining it..

up2date doesnt work anymore! - I get this (from the console, if I launch it from menu it just freezes). .... An error has occurred:..
       Soft32 Home -> Linux -> General Discussions All times are: Pacific Time (US & Canada) (change)
Goto page 1, 2
Page 1 of 2

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 Windows
  Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]