plustek: plustek-driver/Suse 7.1/Kernel 2.4.
Subject:
Re: plustek-driver/Suse 7.1/Kernel 2.4.
From:
"Jaeger, Gerhard" ####@####.####
Date:
29 Mar 2001 07:02:48 -0000
Message-Id: <01032909062604.00499@gja>
Hi,
well I think we got it! You don't need to compile the kernel, but
you have to make sure, that /usr/src/linux points to the sources
where your current kernel is made of.
AFAIR you're using SuSE 7.1, then you have to install the lx_kernel24
package instead of the lx_kernel package (which contains the 2.2.18
sources).
The driver needs to know for which kernel it should work for...
Gerhard
BTW: Please reply to the list...
On Mon, 26 Mär 2001, Thomas Mandl wrote:
> Hi Gerhard,
>
> perhaps we got the solution:
>
>
> > I'll try to explain, how the different kernel-versions where detected
> > in the driver code:
> > If you have a closer look to the file plustek_driver/h/sysdep-2.1.h
> > you'll find, that here we try to detect the kernel version by including
> > the file /usr/src/linux/include/linux/version.h
> > This file MUST include the correct version code, please check.
> >
> > For example the file for kernel 2.4.1 looks as follows:
> > #define UTS_RELEASE "2.4.1"
> > #define LINUX_VERSION_CODE 132097
> > #define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
>
>
> Have a look at this version:
>
> #define UTS_RELEASE "2.2.18"
> #define LINUX_VERSION_CODE 131602
> #define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
>
>
>
> The header seems to be wrong.
>
> Must I recompile the kernel ?
> >
> >
> > I'm not sure about your programming skills,
>
> I'm a total non-programmer: "bohemian villages" ;-)
>
>
> Greetinx
> Thomas