Re: Collie MMC SPI Driver alpha2

Thomas Kunze <[email protected]>
Newsgroups gmane.comp.handhelds.openzaurus.devel
Message-ID <[email protected]>
Hi,

I'm glad, that the driver works for you ;)

Arieh Skliarouk wrote:
> There were following messages in dmesg:
>
> <7>Collie MMC over SPI Driver
> <6>mmc_spi .0: SD/MMC <-> SPI proxy driver, no card power management
> <4>mmc0: Problem switching card into high-speed mode!
> <6>mmcblk0: mmc0:0000 SD01G 992000KiB
> <6> mmcblk0: unknown partition table
So your card does'nt have a partition table.
> <4>EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
>
> I was able to see files on it. md5sum of /dev/mmcblk0 returned same 
> result twice.
> Data reading speed was about 735 kb/s (readed 1GB in 1381 seconds).
>
> Write was faster, at about 1028kb/s. I used following commands to test 
> write speed:
>
> date; dd if=/dev/zero of=writetest bs=1024k count=100; sync; date
AFAIK hdparm -t of -T is much better to test performance.

> I don't know whether following issues are user-space or kernel-space:
>
>     * Battery LED remains off on power connect. Apparently, the
>       battery is actually charged, as the thing is working for an hour
>       already with WiFI on.
>
The kernel should not charge the battery. If you have the power cable 
connected, the zaurus don't need a battery.
>
>     * USB-net interface is not activated. May be I miss a kernel module?
>
This is not implemented yet.
>
>     * Keyboard mapping of "OK" button is not "ENTER".
>
This is an userspace problem. You can change the keymap in 
/etc/keymap-2.6.map and reload it with loadkeys.

 >frame-buffers is turned off completely after several minutes of 
inactivity on the console. IMHO, unless configured, the default 
 >behavior should be just to turn off highlighting.

This should be a userspace problem. Try killing apmd.
>
>     * When I press "Cancel" button, I get following error: "power.c
>       device-level power management is not supported yet.". Do you
>       plan to work on it?
>     * State of "battery compartment switch" is disregarded, as the
>       device starts booting immediately as I press "RESET" button.
>     * Apparently, /dev/sharp_buz is not implemented yet. I tried to
>       check it using attached "buzzme" (taken from kismet) program.
>     * command "halt" did not led power down, but rather to some
>       suspended state, with garbage on FB (with console output
>       remnants). After I closed the keyboard compartment, the system
>       started regular booting.
>
This are kernel issues.
> I remember, that from-factory Sharp Zaurus distro was able to utilize 
> built-in speaker, to playback music. Will it be possible with the 
> kernel 2.6? Why was the peripheral abandoned in OpenZaurus?
AFAIK. The alarms weren't working. And as nobody wanted to look into the 
ugly embedix code ...
I think the feature will be implemented at some future time.

Cheers,
Thomas

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.