bbenn Posted October 29, 2005 Report Share Posted October 29, 2005 Hi , I was trying to use aRTee's 10.1 lirc_serial_home.ko for my home made IR receiver in 2006RC2. when i do modprobe: [root@localhost ~]# modprobe lirc_serial_home FATAL: Error inserting lirc_serial_home (/lib/modules/2.6.12-12mdk/kernel/3rdparty/lirc/drivers/lirc_serial/lirc_serial_home.ko): Invalid module format Is this due to incorrect kernel version? This modeule worked fine in 101.1. Is this module availble anywhere for 2006 Rc2 please? Ben [moved from Hardware by spinynorman] Quote Link to comment Share on other sites More sharing options...
devries Posted October 29, 2005 Report Share Posted October 29, 2005 Yes. Why don t you try the lirc rpm packages? Mandriva 2006 comes with lirc 0.71 and it should work with most remotes. https://mandrivausers.org/index.php?showtopic=28910 Quote Link to comment Share on other sites More sharing options...
bbenn Posted October 30, 2005 Author Report Share Posted October 30, 2005 I am using lirc-0.7.1-5mdk,liblirc0-0.7.1-5mdk & lirc-remotes-0.6.6-4mdk packages. My /etc/sysconfig/lircg ================== DRIVER=DEFAULT # Hardware driver module to load HWMOD=lirc_serial # with devfs enabled DEVICE=/dev/lirc/0 #DEVICE=/dev/lirc/serial # Serial port for the receiver (for serial driver) # COM1 (/dev/ttyS0) COM_PORT=/dev/ttyS0 DRIVER_OPTS="irq=4 io=0x3f8" /etc/modprobe.conf ================ alias char-major-61-0 lirc_serial options lirc_serial irq=4 io=0x3f8 irw don't give anything unlike with Madrake10.1 any help is much appreciated. Ben Quote Link to comment Share on other sites More sharing options...
bbenn Posted October 30, 2005 Author Report Share Posted October 30, 2005 A bit more from my system: [root@localhost dev]# ps -ef|grep lirc root 4989 1 0 22:20 ? 00:00:00 lircd --driver=DEFAULT --device=/dev/lirc/0 root 5022 1 0 22:20 ? 00:00:00 lircmd root 5030 4307 0 22:20 pts/0 00:00:00 grep lirc [root@localhost dev]# irw IRW just waits here................... Quote Link to comment Share on other sites More sharing options...
devries Posted October 30, 2005 Report Share Posted October 30, 2005 Sounds like a problem with the lircd.conf. Do you still have the one from the 10.1 install? Quote Link to comment Share on other sites More sharing options...
bbenn Posted October 30, 2005 Author Report Share Posted October 30, 2005 I deleted 10.1 and installed 2006RC. But i kept lircd.conf file. My remote is not included in Lirc so I made the file using Winlirc and this file worked fine in 10.1 Are there additional debugging commands I can use to see what the problem is? My lircd.conf file attached. Thanks Ben lircd_conf.txt Quote Link to comment Share on other sites More sharing options...
devries Posted October 30, 2005 Report Share Posted October 30, 2005 http://www.lirc.org/html/help.html Look in the lircd logs. Perhaps something can be found there. And try generating a lircd.conf. I noticed it's for 0.6xx. Quote Link to comment Share on other sites More sharing options...
bbenn Posted November 1, 2005 Author Report Share Posted November 1, 2005 The lircd.conf format has not changed betweent lirc6.xx and 7.xx. your info is incorrect. If you remember aRtee had the same problem in 10.1 and aRTee made lirc_serial_home module for 101. Once again Mandrake Team has left out lirc_serial_home module and pixelview module for Mandrake 2006 ! It is clearly dissapointing given this is a large distribution and a lot of people will be affected by this. Ben Quote Link to comment Share on other sites More sharing options...
aRTee Posted November 1, 2005 Report Share Posted November 1, 2005 I see the serial module in my system: ll /lib/modules/2.6.12-12mdk/kernel/3rdparty/lirc/drivers/lirc_serial/ total 8 -rw-r--r-- 1 root root 6687 Sep 9 18:16 lirc_serial.ko.gz So I don't know what your issue is, but it's not this. What happens when you do (as root) : lsmod are any lirc modules present? My desktop output: lsmod | grep lirc lirc_i2c 8036 1 lirc_dev 11812 1 lirc_i2c i2c_core 17360 12 cx88xx,rivatv,lirc_i2c,asb100,i2c_sensor,i2c_viapro,tuner,tvaudio,msp3400,bttv,i 2c_algo_bit,tveeprom Your /etc/sysconfig/lircd looks good to me... What's your output of ls -l /dev/lirc/0 On my mdv05le system (which also has a homebrew receiver), I have nothing in my /etc/modprobe.conf, and my /etc/sysconfig/lircd is practically identical to yours, minus that the device is /dev/lirc0 but other than that, no difference... Quote Link to comment Share on other sites More sharing options...
bbenn Posted November 2, 2005 Author Report Share Posted November 2, 2005 Thanks for the reply. Below are my printouts: [root@localhost dev]# ls -l /dev/lirc/0 crw-rw---- 1 root root 61, 0 Oct 31 21:53 /dev/lirc/0 [root@localhost dev]# [root@localhost dev]# ls -l /dev|grep lirc drwxr-xr-x 2 root root 60 Oct 31 21:53 lirc/ srw-rw-rw- 1 root root 0 Oct 31 21:53 lircd= prw-r--r-- 1 root root 0 Oct 31 21:53 lircm| lsmod ====== Module Size Used by lirc_serial 11712 1 lirc_dev 11812 1 lirc_serial md5 3584 1 ipv6 234016 8 raw 6592 1 snd_seq_dummy 2532 0 snd_seq_oss 31136 0 snd_seq_midi_event 5696 1 snd_seq_oss snd_seq 46960 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event snd_seq_device 6828 3 snd_seq_dummy,snd_seq_oss,snd_seq -------<cut>_----------- sis_agp 6052 1 agpgart 29032 1 sis_agp bt878 8184 0 bttv 148944 1 bt878 video_buf 17060 1 bttv firmware_class 7456 1 bttv i2c_algo_bit 8488 1 bttv v4l2_common 4640 1 bttv btcx_risc 3912 1 bttv tveeprom 11512 1 bttv i2c_core 17360 3 bttv,i2c_algo_bit,tveeprom videodev 7104 1 bttv tsdev 5984 0 ohci_hcd 19140 0 usbcore 108348 2 ohci_hcd modprobconfig ============ alias sound-slot-0 snd-intel8x0 remove snd-intel8x0 /sbin/modprobe -r snd-pcm-oss; /sbin/modprobe --first-time -r --ignore-remove snd-intel8x0 install snd-intel8x0 /sbin/modprobe --first-time --ignore-install snd-intel8x0 && { /sbin/modprobe snd-pcm-oss; /bin/true; } install usb-interface /sbin/modprobe ohci-hcd; /bin/true #********LIRC************* #alias char-major-61-0 lirc_serial #options lirc_serial irq=4 io=0x3f8 options bttv tuner=5 card=37 ---------------------------------------------------------------------------------------- I got lirc_serial in /lib/modules/2.6.12-12mdk/kernel/3rdparty/lirc/drivers/lirc_serial/ I was going to use the pixelview (TV Card ) lirc but I can't see pixelview driver for it iin /lib/modules/2.6.12-12mdk/kernel/3rdparty/lirc/drivers/.... lircd --driver=? lists pixelview as a valid driver When lircd/lircmd works properly can you move the mouse pointer with the remote similar to normal mouse? Thanks Ben Quote Link to comment Share on other sites More sharing options...
bbenn Posted November 2, 2005 Author Report Share Posted November 2, 2005 Another intresting post: http://sourceforge.net/mailarchive/forum.p...1&forum_id=5339 Quote Link to comment Share on other sites More sharing options...
aRTee Posted November 2, 2005 Report Share Posted November 2, 2005 From what lsmod tells, the driver is there, so that's not the problem. From what I gather, pixelview is not a kernel driver - so you won't find it there. It's a userspace driver, and I'm not sure if I get it correctly, but the output of lircd --driver=? actually confirms that it is available, so just put it in the conf file /etc/sysconfig/lircd and it should be used. Check with ps -ef | grep lirc if it is indeed used. What happens if you do: service lircd stop irrecord /dev/lirc/0 and then follow instructions? Or if you do: cat /dev/lirc/0 and press some buttons? Are you sure your dongle didn't break in the meantime? Quote Link to comment Share on other sites More sharing options...
bbenn Posted November 3, 2005 Author Report Share Posted November 3, 2005 Hi, Thanks for the suggessions. Here's what I did; Test1 ===== Checked serial dongle with Winlirc and made c lircd.conf file - dongle works fine Test2 ===== [root@localhost ~]# service lircd stop Stopping Linux Infrared Remote Control daemon: [ OK ] [root@localhost ~]# irrecord /dev/lirc/0 irrecord: could not open file /dev/lirc/0 irrecord: No such file or directory ******************************************************************************** ****************************** Starting Linux Infrared Remote Control daemon: [ OK ] [root@localhost dev]# irrecord /dev/lirc/0 <*****Button Press Here no OUtput*****> [root@localhost dev]# [root@localhost dev]# [root@localhost dev]# [root@localhost dev]# [root@localhost dev]# ******************************************************************************** ****************************** [root@localhost ~]# ps -ef|grep lirc root 2867 1 0 02:06 ? 00:00:00 lircd --driver=DEFAULT --device=/dev/lirc/0 root 2969 1 0 02:06 ? 00:00:00 lircmd root 3382 3307 0 02:14 pts/0 00:00:00 grep lirc [root@localhost ~]# service lircd stop Stopping Linux Infrared Remote Control daemon: [ OK ] [root@localhost ~]# ps -ef|grep lirc [root@localhost ~]# irrecord /home/test.conf irrecord - application for recording IR-codes for usage with lirc Copyright © 1998,1999 Christoph Bartelmus(lirc@bartelmus.de) irrecord: could not init hardware (lircd running ? --> close it, check permissions) [root@localhost ~]# ******************************************************************************** ****************************** [root@localhost ~]# service lircd start Starting Linux Infrared Remote Control daemon: [ OK ] [root@localhost ~]# ps -ef|grep lirc root 3463 1 0 02:16 ? 00:00:00 lircd --driver=DEFAULT --device=/dev/lirc/0 [root@localhost ~]# irrecord /home/test.conf irrecord - application for recording IR-codes for usage with lirc Copyright © 1998,1999 Christoph Bartelmus(lirc@bartelmus.de) irrecord: could not init hardware (lircd running ? --> close it, check permissions) [root@localhost ~]# ls -la /etc/lircd.conf -rw-r--r-- 1 root root 1434 Oct 27 04:28 /etc/lircd.conf [root@localhost ~]# ls -la /etc/lircmd.conf -rw-r--r-- 1 root root 194 Nov 1 02:27 /etc/lircmd.conf [root@localhost ~]# ******************************************************************************** ************************* Step 3 ======== [root@localhost dev]# ps -ef|grep lirc root 3540 3346 0 02:21 ? 00:00:00 leafpad lircd root 3575 1 0 02:23 ? 00:00:00 lircd --driver=DEFAULT --device=/dev/lirc/0 root 3604 3307 0 02:28 pts/0 00:00:00 grep lirc [root@localhost dev]# ls -l /dev/lirc total 0 crw-rw---- 1 root root 61, 0 Nov 2 02:23 0 [root@localhost dev]# cat /dev/lirc/0 <<<*****Button Press Here No Output************>>> ******************************************************************************** *************************** /var/log/messages ================= Nov 2 02:19:27 localhost lircd: lircd shutdown succeeded Nov 2 02:23:46 localhost kernel: lirc_dev: IR Remote Control driver registered, at major 61 Nov 2 02:23:47 localhost kernel: lirc_serial: auto-detected active high receiver Nov 2 02:23:47 localhost kernel: lirc_dev: lirc_register_plugin: sample_rate: 0 Nov 2 02:23:47 localhost lircd-0.7.1[3575]: lircd(any) ready Nov 2 02:23:47 localhost lircd: lircd startup succeeded Nov 2 02:31:24 localhost lircd-0.7.1[3575]: caught signal Nov 2 02:31:24 localhost lircd: lircd shutdown succeeded /var/log/lircd ============ Empty file. Do I have a permission file problem ? Pl check Step3 Ben Quote Link to comment Share on other sites More sharing options...
bbenn Posted November 3, 2005 Author Report Share Posted November 3, 2005 Latest Update ==================== I followed the advice and installed mm kernel and Lirc worked straight away. No changes were neccessary to anything else. Many thanks Now I am back to my original problem : How to get Lirc Mouse working (My aim is to get Lirc mouse pointer moving on the desktop just like using a normal mouse) My lircmd.conf file is incorrect. I hand typed this file. could you please help. /var/log ========== Nov 2 04:10:52 localhost lircmd: invalid line 13 in config file ignored Nov 2 04:10:52 localhost lircmd: invalid line 14 in config file ignored Nov 2 04:10:52 localhost lircmd: invalid line 16 in config file ignored Nov 2 04:10:52 localhost lircmd: invalid line 17 in config file ignored Nov 2 04:10:52 localhost lircmd: invalid line 19 in config file ignored Nov 2 04:10:52 localhost lircmd: invalid line 20 in config file ignored Nov 2 04:10:52 localhost lircmd: invalid line 22 in config file ignored .........this continues My lircd.conf & lircmd.conf files are attached. Any suggessions much appreciated. Thanks :D Ben lircd_conf.txt lircmd_conf.txt Quote Link to comment Share on other sites More sharing options...
bbenn Posted November 3, 2005 Author Report Share Posted November 3, 2005 (edited) Lircmd problem solved ================== Data you need from lircd.conf file 1) Name of the Remote 2) Name of the button to use lircmd.conf File format should be as below: MOVE_ N myremote up Example: MOVE_N Panasonic up MOVE_S Panasonic down ........ Happy days Thanks aRTee I owe you a slab! Happy Ben P.S. sorry i can't PM your inbox is full Edited November 3, 2005 by bbenn Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.