You are not logged in.

#1 2005-10-05 04:00:15

josephmc
Member
From: Texas,USA
Registered: 2005-03-16
Posts: 51
Website

[FIXED] lirc_serial

i get errors when I compile and load the lirc_drivers with the 2.6.13.2 kernel. I downgraded the kernel like the kernel.install said but now I can't compile the nvidia driver because of gcc version issues (kernel is gcc 3.x.x and gcc4 is not installed). I'm guessing this is just lirc not catching up to the kernel. That really sux because now my mythtv box is broken. I post this in hopes that somebody out there actually cares since i know this is a bit specific.

Offline

#2 2005-10-09 01:36:19

josephmc
Member
From: Texas,USA
Registered: 2005-03-16
Posts: 51
Website

Re: [FIXED] lirc_serial

use the CVS version on lirc with this PKGBUILD if you are having the same problem.

pkgname=lirc-cvs
pkgver=20051008
_kver=`uname -r`
pkgrel=1
pkgdesc="Linux Infrared Remote Control"
depends=('alsa-lib' 'x-server' 'libusb')
source=(lircd lircmd)
url="http://www.lirc.org/"
md5sums=( '3b5d29242d747b9c012e842eaaec12dd'
         '85f7fdac55e5256967241864049bf5e9')
backup=('etc/lircd.conf' 'etc/lircmd.conf')
makedepends=('cvs')
conflicts=('lirc')
provides=('lirc')
install=lirc.install

_cvsroot=":pserver:anonymous:@cvs.sourceforge.net:/cvsroot/lirc"
_cvsmod="lirc"

build() {
  msg "Connecting to $_cvsmod.sourceforge.net CVS server...."
  cvs -z3 -d $_cvsroot co -D $pkgver -f $_cvsmod
  cd $_cvsmod
  ./autogen.sh

  msg "CVS checkout done or server timeout"
  msg "Starting make..."

        cd $startdir/src/$pkgname-$pkgver
        ./configure --prefix=/usr --with-driver=serial --enable-sandbox
        make || return 1
        make DESTDIR=$startdir/pkg install
        mkdir -p $startdir/pkg/usr/share/lirc $startdir/pkg/etc/rc.d
        cp $startdir/src/{lircd,lircmd} $startdir/pkg/etc/rc.d/
        cp -rp remotes $startdir/pkg/usr/share/lirc
        chmod -R go-w $startdir/pkg/usr/share/lirc/

   #Build and install driver modules
   #NOTE: Kernel sources required for this
        mkdir -p $startdir/pkg/lib/modules/$_kver/misc
        cd drivers
        for mod in */; do
                cd $mod
                make
           [ ${_kver:0:3} == 2.4 ] && cp *[!mod].o $startdir/pkg/lib/modules/$_kver/misc/
           [ ${_kver:0:3} == 2.6 ] && cp *.ko $startdir/pkg/lib/modules/$_kver/misc/
           cd ..
        done

}

you'll need some files from abs for this to work right.

Offline

Board footer

Powered by FluxBB