OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

3 Pages V  < 1 2 3 >  
Reply to this topicStart new topic
> Wanted: Serial_cs.o For C3000/linux 2.4.20, Sharp's version shows Bad Vcc in dmesg
dhns
post Aug 24 2005, 08:11 AM
Post #16





Group: Members
Posts: 699
Joined: 26-February 04
From: near Munich, Germany
Member No.: 2,043



QUOTE(euroclie @ Aug 24 2005, 01:50 PM)
I think that all the patches Tetsu included in his kernel are available from the same page, you should be able to patch the stock Sharp kernel and recompile it, making the serial stuff a module.
I have tried to find my way through the translation of his page (having two Safari windows open - one with translation, original the other :-).
I found an .ipk (SL-C1000/C3000 kernel modules (v18a))for additional kernel modules (e.g. Bluetooth) for the C3000 but it does contain only the directory ./lib/modules/2.4.20/pcmcia/ but no patch. So, he must have patched that to the kernel, but I can't find.

-- hns
Go to the top of the page
 
+Quote Post
Ping
post Aug 24 2005, 10:06 AM
Post #17





Group: Members
Posts: 17
Joined: 13-August 05
From: France
Member No.: 7,848



Hello!

I remember I had problems with GPS CF when I developed a software for Zaurus

I have cross-compiled the serial_cs.o from the Linux kernel 2.4.29 and it works!

I have done a memo for this

I have test on a Zaurus SL-C760 but I will try to see if it works on a my Zaurus SL-C3100

(sorry for my english, I'm french!)
Go to the top of the page
 
+Quote Post
dhns
post Aug 24 2005, 10:15 AM
Post #18





Group: Members
Posts: 699
Joined: 26-February 04
From: near Munich, Germany
Member No.: 2,043



QUOTE(Ping @ Aug 24 2005, 07:06 PM)
I cross-compile the serial_cs.o from the Linux kernel 2.4.29  and it works!
I have test on a Zaurus SL-C760 but I will try to see if it works on a my Zaurus SL-C3100
That would be great! I already have a working serial_cs.o for the C7x0/860 models (Kernel 2.4.18) but couldn't find any one for the C3000/3100 models with 2.4.20 kernel.

-- hns
Go to the top of the page
 
+Quote Post
euroclie
post Aug 24 2005, 11:18 AM
Post #19





Group: Members
Posts: 205
Joined: 5-January 05
From: Paris, France
Member No.: 6,125



QUOTE(dhns @ Aug 24 2005, 06:11 PM)
I have tried to find my way through the translation of his page (having two Safari windows open - one with translation, original the other :-).
I found an .ipk (SL-C1000/C3000 kernel modules (v18a))for additional kernel modules (e.g. Bluetooth) for the C3000 but it does contain only  the directory ./lib/modules/2.4.20/pcmcia/ but no patch. So, he must have patched that to the kernel, but I can't find.

Use the following link:

http://translate.google.com/translate?hl=e...hl%3Den%26lr%3D

And look for the part shown in the attached picture
Attached File  tetsu3k.jpg ( 113.86K ) Number of downloads: 28


All the patches are available as text files from the main page (P01, P02, etc.) so it shouldn't be too hard to get them, apply them to the stock 3000 kernel sources and recompile it with serial as a module...

Happy compiling! smile.gif
Go to the top of the page
 
+Quote Post
Ping
post Aug 24 2005, 11:56 AM
Post #20





Group: Members
Posts: 17
Joined: 13-August 05
From: France
Member No.: 7,848



Try this

don't forget to run "cardctl resume 0 "

I see when I cross-compile my kernel that serial_cs is not compiled as module so you should cross-compile your own kernel and disable serial_cs than copy my serial_cs.o to /lib/modules/2.4.20/kernel/drivers/pcmcia (on the Zaurus)
Attached File(s)
Attached File  serial_cs.o.tar.gz ( 4.05K ) Number of downloads: 37
 
Go to the top of the page
 
+Quote Post
dhns
post Aug 25 2005, 01:59 AM
Post #21





Group: Members
Posts: 699
Joined: 26-February 04
From: near Munich, Germany
Member No.: 2,043



QUOTE(euroclie @ Aug 24 2005, 08:18 PM)
QUOTE(dhns @ Aug 24 2005, 06:11 PM)
I have tried to find my way through the translation of his page (having two Safari windows open - one with translation, original the other :-).
I found an .ipk (SL-C1000/C3000 kernel modules (v18a))for additional kernel modules (e.g. Bluetooth) for the C3000 but it does contain only  the directory ./lib/modules/2.4.20/pcmcia/ but no patch. So, he must have patched that to the kernel, but I can't find.

Use the following link:

http://translate.google.com/translate?hl=e...hl%3Den%26lr%3D

And look for the part shown in the attached picture
Attached File  tetsu3k.jpg ( 113.86K ) Number of downloads: 28


All the patches are available as text files from the main page (P01, P02, etc.) so it shouldn't be too hard to get them, apply them to the stock 3000 kernel sources and recompile it with serial as a module...

Happy compiling! smile.gif
*

I already had translated that - but which one modifies the serial_cs for PCMCIA? If I want to just patch that, I can't apply any other patch to the kernel...

-- hns
Go to the top of the page
 
+Quote Post
dhns
post Aug 25 2005, 02:07 AM
Post #22





Group: Members
Posts: 699
Joined: 26-February 04
From: near Munich, Germany
Member No.: 2,043



QUOTE(Ping @ Aug 24 2005, 08:56 PM)
Try this
Great!

This seems to work on the C3000! I just got the first ATI response!

Just wondering why there are so many kernels out there when installing a module is sufficient...

-- hns
Go to the top of the page
 
+Quote Post
maslovsky
post Aug 25 2005, 04:36 AM
Post #23





Group: Members
Posts: 1,426
Joined: 22-October 03
Member No.: 89



So, te buttomline is to use the module from 2.4.29 kernel? What about Sharp patches? Does it work fine with stock modules without them?
Go to the top of the page
 
+Quote Post
euroclie
post Aug 25 2005, 04:39 AM
Post #24





Group: Members
Posts: 205
Joined: 5-January 05
From: Paris, France
Member No.: 6,125



QUOTE(dhns @ Aug 25 2005, 11:59 AM)
I already had translated that - but which one modifies the serial_cs for PCMCIA? If I want to just patch that, I can't apply any other patch to the kernel...

Look in the (P11) bluetooth-mh18_041216 patch, it seems that the serial_cs file gets patched in there (didn't have an extensive look, it's just that at line #5644 you find this:
CODE
diff -Nur c3000_pre/linux/drivers/char/pcmcia/serial_cs.c c3000_work/linux/drivers/char/pcmcia/serial_cs.c
--- c3000_pre/linux/drivers/char/pcmcia/serial_cs.c    2004-08-21 09:48:33.000000000 +0900
+++ c3000_work/linux/drivers/char/pcmcia/serial_cs.c    2004-12-16 23:01:14.000000000 +0900
@@ -2,7 +2,7 @@

    A driver for PCMCIA serial devices

-    serial_cs.c 1.128 2001/10/18 12:18:35
+    serial_cs.c 1.138 2002/10/25 06:24:52


I'll leave it up to you to check if there's anything usefull for you in there (as for me, there isn't much I can make sense of, my C knowledge being very limited)! smile.gif
Go to the top of the page
 
+Quote Post
euroclie
post Aug 25 2005, 04:41 AM
Post #25





Group: Members
Posts: 205
Joined: 5-January 05
From: Paris, France
Member No.: 6,125



QUOTE(dhns @ Aug 25 2005, 12:07 PM)
Just wondering why there are so many kernels out there when installing a module is sufficient...

As far as I could make out from the Japanese stuff, Tetsu's kernel contains a lot of bug fixes and improvements that make it a valuable choice, and which couldn't necessarily be implemented as standalone modules... but then I may be wrong, I'm not a kernel guru. biggrin.gif
Go to the top of the page
 
+Quote Post
maslovsky
post Aug 25 2005, 05:08 AM
Post #26





Group: Members
Posts: 1,426
Joined: 22-October 03
Member No.: 89



Actualy I didn't see any difference between 2.4.21 and 2.4.31 versions of the serial_cs code. Maybe "cardctl resume 0" comamnd was the key?
Go to the top of the page
 
+Quote Post
euroclie
post Aug 25 2005, 05:51 AM
Post #27





Group: Members
Posts: 205
Joined: 5-January 05
From: Paris, France
Member No.: 6,125



QUOTE(maslovsky @ Aug 25 2005, 03:08 PM)
Actualy I didn't see any difference between 2.4.21 and 2.4.31 versions of the serial_cs code.  Maybe "cardctl resume 0" comamnd was the key?
*

I remember that I had troubles with my Audiovox-compatible card at the beginning. It wouldn't work at all, until I indeed issued that "cardctl resume 0" command (the key on the 3000 is to append the slot number to the resume command, as there are two slots unlike the older devices).

Then I was able to play with the card using minicom, and proceed to other things like getting PPP to work with it. That's when I discovered that I needed to resume the card for minicom to see it, but if it was resumed I coudln't use it with the GUI to connect to the net (using PPP), which required it to be suspended first. Go figure!

Right now I seem to have somehow damaged the card when transporting it along with my Zaurus, as I can't stay connected for more than 30 seconds or so, and I've (temporarily at least) put it aside while I have serious work to do... I'll play again with it in a few weeks/months. huh.gif
Go to the top of the page
 
+Quote Post
dhns
post Aug 25 2005, 07:31 AM
Post #28





Group: Members
Posts: 699
Joined: 26-February 04
From: near Munich, Germany
Member No.: 2,043



QUOTE(maslovsky @ Aug 25 2005, 02:08 PM)
Actualy I didn't see any difference between 2.4.21 and 2.4.31 versions of the serial_cs code.  Maybe "cardctl resume 0" comamnd was the key?
*
Hm,
the two serial_cs.o files posted here differ in file length by 4 bytes. And the second one works (at least for my C3000 + Audiovox RTM 8000).
No Idea why.

-- hns
Go to the top of the page
 
+Quote Post
Ping
post Aug 25 2005, 10:31 PM
Post #29





Group: Members
Posts: 17
Joined: 13-August 05
From: France
Member No.: 7,848



QUOTE(dhns @ Aug 25 2005, 04:31 PM)
QUOTE(maslovsky @ Aug 25 2005, 02:08 PM)
Actualy I didn't see any difference between 2.4.21 and 2.4.31 versions of the serial_cs code.  Maybe "cardctl resume 0" comamnd was the key?
*
Hm,
the two serial_cs.o files posted here differ in file length by 4 bytes. And the second one works (at least for my C3000 + Audiovox RTM 8000).
No Idea why.

-- hns
*



Maybe the compiler. I used gcc-2.95.4
Go to the top of the page
 
+Quote Post
dhns
post Aug 25 2005, 10:33 PM
Post #30





Group: Members
Posts: 699
Joined: 26-February 04
From: near Munich, Germany
Member No.: 2,043



QUOTE(Ping @ Aug 26 2005, 07:31 AM)
Maybe the compiler. I used gcc-2.95.4
*
Or some other kernel configuration which includes one more statement?

-- hns
Go to the top of the page
 
+Quote Post

3 Pages V  < 1 2 3 >
Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 23rd November 2014 - 12:03 PM