[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Installing wacom-kernel-source on Etch: /var/lib/dpkg/info/wacom-kernel-source.postinst: line 49: [: too many arguments



On Wed, 2007-04-18 at 09:45 +0200, Florian Kulzer wrote:
> On Tue, Apr 17, 2007 at 19:21:29 -0400, Greg Folkert wrote:
> > On Tue, 2007-04-17 at 23:16 +0100, Emmanuele Massimi wrote:
> > [snip]
> > 
> > /var/lib/dpkg/info/wacom-kernel-source.postinst has a couple of mistakes
> > relating to recent kernels.
> > 
> > line 48 needs to look like this:
> > 
> > kvers="`head -n 1 $ksrc/include/linux/utsrelease.h | cut -c 22- | rev | cut -c 2- | rev`"
> > 
> > But the build still fails for anything after 2.6.16... since that is the
> > last update for the wacom-kernel-source and 2.6.18 (or 20 for me)
> > doesn't exist.
> > 
> > Plus, AFAICS, it isn't needed anymore.
> > 
> > modprobe tells me:
> > 
> > /lib/modules/2.6.18-4-k7/kernel/drivers/usb/input/wacom.ko
> > 
> > Also found in for me in:
> > /lib/modules/2.6.20-1-k7/kernel/drivers/usb/input/wacom.ko
> > 
> > So, this here results in, what are you trying to do? The following
> > commands, as needed should help you out.
> > 
> > "sudo /sbin/modprobe wacom" or "modprobe wacom" should do the trick for
> > you.
> > 
> > Sorry Florian, I believe you went off on a wild goose chase with
> > Emmanuele, without even knowing it.
> 
> Are you sure that the wacom-kernel-source package is completely
> obsolete? The package description of xserver-xorg-input-wacom sounds
> like wacom-kernel-sources is still needed for some models.

Go look at them. 2.6.16 is the latest the one in the Debian repository
supports. I took the time, looked and actually went through them and
found the problems, fixed the postinst script, went through the
buildlog. Found that "/usr/src/modules/wacom/src/2.6.[17|18|19|20] were
all missing.

is a quick listing of the directories in the wacom-kernel-source, which
isn't a "real" kernel-source as I've come to know it, it is actually a
"kpkg" building of the modules.

        princess:/usr/src/modules/wacom/src# ls -l
        total 504
        drwxr-xr-x 2 root root  4096 2007-04-18 07:30 2.4
        drwxr-xr-x 2 root root   119 2007-04-18 07:30 2.4.22
        drwxr-xr-x 2 root root   119 2007-04-18 07:30 2.4.28
        drwxr-xr-x 2 root root    85 2007-04-18 07:26 2.4.30x86-64
        drwxr-xr-x 2 root root    70 2007-04-18 07:30 2.6
        drwxr-xr-x 2 root root    70 2007-04-18 07:30 2.6.10
        drwxr-xr-x 2 root root    70 2007-04-18 07:30 2.6.11
        drwxr-xr-x 2 root root    70 2007-04-18 07:30 2.6.13
        drwxr-xr-x 2 root root    70 2007-04-18 07:30 2.6.14
        drwxr-xr-x 2 root root    70 2007-04-18 07:30 2.6.15
        drwxr-xr-x 2 root root    70 2007-04-18 07:30 2.6.16
        drwxr-xr-x 2 root root    70 2007-04-18 07:30 2.6.8
        drwxr-xr-x 2 root root    70 2007-04-18 07:30 2.6.9

Do you see anything missing?

The latest version in the /usr/src/modules/wacom/src/2.6.* tree is
v1.44.

Looked at the actual source in the 2.6.18-12 Linux Kernel source
in /usr/src/linux-source-2.6.18/drivers/usb/input.

	v1.45 is the version in 2.6.18

Looked at the actual source in the 2.6.20-2 Linux Kernel source
in /usr/src/linux-source-2.6.20/drivers/usb/input.

	v1.46 is the version in 2.6.20

So, it looks like it has either been accepted into the mainline kernel,
or it has been patched into the Debian source. Either way,
wacom-kernel-source is obsoleted or deprecated.
-- 
greg, greg@gregfolkert.net

Novell's Directory Services is a competitive product to Microsoft's
Active Directory in much the same way that the Saturn V is a competitive
product to those dinky little model rockets that kids light off down at
the playfield. -- Thane Walkup

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: