Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Sharp Zaurus
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
vcolombo
n00b
n00b


Joined: 18 Jun 2002
Posts: 11

PostPosted: Tue Jun 18, 2002 4:51 pm    Post subject: Sharp Zaurus Reply with quote

Hello,

Just wondering if anyone knows how to get a Sharp Zaurus SL-5500 working under Gentoo 1.2. I've found other documentation saying you're supposed to use a patched version of the usbnet driver but I haven't found a version of that patch for the 2.4.19 kernel. The usbnet driver included with the kernel doesn't even seem to recognize the Zaurus. The CDCEther driver will recognize it however, but it doesn't work after that.

Any suggestions would be greatly appreciated.

Vince
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Tue Jun 18, 2002 6:03 pm    Post subject: Reply with quote

Easy way out: run 802.11b :D

Do you have any docs on what you're talking about?
Back to top
View user's profile Send private message
vcolombo
n00b
n00b


Joined: 18 Jun 2002
Posts: 11

PostPosted: Tue Jun 18, 2002 6:10 pm    Post subject: Reply with quote

Here's the documentation that I found:

http://www.ruault.com/Zaurus/ethernet-over-usb-howto.html

Vince
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Tue Jun 18, 2002 6:24 pm    Post subject: Reply with quote

So, I assume you attempted to follow the document... where does this stop working?
Back to top
View user's profile Send private message
vcolombo
n00b
n00b


Joined: 18 Jun 2002
Posts: 11

PostPosted: Tue Jun 18, 2002 6:44 pm    Post subject: Reply with quote

It stops working immediately. The usbnet patches available from that site are for 2.4.17 and 2.4.18, not 2.4.19 and it gives me an error if I try to apply one of the two.

As far as using the built in usbnet driver (the one already in the kernel), that doesn't have an option to put in the device and manufacturer ID info as stated in the instructions. If I build usbnet the way it is it just doesn't recognize the Zaurus cradle as a usbnet device.

Vince
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Tue Jun 18, 2002 6:55 pm    Post subject: Reply with quote

Can you use vanilla-sources?
Back to top
View user's profile Send private message
vcolombo
n00b
n00b


Joined: 18 Jun 2002
Posts: 11

PostPosted: Tue Jun 18, 2002 7:03 pm    Post subject: Reply with quote

I don't know where else to get the usbnet patches from. The patches in this documentation are all I've been able to find.

I'm just using the gentoo-sources for my kernel right now.
Back to top
View user's profile Send private message
metalhedd
l33t
l33t


Joined: 30 May 2002
Posts: 692
Location: Ontario Canada

PostPosted: Wed Jun 19, 2002 2:43 pm    Post subject: Reply with quote

You probably won't get errors if you use a vanilla kernel. the gentoo sources are already heavily patched.
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Wed Jun 19, 2002 4:38 pm    Post subject: Reply with quote

vcolombo wrote:
I don't know where else to get the usbnet patches from.


The docs say: "Download the patch corresponding to your kernel version from here"

You should be able to patch your kernel by installing vanilla-sources and running:

Code:
# cd /usr/src/linux-2.4.18/; wget http://www.ruault.com/Zaurus/patches/usbdnet-2.4.18.patch.gz -O - | gunzip -c | patch -p0
Back to top
View user's profile Send private message
dleuen
n00b
n00b


Joined: 28 Jun 2002
Posts: 1

PostPosted: Fri Jun 28, 2002 8:44 pm    Post subject: Reply with quote

@vcolombo

I don't know if you solved this yet but I was successful in applying
the usbdnet patch for the 2.4.18 kernel into the crypto-sources
gentoo kernel tree. The only thing I did different is used fuzz factor
4 as a patch option (patch -p0 -F 4 ). If you look at the patch, the
usbdnet files are new files. The Makefiles are the only ones that really
need patching/mergeing and the fuzz 4 gets it close enough where
there were no problems with the kernel compile. I only tried it with
the crypto-sources but I would think it would work with the standard
kernel too.

Don Leuenberger
Back to top
View user's profile Send private message
needlern1
Guru
Guru


Joined: 16 Jul 2002
Posts: 376
Location: Marietta, Ga 30068

PostPosted: Tue Jul 30, 2002 8:43 am    Post subject: Reply with quote

I just applied the usbd patch for the vanilla 2.4.18 kernel to the 2.4.19-gentoo-r7 kernel. My steps were right out of the 'ethernet over usb' howto and were pretty much as follows(I'm just posting the patch process I used):

IIRC, with the patch in /usr/src, cd into /usr/src and 'gunzip -c 2.4.18.patch.gz'(without the quotes when shown in this post); 'patch -p0 2.4.18.patch'; at this point 4 or so of the files patched successfully. The two that did not (Makefile and Config.in) generated reject files(rf). The rf showed where it failed in the patch process. As Don mentioned above, look at the patch file itself. You're simply adding new text to the Makefile and Config.in files. Using text editor of choice I copied/pasted the appropriate new text into each of the Makefile and Config.in files. Then was able to compile the new kernel with usbdnet in it.

BTW, I also updated my Portage ports tree and had the latest updates to build with first. My Zaurus, with fbvnc added, now shows on my monitor(via http://) and I use my full size keyboard and mouse to enter data into it. How sweet it is! HTH, Bill
Back to top
View user's profile Send private message
fmalabre
Guru
Guru


Joined: 19 Jun 2002
Posts: 376
Location: Chicago

PostPosted: Thu Aug 22, 2002 3:49 am    Post subject: Reply with quote

Just received my Zaurus today :D
I followed the instruction given in your link for my Kernel 2.4.19, and everything works fine.
At least, I can ping my Zaurus...

I need to find stuff to synchronize with kde pim. Any idea where I can find that?
Also, I will try VNC...
Back to top
View user's profile Send private message
shadow303
Tux's lil' helper
Tux's lil' helper


Joined: 19 Apr 2002
Posts: 101

PostPosted: Fri Aug 23, 2002 10:46 pm    Post subject: Reply with quote

I just tried last night. The patch worked on my 2.4.19 gentoo-r7 source, and I was successfully able to ping my zaurus. The problem is that after I rebooted, X quit working. I remembered to remerge the nvidia kernel modules after installing the new modules (I have a Geforce2 MX 400) It's pretty weird. When I boot the machine, it displays the nvidia splash screen and then the screen goes black (it repeats this a few times before it dumps to the command prompt). If I try to do a start X, it doesn't work and I get some strange error message about not finding the font 'fixed'. ANy ideas?
Back to top
View user's profile Send private message
fmalabre
Guru
Guru


Joined: 19 Jun 2002
Posts: 376
Location: Chicago

PostPosted: Fri Aug 23, 2002 11:59 pm    Post subject: Reply with quote

Don't know for that ,I have an ATI.

But I tried VNC, and it rocks.
Back to top
View user's profile Send private message
Cthulu23
n00b
n00b


Joined: 27 Aug 2002
Posts: 8

PostPosted: Tue Aug 27, 2002 1:29 am    Post subject: Reply with quote

I've experienced the same problem twice and I had to reemerge Xfree86 before I got X working again. Sorry.
Back to top
View user's profile Send private message
shadow303
Tux's lil' helper
Tux's lil' helper


Joined: 19 Apr 2002
Posts: 101

PostPosted: Wed Aug 28, 2002 12:36 am    Post subject: Reply with quote

I reinstalled my system since emerge rebuilds didn't seem to help. I have the module installed now, and X still works, but now the device refuses to show up under ifconfig. Hmm... maybe I missed something in the kernel config.
Back to top
View user's profile Send private message
fmalabre
Guru
Guru


Joined: 19 Jun 2002
Posts: 376
Location: Chicago

PostPosted: Wed Aug 28, 2002 2:12 am    Post subject: Reply with quote

You know, it's weird, it was working fine.
Since then, I haven't done nothing and it doesn't work anymore...
I can't even ping it.
I will search for that later on, once I will have Gentoo 1.4 installed.
Back to top
View user's profile Send private message
dioxmat
Bodhisattva
Bodhisattva


Joined: 04 May 2002
Posts: 709
Location: /home/mat

PostPosted: Tue Sep 03, 2002 3:40 pm    Post subject: Reply with quote

shouldnt this thread be in the new "Gentoo on Alternate Architectures" ? (the xbox one is :)
Back to top
View user's profile Send private message
shadow303
Tux's lil' helper
Tux's lil' helper


Joined: 19 Apr 2002
Posts: 101

PostPosted: Tue Sep 03, 2002 5:39 pm    Post subject: Reply with quote

No, since this isn't about running Gentoo on the Zaurus itself. This is about getting the zaurus to sync with a Gentoo linux pc (the problems being on the pc side).
Back to top
View user's profile Send private message
dioxmat
Bodhisattva
Bodhisattva


Joined: 04 May 2002
Posts: 709
Location: /home/mat

PostPosted: Wed Sep 04, 2002 8:06 am    Post subject: Re: Sharp Zaurus Reply with quote

vcolombo wrote:

Just wondering if anyone knows how to get a Sharp Zaurus SL-5500 working under Gentoo 1.2.


shadow303 wrote:

this isn't about running Gentoo on the Zaurus itself. This is about getting the zaurus to sync with a Gentoo linux pc (the problems being on the pc side).


err... :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum