[mythtv-users] Creative Ifra Receiver --- step-by-step

John johnmythtv at crombe.com
Fri Feb 7 23:17:30 EST 2003


Hi.  Tried for help from the lirc list but have had limited success.
Anyone who got the Creative Infra Receiver to work can maybe help?

I did a make distclean and then rebuilt it all again from
scratch.  Chose the creative Infra receiver, and ttyS0 (Com1).  I have
tried it with and without the debug settings checked - no difference.

I have NO reference to lirc-serial or char-major-61 in my modules.conf, it's
generic (see attached).  My rc.d/rc.local is clean, and my kernel doesn't
reference any serial things at all.  I _think_ this
is how some people have it working.  In my /etc/ folder I have
the file 'lircd.conf" which is a copy of lirc.conf.creative from the
creative folder inside remotes inside the tarball (also attached).  In my
/dev folder I removed the old  lirc  device (rm lirc) and tried doing both a
simple   ln -sf  ttyS0 lirc   to create the symbolic link, and also a mknod
lirc c 0 61  then the ln  to link to it.  Either way it doesn't work for me.
I've tried doing the ln with /dev/lirc and just the lirc and neither works.
It does explain why you had a "5" in there and I had a "10".  When I do the
ln without the /dev path, I get 5, otherwise I get 10.  Here's what my ls -l
lirc* looks like:

lrwxrwxrwx    1 root     root   10 Feb  4 21:24 /dev/lirc ->/dev/ttyS0
srw-rw-rw-    1 root     root     0 Feb  5 01:29 /dev/lircd=
prw-r--r--      1 root     root     0 Jan 30 04:48 /dev/lircm|

I've tried doing a chmod 666 lirc but no difference.

Now, when I run the lircd -n command, it waits patiently for me to open
another window and type irw.  When I do (alt-f2 and login to new session),
this is output from the lircd window:

lircd 0.6.6: lircd(creative) ready
lircd 0.6.6: accepted new client on /dev/lircd
lircd 0.6.6: could not open /dev/lirc
lircd 0.6.6: creative_init(): No such device
lircd 0.6.6: caught signal

I've attached the output from lsmod so you can see what's loading.  I've
tried this inside X and outside.  Right now I doing it outside (before
loading X) just to simplify things.  Let me know if that's not ok!

I do see a message in my syslog about IRDA: irattach loading.  Is that
a problem?  There's nothing in my syslog about serial or creative or lirc.

Bottom line is that it's still (obviously) not working.  One thing that
really puzzles me is this.  I've hear people say you don't load any "serial"
drivers or modules of any kind and others say I have to load serial drivers,
and in fact to make sure not to get the default ones but to get the creative
ones.  Which way is right?  I know when I do the ./setup.sh it says
that I DON'T need to modify my kernel.  I don't know.  I don't really
understand what's going on behind the scenes.

If there any debugging or compile switches I should be turning on, let me
know please.

Oh, one more thought... Is it correct to do the ./setup.sh and the make as a
regular user then the make install as root?  Assuming yes, do I need to be
root to run lircd or irw?  I've tried it both ways but didn't know if it
mattered?

I'm desperate!  I have MythTV up and running and this is the one missing
piece!

Thanks a million!

JC
-------------- next part --------------
A non-text attachment was scrubbed...
Name: modules.conf
Type: application/octet-stream
Size: 1011 bytes
Desc: not available
Url : /pipermail/attachments/20030207/566b9ccd/modules.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lsmod.dat
Type: application/octet-stream
Size: 1922 bytes
Desc: not available
Url : /pipermail/attachments/20030207/566b9ccd/lsmod.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lircd.conf
Type: application/octet-stream
Size: 2163 bytes
Desc: not available
Url : /pipermail/attachments/20030207/566b9ccd/lircd.obj


More information about the mythtv-users mailing list