sharp zaurus sl-5500 (collie): touchscreen now works
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 2 lines · Pavel Machek
I hacked touchscreen driver a bit (with great help from metan) and it is now actually usable, without much filtering in userland.
That's good to know! :)
Quoted 3 lines
(Very) dirty bigdiff is attached. Proper battery charging (very slow charging is done even without software help) and MMC/SD support are two biggest issues now -- on the kernel front.
As far as I can see, we should be able to use the existing driver once we adapt the code for the SA1100 features. The charging circuitry is very similar to the other models as far as I can tell.
MMC/SD is more of a problem. There is one person with the specs who could write the driver but he can't pass them to anyone else :-(.
Quoted 3 lines
On the userland front... any ideas where to get 2.6-compatible GPE environment? It would be nice to see X running :-). Bluetooth support would be nice bonus ;-).
You can build such an image with OpenEmbedded easily enough ;-). I guess you're going to have to run it from the CF card though as the internal flash isn't big enough and MMC/SD doesn't work?
Cheers,
Richard
Hi!
Quoted 4 lines
Quoted 2 lines
I hacked touchscreen driver a bit (with great help from metan) and it is now actually usable, without much filtering in userland.
That's good to know! :)
Yep, it makes collie usable.
Quoted 7 lines
Quoted 3 lines
(Very) dirty bigdiff is attached. Proper battery charging (very slow charging is done even without software help) and MMC/SD support are two biggest issues now -- on the kernel front.
As far as I can see, we should be able to use the existing driver once we adapt the code for the SA1100 features. The charging circuitry is very similar to the other models as far as I can tell.
Agreed. I just need to find out why ADCs seem to return random values.
Quoted 2 lines
MMC/SD is more of a problem. There is one person with the specs who could write the driver but he can't pass them to anyone else :-(.
Did we ever have working MMC with open-source drivers (on collie)? I thought we had MMC but not SD...
Quoted 7 lines
Quoted 3 lines
On the userland front... any ideas where to get 2.6-compatible GPE environment? It would be nice to see X running :-). Bluetooth support would be nice bonus ;-).
You can build such an image with OpenEmbedded easily enough ;-). I guess you're going to have to run it from the CF card though as the internal flash isn't big enough and MMC/SD doesn't work?
Well, provided I can get bitbake to work :-).
But I sense problems... I need CF slot for bluetooth card -- irda is not really usable. I thought I seen some 16MB gpe images... and then, there's RAM, too.
Pavel
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Quoted 5 lines · Pavel Machek
Quoted 2 lines
MMC/SD is more of a problem. There is one person with the specs who could write the driver but he can't pass them to anyone else :-(.
Did we ever have working MMC with open-source drivers (on collie)? I thought we had MMC but not SD...
No open source driver for MMC or SD exists for collie and never has.
Richard
Yesterday someone added following info into OpenZaurus FAQ [1]:
Quoted 18 lines
Zaurus SL-5500 MMC/SDIO technical info
For communicating with the MMC/SDIO card SL-5500 uses the LoCoMo built-in SPI controller (secondary communication protocol) and 3 LoCoMo GPIOs
LOCOMO_SPIMDfor SPI MODELOCOMO_SPICTfor SPI CONTROLLOCOMO_SPISTfor SPI STATUSLOCOMO_SPITDfor SPI TRANSMIT (write)LOCOMO_SPIRDfor SPI RECEIVE (read)
LOCOMO_GPIO(13)for MMC irq / card detectLOCOMO_GPIO(14)for MMC write protect test bitLOCOMO_GPIO(15)for MMC powerAll these registers are 16bit, and data transfers are 8bit. On resume the SPI MODE is set to
0x6c14, on suspend to0x3c14.
Quoted 6 lines
Useful bits in the SPI MODE register:
0x0001,0x0040,0x0080. Useful bits in the SPI CONTROL register:0x0040and0x0080.For further information read the Sandisk SD card manual. A software implementation of the SPI MMC/SD protocol driver can be be found at
http://kiel.kool.dk/mmc.c
Maybe this will help.
Hi!
Quoted 1 line
Yesterday someone added following info into OpenZaurus FAQ [1]:
Thanks a lot for a pointer.
Quoted 18 lines
Quoted 18 lines
Zaurus SL-5500 MMC/SDIO technical info
For communicating with the MMC/SDIO card SL-5500 uses the LoCoMo built-in SPI controller (secondary communication protocol) and 3 LoCoMo GPIOs
LOCOMO_SPIMDfor SPI MODELOCOMO_SPICTfor SPI CONTROLLOCOMO_SPISTfor SPI STATUSLOCOMO_SPITDfor SPI TRANSMIT (write)LOCOMO_SPIRDfor SPI RECEIVE (read)
LOCOMO_GPIO(13)for MMC irq / card detectLOCOMO_GPIO(14)for MMC write protect test bitLOCOMO_GPIO(15)for MMC powerAll these registers are 16bit, and data transfers are 8bit. On resume the SPI MODE is set to
0x6c14, on suspend to0x3c14.
Quoted 6 lines
Quoted 6 lines
Useful bits in the SPI MODE register:
0x0001,0x0040,0x0080. Useful bits in the SPI CONTROL register:0x0040and0x0080.For further information read the Sandisk SD card manual. A software implementation of the SPI MMC/SD protocol driver can be be found at
http://kiel.kool.dk/mmc.c
Do you have any contact to author of this? It lacks any copyright/GPL info :-(. Is wrt54g also sa1100-based?
Quoted 1 line
Maybe this will help.
Yes, thanks a lot.
Quoted 1 line
Pavel
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Quoted 4 lines · Pavel Machek
Quoted 1 line
Quoted 1 line
Zaurus SL-5500 MMC/SDIO technical info
Do you have any contact to author of this? It lacks any copyright/GPL info :-(.
No info about author.
Quoted 1 line
Is wrt54g also sa1100-based?
wrt54g is MIPS powered:
root@OpenWrt:~# cat /proc/cpuinfo system type : Broadcom BCM947XX processor : 0 cpu model : BCM3302 V0.7 BogoMIPS : 215.44
Quoted 3 lines
Quoted 1 line
Maybe this will help.
Yes, thanks a lot.
Visit #oe on freenode IRC network sometimes - Zaurus kernel. discussion are more often there.