Re: problem with microsd

2012-09-28 Thread Patryk Benderz
Dnia 2012-09-27, czw o godzinie 11:17 +0200, Davide Scaini pisze:
 Hi all.
 I asked on shr user list with no luck.
 I'm using shr-core, I have this problem: the device for the
 microsd is not created, i.e. /dev/mmcblk0p1 does not exist.
[cut]
Did you tried with another uSD? AFAIR GTA02 was not able to work with
SDHC cards.

-- 
Patryk LeadMan Benderz
Linux Registered User #377521
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: problem with microsd

2012-09-28 Thread Davide Scaini
mmm...
no afair:
http://wiki.openmoko.org/wiki/Supported_microSD_cards

I have a 8gb sandisk and it should work.
I think it's a kernel related problem. When fdisk modifies partition
table (as I described in previous mail), it calls ioctl() and then
syncronizes again the disks with new partition table... and the nodes are
created correctly. Anyway after few minutes the drive goes in read only
mode.
I'm puzzled.
Any other hint?

On Fri, Sep 28, 2012 at 8:24 AM, Patryk Benderz patryk.bend...@esp.plwrote:

 Dnia 2012-09-27, czw o godzinie 11:17 +0200, Davide Scaini pisze:
  Hi all.
  I asked on shr user list with no luck.
  I'm using shr-core, I have this problem: the device for the
  microsd is not created, i.e. /dev/mmcblk0p1 does not exist.
 [cut]
 Did you tried with another uSD? AFAIR GTA02 was not able to work with
 SDHC cards.

 --
 Patryk LeadMan Benderz
 Linux Registered User #377521
 ()  ascii ribbon campaign - against html e-mail
 /\  www.asciiribbon.org   - against proprietary attachments


 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: problem with microsd

2012-09-28 Thread Jose Luis Perez Diez
El Friday 28 September 2012 08:24:06 Patryk Benderz va escriure:
 Did you tried with another uSD? AFAIR GTA02 was not able to work with
 SDHC cards.

GTA02 works with SDHC you may remember Openmoko Bug #2364: Hanging micro sdhc 
card
but I think it works in reccent kernels too see 

http://lists.openmoko.org/pipermail/openmoko-kernel/2011-October/011353.html
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: problem with microsd

2012-09-28 Thread Patryk Benderz
[cut]
 Any other hint?
Just give it a try and check some 2GB uSD. In worst case it will confirm
your your belief.

-- 
Patryk LeadMan Benderz
Linux Registered User #377521
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: problem with microsd

2012-09-28 Thread Denis 'GNUtoo' Carikli
On Thu, 27 Sep 2012 11:17:30 +0200
Davide Scaini dsca...@gmail.com wrote:

 Hi all.
 I asked on shr user list with no luck.
 I'm using shr-core, I have this problem: the device for the
 microsd is not created, i.e. /dev/mmcblk0p1 does not exist.
 Do you have any fast fix?
 
 This is the problem:
 
 root@om-gta02:~# fdisk -l /dev/mmcblk0
 
 Disk /dev/mmcblk0: 7948 MB, 7948206080 bytes
 4 heads, 16 sectors/track, 242560 cylinders, total 15523840 sectors
 Units = sectors of 1 * 512 = 512 bytes
 Sector size (logical/physical): 512 bytes / 512 bytes
 I/O size (minimum/optimal): 512 bytes / 512 bytes
 Disk identifier: 0x36c4
 
 Device Boot  Start End  Blocks   Id  System
 /dev/mmcblk0p1204812328959 6163456   83  Linux
 /dev/mmcblk0p21232896015523839 1597440   82  Linux
 swap / Solaris
 
 
 root@om-gta02:~# mount -t ext2 /dev/mmcblk0p1 /media/temp/
 mount: special device /dev/mmcblk0p1 does not exist

see http://wiki.openmoko.org/wiki/Supported_microSD_cards and its
paramters (rootwait glamo_mci.sd_max_clk=500 glamo_mci.sd_drive=3
etc...)

Denis.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Problems using recent Rogers Wireless (Canada) SIMs in GTA02

2012-09-28 Thread Denis 'GNUtoo' Carikli
On Thu, 27 Sep 2012 07:48:12 +0100
Al Johnson openm...@mazikeen.demon.co.uk wrote:

 Have you tried the new SIM in any other 2G-only phone? SIMs from 3(UK
 network) seem to work only in 3G-capable devices. I never looked into
 how or why, but it's possible Rogers are doing this with new SIMs
 either by accident or design. 
 
 On Wednesday 26 September 2012 21:53:14 Pascal Gosselin wrote:
  In 2010, we were able to take circa mid-2008 Roger Wireless SIMs
  (Canada) borrowed from an iPhone 3G and get it to work in Android
  Froyo on the GTA02 850Mhz.
  
  Two years later, we decided to add some GPRS reporting capability
  to our Wi-Flight product which is currently using Wi-Fi only, we
  are unable to get a carrier registration at the AT command level
  using two Rogers SIMs (both from 2012, one used in an iPhone 4 and
  the other in a Samsung Galaxy S II Skyrocket (LTE)).  The GSM
  baseband code was at Moko8 so we had the  fix for bug 666.  We
  tried Moko11 but it didn't make a difference.
  
  We repeated the same Android Froyo setup and indeed it doesn't work
  when we try the circa 2012 SIMs.
What's your setup exactly?
  
  Our product doesn't run on Android, the Froyo stuff was just tried
  to attempt to replicate something that worked before.
  
  I found a working older Rogers full-sized SIM from my GSM-enabled
  alarm system, which I think it at least 3-4 years old.  It worked
  just fine in a Nexus S and I was able to send an SMS and Edge data
  from the phone (it's a T-mobile AWS phone so no 3G on Rogers).
  
  The conclusion so far is that something has changed in the Rogers
  SIMs that makes it incompatible with the GTA02.  I am wondering if
  anyone else has encountered this problem.  I'd be happy to be able
  to get a Fido-branded card to work (haven't tried that yet).
  
  We've repeated the same issue with a half-dozen GTA02s so we're
  pretty sure it's not a one-off phone problem.
Maybe you could try to debug it with simtrace(the hardware for
tracing SIM communications, that is compatible with wireshark 1.8)?

However if it's a problem with the modem firmware it would be hard to
fix, one may think that there is osmocombb, but *selling* phones with
osmocombb preinstalled may not be legal in your jurisdiction(I'm not
a lawyer tough...).

In that case I guess you would need to switch to another GNU/Linux
phone(such as a GTA04, or another phone supported by SHR for
instance,but that means that you'll probably have some availability
issues(you'll need to find a reliable way to get such phone in the
long run...)).

Denis.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: problem with microsd

2012-09-28 Thread Davide Scaini
I tried to add those parameters, but nothing new...
I will try with another micro sd, if I find one... this one is brand new
(dammit!)
Thanks for your help, I will stay tuned
d
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community