OESF Portables Forum

Everything Else => Sharp Zaurus => Model Specific Forums => Distros, Development, and Model Specific Forums => Archived Forums => C1000/3x00 General discussions => Topic started by: speculatrix on March 31, 2007, 04:13:56 am

Title: Sdio And The Cxx00
Post by: speculatrix 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!
Title: Sdio And The Cxx00
Post by: pelrun 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.
Title: Sdio And The Cxx00
Post by: koen 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.
Title: Sdio And The Cxx00
Post by: Capn_Fish on March 31, 2007, 11:50:44 am
Worst case you could try putting it in a SD -> CF adapter.
Title: Sdio And The Cxx00
Post by: koen 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
Title: Sdio And The Cxx00
Post by: Capn_Fish 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...
Title: Sdio And The Cxx00
Post by: speculatrix 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] (http://index.php?act=findpost&pid=157657\")

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!
Title: Sdio And The Cxx00
Post by: sleet01 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 (http://sourceforge.net/projects/sdio-linux/) has a page for a Linux SDIO project that's descended from MontaVista's SDIO stack (http://source.mvista.com/~dsingleton/sdio/); 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.
Title: Sdio And The Cxx00
Post by: koen 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 (http://sourceforge.net/projects/sdio-linux/) has a page for a Linux SDIO project that's descended from MontaVista's SDIO stack (http://source.mvista.com/~dsingleton/sdio/); 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.
Title: Sdio And The Cxx00
Post by: utx 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.
Title: Sdio And The Cxx00
Post by: speculatrix 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?
Title: Sdio And The Cxx00
Post by: koen 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.
Title: Sdio And The Cxx00
Post by: utx 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.