Re: [mythtv-users] installing ivtv

2005-06-07 Thread Torsten Schenkel
Am Mittwoch, den 01.06.2005, 16:43 -0700 schrieb Ben Holt:
> On 6/1/05, Torsten Schenkel <[EMAIL PROTECTED]> wrote:
> > You need the kernel sources installed to be able to compile the
> > additional modules. I my guess is correct, you don't want to compile
> > your own kernel, so this is what you need to do:
> 
> If he's using a precompiled debian kernel he only needs the headers,
> not the full source then the build will work fine.
> 
> Since he's using an old kernel he'll probably need to upgrade it at
> the same time since the headers for 2.6.7 are probably no longer
> available:
> 
> apt-get install kernel-image-2.6-686-smp kernel-headers-2.6-686-smp

Should work, sometime in the past this was not working (at least not for
kernels > 2.4 in unstable), so I devised the workaround.

It still doesn't work, the configuration of the kernel image and the
kernel headers don't match:

In file included
from /usr/src/modules/lirc/drivers/lirc_i2c/lirc_i2c.c:57:
/usr/src/modules/lirc/drivers/kcompat.h:149:2: #error "LIRC modules
currently require"
/usr/src/modules/lirc/drivers/kcompat.h:150:2: #error "  'Loadable
module support  --->  Module unloading'"
/usr/src/modules/lirc/drivers/kcompat.h:151:2: #error "to be enabled in
the kernel"

> Then just build ivtv as per the docs.

ivtv works with the headers only, ivtv even works with the kernel source
only (not compiled)

> As for getting lirc to work, why not use the precompiled debian package?

There is none, recommended procedure for lirc is therefore (I forgot in
the last mail):

5.

apt-get install lirc-modules-source
cd /usr/src
tar xvfz lirc-modules.tar.gz
cd linux

dpkg-reconfigure lirc-modules-source 

in the case you have debconf set to critical
do not use automagical but set your ir receiver by hand

make-kpkg modules_image
dpkg -i ../lirc-modules*.deb

This way you have a modules package installed.
Alternatively you can install lirc the standard way, which is what I do.

HTH,

Torsten

___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] installing ivtv

2005-06-02 Thread Ben Holt
On 6/1/05, Torsten Schenkel <[EMAIL PROTECTED]> wrote:
> Am Mittwoch, den 01.06.2005, 16:43 -0700 schrieb Ben Holt:
> > Since he's using an old kernel he'll probably need to upgrade it at
> > the same time since the headers for 2.6.7 are probably no longer
> > available:
> >
> > apt-get install kernel-image-2.6-686-smp kernel-headers-2.6-686-smp
> 
> Should work, sometime in the past this was not working (at least not for
> kernels > 2.4 in unstable), so I devised the workaround.
> 
> It still doesn't work, the configuration of the kernel image and the
> kernel headers don't match:


I've never had a problem compiling ivtv or nvidia modules with just
the kernel headers from unstable.

 
> > As for getting lirc to work, why not use the precompiled debian package?
> 
> There is none, recommended procedure for lirc is therefore (I forgot in
> the last mail):

Actually there are:

apt-get install liblircclient0 lirc lirc-x

I didn't have to compile lirc and the modules are already part of the
stock debian kernel and are loaded when lircd is launched (set in
/etc/lirc/hardware.conf).

Anyway... there's nothing wrong with doing things the long way and it
will likely help our leet friend become a lnxmaster ;-).

Cheers,

- Ben


-- 
A: Because it destroys the flow of conversation.
Q: Why is top posting dumb?
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] installing ivtv

2005-06-01 Thread Ben Holt
On 6/1/05, Torsten Schenkel <[EMAIL PROTECTED]> wrote:
> You need the kernel sources installed to be able to compile the
> additional modules. I my guess is correct, you don't want to compile
> your own kernel, so this is what you need to do:

If he's using a precompiled debian kernel he only needs the headers,
not the full source then the build will work fine.

Since he's using an old kernel he'll probably need to upgrade it at
the same time since the headers for 2.6.7 are probably no longer
available:

apt-get install kernel-image-2.6-686-smp kernel-headers-2.6-686-smp

Then just build ivtv as per the docs.

As for getting lirc to work, why not use the precompiled debian package?

- Ben

-- 
A: Because it destroys the flow of conversation.
Q: Why is top posting dumb?
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] installing ivtv

2005-06-01 Thread Torsten Schenkel
Am Mittwoch, den 01.06.2005, 14:55 + schrieb d2k2 k7:
> i am having a lot of problems installing ivtv
> could somebody help, please
> i am not an linux expert.

Maybe you should drop the leet attitude, then. Im simply judging from
your email adress. 

> i get the following error when i try to execute make
> 
> debian:/usr/src/ivtv-0.2.0-rc3/driver# make
> make -C /lib/modules/2.6.7-1-686-smp/build
> SUBDIRS=/usr/src/ivtv-0.2.0-rc3/driver modules
> make: *** /lib/modules/2.6.7-1-686-smp/build: No such file or
> directory.  Stop.
> make: *** [all] Error 2
> debian:/usr/src/ivtv-0.2.0-rc3/driver#
> 
> there is no file called "build" in the /lib /modules/2.6.7-1-686-smp
> folder
> what should i do...
> i am almost giving up on mythtv
> just cant install ivtv and lirc...
> please help

You need the kernel sources installed to be able to compile the
additional modules. I my guess is correct, you don't want to compile
your own kernel, so this is what you need to do:

1. get the kernel sources:

apt-get install kernel-source-2.6.7

2. unpack the kernel sources:

cd /usr/src
tar xvfj kernel-source-2.6.7.tar.bz2

3. copy the kernel config and compile a kernel

cp /boot/config-2.6.7-1-686-smp /usr/src/kernel-souce-2.6.7/.config
cd /usr/src/kernel-souce-2.6.7
make oldconfig
make

4. link the modules/.../build to you kernel sources

ln -s /usr/src/kernel-souce-2.6.7 /lib/modules/2.6.7-1-686-smp/build
ln -s /usr/src/kernel-souce-2.6.7 /usr/src/linux

Now the compile should work

BTW, maybe you should give KnoppMyth a try:

http://mysettopbox.tv

That is, if all you want is a working mythbox, If you want to learn
linux, go ahead the way you are heading now.

Torsten

P.S. 

Oops, thought I read "debian" there, but it was in the next message's
header. But judging from your kernel name I guess it's still debian.

___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] installing ivtv

2005-06-01 Thread Tim Hamer
the easiest way i found to get ivtv and lirc to compile was to build a 
custom kernel rather than use a precompiled one.


d2k2 k7 wrote:

i am having a lot of problems installing ivtv
could somebody help, please
i am not an linux expert.

i get the following error when i try to execute make

debian:/usr/src/ivtv-0.2.0-rc3/driver# make
make -C /lib/modules/2.6.7-1-686-smp/build 
SUBDIRS=/usr/src/ivtv-0.2.0-rc3/driver modules
make: *** /lib/modules/2.6.7-1-686-smp/build: No such file or 
directory.  Stop.

make: *** [all] Error 2
debian:/usr/src/ivtv-0.2.0-rc3/driver#

there is no file called "build" in the /lib /modules/2.6.7-1-686-smp folder
what should i do...
i am almost giving up on mythtv
just cant install ivtv and lirc...
please help
-thanks





___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


[mythtv-users] installing ivtv

2005-06-01 Thread d2k2 k7
i am having a lot of problems installing ivtv
could somebody help, please
i am not an linux expert.

i get the following error when i try to execute make

debian:/usr/src/ivtv-0.2.0-rc3/driver# make
make -C /lib/modules/2.6.7-1-686-smp/build SUBDIRS=/usr/src/ivtv-0.2.0-rc3/driver modules
make: *** /lib/modules/2.6.7-1-686-smp/build: No such file or directory.  Stop.
make: *** [all] Error 2
debian:/usr/src/ivtv-0.2.0-rc3/driver#

there is no file called "build" in the /lib /modules/2.6.7-1-686-smp folder
what should i do...
i am almost giving up on mythtv
just cant install ivtv and lirc...
please help
-thanks


___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] installing ivtv

2005-03-28 Thread Don Watson
I found nothing regarding the following in google or ivtv archives.
/root/tmp is empty. I'm using 'root' to install  so there shouldn't be a 
permission problem.
Do you have any ideas?

[EMAIL PROTECTED] don]# /home/don/so*/iv*/ut*/ivtvfwextract.pl
/home/don/software/ivtv-0.2.0-rc3i/utils/ivtvfwextract.pl: Can't open 
/root/tmp/ivtvex.10891/hcwpvrp2.sys: No such file or directory

Ross wrote:
It looks like you're not getting the firmware extracted from the
windows driver correctly, so I wouldn't even try to load the modules
yet.
Have a look at the documentation on the ivtv wiki at
http://ivtv.writeme.ch/ on the firmware, and ask the ivtv list (see
links from the wiki) if you still have problems..
Oh, and FWIW, don't just grep for ivtv, not all of the ivtv related
line have ivtv in it. Use the following instead:
tac /var/log/messages |
sed -n '/=\ \ END INIT IVTV\ \ =/,/= START INIT IVTV =/p;
/= START INIT IVTV =/q' |
tac 

Ross
On Sun, 27 Mar 2005 09:27:19 -0800, dlw <[EMAIL PROTECTED]> wrote:
 

my sys is 1.7ghz, 512m ram
120g hda, 160g hdb
cd/dvd-rw hdc, cd-rw hdd
Hauppauge 350
MDK 10.1 KDE 3.2
Trying to install ivtv-0.2.0-rc3i
dmesg | grep ivtv
(snip)
ivtv: Autodetecting cardtype for card #8
ivtv: SGarray_size = 420, DSGarray_size = 16
ivtv: Found an iTVC15 based chip
Firmware image too large '/lib/modules/ivtv-fw-enc.bin'
ivtv: failed loading encoder firmware
ivtv: Error loading firmware!
ivtv: Error initializing.
ivtv: Error -12 on init
ivtv: iTVC15/16 mpg2 encoder card: probe of :01:07.0 failed with
error -12
ivtv: loaded
I looked in mythtv lists archive and google only to get frustrated.
How can I solve the above regarding 'firmware too large'.
Also, I get this error:
ivtvfwextract.pl: Can't open /root/tmp/ivtvex.7522/hcwpvrp2.sys: No such
file or directory.
dlw
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

   

___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
 

___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] installing ivtv

2005-03-27 Thread Ross
It looks like you're not getting the firmware extracted from the
windows driver correctly, so I wouldn't even try to load the modules
yet.

Have a look at the documentation on the ivtv wiki at
http://ivtv.writeme.ch/ on the firmware, and ask the ivtv list (see
links from the wiki) if you still have problems..

Oh, and FWIW, don't just grep for ivtv, not all of the ivtv related
line have ivtv in it. Use the following instead:

tac /var/log/messages |
sed -n '/=\ \ END INIT IVTV\ \ =/,/= START INIT IVTV =/p;
/= START INIT IVTV =/q' |
tac 

Ross


On Sun, 27 Mar 2005 09:27:19 -0800, dlw <[EMAIL PROTECTED]> wrote:
> my sys is 1.7ghz, 512m ram
> 120g hda, 160g hdb
> cd/dvd-rw hdc, cd-rw hdd
> Hauppauge 350
> MDK 10.1 KDE 3.2
> 
> Trying to install ivtv-0.2.0-rc3i
> 
> dmesg | grep ivtv
> (snip)
> ivtv: Autodetecting cardtype for card #8
> ivtv: SGarray_size = 420, DSGarray_size = 16
> ivtv: Found an iTVC15 based chip
> Firmware image too large '/lib/modules/ivtv-fw-enc.bin'
> ivtv: failed loading encoder firmware
> ivtv: Error loading firmware!
> ivtv: Error initializing.
> ivtv: Error -12 on init
> ivtv: iTVC15/16 mpg2 encoder card: probe of :01:07.0 failed with
> error -12
> ivtv: loaded
> 
> I looked in mythtv lists archive and google only to get frustrated.
> How can I solve the above regarding 'firmware too large'.
> 
> Also, I get this error:
> ivtvfwextract.pl: Can't open /root/tmp/ivtvex.7522/hcwpvrp2.sys: No such
> file or directory.
> 
> dlw
> 
> 
> ___
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> 
> 
>
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


[mythtv-users] installing ivtv

2005-03-27 Thread dlw
my sys is 1.7ghz, 512m ram
120g hda, 160g hdb
cd/dvd-rw hdc, cd-rw hdd
Hauppauge 350
MDK 10.1 KDE 3.2
Trying to install ivtv-0.2.0-rc3i
dmesg | grep ivtv
(snip)
ivtv: Autodetecting cardtype for card #8
ivtv: SGarray_size = 420, DSGarray_size = 16
ivtv: Found an iTVC15 based chip
Firmware image too large '/lib/modules/ivtv-fw-enc.bin'
ivtv: failed loading encoder firmware
ivtv: Error loading firmware!
ivtv: Error initializing.
ivtv: Error -12 on init
ivtv: iTVC15/16 mpg2 encoder card: probe of :01:07.0 failed with 
error -12
ivtv: loaded

I looked in mythtv lists archive and google only to get frustrated.
How can I solve the above regarding 'firmware too large'.
Also, I get this error:
ivtvfwextract.pl: Can't open /root/tmp/ivtvex.7522/hcwpvrp2.sys: No such 
file or directory.

dlw

___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users