Author Topic: Wanted: Serial_cs.o For C3000/linux 2.4.20  (Read 13692 times)

dhns

  • Hero Member
  • *****
  • Posts: 699
    • View Profile
    • http://www.goldelico.com
Wanted: Serial_cs.o For C3000/linux 2.4.20
« Reply #30 on: August 26, 2005, 02:43:29 am »
Quote
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).
the default is 0 so it is not really required to add the 0.
Quote
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!
That is some strange logic within cardctl and some cards. When inserting, some cards come up suspended and others resumed. And many programs assume that it is in the "right" state initially. And that will conflict.
Quote
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,
Hm. Is that for voice or for data calls or both? It might be the antenna - if it is broken the signal quality is very bad and it might be very dependent on small movements of the card (especially indoors). You could try to test that with AT+CSQ=?

-- hns
SL5500G, C860, C3100, WLAN, RTM8000, Powerbook G4, and others...
http://www.handheld-linux.com
http://www.quantum-step.com

Ping

  • Newbie
  • *
  • Posts: 17
    • View Profile
    • http://
Wanted: Serial_cs.o For C3000/linux 2.4.20
« Reply #31 on: August 26, 2005, 02:44:31 am »
I have used serial_cs source from Linux-kernel 2.4.31  

And I have replaced the directories of the zaurus's kernel source tree with this one and compile it as module

I have a kernel with Tetsu's patchs and used the .config file from arch/arm/def-config/borzoi-j

I have no other 'special configuration' except IPv6 and those from Tetsu's patchs
Zaurus SL-C3100
ROM Cacko 1.23 full
Kernel IPv6 Ready (cross-compiled from source )
Wifi card Linksys WCF12

euroclie

  • Full Member
  • ***
  • Posts: 205
    • View Profile
    • http://
Wanted: Serial_cs.o For C3000/linux 2.4.20
« Reply #32 on: August 27, 2005, 03:02:44 am »
Quote
the default is 0 so it is not really required to add the 0.
Funny. When I issue a "cardctl resume" command, I always get a "ioctl(): Device or resource busy" error message (which I also get when performing a cardctl resume 1, i.e. when I resume the (already operating) microdrive).

Likewise, when I issue "cardctl suspend", it does suspend both slots, not just the #0 slot, and if  I don't immediately resume the #1 slot the Zaurus crashes, of course, whenever it tries to access any file on the microdrive.

So with my setup, at least, the cardctl command doesn't default to 0. I'm using Cacko 1.23 beta ROM on the 3000.

Quote
That is some strange logic within cardctl and some cards. When inserting, some cards come up suspended and others resumed. And many programs assume that it is in the "right" state initially. And that will conflict.
Yeah, that's what I finally figured out... Not a big deal but back when I was trying to configure the card it didn't make my life easy!

Quote
Hm. Is that for voice or for data calls or both? It might be the antenna - if it is broken the signal quality is very bad and it might be very dependent on small movements of the card (especially indoors). You could try to test that with AT+CSQ=?
I'll try reinstalling minicom (haven't done so since I installed the latest beta of the Cacko ROM) and check. The card would work fine in "standby" (i.e. when not connected), but it woulnd't keep a GPRS connection for long, either in my Zaurus or in my laptop PC, with no particular movement of either device - although that last point might be harder to confirm as a bad electrical contact would suffer from the sligtest vibration... Thanks for your suggestion, anyway!
Patrick

dhns

  • Hero Member
  • *****
  • Posts: 699
    • View Profile
    • http://www.goldelico.com
Wanted: Serial_cs.o For C3000/linux 2.4.20
« Reply #33 on: August 29, 2005, 01:40:50 am »
Quote
Quote
the default is 0 so it is not really required to add the 0.
Funny. When I issue a "cardctl resume" command, I always get a "ioctl(): Device or resource busy" error message (which I also get when performing a cardctl resume 1, i.e. when I resume the (already operating) microdrive).

Likewise, when I issue "cardctl suspend", it does suspend both slots, not just the #0 slot, and if  I don't immediately resume the #1 slot the Zaurus crashes, of course, whenever it tries to access any file on the microdrive.

So with my setup, at least, the cardctl command doesn't default to 0. I'm using Cacko 1.23 beta ROM on the 3000.
You are right - I was mislead by the C860 which has only one slot in operation. The official manual entry http://pcmcia-cs.sourceforge.net/man/cardctl.8.html says:
Quote
If a socket number is specified, the command will be applied to just one socket; otherwise, all sockets will be affected.

-- hns
SL5500G, C860, C3100, WLAN, RTM8000, Powerbook G4, and others...
http://www.handheld-linux.com
http://www.quantum-step.com

maslovsky

  • Hero Member
  • *****
  • Posts: 1426
    • View Profile
    • http://my-zaurus.narod.ru
Wanted: Serial_cs.o For C3000/linux 2.4.20
« Reply #34 on: August 29, 2005, 04:10:21 pm »
Quote
I have used serial_cs source from Linux-kernel 2.4.31 

And I have replaced the directories of the zaurus's kernel source tree with this one and compile it as module

I have a kernel with Tetsu's patchs and used the .config file from arch/arm/def-config/borzoi-j

I have no other 'special configuration' except IPv6 and those from Tetsu's patchs
[div align=\"right\"][a href=\"index.php?act=findpost&pid=93298\"][{POST_SNAPBACK}][/a][/div]

OK, this means that Sharp's modifications to the serial_cs source add VCC problem to the driver.
Did you test this driver with other serial-based devices, such as bluetooth cards?

Ping

  • Newbie
  • *
  • Posts: 17
    • View Profile
    • http://
Wanted: Serial_cs.o For C3000/linux 2.4.20
« Reply #35 on: August 30, 2005, 04:18:01 am »
Quote
OK, this means that Sharp's modifications to the serial_cs source add VCC problem to the driver.
Did you test this driver with other serial-based devices, such as bluetooth cards?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=93661\"][{POST_SNAPBACK}][/a][/div]

Sorry ! I have no bluetooth devices and I have just test with a HAICOM  GPS CF
Zaurus SL-C3100
ROM Cacko 1.23 full
Kernel IPv6 Ready (cross-compiled from source )
Wifi card Linksys WCF12