Steven,

thanks a lot, it worked for me.

Here a more detailed version of your solution, it may help somebody:




// you need to be root (at some point)

>sudo bash -l

// get libcurses need for make menuconfig

#apt-get install libncurses5-dev

// get the kernel sources

#cd /usr/src/

#apt-get source linux-image-2.6.22-14-generic


// make some changes

#cd linux-source-2.6.22-2.6.22

// my kernelversion is 2.6.22-14, but
// the downloaded patchfile has a wrong subversion
// number, so correct this:
#vi Makefile 

   replace 
      EXTRAVERSION = .9 
   with
      EXTRAVERSION = .14        

#vi /usr/src/linux-
source-2.6.22-2.6.22/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.22-14-generic /usr/src/linux-source-2.6.22-2.6.22/

#mv /usr/src/linux-source-2.6.22-2.6.22/config-2.6.22-14-generic
/usr/src/linux-source-2.6.22-2.6.22/.config

//change in .config 
        CONFIG_USB_NET_ZAURUS is not set
     to
        CONFIG_USB_NET_ZAURUS=m


//compile the module

#mkdir /usr/src/linux-source-2.6.22-2.6.22/.tmp_versions

#cd /usr/src/linux-source-2.6.22-2.6.22/

# make drivers/net/usb/zaurus.ko


//install it

# cp /usr/src/linux-source-2.6.22-2.6.22/drivers/net/usb/zaurus.ko 
/lib/modules/2.6.22-14-generic/kernel/drivers/net/usb
 
# depmod -a

-- 
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 the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to