[maemo-developers] Obtaining flash memory serial numbers on Nokia N800
From: Tony Maro tonymaro at gmail.comDate: Sat Aug 11 23:57:02 EEST 2007
- Previous message: Obtaining flash memory serial numbers on Nokia N800
- Next message: ARMEL XML::Parser
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 8/11/07, Frantisek Dufka <dufkaf at seznam.cz> wrote: > > David Hazel wrote: > > On Fri, 2007-08-10 at 22:52 +0300, Igor Stoppa wrote: > >> I don't know about MMC/SD (isn't that something that is not public > >> available?) > > > > I would hope that the serial number of an SD card can be read on the > > Nokia. It can certainly be read from an SD card that is installed on a > > Windows Mobile device. > > cat /sys/devices/platform/mmci-omap.1/*/cid > > * is there because the path contains card model name which is variable. > In my case for Transcend 150x 4GB SD the name is 'b368' and card is in > internal slot I have other things in that directory, so it appears a better path is... for the "internal": cat /sys/devices/platform/mmci-omap.1/mmc0*/cid for the "external" cat /sys/devices/platform/mmci-omap.1/mmc1*/cid I also found that: cat /sys/class/mmc_host/mmc0/slot_name will tell you the "name" of the card (internal or external) Good info, by the way. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20070811/629f3bd1/attachment.htm
- Previous message: Obtaining flash memory serial numbers on Nokia N800
- Next message: ARMEL XML::Parser
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]