this is how it worked for me :
// you need to be root (at some point)
>sudo bash -l
// get the kernel sources
#cd /usr/src/
#apt-get source linux-image-2.6.24-16-generic
//unpack the gzip-files
gunzip linux_2.6.24-16.30.diff.gz
// you will get a dir : linux_2.6.24-16.30.diff
tar -xzf linux_2.6.24.orig.tar.gz
// you will get a dir : linux-2.6.24.2
// set a symbolic link before applying the patch
ln -s linux-2.6.24.2 linux-2.6.24
// then patch
patch -p0 <linux_2.6.24-16.30.diff
// make some changes
#cd linux-2.6.24
// my kernelversion is 2.6.24-16, but
// the downloaded patchfile has a wrong subversion
// number, so correct this:
#vi Makefile
replace
EXTRAVERSION = .9
with
EXTRAVERSION = .14
// this is probably not necessary
#vi /usr/src/linux-2.6.24/debian/config/i386/config.generic
replace
CONFIG_USB_NET_ZAURUS is not set
with
CONFIG_USB_NET_ZAURUS=m
//get original configuration
#cp /boot/config-2.6.24-16-generic /usr/src/linux-2.6.24/
#mv /usr/src/linux-2.6.24/config-2.6.24-16-generic
/usr/src/linux-2.6.24/.config
//change in .config
CONFIG_USB_NET_ZAURUS is not set
to
CONFIG_USB_NET_ZAURUS=m
//compile the module
#mkdir /usr/src/linux-2.6.4/.tmp_versions
#cd /usr/src/linux-2.6.4/
# make drivers/net/usb/zaurus.ko
//install it
#
cp /usr/src/linux-2.6.4/drivers/net/usb/zaurus.ko
/lib/modules/2.6.24-16-generic/kernel/drivers/net/usb
# depmod -a
regards
Jens Getreu
--
usbnet: Zaurus C860 doesn't connect any more
https://bugs.launchpad.net/bugs/156581
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs