Author Topic: Sdio And The Cxx00  (Read 8368 times)

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Sdio And The Cxx00
« on: March 31, 2007, 04:13:56 am »
Having heard on another forum that the Cxy00 series not only had the hardware for sdio but also had a driver, I bought a Socket SDIO bluetooth card as an experiment (was relatively cheap on ebay) - it's actually a Toshiba one under the skin.

The top is labelled
Code: [Select]
SDIO Card Type-B for Bluetooth
Socket(tm)
Bluetooth SDIO Card

Underneath
Code: [Select]
Toshiba
SD-BT2
~~mac address~~
FCC ID:CJ6MSDB01
IC:248H-MSDB01
R-LARN-02-0261
~~logos & Japanese~~ 91LP0282
Approved by IDA for
use in Singapore
DA101747
TOSHIBA CORPORATION
MADE IN JAPAN
CE0681(!)


OK, so what happened when I inserted it? There was a loud bang, a flash and when the smoke cleared my Zaurus had turned into solid gold!  

OK,  I kid you... nothing much, except when I did "dmesg | tail" I saw this (lots of the CRC errors, but the magic lines appeared:
Code: [Select]
pxa_sd_wait_id_response: responce CRC error (cmd=05 MMC_STAT=0x2160)
....
pxa_sd_wait_id_response: responce CRC error (cmd=05 MMC_STAT=0x2160)
pxa_sd_wait_id_response: responce CRC error (cmd=05 MMC_STAT=0x2160)
aloha: SII AH-S101S (Aloha) driver v0.44
aloha_serial: register aloha serial OK
aloha: aloha driver initialized

I did an "ls -latr /dev | tail -5" but didn't see much that made me think "bluetooth serial port".

Soooo, the kernel sees the card, sort of, but what next? If I could get a plain rfcomm connection, I could use bluetooth GPS coupled with my CF wifi, run gpsd and kismet!
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

pelrun

  • Sr. Member
  • ****
  • Posts: 366
    • View Profile
    • http://
Sdio And The Cxx00
« Reply #1 on: March 31, 2007, 10:05:16 am »
I think you have more chance of a solid gold Z, actually

The only sdio driver I know of is c-guys 860 wifi sdio driver; certainly never heard of an cxx00 sdio driver for anything.
SL-C3100 with usb power mod running debian eabi
pdaXii13 still on the NAND for dualbooting
16GB SDHC! (a new one, after I sat on the old one and it went kaput)
D-Link 660 wifi, Socket Bluetooth rev H
External 9800mAh LiIon battery and slimline dvd drive
Homebrew microphone and remote

koen

  • Hero Member
  • *****
  • Posts: 1008
    • View Profile
    • http://dominion.thruhere.net/koen/cms/
Sdio And The Cxx00
« Reply #2 on: March 31, 2007, 10:16:56 am »
Quote
I think you have more chance of a solid gold Z, actually

The only sdio driver I know of is c-guys 860 wifi sdio driver; certainly never heard of an cxx00 sdio driver for anything.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=157657\"][{POST_SNAPBACK}][/a][/div]

There's one for kernel 2.6, I think someone even added the patches to linux-rp in OE.
Forums are not bugtrackers!!! Smart questions
Ångström release team
iPAQ h2210, iPAQ h5550, iPAQ hx4700, Zaurus SL-C700, Nokia 770, all running some form of GPE
My blog

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Sdio And The Cxx00
« Reply #3 on: March 31, 2007, 11:50:44 am »
Worst case you could try putting it in a SD -> CF adapter.
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

koen

  • Hero Member
  • *****
  • Posts: 1008
    • View Profile
    • http://dominion.thruhere.net/koen/cms/
Sdio And The Cxx00
« Reply #4 on: March 31, 2007, 12:38:43 pm »
Quote
Worst case you could try putting it in a SD -> CF adapter.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=157665\"][{POST_SNAPBACK}][/a][/div]

That won't work, since it is limited to the storage profile
Forums are not bugtrackers!!! Smart questions
Ångström release team
iPAQ h2210, iPAQ h5550, iPAQ hx4700, Zaurus SL-C700, Nokia 770, all running some form of GPE
My blog

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Sdio And The Cxx00
« Reply #5 on: March 31, 2007, 12:42:17 pm »
Quote
Quote
Worst case you could try putting it in a SD -> CF adapter.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=157665\"][{POST_SNAPBACK}][/a][/div]

That won't work, since it is limited to the storage profile
[div align=\"right\"][a href=\"index.php?act=findpost&pid=157671\"][{POST_SNAPBACK}][/a][/div]
Oh well...
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Sdio And The Cxx00
« Reply #6 on: March 31, 2007, 05:57:32 pm »
Quote
I think you have more chance of a solid gold Z, actually

The only sdio driver I know of is c-guys 860 wifi sdio driver; certainly never heard of an cxx00 sdio driver for anything.
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

Meanie said sdio driver was in the sharp kernel:
[a href=\"https://www.oesf.org/forums/index.php?showtopic=23179&view=findpost&p=156072]https://www.oesf.org/forums/index.php?showt...ndpost&p=156072[/url]

and putting the card in appears to trigger loading a device driver... so I'm afraid you're a bit behind the times.

However, that's not to say that the device driver actually does anything useful!
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

sleet01

  • Newbie
  • *
  • Posts: 4
    • View Profile
Sdio And The Cxx00
« Reply #7 on: May 08, 2007, 02:28:17 pm »
I've been trying to post this link for the past four days, but never got validation until today:

SourceForge has a page for a Linux SDIO project that's descended from MontaVista's SDIO stack; it's a patch file for Linux 2.6.18 kernels, but could probably be adapted to whatever pdaXrom is using currently.  Note that while the PXA270 is specifically supported, only Atheros SDIO wi-fi cards are supported at the moment.

I'll have a couple more links this evening.

koen

  • Hero Member
  • *****
  • Posts: 1008
    • View Profile
    • http://dominion.thruhere.net/koen/cms/
Sdio And The Cxx00
« Reply #8 on: May 08, 2007, 02:44:50 pm »
Quote
I've been trying to post this link for the past four days, but never got validation until today:

SourceForge has a page for a Linux SDIO project that's descended from MontaVista's SDIO stack; it's a patch file for Linux 2.6.18 kernels, but could probably be adapted to whatever pdaXrom is using currently.  Note that while the PXA270 is specifically supported, only Atheros SDIO wi-fi cards are supported at the moment.

I'll have a couple more links this evening.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160814\"][{POST_SNAPBACK}][/a][/div]

Pierre Ossman and Marcel Holtmann are already rewriting the mmc layer to accomodate SDIO. That mvista patch is serverely outdated and unmergable.
Forums are not bugtrackers!!! Smart questions
Ångström release team
iPAQ h2210, iPAQ h5550, iPAQ hx4700, Zaurus SL-C700, Nokia 770, all running some form of GPE
My blog

utx

  • Full Member
  • ***
  • Posts: 135
    • View Profile
    • http://www.penguin.cz/~utx/zaurus/
Sdio And The Cxx00
« Reply #9 on: September 05, 2007, 06:40:59 pm »
Theoretically you might get it working with any of SDIO stacks. The latest one (not yet in mainline kernel, but in mmc#sdio git tree) is even Open Source.

Specially for Socket cards, Embwise has their proprietary drivers certified for Zaurus and you can license them.

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Sdio And The Cxx00
« Reply #10 on: September 06, 2007, 05:13:09 am »
Now I'm running angstrom-latest on c3100, what *should* I observe if I plug in my Toshiba  bluetooth SDIO card?
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

koen

  • Hero Member
  • *****
  • Posts: 1008
    • View Profile
    • http://dominion.thruhere.net/koen/cms/
Sdio And The Cxx00
« Reply #11 on: September 06, 2007, 06:29:23 am »
Quote
Now I'm running angstrom-latest on c3100, what *should* I observe if I plug in my Toshiba  bluetooth SDIO card?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=167076\"][{POST_SNAPBACK}][/a][/div]

an error in dmesg.
Forums are not bugtrackers!!! Smart questions
Ångström release team
iPAQ h2210, iPAQ h5550, iPAQ hx4700, Zaurus SL-C700, Nokia 770, all running some form of GPE
My blog

utx

  • Full Member
  • ***
  • Posts: 135
    • View Profile
    • http://www.penguin.cz/~utx/zaurus/
Sdio And The Cxx00
« Reply #12 on: September 06, 2007, 06:34:37 am »
Quote
Now I'm running angstrom-latest on c3100, what *should* I observe if I plug in my Toshiba  bluetooth SDIO card?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=167076\"][{POST_SNAPBACK}][/a][/div]

Nothing. AFAIK, mmc#sdio git tree is not yet merged to mainline kernel nor Angstrom. It might happen sometimes in time of 2.6.24. It needs a git expert to get a patch to the current Angstrom kernel. Maybe it would even require backporting.

Once if it will work, there is a chance to get Socket SDIO Bluetooth working, but not any of their Go WiFi cards - these cards have an unknown proprietary chip.