Re: Address the WM8753 directly

2010-11-14 Thread Ed Kapitein
On Sat, 2010-11-13 at 21:03 +0100, EdorFaus wrote:
 On 11/08/2010 11:47 PM, Timo Juhani Lindfors wrote:
  Ed Kapiteine...@kapitein.org  writes:
  Does anyone have pointers on how to address the hardware and its
  registers etc?
  I want to write the program in C and need a starting point.
 
  I think you need to write kernel space code to use it since there are
  shared resources like i2c that can not be used without proper locking
  (just guessing here).
 
 I don't know wether or not that is true, but there is nevertheless a 
 good suggestion between the lines here - for a working example of how to 
 use this hardware, you can look at the driver in the Linux kernel. :)
 
Thanks,
I also think it is a good suggestion, so i will use the alsa driver for
now.
If i have build up enough courage i might try to replace the alsa part
with something of my own. 
So far it is great fun to get it working by trial and error!

Kind regards,
Ed 


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


Re: Address the WM8753 directly

2010-11-13 Thread EdorFaus
On 11/08/2010 11:47 PM, Timo Juhani Lindfors wrote:
 Ed Kapiteine...@kapitein.org  writes:
 Does anyone have pointers on how to address the hardware and its
 registers etc?
 I want to write the program in C and need a starting point.

 I think you need to write kernel space code to use it since there are
 shared resources like i2c that can not be used without proper locking
 (just guessing here).

I don't know wether or not that is true, but there is nevertheless a 
good suggestion between the lines here - for a working example of how to 
use this hardware, you can look at the driver in the Linux kernel. :)

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


Re: Address the WM8753 directly

2010-11-11 Thread Ed Kapitein
On Wed, 2010-11-10 at 12:57 -0800, W. B. Kranendonk wrote:
 --- On Wed, 11/10/10, Al Johnson openm...@mazikeen.demon.co.uk wrote:
  From: Al Johnson openm...@mazikeen.demon.co.uk
   The ultimate goal is to make a FR to FR modem
  conection, using the GSM
   voice band.
  
  Why? Is this just to see whether it's possible, or how bad
  the voice channel 
  is as a data connection when compared to the data channel?
 
 I can imagine using such a solution on a flatfee subscribtion that does not 
 include data traffic. Just don't tell me you want to use the resulting 
 connection for VoIP :-P
 
 Boudewijn
 
 
   
 
 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community
 

Hi all,

Yes, i would like to see if it is possible and refresh my C programming
skills.
It is indeed a flat fee voice subscription, data would cost extra.
VOIP is not what i had in mind ;-)
But i think i can use it to send GPS data from one FR to another.
Or use it for a commandline connection.

Kind regards,
Ed





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


Re: Address the WM8753 directly

2010-11-11 Thread Al Johnson
On Thursday 11 November 2010, Ed Kapitein wrote:
 On Wed, 2010-11-10 at 12:57 -0800, W. B. Kranendonk wrote:
  --- On Wed, 11/10/10, Al Johnson openm...@mazikeen.demon.co.uk wrote:
   From: Al Johnson openm...@mazikeen.demon.co.uk
   
The ultimate goal is to make a FR to FR modem
   
   conection, using the GSM
   
voice band.
   
   Why? Is this just to see whether it's possible, or how bad
   the voice channel
   is as a data connection when compared to the data channel?
  
  I can imagine using such a solution on a flatfee subscribtion that does
  not include data traffic. Just don't tell me you want to use the
  resulting connection for VoIP :-P
  
  Boudewijn
  
  
  
  
  ___
  Openmoko community mailing list
  community@lists.openmoko.org
  http://lists.openmoko.org/mailman/listinfo/community
 
 Hi all,
 
 Yes, i would like to see if it is possible and refresh my C programming
 skills.

As good a reason as any :-)

 It is indeed a flat fee voice subscription, data would cost extra.
 VOIP is not what i had in mind ;-)

You've probably checked this, but just in case...On many subscriptions GSM 
data calls are treated the same as voice calls, not like GPRS or 3G data 
connections. It's like using an analogue or ISDN modem, circuit switched to a 
phone number just like a voice call, but carrying arbitrary data rather than 
encoded voice.

 But i think i can use it to send GPS data from one FR to another.
 Or use it for a commandline connection.

That sounds plausible, going back to ancient bit rates. Good luck - you'll be 
an expert in the workings of voice codecs by the end of this!

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


Re: Address the WM8753 directly

2010-11-10 Thread Al Johnson
On Monday 08 November 2010, Ed Kapitein wrote:
  Hi All,
 
 I want to hack a bit on the Wolfson sound chip.
 The ultimate goal is to make a FR to FR modem conection, using the GSM
 voice band.

Why? Is this just to see whether it's possible, or how bad the voice channel 
is as a data connection when compared to the data channel?

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


Re: Address the WM8753 directly

2010-11-10 Thread W. B. Kranendonk
--- On Wed, 11/10/10, Al Johnson openm...@mazikeen.demon.co.uk wrote:
 From: Al Johnson openm...@mazikeen.demon.co.uk
  The ultimate goal is to make a FR to FR modem
 conection, using the GSM
  voice band.
 
 Why? Is this just to see whether it's possible, or how bad
 the voice channel 
 is as a data connection when compared to the data channel?

I can imagine using such a solution on a flatfee subscribtion that does not 
include data traffic. Just don't tell me you want to use the resulting 
connection for VoIP :-P

Boudewijn


  

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


Address the WM8753 directly

2010-11-08 Thread Ed Kapitein
 Hi All,

I want to hack a bit on the Wolfson sound chip.
The ultimate goal is to make a FR to FR modem conection, using the GSM
voice band.
But the first step would be to generate a sine wave and feed it to the
wolfson chip.

I know i can use the alsa driver, but i would like to experiment a bit
by addressing the hardware directly.

Does anyone have pointers on how to address the hardware and its
registers etc?
I want to write the program in C and need a starting point.

Example programs would be great, but all help is welcome!

Kind regards,
Ed



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


Re: Address the WM8753 directly

2010-11-08 Thread Timo Juhani Lindfors
Ed Kapitein e...@kapitein.org writes:
 Does anyone have pointers on how to address the hardware and its
 registers etc?
 I want to write the program in C and need a starting point.

I think you need to write kernel space code to use it since there are
shared resources like i2c that can not be used without proper locking
(just guessing here).

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