Jump to content

mdk10.1 and LIRC modules


Recommended Posts

Did you create the node at /dev/lirc/0?

 

Did you give the parameters as required?

 

modinfo lirc_serial_home

gives this:

 

filename: /lib/modules/2.6.8.1-10mdk/kernel/3rdparty/lirc/lirc_serial_home.ko

parm: type:Hardware type (0 = home-brew, 1 = IRdeo, 2 = IRdeo Remote, 3 = AnimaX

parm: io:I/O address base (0x3f8 or 0x2f8)

parm: irq:Interrupt (4 or 3)

parm: sense:Override autodetection of IR receiver circuit (0 = active high, 1 = active low )

parm: softcarrier:Software carrier (0 = off, 1 = on)

author: Ralph Metzler, Trent Piepho, Ben Pfaff, Christoph Bartelmus

description: Infra-red receiver driver for serial ports.

license: GPL

vermagic: 2.6.8.1-10mdk 686 gcc-3.4

depends: lirc_dev

 

so I guess you have to tell it the hardware type: 0 (home brew)...?

This is normally done as an argument with modprobe or insmod, or with an 'option' line in /etc/modprobe.conf.

Link to comment
Share on other sites

Guest macrosoma

I'm not totally clear on how to pass parameters to modprobe, even through command line... I have created /dev/lirc and run mknod /dev/lirc/0 c 61 0

Just to make sure I did not miss something, what should have ben done before attemping to run:

service lirc start except

 

make sure /dev/lirc exists

run mknod /dev/lirc/0 c 61 0

configure /etc/sysconfig/lircd : Did my settings look alright?

 

Thanks agian!

Link to comment
Share on other sites

Sorry for my late reply, I lost my internet connection over the weekend, still don't have it back - doing this from work..

 

Look into giving options with modules when you modprobe them, like:

 

modprobe lirc_serial_home type=0

or something, not sure about the syntax...

check

man modprobe

for more info, or look around on the net (google for modprobe to see examples, or so).

 

As soon as I have internet at home again I can help more, now I'm at work - no time...

Link to comment
Share on other sites

Guest macrosoma

I got fed up I changed tactics. I uninstalled the lirc package I got through urpmi lirc and instead downloaded lirc7 from the CVS on www.lirc.org and ran /.setup.sh, make, make install

Copying the right remote control file to /etc/lircd.config and then typing lircd and then irw it all worked!!

 

...but, as soon as I reboot I can't get it working again. I try to use setserial /dev/ttyS0 uart none and then modprobe lirc_serial, but that doesn't work.

 

Thanks agin for any help!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...