OESF Portables Forum

Everything Else => Desktop Operating Systems Issues => Zaurus General Forums => Archived Forums => Linux Issues => Topic started by: gregkedro on October 21, 2003, 05:00:00 pm

Title: Missing USB Support in RH8 Kernel
Post by: gregkedro on October 21, 2003, 05:00:00 pm
I\'m following the how-to on connecting my Zaurus to my linux box.

uname -a on my machine results in:
Linux gregkedro 2.4.18-14 #1 Thu Oct 24 09:36:32 PDT 2002 i686 i686 i386 GNU/Linux

Therefore I downloaded the usbdnet-2.4.18-patch.gz file and patched the kernel source per the how-to instructions. I had \"Hunks\" fail in the patch process (Makefile, Config.in). I have no idea what that means.

When I pull up the kernel menuconfig, the how-to says \"In USB Support, section USB Network adaptors\", select (as a module) USBD Network (Encapsulated) Host-to-Host Link (EXPERIMENTAL).\"

That option does not appear in my menuconfig.

Does anyone have any idea of what I need to do? Seems to me the driver is not getting installed correctly, but I have no idea how to fix it. This \"patch\" is supposed to work like the how-to... but I\'m hosed here.

Thanks ahead of time.

-Greg
Title: Missing USB Support in RH8 Kernel
Post by: gregkedro on October 21, 2003, 07:45:03 pm
Found the fix:
http://lists.zaurus.com/pipermail/zaurus-g...May/005094.html (http://lists.zaurus.com/pipermail/zaurus-general/2002-May/005094.html)

Had to add some \"fuzz\" to the patch command to give it some leeway in matching.

But, I have another problem... for another post.

-Greg
Title: Missing USB Support in RH8 Kernel
Post by: Taim on October 21, 2003, 07:46:25 pm
From the looks of the kernel version, it appears to be a Redhat kernel based on the -14.  Are you running RedHat or are you running a different distro of Linux?  If you are running RedHat, you need to look at the usb howtos for Redhat.

Is your kernel source linked as /usr/src/linux?  If it is linked as anything else, like /usr/src/linux-2.4 (as in Gentoo), you will get patch errors.

One of the assumptions the generic usb syncing howto is that you have a clean source tree.  If it has been previously patched, you might run into conflicting patches that could very well give you hunk errors.  Try downloading a fresh copy of 2.4.18 (or grab a newer stable version).

What is the command you are using to patch the kernel?

Some good questions to help us get started helping you