View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 42 posts ] 
Go to page Previous  1, 2, 3

Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject:
PostPosted: Mon Feb 05, 2007 7:20 pm 
Offline
Joined: Wed Jan 07, 2004 12:14 pm
Posts: 425
Location: Charlotte, NC
First look in your syslog for your serial ports to confirm they are active. Piece of my log:

Code:
Feb  5 18:26:34 mythtv1 kernel: Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
Feb  5 18:26:34 mythtv1 kernel: serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
Feb  5 18:26:34 mythtv1 kernel: serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A


Then look towards the end of the syslog to see if your serial device is found. Again a piece of mine:

Code:
Feb  5 18:26:34 mythtv1 kernel: lirc_dev: IR Remote Control driver registered, at major 61
Feb  5 18:26:34 mythtv1 kernel: caller is init_port+0xb0/0x2a0 [lirc_serial]
Feb  5 18:26:34 mythtv1 kernel:  <e0ef246c> init_module+0x2c/0xb0 [lirc_serial]  <c013def4> sys_init_module+0x114/0x1e0
Feb  5 18:26:34 mythtv1 kernel:  <c0103177> syscall_call+0x7/0xb
Feb  5 18:26:34 mythtv1 kernel: lirc_serial: auto-detected active low receiver
Feb  5 18:26:34 mythtv1 kernel: lirc_dev: lirc_register_plugin: sample_rate: 0


If these are there then you should be able to detect your remote using irrecord. What do you see in the logs?

_________________
Backend server - 4.0 TB 3.0ghz dual core 6 gig RAM, nVidia 9400, Gigabyte GA-870A-UD3 MB, 2 HD-5500, 2 HD Homerun dual tuners, 3 frontend machines - LinHES 8.6.1


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 08, 2007 9:40 am 
Offline
Joined: Mon Nov 07, 2005 10:09 am
Posts: 153
i need it to use settings that will work for my packard bell serial receiver (usually i recompile with these settings):
Quote:
./setup.sh
save and exit
nano configure.sh

add the first two options to the customized configure.sh

Quote:
#!/bin/bash

./configure \
--with-kerneldir=/usr/src/linux \
--prefix=/usr \
--with-moduledir=/lib/modules/2.6.18-chw-13/misc \
--with-x \
--with-driver=packard_bell \
--with-major=61 \
--with-port=0x3f8 \
--with-irq=4 \
"$@"



Next:
Quote:
sh configure.sh
make
make install



Log files:
/var/log/daemon.log:Feb 7 20:29:32 mythtvslave lircd-0.8.1-CVS-pvr150[2595]: lircd(all) ready
/var/log/daemon.log:Feb 7 20:29:47 mythtvslave lircd-0.8.1-CVS-pvr150[2595]: accepted new client on /dev/lircd
/var/log/daemon.log:Feb 7 20:29:47 mythtvslave lircd-0.8.1-CVS-pvr150[2595]: could not get hardware features
/var/log/daemon.log:Feb 7 20:29:47 mythtvslave lircd-0.8.1-CVS-pvr150[2595]: this device driver does not support the new LIRC interface
/var/log/daemon.log:Feb 7 20:29:47 mythtvslave lircd-0.8.1-CVS-pvr150[2595]: major number of /dev/ttyS0 is 4
/var/log/daemon.log:Feb 7 20:29:47 mythtvslave lircd-0.8.1-CVS-pvr150[2595]: LIRC major number is 61
/var/log/daemon.log:Feb 7 20:29:47 mythtvslave lircd-0.8.1-CVS-pvr150[2595]: check if /dev/ttyS0 is a LIRC device
/var/log/daemon.log:Feb 7 20:29:47 mythtvslave lircd-0.8.1-CVS-pvr150[2595]: caught signal


/var/log/kern.log:Feb 7 20:29:31 mythtvslave kernel: lirc_dev: IR Remote Control driver registered, at major 61
/var/log/kern.log:Feb 7 20:29:32 mythtvslave kernel: lirc_serial: auto-detected active high receiver
/var/log/kern.log:Feb 7 20:29:32 mythtvslave kernel: lirc_dev: lirc_register_plugin: sample_rate: 0


/var/log/syslog.0:Feb 7 20:29:31 mythtvslave kernel: lirc_dev: IR Remote Control driver registered, at major 61
/var/log/syslog.0:Feb 7 20:29:32 mythtvslave kernel: lirc_serial: auto-detected active high receiver
/var/log/syslog.0:Feb 7 20:29:32 mythtvslave kernel: lirc_dev: lirc_register_plugin: sample_rate: 0
/var/log/syslog.0:Feb 7 20:29:32 mythtvslave lircd-0.8.1-CVS-pvr150[2595]: lircd(all) ready
/var/log/syslog.0:Feb 7 20:29:47 mythtvslave lircd-0.8.1-CVS-pvr150[2595]: accepted new client on /dev/lircd
/var/log/syslog.0:Feb 7 20:29:47 mythtvslave lircd-0.8.1-CVS-pvr150[2595]: could not get hardware features
/var/log/syslog.0:Feb 7 20:29:47 mythtvslave lircd-0.8.1-CVS-pvr150[2595]: this device driver does not support the new LIRC interface
/var/log/syslog.0:Feb 7 20:29:47 mythtvslave lircd-0.8.1-CVS-pvr150[2595]: major number of /dev/ttyS0 is 4
/var/log/syslog.0:Feb 7 20:29:47 mythtvslave lircd-0.8.1-CVS-pvr150[2595]: LIRC major number is 61
/var/log/syslog.0:Feb 7 20:29:47 mythtvslave lircd-0.8.1-CVS-pvr150[2595]: check if /dev/ttyS0 is a LIRC device
/var/log/syslog.0:Feb 7 20:29:47 mythtvslave lircd-0.8.1-CVS-pvr150[2595]: caught signal
here's my log





I get this:
Quote:
root@mythtvslave:/etc# root@mythtvslave:/etc# /usr/sbin/lircd --driver=packard_bell
Driver `packard_bell' not supported.
bash: root@mythtvslave:/etc#: No such file or directory
Supported drivers:
root@mythtvslave:/etc# Driver `packard_bell' not supported.
> Supported drivers:
> alsa_usb
> audio_alsa
> bte
> bw6130
> creative
> creative_infracd
> default
> dev/input
> dsp
> dvico
> ea65
> livedrive_midi
> livedrive_seq
> logitech
> mp3anywhere
> mouseremote
> mouseremote_ps2
> null
> pcmak
> pinsys
> pixelview
> silitek
> tira
> udp
> uirt2
> uirt2_raw
> usb_uirt_raw
[code][/code]


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 12, 2007 5:29 pm 
Offline
Joined: Tue Jan 30, 2007 11:28 pm
Posts: 8
randomhtpcguy wrote:
thanks for the suggestion, but that didn't work.
I did this on my other machine with a fresh install.


Randomhtpcguy,
(re-compiling lirc notwithstanding) did you get your packard_bell remote working? I can confirm what others have said. E.g. lirc-reconfig.sh and select the rcs-6n1, then put the lircd.conf and lircrc in place. restart lircd. That's it (I double checked, starting from a fresh install R5E50).


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 12, 2007 9:37 pm 
Offline
Joined: Mon Nov 07, 2005 10:09 am
Posts: 153
I screwed up my system...
i get this
lirc-reconfig.sh


Quote:
Setting up rca-6n1 ...
System startup links for /etc/init.d/lirc already exist.
Stopping lirc daemon: lircmd lircd.
#####################################################
## I couldn't load the required kernel modules ##
## You should install lirc-modules-source to build ##
## kernel support for your hardware. ##
#####################################################
## If this message is not appropriate you may set ##
## LOAD_MODULES=false in /etc/lirc/hardware.conf ##
#####################################################
Starting lirc daemon:.


I will reinstall R5E50.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 06, 2007 9:19 am 
Offline
Joined: Mon Nov 07, 2005 10:09 am
Posts: 153
I finally did a new autoupgrade of R5E50.

Damn... same thing.

I first tried using the reconfig script with option 34 (6in1) serial with my packard bell lircd.conf and lircrc.


Then i apt-get source lirc-0.8.0
setup.sh with packard bell on com1
configure.sh with -prefix=/usr and kerneldir=/usr/src/linux...

then...


make fails on lirc (downloaded from debian)

Quote:
Now enter 'make' and 'make install' to compile and install the package.

root@mythtvmaster:/usr/src/lirc-0.8.0# make
make all-recursive
make[1]: Entering directory `/usr/src/lirc-0.8.0'
Making all in drivers
make[2]: Entering directory `/usr/src/lirc-0.8.0/drivers'
Making all in lirc_dev
make[3]: Entering directory `/usr/src/lirc-0.8.0/drivers/lirc_dev'
mv Makefile Makefile.automake
cp ../Makefile.kernel Makefile
make -C /usr/src/linux/ SUBDIRS=/usr/src/lirc-0.8.0/drivers/lirc_dev modules \
KBUILD_VERBOSE=1
make[4]: Entering directory `/usr/src/linux-source-2.6.18-chw-13'
test -e include/linux/autoconf.h -a -e include/config/auto.conf || (

\

echo;
\
echo " ERROR: Kernel configuration is invalid.";


\
echo "

include/linux/autoconf.h or include/config/auto.conf are missing.";
\
echo "

Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo; \
/bin/false)
mkdir -p /usr/src/lirc-0.8.0/drivers/lirc_dev/.tmp_versions
rm -f /usr/src/lirc-0.8.0/drivers/lirc_dev/.tmp_versions/*
make -f scripts/Makefile.build obj=/usr/src/lirc-0.8.0/drivers/lirc_dev
gcc -m32 -Wp,-MD,/usr/src/lirc-0.8.0/drivers/lirc_dev/.lirc_dev.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.2/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -pipe -msoft-float -mpreferred-stack-boundary=2 -march=i586 -ffreestanding -Iinclude/asm-i386/mach-default -fomit-frame-pointer -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -DIRCTL_DEV_MAJOR=61 -DEXPORT_SYMTAB -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/src/lirc-0.8.0/drivers/lirc_dev/../.. -I/usr/src/linux//include/ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(lirc_dev)" -D"KBUILD_MODNAME=KBUILD_STR(lirc_dev)" -c -o /usr/src/lirc-0.8.0/drivers/lirc_dev/lirc_dev.o /usr/src/lirc-0.8.0/drivers/lirc_dev/lirc_dev.c
/usr/src/lirc-0.8.0/drivers/lirc_dev/lirc_dev.c:54:35: error: linux/devfs_fs_kernel.h: No such file or directory
/usr/src/lirc-0.8.0/drivers/lirc_dev/lirc_dev.c: In function 'cleanup':
/usr/src/lirc-0.8.0/drivers/lirc_dev/lirc_dev.c:132: warning: implicit declaration of function 'devfs_remove'
/usr/src/lirc-0.8.0/drivers/lirc_dev/lirc_dev.c: In function 'lirc_register_plugin':
/usr/src/lirc-0.8.0/drivers/lirc_dev/lirc_dev.c:381: warning: implicit declaration of function 'devfs_mk_cdev'
make[5]: *** [/usr/src/lirc-0.8.0/drivers/lirc_dev/lirc_dev.o] Error 1
make[4]: *** [_module_/usr/src/lirc-0.8.0/drivers/lirc_dev] Error 2
make[4]: Leaving directory `/usr/src/linux-source-2.6.18-chw-13'
make[3]: *** [lirc_dev.o] Error 2
make[3]: Leaving directory `/usr/src/lirc-0.8.0/drivers/lirc_dev'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/lirc-0.8.0/drivers'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/lirc-0.8.0'
make: *** [all] Error 2
root@mythtvmaster:/usr/src/lirc-0.8.0#



maybe i need a generic lirc source rather than the debianized sid version

or maybe it has something to do with udev versus devfs.

i don't really understand the error message.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 06, 2007 9:07 pm 
Offline
Joined: Mon Nov 07, 2005 10:09 am
Posts: 153
http://groups.google.com/group/linux.de ... 8aab8dfb99

Bug#390907: lirc-modules-source: Does not compile with Linux 2.6.18


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 06, 2007 10:00 pm 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
The LIRC source used to compile LIRC that is included w/ KnoppMyth can be found here.

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 07, 2007 9:11 am 
Offline
Joined: Mon Nov 07, 2005 10:09 am
Posts: 153
thanks cesman. I was attempting to use the sid version which they haven't altered to compile with 2.6.18 for some reason.

I did get the latest snapshot to compile against the kernel source in this forum http://lirc.sourceforge.net/software/snapshots/

and it even included the patch for my other remote the usb-uirt.

I will try you're pvr-150 source and if it works I will send along my config files to see if they might be included in knoppmyth.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Mar 31, 2007 6:02 pm 
Offline
Joined: Fri Feb 24, 2006 9:46 am
Posts: 65
A newbie need some help. I think I destroyed something after trying to install Lirc.

What did I do (see http://venky.ws/projects/imon/#lirc):
- Download the kernel sources as explained in this subject at the thirst page
- Download the latest Lirc
- Configured lirc and run make and make install (with the imon pad driver)
- Run modprobe lirc_dev and modprobe lirc_imon
- Reboot the system

And now X windows is not starting anymore!! It is waiting on the knoppmyth splash screen (welcome to knoppmyth) and flickers a few times with a black screen.

Do I have to reinstall the system? I really hope I don't, because this was the last open item and else I have to do it all again...
Anyone some tips/help?


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 01, 2007 12:06 pm 
Offline
Joined: Fri Feb 24, 2006 9:46 am
Posts: 65
Well, Xwindows is starting again. Somehow the nvidia driver was broken.

But my remote control is not working yet. I use the remote control of imon VDF/IR (pad).

What do I have to check? I followed the tips mentioned in this subject, but it is not working yet.

Who has some tips for me?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 27, 2007 12:31 am 
Offline
Joined: Wed Apr 18, 2007 12:03 pm
Posts: 2
randomhtpcguy wrote:
thanks cesman. I was attempting to use the sid version which they haven't altered to compile with 2.6.18 for some reason.

I did get the latest snapshot to compile against the kernel source in this forum http://lirc.sourceforge.net/software/snapshots/

and it even included the patch for my other remote the usb-uirt.

I will try you're pvr-150 source and if it works I will send along my config files to see if they might be included in knoppmyth.


Did you get the modules to load after compiling and installing the latest snapshot?? Thanks in advance.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 01, 2007 9:46 pm 
Offline
Joined: Fri Jan 27, 2006 3:43 pm
Posts: 17
i have a tira usb reciever. It does not require a kernel module. I installed the kernel source following cecil's instructions. i then configured lirc, make, and make installed lirc. that did not work, so I tried these kernel source instructions

Code:
cd /usr/src
wget ftp://knoppmyth.net/R5/linux-source-2.6.18-chw-13_2.6.18-chw-13-10.00.Custom_all.deb
dpkg -i linux-source-2.6.18-chw-13_2.6.18-chw-13-10.00.Custom_all.deb
rm -f linux-source-2.6.18-chw-13_2.6.18-chw-13-10.00.Custom_all.deb
tar xjvf linux-source-2.6.18-chw-13.tar.bz2
rm -f linux
ln -s linux-source-2.6.18-chw-13 linux
ln -s linux-source-2.6.18-chw-13 kernel-source-2.6.18-chw-13 # Thanks jbm2131!


Which did not work either. The first time with cecil's instructions i was able to get everything to make and make install now i get the following error:

Code:
In file included from /usr/include/sys/socket.h:35,
                 from irrecord.c:38:
/usr/include/bits/socket.h:304:24: error: asm/socket.h: No such file or directory
In file included from /usr/include/bits/errno.h:25,
                 from /usr/include/errno.h:36,
                 from irrecord.c:42:
/usr/include/linux/errno.h:4:23: error: asm/errno.h: No such file or directory
In file included from /usr/include/signal.h:333,
                 from irrecord.c:44:
/usr/include/bits/sigcontext.h:28:29: error: asm/sigcontext.h: No such file or directory
In file included from irrecord.c:47:
../drivers/lirc.h:7:23: error: asm/types.h: No such file or directory
In file included from ../drivers/lirc.h:8,
                 from irrecord.c:47:
/usr/include/linux/ioctl.h:4:23: error: asm/ioctl.h: No such file or directory
irrecord.c: In function 'waitfordata':
irrecord.c:853: error: 'EINTR' undeclared (first use in this function)
irrecord.c:853: error: (Each undeclared identifier is reported only once
irrecord.c:853: error: for each function it appears in.)
irrecord.c: In function 'availabledata':
irrecord.c:885: error: 'EINTR' undeclared (first use in this function)
make[2]: *** [irrecord.o] Error 1
make[2]: Leaving directory `/myth/remote_control/lirc-0.8.1/daemons'
make[1]: *** [all-recursive] Error 1
root@mythtv:/myth/remote_control/lirc-0.8.1# rol/lirc-0.8.1'
make: *** [all] Error 2


when i try to run make after running the following

Code:
./configure --with-kerneldir=/usr/src/linux --with-driver=tira


did i mess something up with the kernel sources, or is it something wrong with the lirc configure? because the tira does not require a kernel module i figured i would be able to recompile lirc and it would work, i guess i was wrong. :(


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 42 posts ] 
Go to page Previous  1, 2, 3



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 74 guests


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 post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu