Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
lirc modules ? [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
arma
Apprentice
Apprentice


Joined: 07 Nov 2004
Posts: 198
Location: Belgium

PostPosted: Mon Jan 09, 2006 11:32 pm    Post subject: lirc modules ? [SOLVED] Reply with quote

hello

i'm running a linux-2.6-12 and lirc-0.7.2
i've read the http://gentoo-wiki.com/HOWTO_LIRC
i've added the LIRC_OPTS="--with-driver=pctv" in my make.conf

and lirc emerged fine... but no driver lirc_* ???
i didnt find anything like that in the kernel config, so i thgough lirc will compile that module for me

i must have miss something somewhere, can you help me please ?

TIA
_________________
l'alcool est un ennemi...
et en quelque sorte,...
fuir l'ennemi, c'est lâche


Last edited by arma on Tue Jan 10, 2006 12:50 am; edited 1 time in total
Back to top
View user's profile Send private message
arma
Apprentice
Apprentice


Joined: 07 Nov 2004
Posts: 198
Location: Belgium

PostPosted: Tue Jan 10, 2006 12:14 am    Post subject: Reply with quote

digging a little bit, i found this when emerging lirc
Code:
creating drivers/Makefile
creating drivers/lirc_atiusb/Makefile
creating drivers/lirc_bt829/Makefile
creating drivers/lirc_cmdir/Makefile
creating drivers/lirc_dev/Makefile
creating drivers/lirc_gpio/Makefile
creating drivers/lirc_i2c/Makefile
creating drivers/lirc_igorplugusb/Makefile
creating drivers/lirc_imon/Makefile
creating drivers/lirc_it87/Makefile
creating drivers/lirc_mceusb/Makefile
creating drivers/lirc_mceusb2/Makefile
creating drivers/lirc_parallel/Makefile
creating drivers/lirc_sasem/Makefile
creating drivers/lirc_serial/Makefile
creating drivers/lirc_sir/Makefile
creating drivers/lirc_streamzap/Makefile
creating daemons/Makefile
creating tools/Makefile[/quote]
creating doc/Makefile
creating doc/man/Makefile
creating config.h

Your hardware does not require a kernel module.


??? my hardware what ? ok fine, ty, but then, why isnt any device like /dev/lirc* created ?
_________________
l'alcool est un ennemi...
et en quelque sorte,...
fuir l'ennemi, c'est lâche
Back to top
View user's profile Send private message
baeksu
l33t
l33t


Joined: 26 Sep 2004
Posts: 609
Location: Seoul, Korea

PostPosted: Tue Jan 10, 2006 12:19 am    Post subject: Reply with quote

The message is correct, you don't need kernel modules for lirc anymore.

As to the lack of /dev/lirc*, I had similar problems with 2.6.12 kernels, but upgrading to 2.6.14 fixed them, and now lirc works.

You might want to try with a newer kernel, to see if /dev/lircd gets created.
_________________
Gnome:
1. A legendary being.
2. A never ending quest to make unix friendly to people who don't want unix and excruciating for those that do.
Back to top
View user's profile Send private message
arma
Apprentice
Apprentice


Joined: 07 Nov 2004
Posts: 198
Location: Belgium

PostPosted: Tue Jan 10, 2006 12:23 am    Post subject: Reply with quote

wel in fact i got a /dev/lircd, i was expecting soemthing like /dev/lirc[0-9]
the problem is when i try a cat /dev/lircd while pushing some buttons, i just got a
Code:
ganymede linux # cat /dev/lircd
cat: /dev/lircd: Aucun périphérique ou adresse


and
Code:
ganymede / # irw /dev/lircd
connect: Connection refused



and at least, when i try an irw, i got
Code:
ganymede ~ # lircd -n --driver=pinsys
lircd-0.7.2[5256]: lircd(pctv) ready
lircd-0.7.2[5256]: accepted new client on /dev/lircd
lircd-0.7.2[5256]: readlink() failed for "/dev/lirc"
lircd-0.7.2[5256]: No such file or directory
lircd-0.7.2[5256]: could not create lock files
lircd-0.7.2[5256]: caught signal
Complété


bump
_________________
l'alcool est un ennemi...
et en quelque sorte,...
fuir l'ennemi, c'est lâche
Back to top
View user's profile Send private message
arma
Apprentice
Apprentice


Joined: 07 Nov 2004
Posts: 198
Location: Belgium

PostPosted: Tue Jan 10, 2006 12:50 am    Post subject: Reply with quote

well
Code:
lircd -n --device=/dev/ttyS0 --driver=pinsys


saved me

ty for your help
_________________
l'alcool est un ennemi...
et en quelque sorte,...
fuir l'ennemi, c'est lâche
Back to top
View user's profile Send private message
baeksu
l33t
l33t


Joined: 26 Sep 2004
Posts: 609
Location: Seoul, Korea

PostPosted: Tue Jan 10, 2006 12:52 am    Post subject: Reply with quote

For my /etc/conf.d/lircd, I have
Code:
# Options to pass to the lircd process
LIRCD_OPTS="--driver=dvico -d /dev/usb/hiddev0"

Once you have lircd running ('/etc/init.d/lircd start'), you only need to run 'irw' without any options, and you should get some codes from your remote. Do you have /etc/lircd.conf set up?
_________________
Gnome:
1. A legendary being.
2. A never ending quest to make unix friendly to people who don't want unix and excruciating for those that do.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum