USB-debug // FTDI FT2232D -- need more specs for particular hw design

2008-04-29 Thread Joerg Reisenweber
Hi Andy,

Andy Green schrieb:
 | Power isn't the only consideration, we already thought about bringing
 | out debug USB connector to the outside world.  If that is what we do,
 | then it is sitting there ready to eat power the same as the OTG
 | connector, and it makes sense to allow it.
 OK, that's an issue alright :-/  We could make it mini USB for debug I
 guess.  But then we can't share one Power adapter between the two ports.
 ~ So it stops making sense.

Some Q and Remarks regarding moving debug-board --
Q- Talking about power to debug-USB: should we power the FTDIchip and
his team by debugcon-Vusb only (using U3, or something less
sophisticated), so it doesn't take any power while no connection to
USBdbg? Are we sure FTDIchip will show the behaviour we need regarding
GPIO-Z|gentle-pulldown etc, while powered down? Or do we need to
maintain power to debug circuitry all the time, to have the states we need.
R- great: the connectors' pin numbers don't correspond on GTA02 
debugboard. Probably that's the way it is, but... :-S
O- are there any additional Reset issues to take care of? Like reset of
MSP430, reset of the FTDI itself etc...
O- could you have a look at the circuit diagram of debug board and maybe
just prepare a list of parts that are going to vanish? Maybe, even
better, provide a proposal c-diag, that includes detail regarding the
serial communication with MSP430? You told there's something you'll come
up with...
R- the chip needs quite some real estate (LQFP-48) :-(. Allen will groan
about it.
O- maybe we should keep led2? Or even move it to pin6 3V3OUT.
O- do we need U3 TPS2149IDGN anyway for FTDI_5V, or may we take 3.3V for
IO power (14, 31, 17(!??), (10,26 +5V), R67-69) from any other source (PMU)?


cheers
jOERG

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


GTA02 spare batttery

2008-07-13 Thread Joerg Reisenweber
5€ noname
works for me
/jOERG
attachment: img045.jpg

signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: GPS issue related to GPS antenna selector ?

2008-07-13 Thread Joerg Reisenweber
Am So  13. Juli 2008 schrieb Philippe Guillebert:
 Hello,
 
 Thanks to http://wiki.openmoko.org/wiki/Freerunner_Hardware_Issues , I 
 ran into the following (and quite scary) thread : 
 http://lists.openmoko.org/pipermail/hardware/2008-April/55.html
 
 So I was wondering, maybe the poor GPS performance issue many FR seem to 
 have, especially on the internal antenna, is related to the GPS antenna 
 MUX (the part responsible for the switch between internal antenna, and 
 external antenna if you hook one up) selecting the external antenna, 
 even when there isn't one ?
 
 The randomness of this issue could be explained because driving the mux 
 with levels like 26% Vdd is kind of grey zone and can result in some 
 devices working as expected and some selecting the ext. antenna without 
 one and then having bad reception.
 
 I see one way to test this theory, by driving the select signal VCONT to 
 0V (Werner Almesberger talks about shorting R7616) and see if this 
 improve reception on the internal antenna.
 
 This is pure speculation, I didn't test anything and perhaps that's just 
 plain stupid but I'd love to hear from someone that focused on this 
 issue back in April.

IIRC Andy did all of these tests and found they didn't solve or even alter the 
symptoms (see later posts in same thread).
Though the circuit design is definitely flaky, it doesn't seem to trigger any 
of the suspected problems.

Anyway thanks for the feedback
jOERG


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: Test points - a possible future direction

2008-07-24 Thread Joerg Reisenweber
Am Do  24. Juli 2008 schrieb Thomas Seiler:
 Hi,
 
 I accidentally hit reply instead of reply-all, my apologies for making
 this thread rather hard to read...
 
 Werner Almesberner wrote:
   Thomas Seiler wrote:
[...]
  That might be an option for GTA03, where we'll probably still have
  only Full Speed. After that, we'll almost certainly get High Speed
  (finally !), and I'm not sure how this fits with signal integrity
  demands. Even Full Speed is somewhat picky.

For sure this won't meet highspeed specs. So no way for USB-OTG/HS

  Power is still tricky, yes. A big pad would solve the problem for
  DIY circuits, because you wouldn't mind a little bit of soldering
  anyway, but if you want to make more streamlined extensions, that
  wouldn't be acceptable.
[...]
 You would just need a 2x3 block or so:
 VBAT  VIO_3v3  (power these cannot pe but on FPC)
 GND   GND
 I2C I2C (these are nice because a single connector for
 most basic mods is sufficient)

We could still use testpoints and pogopins. Probably fine for some amount of 
current too.

/jOERG


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: induction charging

2008-07-31 Thread Joerg Reisenweber
Am Fr  1. August 2008 schrieb Brad Midgley:
 Hey
 
 I noticed there was a homebrew/make/etc induction generator out there
 but it looks like a bit of an ugly hack.
 
 Is anyone else interested in opening up something like a reelight* to
 see if it could be hacked to provide power to a neo working as a bike
 computer? I'm not all that confident with power conditioning circuitry
 so I've looked at it but wasn't too sure about jumping in...
 
 * http://www.reelight.com/

LOL, this URL gives me two SEGV and a pretty much empty page on 
Konqueror-3.5.7-72.9.
:-/
/j


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


GSM-noise buzz issue

2008-08-05 Thread Joerg Reisenweber
Moving this thread to [hardware] from [community], as it's a hw-related 
technical problem.
Eventually I will merge the similar thread from [support]-ml

All further discussion, status-reports etc will be supported by me solely here 
in [hw]-ml. Please don't continue the threads in the other both lists

cheers
jOERG
---BeginMessage---
Has there been any progress on the GSM interference issue (bug #883)?  As I 
understand it, this is the current condition (please correct anything that is 
wrong):

-only some people seem to have a problem with it
-the buzzing is only heard by people on the other end
-it is a hardware issue
-it is being looked in to by the OpenMoko team
-it is affected by how much power the FR is having to use to reach the tower 
(i.e. better signal strength - less buzzing)

Has anyone gotten a bluetooth headset (SCO type) to work with the 2007.2 
distro for making calls?  If so, how did you do it, and did it fix this 
interference issue?

This issue is the only thing keeping me from using my FR as my primary phone.

Josh

___
Openmoko community mailing list
[EMAIL PROTECTED]
http://lists.openmoko.org/mailman/listinfo/community
---End Message---
---BeginMessage---
 Has anyone gotten a bluetooth headset (SCO type) to work with the 2007.2
 distro for making calls?

nope. i asked a while ago since i understood that there's a direct  
connection between bt and the gsm chip for this purpose (no need for  alsa  
and it's missing state-file), but never got a reply.
bt audio seems the be rather orphaned -- the bluetoothsomething.state file  
for alsa is missing completely and even questions regarding the state of  
bt audio at all were not answered.

 If so, how did you do it, and did it fix this
 interference issue?

the buzzing is canceled when the fr's mic is set to 0 -- so my expectation  
was by using a wireless headset to circumvent the issue (wired headset  
buzzes far louder than the fr itself). but see above ...

___
Openmoko community mailing list
[EMAIL PROTECTED]
http://lists.openmoko.org/mailman/listinfo/community
---End Message---
---BeginMessage---
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Somebody in the thread at some point said:
| Has anyone gotten a bluetooth headset (SCO type) to work with the 2007.2
| distro for making calls?
|
| nope. i asked a while ago since i understood that there's a direct
| connection between bt and the gsm chip for this purpose (no need for
alsa
| and it's missing state-file), but never got a reply.
| bt audio seems the be rather orphaned -- the bluetoothsomething.state
file
| for alsa is missing completely and even questions regarding the state of
| bt audio at all were not answered.

You'll need something like the Alsa state file to configure internal
routing to make the connections.

| If so, how did you do it, and did it fix this
| interference issue?
|
| the buzzing is canceled when the fr's mic is set to 0 -- so my
expectation
| was by using a wireless headset to circumvent the issue (wired headset
| buzzes far louder than the fr itself). but see above ...

AFAIK in hardware this should be possible -- BT audio comes in on VX
digital interface of WM8753 and there should be a path to get in and out
of that to RXN/P pair and MONO1/2 pair.

It's actually an interesting test to do it... AFAIK nobody proved that
whatever makes the buzz (RF coupling or direct conduction from PSU rail
for example) does not infect Vref on the Codec, in which case more paths
than the mic might be infected as well because their reference is.  So
whether this is clean or not will be a clue.

- -Andy
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkiXNdQACgkQOjLpvpq7dMrMlgCfRlJjFDhieoesVrczBZY5ze/y
TJEAniBGCWZfqCf6ejtS8Rjx2fxd6i3x
=z2Vl
-END PGP SIGNATURE-

___
Openmoko community mailing list
[EMAIL PROTECTED]
http://lists.openmoko.org/mailman/listinfo/community
---End Message---
---BeginMessage---
On Monday August 04, 2008, Andy Green wrote:
 AFAIK in hardware this should be possible -- BT audio comes in on VX
 digital interface of WM8753 and there should be a path to get in and out
 of that to RXN/P pair and MONO1/2 pair.

So, I found this:

http://wiki.openmoko.org/wiki/Neo_1973_audio_subsystem

Now, I'm starting to understand what a lot of those setting in alsamixer mean.  
Does anyone know how much of the ALSA Channels diagram has changed for the 
FR?

It seems there are 3 steps to getting a bluetooth headset to work for making 
calls.

1) connect the headset to the phone
2) route the audio correctly through the WM8753 so that it runs between the 
bluetooth device and the GSM.
3) configure the PCM coming from the WM8753 to be the right format for going 
to the bluetooth device.

Directions for step 1 seem to be here:

Re: GSM-noise buzz issue

2008-08-11 Thread Joerg Reisenweber
To keep updated all those who are interested in details:
Seems we finally found enough of the working mechanism of GSM-interference, to 
promise we will be able to stop it.
More details: JK4401 hs-receptacle isn't shielded and obviously the contact 
springs catch RF and feed it to the audio-path. Pin4 (MIC) is our suspect #1 
so far. We are about to test different reworks to fix the issue for the 
different classes of devices (like: sold A5, already produced A6, still to 
SMT A6, A7 prototypes). 
So far our results on tests (only tests with positive results mentioned ;) 
are: 
removing JK4401 seems to stop noise completely (obviously no option for a 
fix ;-).
Shielding JK4401 with copperfoil-sticky, which is connected to GND by 
soldering it to nearby can, yields some reduction of noise, but isn't 
sufficient to ultimately fix the issue. Also won't help on noise via 
connected headset.

I will keep you updated.
Please note all this IS NO RECOMMENDATION FOR A REWORK, and we can't answer 
any questions yet beyond what I've reported above.

cheers
jOERG


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: GSM-noise buzz issue

2008-08-12 Thread Joerg Reisenweber

Today's good results: grounding of pin6 at JK4401 seems to stop noise (as long 
as no hs is plugged in).
This is an easy one, which very buzz-annoyed brave soldering-veterans might 
try *on their own risk*.
Side-effects: still unknown.

cheers
jOERG


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: Wifi

2008-08-19 Thread Joerg Reisenweber
Am Di  19. August 2008 schrieb Mike (mwester):
 I am led to understand that the GTA02 offers a GPIO
 that permits the kernel to forcibly remove power from the GSM, but
 nobody has confirmed that this action is controllable from userspace, or
 if the kernel actually performs this power removal upon normal shutdown

This power removal is done by U1705, and it should relyably cut power when we 
disable IO_3V3 what is quite normal for shutoff.
No special kernel action required.
/jOERG


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: Wifi / off-state leakage

2008-08-20 Thread Joerg Reisenweber
Am Mi  20. August 2008 schrieb Werner Almesberger:
 I don't have any specific problem I suspect to happen. I just wanted
 to point out the general problem (which seems particularly bad with
 those Samsung SoCs), which seems to be important since Joerg recently
 suggested to run all sorts of GPIOs to subsystems that may be powered
 when the CPU isn't.
HUH? Please give a pointer or quote! :-( BTW: even if this was true, it has no 
impact on actual GTA02-schematics, which I would like to see *everybody* had 
a look at prior to participating in this dispute.

 If I'm in a situation where I absolutely want to make sure we don't
 emit any power, I'd remove the battery anyway.
OK, there are people who feel uncomfortable with a battery in *any* cellphone 
nearby, when they have some confidential talk ;-)

/jOERG


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: Wifi / off-state leakage

2008-08-20 Thread Joerg Reisenweber
  If I'm in a situation where I absolutely want to make sure we don't
  emit any power, I'd remove the battery anyway.
 OK, there are people who feel uncomfortable with a battery in *any* 
cellphone 
 nearby, when they have some confidential talk ;-)

OTOH, I'm more concerned about possible triggers of any action by unknown 
source (like RF-interference from outside, ESD etc) than about GTA02 might 
not be able to stop all subsystems on power down.
Observation: GTA02 laying beside my PC in the night, definitively powered down 
for ~24h, no SIM-card inserted, nothing attached, case closed. Suddenly I see 
a short red flash from AUX-button. o.O !?!?
Vbat-low IRQ from PMU??? RF-interference or static? 

Of course device was in power-down mode when I examined it 30sec later, but 
anyway... Probably in blasting areas it's always safe side of fence to have 
no battery in any electronic device, maybe better even don't carry any 
batteries at all.

/jOERG


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: Wifi / off-state leakage

2008-08-21 Thread Joerg Reisenweber
Am Mi  20. August 2008 schrieb Werner Almesberger:
 Joerg Reisenweber wrote:
  Fine! But where in this description is the point about ME suggesting sth
  like routing (new) GPIO to all sorts of peripherals???
 
 Ah, this was the mail that scared me:
 https://lists.internal.openmoko.org/pipermail/gta03/2008-August/000497.html

--
We should connect NCP346:1[OUT] also to some CPU-GPIO (via 100kR or sth like 
that), to detect overvoltage in software on going high of this GPIO. 

We should replace U4905 by this NCP346+FET-circuit (which also will put 
\USB_OC to a real useful meaning, now USB_OV. As we of course will use this 
signal to connect to NCP346:1[OUT] as mentioned above ;)
--
You see I suggested to use an already existing connection absolutely same way 
it has been used before, just the meaning is augmented from PMU draws 1.5A 
(nonsense) to USB is 5.5V
So *no* new GPIO routing ;-). And of course I considered reverse-feeding: 
This rail is 0V as long as there's no USB-supply voltage. We are fine for all 
cases except shutdown when on charger. 


 I don't care whether we call it MPU or MCU. MPU would be less
 friendly for the dyslexic for sure.
I'll continue to call it uC


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: Wifi / off-state leakage

2008-08-21 Thread Joerg Reisenweber
Am Do  21. August 2008 schrieb Joerg Reisenweber:
 This rail is 0V as long as there's no USB-supply voltage. We are fine for 
 all cases except shutdown when on charger. 

Actually the problem case is shutdown, hooked to charger, AND overvoltage 
detected. Then we still got 100kR on this line
/j


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: Wifi / let's have RF stuff powered with high current source all the time because...

2008-08-25 Thread Joerg Reisenweber
Am Mo  25. August 2008 schrieb Werner Almesberger:
 Andy Green wrote:
  It can be prototyped and the final PA spectral performance compared to
  piece of wire, so this is something we can know rather than scare
  ourselves about.
 
 You mean in GTA02 or in GTA03 ? For GTA03, that's definitely something
 we should look into, also given that this subsystem is completely
 different from GTA01 or GTA02. At last now we know what sort of problem
 to look for, instead of just some generalized badness.

For GTA03 we have a datasheet that's very specific about ripple and parasitic 
resistance on VDD. Doesn't look good for a FET - IIRC.
Also consider this module has battery support, so there is a decent switch 
supposed to be inside already.

cheers
jOERG


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: Wifi / let's have RF stuff powered with high current source all the time because...

2008-08-25 Thread Joerg Reisenweber
Am Mo  25. August 2008 schrieb Andy Green:
 Point taken about the GTA03+ module though -- it should take care of
 power switching inside the module boundary in a reliable way or the
 module is broken, so we presumably should be able to just use the module
 boundary power arrangements.  But still I guess we learn about it during
 GTA03 EVB.  There was that guy who saw his GTA02 battery consumption was
 stuck at 500mA on VB when he made no call, I really did not like to hear
 about it since only the GSM side TX stuff gets that hungry and it seemed
 there to be doing its own thing.

100% ACK about scariness of story.
Though this wasn't exactly for GSM-powerdown state IIRC. So it seems our 
biggest problem these days (for GTA02 GSM at least) is serial communication 
between CPU and calypso, including not resuming at all, unsolicited resume 
etc pp.
A hung call wouldn't seem impossible to me.

cheers
jOERG



signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: Wifi / let's have RF stuff powered with high current source all the time because...

2008-08-25 Thread Joerg Reisenweber
Am Mo  25. August 2008 schrieb Andy Green:
 Somebody in the thread at some point said:
 | Am Mo  25. August 2008 schrieb Andy Green:
 | Point taken about the GTA03+ module though -- it should take care of
 | power switching inside the module boundary in a reliable way or the
 | module is broken, so we presumably should be able to just use the module
 | boundary power arrangements.  But still I guess we learn about it during
 | GTA03 EVB.  There was that guy who saw his GTA02 battery consumption was
 | stuck at 500mA on VB when he made no call, I really did not like to hear
 | about it since only the GSM side TX stuff gets that hungry and it seemed
 | there to be doing its own thing.
 |
 | 100% ACK about scariness of story.
 | Though this wasn't exactly for GSM-powerdown state IIRC. So it seems our
 | biggest problem these days (for GTA02 GSM at least) is serial
 communication
 | between CPU and calypso, including not resuming at all, unsolicited
 resume
 | etc pp.
 | A hung call wouldn't seem impossible to me.
 
 Yeah.  The GSM side is so autonomous in power and intelligence it really
 can do its own thing.  If the CPU doesn't succeed to take down the call
 through broken UART on resume or whatever than this is what you would
 see as you say.
 
 It's a pity I didn't ask him to watch consumption when he was quiet and
 not handling the phone.  He said that it chewed through some large chunk
 of his battery when idle in this state, so the current was real, and a
 reboot made that symptom go away.

Also enabling GPRS and some stale protocol or runaway app causing continuous 
retransmits would show same symptoms.
/jOERG


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: GSM-noise buzz issue

2008-08-26 Thread Joerg Reisenweber
We found it's pin4 of JK4401 and only this pin that causes GSM-EMI-noise 
issue.
We placed a ferrite bead to this pin, and it stops noise. Alas this isn't a 
viable rework, as it is extremely fragile and doesn't fit into case.
See 
http://people.openmoko.org/joerg/GSM_EMI_noise/noise_stopped_by_athena_rework/

We tried to find another way to place a bead in this rail, first result 
(without bead yet), see
http://people.openmoko.org/joerg/GSM_EMI_noise/noise_stopped_by_cut_pin4/
This rework at least stops noise and should fit into case. It breaks function 
of headset mic and hold-button, but keeps function of headphones.
We try to find a way to restore function of mic and button, based on this 
rework.

I will keep you updated.
Please note all this IS NO RECOMMENDATION FOR A REWORK, and we can't answer 
any questions yet beyond what I've reported above.

cheers
jOERG




signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: Wifi / let's have RF stuff powered with high current source all the time because...

2008-08-26 Thread Joerg Reisenweber
Am Di  26. August 2008 schrieb Uwe Klein:
 Hi,
 in this context:
 
 is there any (hardware) watchdog stuff that limits transmit time and
 similar things?

There's a watchdog in CPU, but it's unused by all of the recent sw-stacks 
AFAIK.
/jOERG


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: UCLK

2008-08-28 Thread Joerg Reisenweber
Am Do  28. August 2008 schrieb Cesar Eduardo Barros:
 Andy Green escreveu:
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
  
  Somebody in the thread at some point said:
  | In a message from Ben Dooks on linux-arm-kernel about cpufreq, he said:
  |
  |- My patches have code to use hardware flow control to pause the
  |serial ports during frequency transitions, so as to not confuse the
  |GTA01 GSM modem (or Openmoko's gsmd).
  |  
  |   That is useful for designs that forgot to provide a stable UCLK to
  |   provide UART baud clocks... all of the ones that I've had a direct
  |   hand in working on feed back or feed in an external known (and 
stable)
  |   clock.
  |
  | It might be worth considering this on future designs (looking at the
  | schematics, GTA01 uses the pin for something else, while GTA02 doesn't
  | connect the pin at all).
  
  It's a good point, it would help the UART continuity during clock
  change.  But it means adding an oscillator somewhere?  There's a PLL
  from the Wolfson we could maybe use.
 
 A possible trick would be to route the output of the USB PLL to a pin, 
 and have a trace linking that pin to the UART external clock. The USB 
 PLL isn't affected when the main PLL changes (or at least shouldn't be).
 
 For the GTA02, for instance, that would mean a trace between 
 UEXTCLK/GPH8 and CLKOUT1/GPH10 (which would also allow several other 
 options besided the USB PLL). Both pins are free on the GTA02, but I 
 don't know if routing that trace would be easy (especially considering 
 the trace would be carrying a 48MHz signal).
 
 For a USB clock of 48MHz, that would give us a UBRDIV of 25 for 115200, 
 which feeding the formula in the reverse results in a baud rate of 
 115385, an error of 0.16% (unless I made a mistake on the calculations). 
 This is less than the about 1.87% where things start having problems.
 
 Of course, even with all that it would still be a good idea to pause 
 the flow control during the PLL lock time to avoid a buffer overrun, but 
 the AFC might be able to do it automatically for us. The problem avoided 
 by using a stable clock is mainly the frequency changing (or the clock 
 stopping) in the middle of a byte.

Sounds very attractive, and stopping clock in midst of an inbound byte is an 
absolute NoGo for e.g. GSM-TTY. To avoid this we had to assert flow control 
to stop, and then delay for the maximum time to take effect of this. This 
delay slows down clock rate changes considerably.
Probably routing of a 48MHz signal from one pin of CPU to another is no issue 
(if we care for decent shielding of this trace ;-). However we can't do this 
for devices prior to GTA02A8 (A7 maybe), for obvious reasons. So sw would 
have to check for hw-revision (once again ;-).

Should we try to set up a ECN demanding future (GTA02) devices to have this? 
Andy? Werner? I consider engineering risk very low, as we always may fall 
back to current scheme.

cheers
jOERG


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: UCLK

2008-08-28 Thread Joerg Reisenweber
Am Do  28. August 2008 schrieb Werner Almesberger:
 Joerg Reisenweber wrote:
  Should we try to set up a ECN demanding future (GTA02) devices to have 
this? 
  Andy? Werner? I consider engineering risk very low, as we always may fall 
  back to current scheme.
 
 Sounds good and safe to me as well. One problem is that UCLK/GPH8 is
 currently used in GTA03, so we'd have to find a way to free this if
 we don't want to regress.

one more good reason to do it *now*, as we easily can reorder GPIO for GTA03 
in this stage of development.
So I guess I'll set up a ECN for GTA02 *and* GTA03.
Andy, any comments?

/jOERG


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: USB-OVP

2008-08-28 Thread Joerg Reisenweber
Am Do  28. August 2008 schrieb Andy Green:
 Somebody in the thread at some point said:
 
 | Charger Overshoot Voltage VCHGR_OVRSHT 6.0 V max.
 | -
 |
 | Though we couldn't even attach a USB-charger compliant to this spec,
 as it has
 | to be equipped with micro-USB plug, we should expect to see voltages on
 | USB-receptacle of up to 6.0V AT LEAST.
 
 Why?  Our charger doesn't follow that spec that mentions 6.0V.
 
 | I think it's a strong argument for additional OVP extending our actual
 | abs.max.rating of 5.5V to limits safely beyond 6.0V, like we are actually
 | about to do for GTA03.
 
 Regulator and cap in the charger should mitigate this.  Why don't we
 measure our actual charger performance in this case, shouldn't be too hard.

For one simple reason: USB-charging was meant to work with *any* USB-charger 
(otherwise we would have used ID-pin for VDD of charger ;-) and Neo wouldn't 
take any power from USB-VBUS, thus no issue with OVP), and for sure we don't 
want to restrict customers to usage of OM-wallwart-powersupply only. We 
wouldn't even get away with this, legally. As long as our device has a 
USB-receptacle, it has to cope with insertion of what a customer can 
reasonably assume should work when attached to it.

Then we also got the *wide* field of externally powered hubs. Ever had a look 
at the way those are providing power to downstream-connectors? And at the 
power-supplies that are (or are not!) shipped with these hubs.
Dear customer! There are a plethora of powered USB-hubs out there. We 
strongly recommend NOT to attach Neo to any of those, as we didn't care to 
protect the device against voltages that may be found on a lot of the cheaper 
ones you might incidentally use. Please connect Neo to the original charger 
or certified good hosts only! :-(
Do we really need more reasons to care about that issue?

cheers
jOERG


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: UCLK

2008-08-28 Thread Joerg Reisenweber
Am Do  28. August 2008 schrieb Werner Almesberger:
 Joerg Reisenweber wrote:
  Ah, and btw: does anybody have a decent set of bookmarks/pointers/quotes 
to 
  S3C2442 datasheet sections needed to facilitate my duty to validate this 
ECN? 
 
 I think we need a more specific question :-)
 
 I.e., it's a connection between pads that are currently unconnected,
 they both can be disabled if it turns our they cannot be used, and
 the only thing between them is another pad that is usually disabled,
 So what additional validation do you need ?
 
 If sending UCLK to from CLKOUT1 to UEXTCLK should end up exciting
 CLKOUT0 and causing some obscure interference, we probably won't
 find out in any theoretical study anyway.

I thought about much more basic things like check if it's the right pin 
name, check if logic levels, fan in and fan out match, check if the whole 
idea is actually feasible etc.
For this I have to scrutinize the corresponding sections in CPU datasheet, so 
I understand what I'm asking for and what it should work like, instead of 
just forwarding a bake recipe from ML. So some pointer would be welcome ;-)
Not eager to search the whole manual for UEXTCLK

/jOERG


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: USB-OVP

2008-08-29 Thread Joerg Reisenweber
Am Fr  29. August 2008 schrieb Andy Green:
 Somebody in the thread at some point said:
 | Joerg Reisenweber wrote:
 | Do we really need more reasons to care about that issue?
 |
 | How about Postel's law ?
 |
 | http://en.wikipedia.org/wiki/Robustness_Principle
 |
 | Sounds like a good enough rule to follow at any interface, not just
 | software interfaces.
 
 ''Be conservative in what you do, be liberal in what you accept from
 others'' is a nice general principle.
 
 But then where does one stop, accepting mains power directly, automotive
 12V, 12V charger connection, broken chargers...  
I gave some sort of spec in start of this thread, to give you an idea where 
*not* to stop, and this is 5.5V abs.max.rating of PMU. But seems you are 
considering to better not start at all on improving this situation, as *you* 
seem to fear *you* don't see a point to stop at. Whereas we started to think 
about it and when we see we landed at 25V OVP with our solution at 
(virtually) no additional costs, *we* all knew we did it and it's much better 
now.

 it is a guiding 
 principle to be taken into account at specification time.  Every new
 thing we accept to support has costs.
False. Obviously, evidentally *not*, as you notice yourself in last line of 
your post.

 
 What I like though is the Be conservative in what you do part of it.
 Because we have not seen failures in the field from GTA02 arrangements,
False. You don't stop to allege this, but actually there *are* some devices 
with obviously broken PMU... --

 I am having a hard time accepting we need to change anything from proven
 GTA02 situation.
... so there is no such thing as a proven (good) GTA02 situation. Only proven 
thing is even USB charger specs allow for voltage transients we can not 
handle.

 If someone can actually show that GTA02 style 
 arrangement leads to product failure in normal circumstances then it
 makes it clear we need to do better.  But it seems thousands of users
 are proving it's robust enough already.
False. And false. See above. The possibility to connect random power supplies 
to powered hubs is proof enough, it's self-evident.



 Why add reverse voltage 
 protection when nobody seems to have reversed the voltage on their USB
 connector to date?
False. I read a report of a user thanking the hw-EE for designing such a 
robust device, as he actually applied voltage reverse and device survived. 
Dunno why it did, you are free to ask Wolfgang for 100 devices to do a mass 
test and prove we don't need additional protection against that. But wait, I 
think 100 broken devices are more expensive than decent reverse protection 
for 250.000 to 500.000 devices, and even the time I spent for these messages 
is worth protection for another several 1000 probably. So why not just let's 
do it?

 
 Still one part of what Joerg has been talking about he characterized as
 different component selection so it was more robust, that sounds fine if
 it is not adding expense / size.
Though you were bitching at it from very beginning, and it never would have 
happened if we listened to you. And, strange enough, all of your posts sound 
like you never had a chance to look at the GTA03 schematics and changes in 
there by yourself. :-/
Was the original USB-design yours, so you feel you have to fight for it with 
claws and teeth, despite it has ABS.MAX(!!!).ratings obviously much too close 
to normal operating conditions? That's clearly a faulty design, no EE would 
feel like good enough with it, absolutely no matter whether it already 
shows breakage in the field, or just is so close to the edge that it's easy 
to see it very likely will eventually.
BTW: please do the exercise and apply all your basic objections raised in this 
case to your suggested uC. ;-)

cheers
jOERG



signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: No blinken lights...

2008-08-30 Thread Joerg Reisenweber
Am Sa  30. August 2008 schrieb Werner Almesberger:
 Monkey + keyboard =
  For GTA02, use a really slow PWM ?
 
 Duh. Kinda hard with the clock stopped ...
Darn, no way to keep this clock alive???
I always thought this would be method of choice to flash or dim LED during 
suspend :-/
PCF50633 has some blinken-option. Alas we didn't connect it :-(

/jOERG


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: GTA02 C4110/1 replacement?

2008-09-12 Thread Joerg Reisenweber
Am Di  9. September 2008 schrieb Al Johnson:
 On Monday 08 September 2008, you wrote:
  On Mon, 8 Sep 2008, Al Johnson wrote:
   Some time ago Joerg (IIRC) suggested it might be possible for the
   brave/foolhardy to replace the undersized caps in the headset output 
with
   something more suitable, or even with audiophile esoterica like Black
   Gates. Looking at the schematics I see these are C4110 and C4111 which
   appear to be located under the can that has the bluetooth module stuck 
to
   the top of it. So how easy is it to open and close this can without
   breaking anything?
 
  Hi,
 
  I tried, just to see if I could do it, to add a capacitor in parallel to
  the VB_SYS one: this is the solution the OpenMoko-people were researching
  to get rid of the
  gta02-won't-boot-on-an-empty-battery-even-with-usb-connected-thing. My
  experience: Don't do it unless you have experience with soldering tiny
  SMD-stuff, and the tools to do it. It's almost trivial to destroy stuff if
  you don't have the experience.
 
  (btw, I made pics of my endeavour; if anyone wants to see them, just raise
  your hand and I'll upload them.)
 
  Jeroen
 
 I've done the odd bit of rework on tiny SMD stuff before, so that's not so 
 much of a worry. I'm more worried about breaking something while lifting the 
 lid, especially with the bluetooth module where it is.

I lifted quite some can lids, by using a small knife or screwdriver (knife 
works better).
There's no issue with BT on lifting the lid, you just need 10 minutes of calm 
repeating same effort until you finally succeed.

Capacitors are the right ones (IIRC), you cam simply solder some wires to 
them, and route those to any place where you are able to position decent 
ones. You even might cut a small hole to the can for this purpose.

Or you just short them, and place the real good ones inside your headset jack 
outside of GTA02 ;-)


Please come up with a photo footage on your rework, as I fear I don't find the 
time soon to do that myself. :-)
You got schem and component placement. It should be easy ;-)

cheers
jOERG

ps: you also might want to short the 33R, they're useless as soon as you got 
decent C (needed for GSM-DL firmware flashing via hs-connector, if at all)


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: GSM-noise buzz issue

2008-09-12 Thread Joerg Reisenweber
Am Do  11. September 2008 schrieb Torsten Sievers:
 Hi Joerg,
 
 good work so far. do you have any update on this?

Well, recent reports from actual lab in Taipei are fuzzy and sparse (I 
unfortunately can't reproduce the buzz-issue here at my european lab), but it 
sounds like we can confirm it's a viable fix to cut pin4 of JK4401 and 
connect the mic signal to this trace somewhere else with a bead (even for 
headset connected :).
I'm about to test a rework-recommendation (involving Dremel/Proxxon) that's 
not including desoldering of JK4401, which is a really difficult task for 
everybody not equipped with a 4500EUR ERSA-SMT_rework station (at least if 
you care about not breaking the whole device during rework).
ATM I get low priority and few support on this from the company, as everybody 
is busy with GTA03 (and I'm with 04 ;-). But stay assured I'll not stop on 
the issue until I find I got to *some* kind of an end of the story.

cheers
jOERG


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: GSM-noise buzz issue

2008-09-16 Thread Joerg Reisenweber
Actually Andy explained the pin3/pin5 issue.
From what I understand, with removed receptacle and 3-5 short, your buzz 
actually vanished, no? That's good news.

For the suggested rework, that's exactly why I bought a Dremel couple of days 
ago ;-)
You described my plans to the smallest detail.

Contrary to Andy I don't hope for eventual enlightenment somewhere in future. 
Especially since no one than me is examining the whole issue, and I'm sure 
there *is* *no* other way for existing devices.
If you got the fox on the farm, you don't investigate how it's actually 
killing the chicken, rather you simply fix the hole in the fence.

cheers
jOERG


Am Di  16. September 2008 schrieb Angus Ainslie:
 On Tue, Sep 16, 2008 at 7:23 AM, Andy Green [EMAIL PROTECTED] wrote:
 
 
 
  BTW props to you sir for jumping in there and start experimenting with
  jack removal, that is not so trivial to think about for a customer.
 
 
 I'm not the one who actually took the part off. I left it to far more
 capable hands in my office. I would also strongly recommend that no one else
 try this unless you are high skilled at soldering and board rework. The guy
 that did it for me has at least 10 years experience dealing with this kind
 of thing.
 
 Angus
 




signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: GSM-noise buzz issue

2008-09-17 Thread Joerg Reisenweber
Am Mi  17. September 2008 schrieb Andy Green:
 Somebody in the thread at some point said:
 | Actually Andy explained the pin3/pin5 issue.
 | From what I understand, with removed receptacle and 3-5 short, your buzz
 | actually vanished, no? That's good news.
 |
 | For the suggested rework, that's exactly why I bought a Dremel couple
 of days
 | ago ;-)
 | You described my plans to the smallest detail.
 |
 | Contrary to Andy I don't hope for eventual enlightenment somewhere in
 future.
 | Especially since no one than me is examining the whole issue, and I'm
 sure
 | there *is* *no* other way for existing devices.
 | If you got the fox on the farm, you don't investigate how it's actually
 | killing the chicken, rather you simply fix the hole in the fence.
 
 Our incomplete understanding does not lead to a solution for headset mic
 buzz nor any security about future designs.
You're sure about that?

 One way or another we need 
 to penetrate those mysteries a bit deeper up to WM8753.

If anybody thinks he needs to learn why it's bad to route RF into a can that's 
designed to keep RF outside, go ahead! Those cans are used *because* not even 
the chip designers can predict what will happen when their chip is flooded 
with 1800MHz. If they could, they could change chip design in a way we 
wouldn't need cans anymore ;-)
Basically it's always the same problem: RF hits a non-linear component (like 
crystal-detector back in ~1900, or any P-N-zone [aka diode] in a 2- or 3-pole 
(chip-)component nowadays), and there it gets rectified and 
introduces DC-current (actually audio-frequency LF-current) in parts of the 
circuit where we absolutely don't want to see it. You can't do anything else 
than just stop RF *before* it reaches this critical point. Typical points to 
stop RF are entrance of external antennae (=short or long unshielded wires) 
to PCB, and **entrance of traces into can**.

We don't want to learn how to make RF behave inside a can, simply because 
we'll never win. RF is a beast, mostly you just can't tell what it will do 
until you actually tried.

cheers
jOERG


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: GSM-noise buzz issue

2008-09-17 Thread Joerg Reisenweber
Am Mi  17. September 2008 schrieb Andy Green:
 Which pins on WM8753 are affected by what in order to make this buzz?
Wolfson micro headquarters is in Edinburgh AFAIK. Probably you'll find someone 
there who might be interested in your findings on that.
Please don't forget to specify things like amount of soldering tin between 
chip and PCB and distance of chip upper surface to can lid, when starting 
investigation, so the results about chip-internal effects when applying RF to 
single pin are reproduceable.

For the rest of us, the simple rule there must not be *any* RF *anywhere* on 
WM8753 should suffice to do a decent working buzz-free design.

/j



signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: GSM-noise buzz issue / ways forward

2008-09-22 Thread Joerg Reisenweber
Am Mo  22. September 2008 schrieb Andy Green:
 Somebody in the thread at some point said:
 
 | and *then* continue to look for good fixes for already existing ones,
 this
 | request gets torn down by an immediate vivid discussion about
 contamination
 | pathes etc., leaving impression to TPE EE we are not on same page
 about doing
 | new PCB to include EMI-filters on 3 contacts of JK4401.
 
 If we're making an A8 today we should add them, solely on the basis
 that's the only thing we found that affects it at all.  But, I don't
 think we make an A8 today.
 
 What we need to increase our understanding of the whole problem if we
 can in the meanwhile and see if we can find more attacks elsewhere and a
 different way to come at it.  That is why the difficult question about
 paths keeps returning.  Really the bead impact is clue to the larger
 problem structure, not a solution in itself (although if we don't get
 any further, that's all we have to play with).
 
 -Andy
 

I definitively resign.
/j



signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: GSM-noise buzz issue

2008-09-29 Thread Joerg Reisenweber
Am Mo  29. September 2008 schrieb Andy Green:
 Somebody in the thread at some point said:
 
 | Got around to try it just today.
 | The problem for me with testing is that I (too) have a pretty good
 | signal where I life (Actually orignating about 300m away ;) ), so that
 | if there is buzz it is relatively silent.
 | To reproduce it reliably I just went into the cellar and did a longer
 | test call. Interestingly the buzz was sometimes pretty loud and
 | sometimes hardly present which did not seem to coincide with the signal
 | strength. Actually once I noticed the buzz getting louder when the
 | signal got stronger oO. What I annoyingly had all the time was a pretty
 | loud echo though :(.
 
 I know what you mean about it coming and going, seemingly disconnected
 from what you are doing to the phone.
 
 I was looking at the VB_SYS rail during the buzz time a couple of months
 ago, it seemed to me the buzz came and went according to what I saw on
 VB_SYS.  But this was an A5 revision.

I will include this to my mail signature:
Buzz obviously is related to TRANSMIT-power of mobile. Transmit power is 
remote controlled by the base station, so the signal BS is receiving meets 
BS' taste. There is *no* direct relation between RECEIVE-signal strength as 
reported by signal meter on mobile, and the way BS decides to set he TX-power 
of mobile to.
Obvious example: when very remote of a strong BS, you might see good signal 
strength, but transmitter of mobile has to power up to the limit. When close 
to a BS of a small cell (usual situation in urban areas), you might see weak 
signal strength, but nevertheless mobile needs low tx-power to reach the 
nearby BS.
Then when BS sees some bad noise spoiling the signal from your phone, BS will 
decide to level up TX-power of your phone, and buzz increases without any 
change at all in your test setup.
That's also the reason why replacing original antenna with a piece of wire 
doesn't really change buzz situation: BS is leveling TX-power so 
the reduced TX-RF-field is attenuated to be same as before, though 
transmitter-amp is burning more power to achieve this identical TX-strength - 
so this wire-antenna-test actually is a proof for OTA-injection of buzz, as 
it has to yield *more* buzz if it was by internal coupling via RF or DC.

It's difficult to test in real live, you absolutely can't control the setup.



 
 | As for the shorted plug: If there is buzz it amplifies it a tiny bit, if
 | there is no buzz it doesn't seem to induce buzz, but it definitely does
 | not seem to make things better.
 
 At high frequencies shorts with some loop area don't necessarily have
 that low an impedence.
 
 What did you actually short to what, everything to the 0V pin really?

The most easy way to short it is to use a copper wire of correct diameter and 
insert that instead of a plug (don't push it in too far ;-) ).
I don't expect this will yield a good result, as our tests to short 
JK4401:pin6 to GND internally also didn't help. Be aware: this isn't exactly 
GND plane, but in fact one half of the antenna dipole. RF isn't only at 
antenna, but spreads all over the device electrical surface.

cheers
jOERG


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: GSM-noise buzz issue

2008-09-30 Thread Joerg Reisenweber
Am So  21. September 2008 schrieb Uwe Klein:
 On 9/21/08, Werner Almesberger [EMAIL PROTECTED] wrote:
  Andy Green wrote:
One interesting thing would be stick a tracking generator on the GSM
antenna, put it near the headphone socket in a repeatable way, stick
spectrum analyzer probe on the victim net, and sweep them to get a
display of coupling efficiency vs frequency.
 
 
  Do you think this will work ? I thought of using a tracking generator
   when I wrote that mail lamenting that Joerg didn't have a signal
   source, but then I realized that almost all tracking generators have
   their maximum output at about 0dBm, while our troublemaker should be
   more like 30dBm.
 
 I had thought about using the FR as an energy sink.
 Using a 4pole networkanalyzer and a pair of antenna
 in a grid dip meter style arrangement.
 This should indicate all absorbtive elements.

A very cute test setup.
Anyway I don't exactly see what we have learnt once we know all dips by name, 
err frequency and dB. I'd guess we get a lot of dips, and we can't tell what 
element caused them, and especially we don't learn anything about audio 
contamination path. Even less we learn something *new*.
Werner's original proposal seems somewhat more result oriented, alas all this 
fails when attaching probe to the victim net, due to total change of 
RF-properties (probe has some pF! need to open can, etc). So probably the 
most helpful test would be to use a +36dBm generator at 850/900/ 
and record buzz by arecord piped to ssh-stdout to external PC, so you can 
level up generator and see what dBm you need at different frequencies to 
start buzz. Basically exactly the tests I already did in TPE, though I had to 
use a second phone for generator purpose, and this was rather clumsy and not 
very reproduceable.

Also direct coupling of RF to JK4401:4 at a moderate level might be a way to 
go, then check with scope/spectralizer all the pins and pads inside can, and 
get an idea of where RF jumps to from primary path (if any). Again we won't 
learn anything about how we could improve things, other than KEEP RF OUT of 
CAN, i.e. away from non-linear audio-circuits.

Anyway, I'm looking forward to read your report on test results.

cheers
jOERG


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: Neo1973 WM8753/Alsa Configuration

2008-10-01 Thread Joerg Reisenweber
Am Mi  1. Oktober 2008 schrieb Mark Brown:
 The controls for the WM8753 itself are all defined in
 sound/soc/codecs/wm8753.c in the kernel source - they're all done with
 macros which map them into register fields in the codec.

I tried to find name of a registers this way, but this code is so nested and 
cryptic and poorly commented, I really didn't success to understand the logic 
behind the data structures and defines.

@Kyle: you could try to learn from a diff between the two state files (plus 
maybe a third one, for reference to distinguish the specific controls to set 
for a particular state)

cheers
jOERG


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: Neo1973 WM8753/Alsa Configuration

2008-10-03 Thread Joerg Reisenweber
Am Mi  1. Oktober 2008 schrieb Mark Brown:
 On Wed, Oct 01, 2008 at 05:13:37PM +0200, Joerg Reisenweber wrote:
 
  I tried to find name of a registers this way, but this code is so nested 
and 
  cryptic and poorly commented, I really didn't success to understand the 
logic 
  behind the data structures and defines.
 
 The actual register definitions are pretty direct AFAICS - the text
 string with the user visible control name is immediately next to the
 register names - for example:
 
   SOC_DOUBLE_R_TLV(PCM Volume, WM8753_LDAC, WM8753_RDAC, 0, 255, 0, 
dac_tlv),
 
 is a control callled PCM Volume at bit 0 with value up to 255 in the
 LDAC and RDAC registers.  Obviously, YMMV but it shouldn't be too hard
 to find the user-visible name for a register bit or vice versa, I'd have
 thought.

60sec reality check:
PCF50633UM2.00.pdf - search RDAC - error: no occurrence found

Also I'm pretty sure the user visible control name isn't exactly what you 
get to see in alsamixer for example. Furthermore they are often wrong as they 
don't regard our particular hw-setup, where GSM-mic sensitivity is something 
like mono sidetone playback volume or such weirdness.
The situation resembles using a genuine PS/2 mouse driver for a synaptics 
touchpad. I really don't think there is any value or sane rationale behind 
using a generic upstream driver for a very OM-specific hw-design, the usual 
way for all hardware is manufacturer of device creates tailored-to-suit 
drivers for their product, admittedly based on chip manuf's generic chip 
driver sources usually.

/jOERG


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: Neo1973 WM8753/Alsa Configuration

2008-10-03 Thread Joerg Reisenweber
Am Sa  4. Oktober 2008 schrieb Joerg Reisenweber:
 Am Mi  1. Oktober 2008 schrieb Mark Brown:
  On Wed, Oct 01, 2008 at 05:13:37PM +0200, Joerg Reisenweber wrote:
  
   I tried to find name of a registers this way, but this code is so nested 
 and 
   cryptic and poorly commented, I really didn't success to understand the 
 logic 
   behind the data structures and defines.
  
  The actual register definitions are pretty direct AFAICS - the text
  string with the user visible control name is immediately next to the
  register names - for example:
  
SOC_DOUBLE_R_TLV(PCM Volume, WM8753_LDAC, WM8753_RDAC, 0, 255, 0, 
 dac_tlv),
  
  is a control callled PCM Volume at bit 0 with value up to 255 in the
  LDAC and RDAC registers.  Obviously, YMMV but it shouldn't be too hard
  to find the user-visible name for a register bit or vice versa, I'd have
  thought.
 
 60sec reality check:
 PCF50633UM2.00.pdf - search RDAC - error: no occurrence found

ooops, sorry :o)


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: GTA03 revision available

2008-10-03 Thread Joerg Reisenweber
Am Sa  4. Oktober 2008 schrieb Werner Almesberger:
 [EMAIL PROTECTED] wrote:
  From what I know, I would expect it to be available in the fall
  of 2009. But this is only my guess.
 
 5Q2009 is actually when we plan to release the Neo Lockdown, running
 Proprietarix licensed from SCO(tm), SIM-locked to Iridium, and with
 pay-per-use applications. Since we're all about freedom, you will be
 able to change the battery as you like, but it will only release its
 charge if its serial number matches the one etched into our
 custom-built phone-on-a-chip(r).
 
 RD hasn't started yet, but we'll get to it as soon as we're done
 filing all those software patents.

Damn, Werner! The Iridium-SIMlock story is under heavy NDA :-(
Are you speculating with Boing shares?
/j


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: GTA03 revision available

2008-10-03 Thread Joerg Reisenweber
Am Sa  4. Oktober 2008 schrieb Mike (mwester):
 Joerg Reisenweber wrote:
  Am Sa  4. Oktober 2008 schrieb Werner Almesberger:
  [EMAIL PROTECTED] wrote:
  From what I know, I would expect it to be available in the fall
  of 2009. But this is only my guess.
  5Q2009 is actually when we plan to release the Neo Lockdown, running
  Proprietarix licensed from SCO(tm), SIM-locked to Iridium, and with
  pay-per-use applications. Since we're all about freedom, you will be
  able to change the battery as you like, but it will only release its
  charge if its serial number matches the one etched into our
  custom-built phone-on-a-chip(r).
 
  RD hasn't started yet, but we'll get to it as soon as we're done
  filing all those software patents.
  
  Damn, Werner! The Iridium-SIMlock story is under heavy NDA :-(
  Are you speculating with Boing shares?
  /j
 
 Iridium, huh?  I just knew *somebody* would buy up all those satellites,
 and put them to some nefarious use!
 
 Mike (mwester)
 

Yeah, actually that's been Openmoko ;-)
But Boing isn't really interested in selling them, and the CIA is a tough 
opponent on negotiations.

/j




signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: WLAN signal strength - good or bad ?

2008-10-04 Thread Joerg Reisenweber
WLAN is RF and thus again voodoo. I only know I have similar puzzling results 
whenever I compare any 2 randomly chosen WLAN-Xceivers.
10cm of movement may change situation totally, and the sending out of beacons 
isn't very comparable between different APs.
To make things worse, not only the beacons are sent a few times/sec, but also 
the DUT-xceiver has to scan 11~14channels. So one DUT may just hit a good 
beacon not spoiled by interference from another AP on same channel, while the 
other DUT might be unlucky to read any beacon of same AP, just 200mSec later, 
when it's about to scan same channel.
Then it seems there are a multitude of proprietary filter algos in the 
WLAN-chipset FW, that have great influence on what's reported to and by the 
driver, and probably there are differences in the drivers themselves as well.

It's mere chaos and you won't get reproduceable results, you can just do 
statistical analysis over a huge number of samples.
Reported dB and % values are usually not standardized between drivers, and 
I've seen a lot of bogus values being reported.

Best test I found for WLAN performance is actual throughput resp Quality of 
Signal (though the later isn't usually reported in a reasonable way so you 
could compare different WLAN-chipsets)

cheers
jOERG




signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: GSM-noise buzz issue- Stupid Question... Are Bluetooth headsets affected?

2008-10-12 Thread Joerg Reisenweber
Am Mo  13. Oktober 2008 schrieb [EMAIL PROTECTED]:
 Sorry about the dumb question. I was just wondering if bluetooth headsets 
would be affected by this buzz problem.

No. Will work without buzz
/jOERG


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: GTA04 SoC/CPU and LCD size

2008-10-30 Thread Joerg Reisenweber
+1 
for some sort of transflexive screen that displays (a maybe somewhat reduced 
set of) information without backlit.

/j


Am Do  30. Oktober 2008 schrieb Alastair Johnson:
 Uwe Klein wrote:
  Now for something completely different:
  
  is a OLPC / Pixel Qi type reflective LCD an option?
  http://www.pixelqi.com
 
 I've been thinking the same thing. The poor daylight readability is the 
 only thing I don't like about the current screen, and is a real issue 
 when it's on my bike. Reduced power consumption would be a bonus.
 
 ___
 hardware mailing list
 hardware@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/hardware
 




signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: GSM-noise buzz issue

2008-10-30 Thread Joerg Reisenweber
Am Mi  29. Oktober 2008 schrieb Angus Ainslie:
 On Wed, Oct 29, 2008 at 12:08 PM, Ole Kliemann 
 [EMAIL PROTECTED] wrote:
 
  Hi Joerg and others,
 
  I haven't followed the whole thread as I only understand 1%. So just one
  quick and dirty question:
 
  I have the two years EU warranty and am going to send my FR to my
  distributor anyway because GPS is not working with the internal antenna.
  (Independant of SD card.)
 
  So if I send it in, is there any fix that could be applied for the
  buzz? Or is it worth to wait, say another week, because there will be
  something then?
 
  And - if you allow me to be off-topic - is there any improvement fix for
  the headphone jack? I mean this hipass-filtering issue making music
  sound quite tinny.
 
  Thanks!
  Ole
 
 
 Hi Ole,
 
 I don't know whether Joerg has attempted the hardware fix yet.
Please see the whole thread to find we did quite a number of tests to verify 
it, in TPE.

 I finished 
 mine yesterday. Attaching the bead to the pad of pin 4 does NOT fix the GSM
 buzz issue.
Attaching the bead is *not* the fix exactly, cutting the connection from 
JK4401:4 to coppertrace is considered the fix.
Anyway it seems you tried to achieve this by cutting the contact from JK4401 
(your first picture). Alas it's not clear if you correctly isolated pin4-pad 
on PCB, so to me it looks like you soldered the bead on the pin4-pad and 
maybe you just shorted the tiny gap between PCB-pad and the metal-stub where 
you cut off pin4-contact on JK4401, while soldering the bead.

Cutting the contact sure is a good thing, anyway I recommend to isolate pin4 
PCB-pad by some plastic, so it is securely NC and in some distance to 
JK4401:4 metal spring. (see: 
http://people.openmoko.org/joerg/GSM_EMI_noise/noise_stopped_by_cut_pin4/JK4401_isolate_pin4__2.jpg
 )
Then do first test to find buzz is gone.
Then place bead to pad of R4404 NC, or even piggyback it to C4405, and connect 
to upper golden contact of JK4401, above pin4. (Please note you need the bead 
only for hs mic function, which may still be broken when using it during GSM 
RF activity)

/j



 
 There are a couple of pictures.
 
 Connector with pad 4 removed:
 
 http://handheldshell.com/connector.jpg
 
 It's a little hard to see, in this photo the bead is soldered standing up on
 pin4 with a jumper wire from the top of the bead to the side of the headset
 plug.
 
 http://handheldshell.com/board.jpg
 
 With this change the buzz is just as bad as ever.
 
 Angus
 
 -- 
 Angus Ainslie
 http://www.handheldshell.com/
 




signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: GSM-noise buzz issue

2008-10-30 Thread Joerg Reisenweber
Am Do  30. Oktober 2008 schrieb Ole Kliemann:
 Thanks for the answer!
 
 The point is, i certainly won't do the fix myself. ;) I will send my
 device to my distributor on warranty.
 
 On Thu, Oct 30, 2008 at 12:11:47PM +0200, Joerg Reisenweber wrote:
  Seems you always could upgrade to the 'botch' fix found in A7 (It 
*should* 
  work, as our TPE engineers found it worth to implement in A7 ;-):
 
 So as this fix is officially approved,

That's *your* way to read my words ;-)
My posting contained nothing official nor any approvement.

 I assume my distributor will 
 either be able to apply it or provide me with an A7. Gonna check with
 them soon.
 
   And - if you allow me to be off-topic - is there any improvement fix for
   the headphone jack? I mean this hipass-filtering issue making music
   sound quite tinny.
  a) place some decent 100uF (or as high cap as feasible) parallel to C4110 
and 
  C4111. Make sure you don't create another contamination path for RF 
creeping 
  inside big can - maybe use a ferrite ring to block RF next hole where you 
  route some wires from those big caps inside can to C4110/11.
  b) *short* C4110 / C4111, and insert the 100uF somewhere else in 
audiopath, 
  b1)e.g. near R4405 / R4407 (you can even replace these R by 100uF 
  capacitors).
  You should remove R4117 and R4117 then, and instead place these 1k from 
  JK4401:pin2 and pin3 (! for JACK_INSERT function) to GND
  b2) or even place the 100uF outside FR in the housing of your hs-plug or 
  2.5-3.5mm adapter
 
 Is this somewhat official? 
Nope.

 Is it included in any newer revision? 
For sure not, as any official fix (that may or may not be included in A7, 
I'm pushing it but result is somewhat... hmm, limited) for sure simply will 
rearrange layout to make space for decent 100uF in place of the former 1uF 
C4110/C4111.


/jOERG


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: [sound]: capacitor that act like a high-pass filter and so removes the bass on the headphones jack

2008-11-15 Thread Joerg Reisenweber
Am Sa  15. November 2008 schrieb [EMAIL PROTECTED]:
 Hello, I've the same issue as described here:
 
http://wiki.openmoko.org/wiki/Neo_FreeRunner_Hardware_Issues#Known.2FAccepted_Issues
 That is to say the Poor low-frequency audio response with low-impedance
 headphones problem...
 On IRC I was told that was the fault of a capacitor that lies between the
 audio chip and the headphones jack that is too low and act like a
 high-pass filter and so removes the bass...
 
 This issue is very problematic for me:
 I've a pma430 that I use like an audio player(linux device with
 proprietary kernel modules and an old proprietary version of qtopia)...but
 it's an old device...and one day the battery will die...
 Moreover it has a lot of bugs that I can't get rid of:
 *mplayer for the pma430 is buggy and I don't have its sources(it's a
 special port because the sound drivers are buggy or specials...)
 *the default player is buggy and I often have to restart the device
 *the suspend button is often pressed when the device is in my pocket...and
 because of the proprietary nature of the device I don't think this could
 be changed...otherwise the openpma devellopers would have changed that...
 So buying an openmoko I thought that I would get a device that would
 replace it as:
 *a real GNU/Linux pda(done(the compiler of the pma430 couldn't be changed
 because of a kernel bug and the kernel couldn't be changed because of the
 proprietary modules,but with openmoko we have openembedded and a lot of
 software))
 *an audio player(here's the problem)
 
 The problem is that the software fix suggested by the wiki isn't
 sufficient for proper audio quality...
 
 So what are my options?
 solder myself the capacitor isn't an option...I'm not skilled enough nor
 have the right soldering iron(Long time ago I've broken a graphic card
 trying to do a mod that would make the nvidia drivers recognize the card
 as a quadro card...(the card was sometimes recognized by the 3d driver and
 sometimes not))
 So what sould I do?
 find a shop or someone that would do it for me(I live in Milan in Italy)?
 use the guarantee(I bought it at bearstech)?
 Or would a better software fix be possible(such as re-encoding the ogg
 with special filters?,but that would be problematic as it would use a lot
 of space for keeping the files on my computer...but if it's the only
 option I'll use it)
 adding an external sound card isn't an option either because if I use it
 in my home on a hifi-set I would not be able to feed the openmoko in
 power(as the usb port would be taken by the audio card) or if I use it
 outside...a sound card isn't very compact...
 By the way for determining the version of my hardware, I think I've got
 the hardware fix for the GPS and I bought a released version of the GTA02
 Thanks a lot in advance for your help.


Sorry the audio is definitively broken due to the capacitor issue you're 
mentioning. There is no sw-fix either.
You may get (semi)decent audio by:
o- using a home-stereo line in, which has 1k input impedance
o- using high impedance headphone (600 Ohm)
o- do a rework on the capacitors (there are different ways to do that, all 
need excellent soldering skills)
o- use a bt-headset

very sorry I didn't achieve to fix this for MP yet
cheers
jOERG


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: [sound]: capacitor that act like a high-pass filter and so removes the bass on the headphones jack

2008-11-15 Thread Joerg Reisenweber
Yes, sounds like a good idea (input impedance should be (much)  [GT] 1000Ohm 
though, not 1k)
This adapter also could implement some hw-equalization for the highpass-filter 
created by the 1uF*(1/(1/1k + 1/(33R + adapter-impedance)). (where, in 
sequence, values are from: C4111:1u, R4117:1k, R4407:33R. Right channel 
analogue)

Requests for assistance welcome.
cheers
jOERG

Am So  16. November 2008 schrieb Scott Carlson:
 Would also be possible to create a small inline adapter for head set that
 have 1k input impedance? It may be convenient to make a batch and sell them
 cheap? (As a non-intrusive) hw fix.?
 
 SCarlson
 
 
 
  Sorry the audio is definitively broken due to the capacitor issue you're
  mentioning. There is no sw-fix either.
  You may get (semi)decent audio by:
  o- using a home-stereo line in, which has 1k input impedance
  o- using high impedance headphone (600 Ohm)
  o- do a rework on the capacitors (there are different ways to do that, all
  need excellent soldering skills)
  o- use a bt-headset
 
  very sorry I didn't achieve to fix this for MP yet
  cheers
  jOERG
 
  ___
  hardware mailing list
  hardware@lists.openmoko.org
  http://lists.openmoko.org/mailman/listinfo/hardware
 
 
 




signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: [sound]: capacitor that act like a high-pass filter and so removes the bass on the headphones jack

2008-11-28 Thread Joerg Reisenweber
Am Sa  29. November 2008 schrieb Andy Green:
 Somebody in the thread at some point said:
 | I think I understand. I built one 10 F capacitor into the adapter (at the
 | mass), so the problem with the headphones should be fixed. I also
 measured a
 | 1,59V current at the capacitor when plugged in and silent. Sound is
 good as
 | before.
 |
 | It's beginning to sound very appealing.  I was very disappointed to
 | discover that my FR is unusable as an MP3 player (and I'm not demanding:
 | I usually find 64Kb/s Vorbis files good enough for such a use).
 |
 | Unfortunately, the internal speaker sounds really bad now (distorted).
 | So I think i'll remove the silver again and find somebody who can help
 | me with the soldering...
 |
 | Hmm... why does it distort the interal speaker?
 
 With the caps the transducer experiences -~1.5V .. +~1.5V worth of
 deflection down and up; without the caps it experiences 0 .. ~3V
 worth all up.  So it's physically unable to deflect enough linearly I
 would think.

Please note the internal speaker isn't connected via the 1uF capacitors. 
See SPK LOCATION:41XX page6 schematics GTA02.
So shorting them will not directly cause a different DC-offset situation on 
internal speaker, and shouldn't make any trouble for it.
A short to GND when applying the silver-varnish on the other hand might cause 
the distortion you have heard.

I won't recommend shorting the DC-blocking capacitors. A decent rework/fix 
comprises finding a place for 2 100uF, and then connecting these in parallel 
to the 1uF, preferably by by shielded two-wires-cable. If these big 
capacitors are located outside can, I strongly suggest to place a ferrite 
bead directly on the hole where the cable enters he can, to block RF from 
entering the can (homebrew buzzissue).

BTW: be aware you easily may destroy headsets or speakers by applying DC for 
prolonged periods of time. Strongly deprecated.

cheers
jOERG


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: Bug #1024 related power measurement of the GSM modem

2008-12-02 Thread Joerg Reisenweber
Am Di  2. Dezember 2008 schrieb Dieter Spaar:
 Hello Stefan,
 
 Stefan Schmidt wrote:
  To follow up on the #1024 traces. I fear you are still not able to 
reproduce the
  re-camping?

 
 No, I cannot reproduce it here. It seems that it requires a special GSM
 net situation.
 
  From the PCO2 logs you made, it look like this without applying the
 AT%SLEEP=2 workaround (Thank you for allowing to post this trace
 overview). All times are relative, CID is the cell ID:
 
 00:06:04:667   MMR_REG_CNF received: LAC: 0020, CID: DACC
 00:09:37:249   MMR_REG_CNF received: LAC: 0020, CID: DAB8
 00:11:45:560   MMR_REG_CNF received: LAC: 0020, CID: 00CA
 00:12:41:293   MMR_REG_CNF received: LAC: 0020, CID: C834
 00:14:24:681   MMR_REG_CNF received: LAC: 0020, CID: DACC
 00:14:48:234   MMR_REG_CNF received: LAC: 0020, CID: DAB8
 00:15:23:502   MMR_REG_CNF received: LAC: 0020, CID: 00C0
 00:16:22:414   MMR_REG_CNF received: LAC: 0020, CID: DACC
 00:16:49:465   MMR_REG_CNF received: LAC: 0020, CID: 00CA
 
 It seems that you have at least five cells for your network around
 which can be received with a similar level. [ Hey, I think I have
 buy more BS-11 base stations and  install all of them to get
 something similar here ;-) ]
 
 On a first look the cell re-selections are done because
 the GSM modem has decided that a different cell is better
 than the current one. I would say that this is not necessarily
 a wrong behavior of the GSM modem.

Please check C1/C2 threshold levels. Usually this *is* an erratic behaviour of 
GSM.

 
 The situation is similar with the AT%SLEEP=2 workaround applied:
 
 00:03:44:457   MMR_REG_CNF received: LAC: 0020, CID: DAB8
 00:03:58:336   MMR_REG_CNF received: LAC: 0020, CID: 00CA
 00:04:32:477   MMR_REG_CNF received: LAC: 0020, CID: DACC
 
 (The trace is shorter so there are not that many cell re-selections).

So we see the same unpleasant behaviour here as well :-(
Seems sleep=2 won't stop it.
Is this really an active complete cell reselect? Could you check if there's 
GSM TX activity each time we see MMR_REG_CNF received: please.


cheers
jOERG


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: Fwd: No more optimization team

2008-12-15 Thread Joerg Reisenweber
100% ACK


Am Di  16. Dezember 2008 schrieb Werner Almesberger:
 Joerg Reisenweber wrote:
  Are you living in an area where many people use their cellphone, but only 
few 
  BS around? We have some cloudy theory this might be a trigger for #1024.
 
 Perhaps it would be good to collect some more specific reports of the
 kind of settings ?
 
 This seems to be a bit similar to the WLAN problems that eventually
 turned out to be linked to having multiple access points, but the
 picture remained vague until we had a large enough number of fairly
 detailed usage stories.
 
 With GSM, things are more complex, because it's harder to know what
 the network is like. But getting a first overview may help to find the
 next, more specific questions to ask, etc.
 
 - Werner
 




signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


GSM #1024 issue

2008-12-16 Thread Joerg Reisenweber
Mickey,
could you connect an external GSM-antenna and check if there's any difference?
Preferably connect the external antenna while actually encountering a #1024, 
and see whether it stops, or otherwise changes characteristics.

many thanks
cheers
jOERG


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: GSM #1024 issue

2008-12-16 Thread Joerg Reisenweber
Am Mi  17. Dezember 2008 schrieb Michael 'Mickey' Lauer:
 Am Tuesday 16 December 2008 20:33:42 schrieb Joerg Reisenweber:
  could you connect an external GSM-antenna and check if there's any
  difference? Preferably connect the external antenna while actually
  encountering a #1024, and see whether it stops, or otherwise changes
  characteristics.
 
 Did that months ago when I first encountered the problem -- no change 
 whatsoever.

Thanks!
Great, so we can exclude a whole bunch of causes that are *not* responsible 
for #1024.
In fact this reduces it to the GSM-FW and the OTA-protocol.

/j


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: MICBIAS buzz injection

2009-01-14 Thread Joerg Reisenweber
We have an issue regarding HW-driven max output level of the A5..A7-mic vs max 
input sensitivity of Wolfson 8753. Anyway this is about some 20dB missmatch, 
and regarding the amount of noise/distortion the mic introduces by itself 
this won't spoil our overall signal quality balance. (you might get sth like 
a 10..14 bit resolution)
8753 has such a low noise floor even at A/D conversion (see datasheet) you 
won't recognize or notice the problem, as you still get much better than 60dB 
S/N. Just boost the digital signal to 0dB and everything will be fine. (I 
apologize for this botch, but it's not really a problem. Builtin mic isn't 
HiFi anyway, for bootleg record purposes please use a decent stereo mic 
connected via USB)

And yes, of course you can record from mic by sw. What do you think we 
designed this device for ;-) ?

cheers
jOERG



Am Mi  14. Januar 2009 schrieb Erland Lewin:
 If you could record from the microphone by software on the Freerunner, that
 would be great.
 
 I would like to see confirmation that speaking at a conversational level to
 the microphone will give a nice signal level that fully uses the 16 bit
 range, and also show to some extent the degree of noise at the microphone. I
 did some recording tests a few months ago, and was never able to get a good
 signal level.
 
 Because of the degree of complexity of the audio path (both hardware 
 software), I think it would be nice if OpenMoko had such test software to
 verify that microphone recording works well, and that the level is ok as
 part of your test suite.
 
 Regards,
 
 Erland
 
 2009/1/13 Werner Almesberger wer...@openmoko.org
 
  Joerg and I discussed today how to verify that the MICBIAS buzz rework
  was done properly. Joerg had a very interesting idea: by toggling the
  codec's MICBIAS output, we should be able to create noise that would
  vary depending on whether the rework has been done. He asked me to
  adapt one of my I2C-tweaking programs for this purpose.
 
  Here's a little program that hammers the Wolfson as fast as it can,
  making MICBIAS oscillate at about 50Hz:
  http://svn.openmoko.org/developers/werner/wolfhammer/
 
  The result looks like this, on a non-reworked A6, measured on the
  codec side of R4305:
  http://people.openmoko.org/werner/a6-nrw.png
 
  The amplitude seems pretty small (and I have plenty of ambiental
  noise), so I'm not sure if this is good enough. To verify that
  MICBIAS was indeed being toggled, I added a 1k resistor between the
  measurement point to ground (i.e., parallel to R4305 and C4302),
  which yielded this:
  http://people.openmoko.org/werner/a6-nrw-1k.png
 
  Joerg, I hope this is useful.
 
  - Werner
 
  ___
  hardware mailing list
  hardware@lists.openmoko.org
  http://lists.openmoko.org/mailman/listinfo/hardware
 
 




signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: hardware development tool of freerunner (GTA2)

2009-02-12 Thread Joerg Reisenweber
Am Do  12. Februar 2009 schrieb aawnsd:
 
 Hi, 
 anyone who know which tool was used (CAD/CAE, schematic/pcb) do design GTA2
 and product the pdf's?
 Who to ask?
 aawnsd

Schematics and layout PCB are done using Mentorgraphics LOGIC/PADS
/jOERG


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: GTA03 and E-Ink Interface

2009-02-14 Thread Joerg Reisenweber
Am Sa  14. Februar 2009 schrieb Jaya Kumar:
 ni hao and hello OpenMoko friends,
 
 Ok, to explain my interest quickly: what I hope to do is to take an
 openmoko and add an E-Ink display, possibly replacing the LCD if
 necessary. It is too early for this to be useful to people so I do not
 want to consume any significant time or effort from OpenMoko's
 developers. I'm willing to do this on my own.
 
 I'm the author of the E-Ink display controller drivers in the mainline
 linux kernel, and have been working on making broadsheetfb, the driver
 for E-Ink's latest controller behave in a way such that generic Linux
 applications can run on it without any modification. I have had some
 good initial results which I have shown. eg: videos here ( mozilla
 fennec on e-ink,  http://www.youtube.com/watch?v=k4WBdagDgSg ) and
 various articles here (
 http://highlycomposite2.blogspot.com/search/label/e-ink ).
 
 I feel I have a clear idea of how to achieve this idea of adding an
 E-Ink panel to a phone, the only constraint is that I need 22-pins of
 GPIO. I asked Harald and he had suggestions and pointed out that the
 22-pin constraint may be a serious problem. I'm willing to sacrifice
 certain other peripherals to get that count. I was searching the
 openmoko wiki for GTA03 gpio pinout or some idea of a list of signals
 that are brought to surface pads or traces that I could then tap onto.
 Is this available?
 
 I had also looked at GTA02 pins:
 https://svn.openmoko.org/trunk/doc/hardware/GTA02v4/gpio.txt
 based on that, some notes for myself:
 - abandon bluetooth 1
 - abandon sd card 6
 - abandon LCD and repurpose those LCD's interface pins that can be
 repurposed as gpio, i think this gives me about 5 pins but not sure if
 all are brought to connector (lcdvf0,1,2, lcdhclk, lcdpwren),
 - so insufficient gpio. have to use gpio extender connected via i2c or
 uart. a big latency penalty though.
 - so look at gta03 and hope for inspiration :-)
 
 Any advice and suggestions would be greatly welcome.


You need those 22 gpio *in addition* to the LCM data lines from glamo to lcm?

cheers
jOERG


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: GTA03 and E-Ink Interface

2009-02-15 Thread Joerg Reisenweber
Am Mo  16. Februar 2009 schrieb Jaya Kumar:
 On Mon, Feb 16, 2009 at 8:02 AM, Andy Green a...@openmoko.com wrote:
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
 
  Access to Glamo mapped region is much slower than 50ns.  But, it's 16
  bits wide.  If you were able to use all the 16 bit width, you would have
  more than enough bandwidth.
 
 Ok, with you so far.
 
 
  Here's an idea, totally abuse the Glamo framebuffer and pixel bus to
  store your bitbang sequence as video.  Then hook up each of your E-ink
  bus signals to one bit of pixel data, eg, E-ink nRD - RED0.
 
 I've lost understanding here. I have 22 signals. To talk to the
 display, I need to wiggle 3 control signals, set 16-bits of data,
 repeat to  framebuffer size, wiggle some more and then finally wait
 for an interrupt from a 4th control signal to send a command. I think
 there's no input signal on the pixel bus so Glamo won't be able to
 report the interrupt back to me. But I think it would not be a problem
 for me to put that signal on an actual gpio. So that leaves the
 problem of the 3 control signal and 16-bits of data. Is there a way
 for me to store those 19-bits of data in the framebuffer so that glamo
 can push them to the controller. I guess if glamo knows about RGB888
 and can transfer that to the pixel bus, that would work fine since I
 can just store my control sequence + data inside the 24-bits of
 framebuffer data and then get glamo to push that through. That would
 be awesome.
 
 
  Pixel data generation is synchronous in the Glamo so the edge quality
  should be good enough to clock from.  There's a PLL in the Glamo that
  can be meddled for Glamo pixel clock: it's 24.5MHz typ IIRC.
 
  Because your bus clock is also derived from pixel data, and your system
  is fully synchronous, HSYNC and VSYNC will be invisible so long as you
  return your clock to 0 (presumably) before the end of each video line.
 
 You lost me here. I have a write signal that is used to clock the data
 in for every 16-bit transfer, perhaps that's what you mean by bus
 clock. For example, a full buffer transfer involves:
 
 set chipselect off
 set data on
 foreach pixel {
 set write off
 set 16-bits framebuffer data
 set write on
 }
 set chipselect on
 
 If we treat write as a clock signal, then the clock must return to
 idle after exactly the last pixel (of the whole framebuffer) rathar
 than a whole horizontal line. I could use the vsync on the host to
 tell me when to set chipselect on if I treat that as a separate IO.
 
  There's an auto page flip feature in Glamo that can help you issue this
  data just the once, you can keep the other page at all pixels 0x00,
  then it simplifies enabling page flip and watching it do it once, then
  disabling page flip.
 
  This should give you highest bandwidth solution possible on GTA02.
 
 Ok, sounds pretty good although the level of complexity seems high.
 btw, I'd want to tell Glamo to suspend shortly after a transfer since
 it's an E-Ink display since we won't need it to be active until the
 next time we want to draw anything.
 
 Thanks,
 jaya
 

if that's a problem getting enough datalines from LCM videodata interface, you 
could use 2 pcs 16bit latch and control their CS and CLK and OE with 2 lines 
while hooking up the rest for latch data input. this way you have full 
control of all 32 (28?) output lines to a time granularity of glamo's 
pixelclock / 2. Of course with gaps during hsync where output won't change.

For the very slow e-ink display I don't see where concerns about speed of data 
transmission arise from. Anyway with the concept sketched above you just fill 
glamo's videobuffer with the signalpattern for your interleaved 2 x 16 
outputs, enable video output, and your kernel driver is idle during 
glamo bitbanging the e-ink interface data via the latches.
I could help better if I had a datasheet of the E-Ink controller interface.

cheers
jOERG


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: Power leakage: save 40mW by turning GSM on

2009-02-22 Thread Joerg Reisenweber
Am So  22. Februar 2009 schrieb Michael 'Mickey' Lauer:
 Am Sonntag, den 22.02.2009, 19:44 +0100 schrieb Rask Ingemann
 Lambertsen:
  But in the end, I realized that the modem powers
  up with deep sleep enabled, so after a few seconds of AT command
  inactivity,
 
 Right, the first thing you should do when working in non-mux mode is to
 %SLEEP=2.
 
 In particular, is it supposed to undo the effects of AT+CFUN=1
  (which
  will turn on receiver, transmitter and everything else needed for full
  GSM functionality)?
 
 Yes. a...@poff is what other modems do when you AT+CFUN=0; actually
 turning off everything.

BTW (on subject) Andy posted a patch today which is stopping burning of 
70mA(!! duh) via high-level uart lines when modem powered down.
Powering down (and up) modem via sysfs node should be fixed and work same time 
now thanks to patch of PaulFerster.
The strange finding of Werner (modem burning more power when actually off than 
in powered up state) should be fixed this way I think.

/j


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: Bluetooth headset routed over USB on Freerunner: why we need it and what problems i faced

2009-02-23 Thread Joerg Reisenweber
Am Di  24. Februar 2009 schrieb Werner Almesberger:
 Paul Fertser wrote:
  Following information is based on AN107 [1] (CSR, 2002, describes SCO
  configuration for BC-01b and BC-02-External) and experience.
 
 Please let me reveal myself as the total BT ignoramus that I am:
 
 Is the bottom line that unidirectional audio (A2DP) over USB to the
 BT device works, but bidirectional audio (SCO) over USB doesn't ?
yup, exactly.

 
 And the reason for this is unknown, but you suspect an audio
 routing issue in the BT module ?
BT has USB interface and PCM interface. Seems there's no way to tell BT to 
accept audio data via USB in SCO (bidir) mode, though there is a way/command 
that *should* work to switch audio input source but doesn't apparently. Might 
be a bug in FW, or poorly or undocumented proprietary command needed.
For A2DP mode (stereo output only) audio data is happily accepted on USB.

Any document about details of actual FW used inside BT module would help a 
lot.
Also asking manufacturer of module rsp chip might be worth a try.

cheers
jOERG


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: Bluetooth headset routed over USB on Freerunner: why we need it and what problems i faced

2009-02-23 Thread Joerg Reisenweber
Am Di  24. Februar 2009 schrieb Werner Almesberger:
 Joerg Reisenweber wrote:
  Bet on that? :D
 
 If a tree falls in a forest and no one is around to hear it, does it
 make a sound ? ;-)

Good point.
Anyway sometimes asking might reveal suprising information. Not first time we 
seen important data buried on some laptop or inside some head.

/j


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: MOKO11b1

2009-02-24 Thread Joerg Reisenweber
Am Di  24. Februar 2009 schrieb Werner Almesberger:
 Dieter Spaar wrote:
  The release version without the b1 is in the SVN at
 
  https://svn.internal.openmoko.org/trunk/calypso/firmware/moko11/
 
 Thanks !
 
  I have kept the long filename in the SVN, feel free to remove or
  rename everything before moko11.m0 when releasing the file.
 
 Perfect :)
 
 - Werner
 

uSD-image pending to be released RSN.
What's status of evaluation now?

/j


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: MOKO11b1

2009-02-24 Thread Joerg Reisenweber
Am Mi  25. Februar 2009 schrieb Joerg Reisenweber:
 Am Di  24. Februar 2009 schrieb Werner Almesberger:
  Dieter Spaar wrote:
   The release version without the b1 is in the SVN at
  
   https://svn.internal.openmoko.org/trunk/calypso/firmware/moko11/
  
  Thanks !
  
   I have kept the long filename in the SVN, feel free to remove or
   rename everything before moko11.m0 when releasing the file.
  
  Perfect :)
  
  - Werner
  
 
 uSD-image pending to be released RSN.
 What's status of evaluation now?
 
 /j
 

btw: convenience-link: 
http://people.openmoko.org/joerg/calypso_moko_FW/calypso-moko-latest.m0


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: Speaker Placement

2009-02-27 Thread Joerg Reisenweber
Am Di  26. August 2008 schrieb Flemming Richter Mikkelsen:
 On 2008-08-19, Esben Stien b...@esben-stien.name wrote:
  It would be nicer if the speakers were placed on top of the device
  instead of at the bottom where they are now.
 
  I have to hold the device kind of awkward to hear the sound coming out
  of it.
 
 I assume the reason is that if any sound should come out from
 those speakers during a call, it is good to have them not too
 close to your ear.

Don't assume actual speaker placement being driven by too much planning and 
thoughts like this.
100% ACK for the covering-by-hand issue - I noticed this early in 2008 and 
mentioned it prior to GTA03 case design, so we may hope for better placement 
on this device ;)

/j


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: GSM Buzz fix also applicable to GTA01?

2009-03-04 Thread Joerg Reisenweber
Am Mi  4. März 2009 schrieb Tilman Baumann:
 Joerg Reisenweber wrote:
 
 
  So my question is basically if the GTA02 buzz fix works for me and is it 
  reasonable to think that I need it?
  Maybe it can really be fixed with a better alsa state file.
 
  I'll answer more detailed questions on HW-ML (as you can tell from delay I 
  read [community] rather infrequent).
 Oh, good to know. I did not know that hardware topics have a seperate list.
 I have the same problem with the community list. Too much noise, too 
 much unimportant.
 
  Basically the answer is: yes applies to GTA01 as well.
  And no we don't think buzz can be fixed by better statefile neither on 
gta02 
  nor on gta01.
 Does this mean you have a solution for me? Or maybe some upcoming?
 Or only a conformation that it needs to be fixed too?
 -- 
 Imagination is more important than knowledge.
   Albert Einstein
 

basically it's all the same procedure for GTA01. Though you probably don't 
even need to replace a resistor (iirc).
If you really want to do this and can't find your way by using 
GTA01-schematics and component placement on openmoko.com, please ask for more 
help.

/j


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: USB Mini B Connector

2009-03-11 Thread Joerg Reisenweber
Am Di  10. März 2009 schrieb Sven Klomp:
 Hi,
 
 where I can get a USB cable with a USB Mini B connector on one side with all 
5 
 pins connected? 

https://www.argentdata.com/catalog/product_info.php?products_id=111

Many Thanks to Uwe Klein!

/j


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: USB Mini B Connector

2009-03-11 Thread Joerg Reisenweber
Am Di  10. März 2009 schrieb Sven Klomp:
 Hi,
 
 where I can get a USB cable with a USB Mini B connector on one side with all 
5 
 pins connected? I need access to the ID pin to add the resistor. A cable 
 called USB Mini A 5pol - USB Mini B 5pol has only four wires. ID is 
 connected to ground as standardised in USB OTG :-(

We are collecting orders for German bulk order.
Feel free to send a mail to jo...@openmoko.org, stating amount you like to 
order.
/j


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: USB Mini B Connector

2009-03-11 Thread Joerg Reisenweber
Am Mi  11. März 2009 schrieb Sven Klomp:
 And the expensive solution:
 http://www.partsdata.de/USB_Mini-B-Verlaengerung_Kabel_1m_CU-XB05-10.html

Anyway not THAT more expensive, so we won't do any order in USA for Germany.
This one is just fine.

/j


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: Bug #1024 (oscillating re-camping), the story goes on...

2009-03-30 Thread Joerg Reisenweber
I suggest to stop the other 2 32kHz oscillators on mainboard to rule out 
mechanical (as well as electrical / EM) interference between them and the 
calypso oscillator.
Can be done by simply shorting/grounding the crystals, or maybe even with 
config-register settings (not yet checked).
Ping me on freenode #openmoko-cdevel DocScrutinizer if you need help on that.

If there's a clockmaker out there, it would be great to test the one remaining 
32kHz crystal by using the sophisticated acoustical test equipment for wrist 
watches clock.

cheers
jOERG


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: Bug #1024 (oscillating re-camping), the story goes on...

2009-03-30 Thread Joerg Reisenweber
Am Mo  30. März 2009 schrieb Werner Almesberger:
 Dieter Spaar wrote:
  Here in my lab environment I can simulate the serving cell
  that is used in the trace. However with my few GTA02 devices
  I don't observe bug #1024 and even in Deep Sleep mode the
  TOA values are stable.
 
 By the way, Joerg has proposed another interesting approach:
 if the oscillator's drive strength is insufficient, we should
 be able to make things worse by reducing it, which you mentioned
 could be done by the firmware.

Dieter, maybe we could have a debug-version of moko11 to implement a service 
AT command to tweak those config registers. This way we could ask users who 
actually can reproduce #1024 to check if there's any difference when issuing 
this power tweaking back and forth.

 
 Is there anything else that's driven by the 32768 Hz clock that
 we can access, e.g., a RTC or some counter ? If yes, we could
 use that to check if the clock has significant variations.

Werner, a brilliant point.

cheers
jOERG


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: Bug #1024 (oscillating re-camping), the story goes on...

2009-03-30 Thread Joerg Reisenweber
Am Mo  30. März 2009 schrieb Dieter Spaar:
 Hello Werner,
 
 Werner Almesberger wrote:
  By the way, Joerg has proposed another interesting approach:
  if the oscillator's drive strength is insufficient, we should
  be able to make things worse by reducing it, which you mentioned
  could be done by the firmware.

 
 Very good idea, I can check that out and see if I get different results.
 
  Is there anything else that's driven by the 32768 Hz clock that
  we can access, e.g., a RTC or some counter ? If yes, we could
  use that to check if the clock has significant variations.

 
 Not something I am aware of. I think the 32kHz oscillator drives a RTC
 if the Calypso chip set alone is used for a simple phone.

Hmm this sounds like there actually *is* sth we can use for this purpose. Is 
it (the RTC) disabled by default on OM's version of FW, or what's the issue 
with it? Or is this RTC an external component that's just clocked by 
calypso's 32kHz. Still it would be interesting to enable such an external 
clock as it maybe would stop the constant disabling/enabling of calypso's 
32kHz clock generator.

/j


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: Bug #1024 (oscillating re-camping), the story goes on...

2009-03-30 Thread Joerg Reisenweber
Am Mo  30. März 2009 schrieb Dieter Spaar:
 Hello Joerg,
 
 Joerg Reisenweber wrote:
  Dieter, maybe we could have a debug-version of moko11 to implement a 
service 
  AT command to tweak those config registers. This way we could ask users 
who 
  actually can reproduce #1024 to check if there's any difference when 
issuing 
  this power tweaking back and forth.

 
 This should be possible without too much effort. However we can probably
 only  make it worse (less current), the oscillator current should be at the
 highest possible value in our firmware.

That's ok. This is the idea of all this tweaking anyway. If it gets worse with 
lower power but doesn't break completely then we are rather sure it's caused 
by 32k-osc.
BTW sometimes osc run even more stable on lower power driving the crystal ;-)

/j


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: Bug #1024 (oscillating re-camping), the story goes on...

2009-03-31 Thread Joerg Reisenweber
Am Di  31. März 2009 schrieb Timo Juhani Lindfors:
  Also if anyone observing #1024 wants to help and make some
  traces, please let us know. Tracing is not that complicated,
  all what is needed is a cable to connect the optional debug
  UART from the headset to a terminal and record the data.
 
 I connected the usart of my AVR (at90usbkey demo board) to the headset
 and configured it to 115200 8N1. I then did gpio J6=0 and powered up
 the gsm modem. I can receive data but it does not make any sense to
 me. Is it really binary data or are serial port parameters wrong?
 
 Here's how it starts after poweron:
 
   08 0a 83 0a 90 0a 80 0a  90 0a 12 0a c1 0a 80 
0a  |Á...|
 0010  00 0a c1 0a 7c 0a c0 0a  02 0a 90 0a 00 0a 3e 
0a  |..Á.|.À|
 0020  18 0a d1 0a b6 0a a2 0a  80 0a 96 0a 01 0a 80 0a  |..Ñ.¶.
¢.|
 0030  96 0a 90 0a 00 0a c3 0a  fc 0a 80 0a 94 0a 41 
0a  |..Ã.ü.A.|
 0040  52 0a 80 0a 96 0a 41 0a  72 0a b8 0a 41 0a 80 0a  |
R.A.r.¸.A...|
 0050  96 0a 03 0a 52 0a 38 0a  41 0a 80 0a 18 0a ab 
0a  |R.8.A.«.|
 0060  82 0a d1 0a f8 0a 82 0a  18 0a a9 0a 82 0a 82 
0a  |..Ñ.ø.©.|
 0070  18 0a ab 0a a0 0a 94 0a  80 0a b4 0a 80 0a b4 0a  |..«. .´...
´.|
 0080  a2 0a 80 0a 94 0a b2 0a  d1 0a d1 0a f8 0a 91 0a  |
¢.².Ñ.Ñ.ø...|
 0090  d1 0a f8 0a 93 0a d1 0a  f8 0a 93 0a d1 0a fa 0a  |
Ñ.ø...Ñ.ø...Ñ.ú.|
 00a0  d1 0a f8 0a 91 0a 80 0a  96 0a a3 0a 80 0a b6 0a  |Ñ.ø...
£...¶.|
 00b0  b3 0a 80 0a b6 0a a3 0a  82 0a 18 0a ab 0a 82 0a  |³...¶.
£.«...|
 00c0  18 0a ab 0a 82 0a 1a 0a  ab 0a b2 0a b4 0a a0 0a  |..«.«.².
´. .|
 00d0  80 0a d4 0a 80 0a d4 0a  96 0a 80 0a 96 0a 94 
0a  |..Ô...Ô.|
 00e0  d1 0a f8 0a 91 0a d1 0a  f8 0a d1 0a f8 0a 91 0a  |
Ñ.ø...Ñ.ø.Ñ.ø...|
 00f0  80 0a 96 0a b3 0a 80 0a  96 0a a3 0a fa 0a 91 0a  |³.
£.ú...|
 0100  18 0a fa 0a 91 0a f8 0a  93 0a b0 0a f8 0a 91 0a  |..ú...ø...
°.ø...|
 0110  01 0a a0 0a 23 0a 41 0a  00 0a 82 0a 41 0a 00 
0a  |.. .#.A.A...|
 0120  82 0a a2 0a 14 0a f8 0a  d1 0a d8 0a d1 0a f8 0a  |..
¢...ø.Ñ.Ø.Ñ.ø.|
 0130  d1 0a f8 0a 93 0a b0 0a  80 0a b4 0a 80 0a d4 0a  |Ñ.ø...°...
´...Ô.|
 0140  80 0a d4 0a 49 0a 80 0a  94 0a 80 0a 94 0a a2 0a  |..Ô.I.
¢.|
 0150  80 0a b4 0a 82 0a 94 0a  a2 0a d1 0a f8 0a d1 0a  |..´.
¢.Ñ.ø.Ñ.|
 0160  fa 0a d1 0a fa 0a 91 0a  d1 0a f8 0a d1 0a f8 0a  |
ú.Ñ.ú...Ñ.ø.Ñ.ø.|
 0170  d1 0a f8 0a 93 0a b0 0a  80 0a 96 0a 82 0a b6 0a  |Ñ.ø...
°...¶.|
 0180  80 0a b6 0a b2 0a 80 0a  96 0a 80 0a 96 0a b2 
0a  |..¶.².².|
 0190  80 0a b6 0a a2 0a 80 0a  b6 0a 15 0a d1 0a f8 0a  |..¶.
¢...¶...Ñ.ø.|
 01a0  d1 0a fa 0a d1 0a f8 0a  91 0a d1 0a f8 0a d1 0a  |
Ñ.ú.Ñ.ø...Ñ.ø.Ñ.|
 01b0  d8 0a 91 0a d1 0a fa 0a  80 0a 96 0a a3 0a 80 0a  |Ø...Ñ.ú.
£...|
 01c0  18 0a 82 0a 18 0a a9 0a  82 0a 38 0a 82 0a 18 
0a  |..©...8.|
 01d0  82 0a 1a 0a 94 0a d8 0a  91 0a 01 0a a0 0a 23 
0a  |..Ø. .#.|
 01e0  41 0a 00 0a 41 0a 00 0a  41 0a 00 0a 41 0a 00 0a  |
A...A...A...A...|
 01f0  82 0a 18 0a ab 0a b2 0a  3a 0a f8 0a 82 0a b4 0a  |«.².:.ø...
´.|
 0200  94 0a 80 0a d4 0a 80 0a  d4 0a 94 0a 80 0a 94 
0a  |Ô...Ô...|
 0210  82 0a 94 0a 94 0a 80 0a  b4 0a 80 0a b4 0a f8 0a  |´...
´.ø.|
 0220  91 0a b0 0a 90 0a 80 0a  91 0a b0 0a 90 0a 80 0a  |..°...
°.|
 0230  18 0a 80 0a b0 0a 90 0a  80 0a 18 0a 82 0a 90 0a  |
°...|
 0240  82 0a 18 0a 82 0a 18 0a  80 0a d4 0a 49 0a 18 
0a  |..Ô.I...|
 0250  82 0a d4 0a a0 0a a0 0a  23 0a c3 0a e2 0a 10 
0a  |..Ô. . .#.Ã.â...|
 0260  a0 0a 23 0a c3 0a e0 0a  10 0a d1 0a a0 0a 23 
0a  | .#.Ã.à...Ñ. .#.|
 0270  c3 0a e0 0a 61 0a 62 0a  58 0a b3 0a 18 0a 00 0a  |
Ã.à.a.b.X.³.|
 0280  a0 0a 23 0a c3 0a e2 0a  10 0a d1 0a e2 0a 94 
0a  | .#.Ã.â...Ñ.â...|
 0290  b4 0a a0 0a 01 0a 90 0a  80 0a 94 0a a2 0a 90 0a  |´. .
¢...|
 02a0  80 0a 00 0a 82 0a 94 0a  c1 0a 90 0a 80 0a 80 
0a  |Á...|
 02b0  94 0a a2 0a 90 0a 80 0a  02 0a 80 0a 94 0a c1 0a  |..
¢...Á.|
 02c0  90 0a 80 0a 00 0a 80 0a  94 0a a2 0a 90 0a 80 0a  |..
¢.|
 02d0  00 0a 80 0a 94 0a 11 0a  90 0a 80 0a 00 0a 90 
0a  ||
 02e0  23 0a c3 0a e0 0a 10 0a  60 0a 58 0a b3 0a 18 0a  |
#.Ã.à...`.X.³...|
 02f0  00 0a c3 0a 23 0a c3 0a  e2 0a 10 0a d1 0a f8 
0a  |..Ã.#.Ã.â...Ñ.ø.|
 0300  62 0a 58 0a b1 0a 18 0a  00 0a c1 0a 23 0a c3 0a  |b.X.
±.Á.#.Ã.|
 0310  e0 0a 10 0a 23 0a c3 0a  e2 0a 10 0a d1 0a f8 0a  |
à...#.Ã.â...Ñ.ø.|
 0320  a2 0a 91 0a 94 0a b3 0a  44 0a a0 0a 82 0a b4 0a  |¢.³.D. ...
´.|
 0330  c9 0a 90 0a 80 0a 00 0a  80 0a b4 0a b2 0a 90 0a  |É.
´.²...|
 0340  80 0a 00 0a d1 0a f8 0a  91 0a b0 0a d1 0a fa 0a  |Ñ.ø...
°.Ñ.ú.|
 0350  93 0a b0 0a 90 0a 80 0a  00 0a c3 0a fc 0a b0 0a  |..°...Ã.ü.
°.|
 

Re: my buzz fix method

2009-04-06 Thread Joerg Reisenweber
Am So  5. April 2009 schrieb Rask Ingemann Lambertsen:
 On Fri, Mar 27, 2009 at 03:34:00AM +0100, Joerg Reisenweber wrote:
 
  Regarding your low volume: did you check R4303? (It's the one below the 
two NC 
  pads and right side to C4303, the one you borked and replaced. It's 
clearly 
  mentioned in my SOP paper) R4303 is not mentioned in your story if I 
didn't 
  miss anything. Usually it's 0R and it's amazing you get *any* signal at 
all 
  from mic if you haven't replaced it by a ~2k2k (probably anything between 
  400Ohms and 3k will do, though I learnt by your report even a 0R will do 
at 
  least partially :D  ).
 
Joerg, could you clarify the significance of R4303 a bit? For example,
 how would I tell if it has 2.2 kOhms or 0 Ohms without measuring it (on a
 device without the buzz fix as well as with the buzz fix)?

Probing is the *only* way you can tell afaik.
We are basically grounding upper end of mic with a huge capacitor (AC), so we 
need some R 0Ohms on the lower end of mic to get some signal at all.

 
The 100 uF capacitor is just the C4306 which isn't installed by default,
 right?

Without checking for correctness of #4306 basically yes.

 
MICBIAS is also supplied to the headset mic (location 44xx). Would it do
 any good to add a 100 uF capacitor somewhere in that area too?

Nope, for a number of reasons it won't work, just break function of hs-mic 
completely. See explanation some lines above. HS-Mic is singlen-ended (lower 
pin connected to GND)

/j


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: Bug #1024 (oscillating re-camping), the story goes on...

2009-04-06 Thread Joerg Reisenweber
Am Mo  6. April 2009 schrieb Dieter Spaar:
 Hello Daniel,
 
 Daniel Willmann wrote:
  I know someone with a frequency generator here. Would it make sense to
  see what happens when we detune the frequency? Is it possible? (It's a
  crystal rather than an oscillator, right? X1001?)

 
 Good idea, would be interesting to see if #1024 goes away if the 32 kHz
 oscillator is replaced with a accurate and stable 32 kHz signal. However
 I don't know how easily this could be done. Maybe Joerg and Werner
 can comment ?

I already did iirc.
My suggestion was to apply a rock solid 32kHz clock to CLKIN or sth like 
that. I further suggested we could take it from a lab-oscillator or from 
PMU-RTC-oscillator.

/j


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: my buzz fix method

2009-04-06 Thread Joerg Reisenweber
Am Di  7. April 2009 schrieb Rask Ingemann Lambertsen:
 On Mon, Apr 06, 2009 at 12:59:21PM +0100, Joerg Reisenweber wrote:
  Am So  5. April 2009 schrieb Rask Ingemann Lambertsen:
  
  Joerg, could you clarify the significance of R4303 a bit? For 
example,
   how would I tell if it has 2.2 kOhms or 0 Ohms without measuring it (on 
a
   device without the buzz fix as well as with the buzz fix)?
  
  Probing is the *only* way you can tell afaik.
  We are basically grounding upper end of mic with a huge capacitor (AC), so 
we 
  need some R 0Ohms on the lower end of mic to get some signal at all.
 
I see. So
 1) on an unfixed device, we'll get away with 0R R4303 with no perceptible
 loss of mic volume?
 2) preferably, we'd put the 100 uF cap on MICBIAS, i.e. before the 2k2
 resistors R4305 and R4408 and parallel to 4U7 C3015, so that we don't fix
 the voltage of one of the mic terminals? 

Of course this has been tested, but source impedance of the MICBIAS voltage 
regulator which is also creating the ripple (totem pole output it seems) is 
so low we needed a 860uF and even then there was buzz left. To form a decent 
lowpass filter for ripple we need to have some R between C and MICBIAS 
output.

/joerg


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: Bug #1024 (oscillating re-camping), the latest news.

2009-04-29 Thread Joerg Reisenweber
Am Mi  29. April 2009 schrieb Werner Almesberger:
 Dieter Spaar wrote:
  Finally, after a while I found out that the problem goes
  away if I warm up the Calypso chip by a few degrees.

re-reflow the chip? Or maybe consult your dentist? ;D
/j



signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: Bug #1024 (oscillating re-camping), the latest news.

2009-04-29 Thread Joerg Reisenweber
Am Do  30. April 2009 schrieb Michael 'Mickey' Lauer:
 Thanks for the update, Dieter.
 
 That might explain why I'm suffering so bad from this bug, since my office 
is 
 located in the souterrain and it's usually pretty cold here.
 
 :M:

Another fridge-bug after WSOD :-/
strange, usually it's the other way round for electronics.
I also noticed #1024 only when in biergarten and it's been rather low temp, 
but never at home where I like it comfortable.

/j


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: Wrecked display and the USB host

2009-05-02 Thread Joerg Reisenweber
Am Sa  2. Mai 2009 schrieb Thomas Sanladerer:
 Chris Syntichakis schrieb:
  So, that means that we can take off the BT module and connect 
  (internal) a 3G usb dongle?
 I guess that should work as well.
 Two things you need to keep in mind though:
 - The display is heavily taped to the pcb. It's very hard to get it off 
 in one piece.
 - The 2442's hosts are usb 1.1 only, i.e. you can hope to get 1MB/s max.
 
 I uploaded a pic of how the bt is connected: 
 http://dt-computer.de/neobt.jpg . The two connections marked should be 
 data - and data +. As i belive you have already taken your neo apart 
 (who hasn't?) you'll know that the display entirely covers this 
 connection, so unless you've got a spare display, it would be quite hard 
 to get to.

I suggest asking your friendly OM hw dept guy instead of spreading rumor.
The LCM is easily removable when done correctly.
You need to warm up the device to ~60° and then *slowly* (= 10min) peel off 
the LCM. I removed quite some LCM now and not a single one broke. Other 
community members successfully did this removal as well

/jOERG


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: Bug #1024 (oscillating re-camping), the latest news.

2009-05-03 Thread Joerg Reisenweber
Am So  3. Mai 2009 schrieb Dieter Spaar:
 Instead of messing around with all of this and making things more
 complicated, I thing the current solution to detect re-camping and
 enable AT%SLEEP=2 is the better approach (maybe adjust the
 algorithm slightly).

Regarding all the arguments I deleted in above quote - I'm quite aware of 
these and mostly agree.

Anyway, the current algorithm relies on detecting actual recamping, and this 
inevitably creates a certain offline time during the first recamping events.
OTOH warming of battery as well as warming of TX-chip might not be a adequate 
criterion for switching to sleep4, anyway both sensors reporting cold might 
create an additional criterion for switching to sleep2 though and thus 
possibly avoiding any recamping at all.

cheers
jOERG



signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: Power Button/USB Problems

2009-05-04 Thread Joerg Reisenweber
Am Mo  4. Mai 2009 schrieb Daemon D:
 
 Since I've gotten my Neo Freerunner about a month ago it has sporadically 
powered off when plugging in the USB cable. Other times I have just moved the 
Freerunner a little bit in my hand and it reboots. The final weirdness was 
that it was sitting by itself, completely powered off, not plugged into 
anything and after about an hour it decided to turn itself on, definitely not 
resuming, it totally booted from beginning. I have found the whole 
finding-a-functional-operating-system thing to be challenging but this 
suspected hardware problem make it unusable/untrustable. 

Power up out of nothing might be triggered by RTC-alarm.
But taking into account the random powerdown on USB insert it's probably 
caused by same issue.
Was this a regular shutdown or instant power-cut kind of power-off/reboot?
Was it all with one distro (which one??) or did you check with different 
kernel/rootfs?

/jOERG


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: Bug #1024 (oscillating re-camping), a possible solution.

2009-05-29 Thread Joerg Reisenweber
Just to mention it once again, and to stop a possible stampede:
AT%sleep=2 (sw-fix[1]) has fixed recamping reliably for 100% of affected 
devices. Not all devices suffer from #1024, actually it seems it's only a 
small percentage. FSO is capable of switching to AT%sleep=2 even 
automatically[1]. 
Last not least: probably a better battery management will have more positive 
effects on standby time than fixing #1024 in hw and using AT%sleep=4 all the 
time. First raw estimations seem to suggest there's an increase in standby 
time from maybe 60h with sleep2 to 75h with sleep4. If your standby time is 
shorter than these figures then even percentage of difference gets *smaller* 
(e.g. like 20h vs 21h = 5%, instead of 60/75 = 25%), due to savings from 
sleep4 becoming negligible compared to higher suspend consumption of whole 
system.

cheers
jOERG




[1]http://git.freesmartphone.org/?p=framework.git;a=blob;f=conf/example/frameworkd.conf
  
  [framework.git] / conf / example / frameworkd.conf
101 # if you have a ti_calypso, you can choose the deep sleep mode. Valid 
values are: never, adaptive (default), always
102 ti_calypso_deep_sleep = adaptive

find this file in /etc/frameworkd.conf on your Neo. 
If you're concerned about #1024 and the short connectivity loss that might 
happen until frameworkd senses it has to switch to sleep=2, then change to
  ti_calypso_deep_sleep = never
which sets calypso to AT%SEEP=2. always is eqiv to AT%SEEP=4. adaptive 
means frameworkd is sensing #1024 recamping and switches from sleep4 to 
sleep2 automatically. This sensing might take a minute or two.


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: schematics in PDF form?

2009-06-06 Thread Joerg Reisenweber
Am Sa  6. Juni 2009 schrieb Wolfgang Spraul:
 Joerg,
 
  I think this thread should move to [GTA03] (wonder why it's called that 
way)
 
 How about the other way round?
 Looks like gta02-core is the way forward (and as you said the [gta03] 
 list name is even wrong).
 I propose to close the [gta03] mailing list and move discussions to the 
 [hardware] list.
 
 Wolfgang

No good idea. I like the precise focus of [hw]. Spamming it with another 
project would cause at least me not reading it anymore.
This list is meant for GTA02 (+gta01?) hw issues/topics.
gta02-core IS NOT gta02

my 2 €cent
jOERG


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: aux button broke off at the soldering points

2009-06-11 Thread Joerg Reisenweber
Am Do  11. Juni 2009 schrieb Christian Panse:
 hi,
 
 after three weeks of using my openmoko the aux button broke off at the
 soldering points.
 
 a picture of the tragedy can be seen here:
 http://christian.panse.googlepages.com/openmokoAux.jpg
 
 there apparently seems to be a weak point.
 
 if there is someone in the Zurich area who can fix this, please let me know.
 
 thanks,
 
 Christian
 

Yes, I agree this -though very usual in industry - feels to me like poor ME. 
The AUX plastic button should have another mechanical end stop than just the 
switch. The force coupled from button to the switch should be transferred by 
some elastic material (spring, foam, rubber, etc), thus effectively limiting 
the max force applied to the switch, while a solid rugged end stop takes all 
the remaining vandalism. Well, kinda too late to change this detail for 
MP :-/

Please do NOT try any gluing or welding with inappropriate means,for now it 
looks like everybody savvy in soldering SMT might repair your device. If 
ruining switch with glue this will change, and a fitting replacement is hard 
to find.

You should contact your reseller. To me this seems like a warranty case.

cheers
good luck
jOERG


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


US triband vs EU triband

2009-06-17 Thread Joerg Reisenweber
I just confirmed basic functionality of 850/1800/1900 devices (US Freerunner) 
for 900MHz networks. RF sensitivity is poor, but sufficient for areas with 
good coverage.
For Germany a US device (850/1800/1900) worked flawlessly with German operator 
T-Kom (in urban area), and rather poor with Vodafone. Both are 900MHz 
networks.

Please notice I didn't yet check for the actual band used, so *if* T-Kom *and* 
Vodafone both had 1800MHz BTS here in the tested area, then this report might 
be moot. Anyway the result meets expected behaviour and 1800MHz BTS are not 
known for either operator.

cheers
jOERG


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


AT%N

2009-06-17 Thread Joerg Reisenweber
On Fri, Feb 13, 2009 at 08:47:06AM +0100, Joerg Reisenweber wrote:
 Am Fr  13. Februar 2009 schrieb John Lee:
  fso now use AT%N0187 by default.  that means Long Echo Cancellation
  (max) plus Noise Reduction (max)
  
  qtopia in 2008.12 uses 
  AT%N028B  // Long Echo Cancellation: active, -6db
  AT%N0125  // Noise reduction: active, -6db
  
  - John
 
 err, wouldn't the second command override the settings of the first, thus 
 effectively disabling any echo cancellation?

028B = 1010001011
0125 = 0100100101

It seems 028B does not trigger SPENH reset, and 0125 does not trigger
AEC reset.  Of course it will be great if someone can verify it with
proper equipment.

(copied from framework/subsystems/ogsmd/modems/ti_calypso/channel.py)

#=#
#  MMI_AEC_REQ : 0283 = Long AEC, 105 = SPENH, 187 = AEC+SPENH, 1 = STOP
#  aec_control register bits | 0  0  Sa t2|t1 g3 g2 g1|g0 e2 e1 ak|
#  bit 0 : ACK bit : set to 1 in order to warn DSP that a new 
command
#  is present.
#  bit 1 : enable AEC
#  bit 2 : enable SPENH (= Speech Enhancement = noise reduction)
#  bit 3 : additionnal AEC gain attenuation (lsb)
#  bit 4 : additionnal AEC gain attenuation (msb)
#  bit 5 : additionnal SPENH gain attenuation (lsb)
#  bit 6 : additionnal SPENH gain attenuation (msb)
#  bit 7 : reset trigger for AEC
#  bit 8 : reset trigger for SPENH
#  bit 9 : AEC selector 0 : short AEC, 1 : long AEC
#
#  for Short AEC0083
#  for long AEC 0283
#  for long AEC  -6 dB  028B
#  for long AEC  -12 dB 0293
#  for long AEC  -18 dB 029B
#  for SPENH0105
#  for SPENH -6 dB  0125
#  for SPENH -12 dB 0145
#  for SPENH -18 dB 0165
#  for BOTH 0187
#  for STOP ALL 0001 (all bits reset + ACK to 1 to warn the DSP)

 Also please be aware this command has to be issued *per call* as it's not 
 persistent.

Yes, it is sent per call, both in 2008.12 and fso milestone 5.

- John


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


GTA02 BQ27000 CoulombCounter bat management IC, readout script

2009-07-10 Thread Joerg Reisenweber
to read out all registers of Coulomb counter in GTA02 bat

you need to install bash for this to work
/jOERG



bq27k-detail
Description: application/shellscript


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: GSENSOR_3V3 voltage drop

2009-08-23 Thread Joerg Reisenweber
[Álvaro Lopes So  23. August 2009]:
 Christoph Mair wrote:
  Hello,
  
  I have some questions regarding the GSENSOR_3V3 line:
  Under normal conditions I measured 2.8V. 

We need to check what's the correct setting for LDO1 voltage, in PMU.
2.8 sounds fishy.

  In suspend, the voltage drops to  
  2.4V. I thought the the line would carry 3.3V when powered on and ~0V in 
  suspend. Why isn't that the case?

ACK.
For suspend I suspect a reverse feed thru SPI_MOSI1 and/or SPI_CLK1 lines 
which might be at high (1) level even though LDO1 is powered down. If that's 
the case then it needs a fix urgently. Some of he kernel guys need to check 
that.
Another more unlikely scenario is suspend reprograms LDO1 out voltage to 2V4.
Even more unlikely seems you overload the powerrail (50mA) during suspend 
only.

  
  How much current should I be able to get from this line? I connected the 
  three-axis magnetometer HMC5843 which works fine when the phone is powered 
on. 
  It even takes measurements in suspend, but then the voltage drops down to 
  1.76V when a measurement takes place (every second for 4ms).

That seems to be another indicator for high source-impedance reverse feed thru 
SPI_MOSI/CLK

  
  Can someone explain how this is supposed to work?

If only I could tell for sure.. ;-D

 
 Hi Chris,
 
 Although I'm not directly involved in GTA02, I am in gta02-core, and I might 
be able to answer some of your questions.
 
 GSENSOR_3V3 is generated from one of PMU LDO (LDO1). Output voltage is 
controlled by software, in 100mV increments. Max. output current from this 
LDO is 50mA.

correct

 
 Suspend is also defined by software. Typically this would be set to GPIO1 
input, which is controlled by CPU (PWREN signal). Maybe someone can confirm 
this.

I'm not completely convinced about that. Alas we have no generic application 
notes for GTA02-hw, so you can only guess what's the supposed way to manage 
things. My guess however would be to switch LDO1 down directly via 
PMU-register by writing over I2C. The purpose of PWNEN is a little bit cloudy 
to me.

 
 This line powers two LIS302DL accelerometers, which draw 0.4mA max each. 
This gives less than 1mA. This gives enough room for power output, so either 
your
 problem lies in VB_SYS (not enough current to feed the LDOs),

unlikely, FR wouldn't work at all of that was the case I guess.

 a shortened caps (C1718), broken LIS203DL... 

hmm, doesn't make a good story with the whole bunch of observed strange 
behaviour
 
 What voltage do you see in VB_SYS, on those scenarios ? Can you also check 
voltahe PMU GPIO1 pin (TP1740) when phone is in suspend mode ?

/jOERG


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: Part No Of FPC Connector on debugboard

2009-08-25 Thread Joerg Reisenweber
[Liviu Dudau Mo  24. August 2009]:
 On Mon, Aug 24, 2009 at 04:08:20PM +0530, Abhishek Bajpai wrote:
  I am in need of an FPC connector used in debug board. Can any one help me 
to
  figure out what is the part no of that connector and from where do i get 
it.
  
  
  
  -- 
   Even The word Impossible says I M Possible
 
 The markings on the cable I have show 39 TO 45 FPC V3. I have no idea on 
the pitch or HIROSE part number, though.

AFAIK this FPC is manufactured to order for OM.
Please contact Steve Mosher or Sean and ask for a few replacements.
Alas this is another one of the spareparts I'm missing in my stock to send out 
here in Europe.

cheers
jOERG


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: Power Button

2009-08-28 Thread Joerg Reisenweber
[Hypnotize Fr  28. August 2009]:
 Hi,
 
 I have gotten my PWR button destroyed on the FreeRunner and is
 wondering what the name of that button is and where I can buy a new
 one ?
 
 Hope any one can answer me on this!=)
 
 -Morten

POWER ON KEY SW1704

LocationDescription   
FIC Part NO Value   Vendor

SW1501 SW1701   *SWITCH 4.7*3.5*1.6 SIDE PUSH SMT TYPE 4 PIN EVQPUD02K 
PANASONIC FOE GSM LR   21-10645-00 OBJ


Sorry no spareparts for that in my stock :-/ Impossible to obtain any from OM

HTH nevertheless
/j


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: searchable component placement PDF now available

2009-09-04 Thread Joerg Reisenweber
[Timo Juhani Lindfors Fr  4. September 2009]:
 Fox Mulder quakem...@gmx.net writes:
  I only found in Component-placement_Freerunner-GTA02-MB-A6.page1.pdf the
  resistor R1502 in the upper left is only an image and no searchable text.
 
 Thanks, updated version is now at
 
 http://iki.fi/lindi/openmoko/searchable-component-placement/
 
 Joerg, can you mirror these to
 
 http://people.openmoko.org/joerg/schematics/GTA02/lindi-searchable/
 
 or even to http://downloads.openmoko.org/developer/schematics/

sure
will do
/j


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: Extra component on GTA02

2009-09-06 Thread Joerg Reisenweber
[Álvaro Lopes So  6. September 2009]:
 Hi,
 
 My Gta02 seems to have an extra component on board [1] [2]. Any ideas how it 
got there ?
 
 I'm worried that resistor is missing somewhere else...
 
 Álvaro
 
 [1] http://alvarolopes.com/resources/extra_component2.jpg
 [2] http://alvarolopes.com/resources/extra_component.jpg

AFAIK it's a factory rework on A5 to implement some fix. I didn't check what 
it is exactly, but afaik it looks like some pulldown to GND (= can metal). 
You can tell easily by finding out about the testpoint it's soldered to.

Anyway I've seen that on many devices and it's ok (no fault or misplaced 
component).

cheers
jOERG


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


power consumption depending on screen content

2009-10-09 Thread Joerg Reisenweber
A completely white screen with ~40% backlight consumes same amount of power as 
a completely black screen (-content) with backlight dim (=off)

(= a black screen eats as much power as a backlight set to 40%)

(DUT: FR A7 SHR-U0808)


cheers
jOERG


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: Backlight Power Measurement

2009-10-15 Thread Joerg Reisenweber
[Werner Almesberger Do  15. Oktober 2009]:
 Aaron Carroll wrote:
  LED+ to GND, because I want to include the power lost in R1763.
 
 Okay, this would explain about 10% of the loss.

Nope it won't, as the converter is powering the LED plus R. So the loss on R 
isn't of any relevance to estimate the efficiency of the converter. It *is* 
relevant for the efficiency of the whole LCM-backlight system though. But 
that's not exactly what we're concerned about here.

/j


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: power consumption depending on screen content

2009-10-28 Thread Joerg Reisenweber
[Flemming Richter Mikkelsen Mi  28. Oktober 2009]:
 On 2009-10-28, Flemming Richter Mikkelsen quat...@gmail.com wrote:
 --snip--
  What happens if you do the same test with the screens flex cable
  disconnected?
 
  Never mind... I just read the other thread:)
 

which other thread?

/j


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: can openmoko be in suspend and keep the backlight on?

2009-11-25 Thread Joerg Reisenweber
[Nils Faerber Mi  25. November 2009]:
 Lars-Peter Clausen schrieb:
  Timo Juhani Lindfors wrote:
  Hi,
  
  just out of curiosity, is it possible to suspend the main cpu but
  still keep the display backlight on? (I have no practical use for
  this, it would be useful only if we could keep screen contents
  visible too).
  
  Yes it could be done, but whould be quite hackish. For screen content
  the glamo needs to be running too.
 
 And glamo gets the contents from where? The DRAM?

I think glamo has its own RAM


 The DRAM cannot go 
 into self-refresh and thus the CPU suspend mode only saves very little
 power.

Don't know if glamo can work with DRAM in sleep mode.


 Keeping the display kind of on is a feature of certain displays that
 have their own display controller, where you can do partial updates, the
 controller can disable parts of the display RAM or updates, etc. while
 the CPU can be almost or fully sleeping. This is what IMHO Nokia does
 with most of their S60 smartphones. Quite different hardware architecture.
 What we can also backward guess from what we know how the N810, N800 and
 770 work, the Nokia smartphones, except for the new N900, 

Why do you think N900 is different?


 will do very 
 aggressive downscaling of CPU frequencies and features. 

Actually they do zero clock.


 As far as I know 
 the tablets do almost never go into what we know as suspend to RAM.

Maemo never does this by default. You can force it and it even kinda works


 They are always ticking but very very slowly.

No, they almost never tick at all, just sitting there static and waiting for 
an interrupt to happen which cranks up clock in almost zero time.


 This has the dramatic 
 advantage that the CPU can be active all the time and can do e.g. screen
 updates from time to time without having to go through a resume-suspend
 cycle. 

Well, they need to set DRAM to sleep mode as well. That's a rather quick 
action though


 Very clever. But this requires heavy CPU support which most 
 smartphone CPUs that run Linux lack, like S3C we are using in the
 Freerunner or the OMAP3 that is now used in the Nokia N900.

OMAP3 has same cute SmartReflex™ power management and zero clock as the OMAP2 
in the NITs
see 
http://focus.ti.com/general/docs/wtbu/wtbuproductcontent.tsp?templateId=6123navigationId=12796contentId=36505

 
 This also makes a lot of other uses pretty hard, like always on
 becomes a real issue. Every time a potentially interesting network
 packet arrives the CPU has to be woken up and is forced through the
 resume-suspend cycle, eating lots of power. The kernel currently lacks
 infrastructure for a almost awake state that would saveus from having
 to through all resume functions before finding out that the resume was
 actually not as interesting as it looked.

Yes, a fast early re-suspend is essential for those usecases


 For the HTC G1 (Android) I found that they use a different scheme - they
 simply delay the suspend. After pressing the power button the display
 goes off immediately so the user gets the notion of suspend but the
 device stays awake for some additional time, especially if WiFi is used.
 If there is nothing happening for a certain amount of time, I think
 something like 5 minutes, it really suspends, switching off the WiFi and
 handing internet connection over to GSM/3G. This again is able to
 wake-up the CPU upon certain network events.
 
 Back in the iPaq days the guys at CRL implemented something similar for
 battery charging, I think it was for the iPaqs 3870 and later, since
 there the CPU controlled the charging. When gone into suspend, what
 should happen? Stop charging? So they suspended but set a timer to
 expire every, say, ten seconds which would wake up the CPU. If the
 wakeup reason was this special timer then only the charging logic got
 triggered and the kernel went into suspend again directly afterwards.
 The user would not notice this at all.

basically we could do same on FR (except we don't need kernel or userland for 
charging)


cheers
jOERG


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: can openmoko be in suspend and keep the backlight on?

2009-11-25 Thread Joerg Reisenweber
[Joerg Reisenweber Do  26. November 2009]:
  Very clever. But this requires heavy CPU support which most 
  smartphone CPUs that run Linux lack, like S3C we are using in the
  Freerunner or the OMAP3 that is now used in the Nokia N900.
 
 OMAP3 has same cute SmartReflex™ power management and zero clock as the 
OMAP2 
 in the NITs
 see  
http://focus.ti.com/general/docs/wtbu/wtbuproductcontent.tsp?templateId=6123navigationId=12796contentId=36505

http://focus.ti.com/pdfs/wtbu/smartreflex_whitepaper.pdf

/j


signature.asc
Description: This is a digitally signed message part.
___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware