Re: [fso] no sound card

2009-03-06 Thread Hans Zimmerman
On Wed, 2009-03-04 at 20:34 -0800, c_c wrote:
 Hi,
 
 Hans Zimmerman wrote:
  
  I do no longer seem to have a sound card in my FreeRunner as it is not
  found. The freerunner is running fso milestone 5.1 with opkg update 
  opkg
  upgrade.
  
 Well, I have this problem too - and I really haven't had the time to pipe up
 on the fso or this list. Do the following :-
 
 modprobe snd_soc_neo1973_gta02_wm8753
 modprobe snd-pcm-oss
 alsactl -f /usr/share/openmoko/scenarios/stereoout.state restore
 
  You'll get the sound card back. I keep these lines in a sh script - and use
 it everytime I reboot. HTH.

Thanks for the advice but I was not able to test this suggestion. I
already flashed the stable fso-paroli image and at least I can hear
people talk now :-)

Thanks though!!

Hans


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


Re: [fso] no sound card

2009-03-05 Thread GNUtoo
On Thu, 2009-03-05 at 00:36 +0100, Rask Ingemann Lambertsen wrote:
 These days, ALSA is the norm and lives in the
 /dev/snd directory. Three useful commands to try out (and example
 output
 with just the built in sound card available):
 
 $ lsmod | grep -E -e '^sound|^snd[_ ]'
 snd_soc_neo1973_gta02_wm8753 8808  0 
 snd_soc_s3c24xx_i2s 4568  1 snd_soc_neo1973_gta02_wm8753
 snd_soc_s3c24xx 5192  1 snd_soc_neo1973_gta02_wm8753
 snd_soc_wm8753 34228  2 snd_soc_neo1973_gta02_wm8753
 snd_soc_core   46548  4
 snd_soc_neo1973_gta02_wm8753,snd_soc_s3c24xx_i2s,snd_soc_s3c24xx,snd_soc_wm8753
 snd_pcm_oss45736  0 
I know but I was told that OSS was faster
I also didn't look into alsa...I just created the device node and it
worked again
Denis.


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


Re: [fso] no sound card

2009-03-05 Thread c_c

Hi,

GNUtoo wrote:
 
 On Thu, 2009-03-05 at 00:36 +0100, Rask Ingemann Lambertsen wrote:
 I know but I was told that OSS was faster
 
  Well, from what I understand, OSS today is mostly Alsa in OSS emulation
mode. It's faster only because the quality is lower (not always - that
depends on the sampling rate). 
  Ideally, if processor usage wasn't any issue, alsa would give you the best
quality and would hence be the better solution. For the Freerunner though,
unfortunately sometimes, lower quality is faster and hence desirable.
  Anyhow, try modprobing the appropriate modules. That should solve the
problem.
-- 
View this message in context: 
http://n2.nabble.com/-fso--no-sound-card-tp2423797p2433819.html
Sent from the Openmoko Community mailing list archive at Nabble.com.


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


[fso] no sound card

2009-03-04 Thread Hans Zimmerman

Dear list, 

I do no longer seem to have a sound card in my FreeRunner as it is not
found.

The freerunner is running fso milestone 5.1 with opkg update  opkg
upgrade. Bootloader is Qi qi-s3c2442-master-hist_3b8513d8b3d9615e.udfu
(03-Mar-2009).

Logread shows 
Mar  4 17:15:10 om-gta02 user.err oeventsd.action ERRORsignal
PlaySound emited an error org.freesmartphone.Device.Audio.PlayerError:
Could not open audio device for playback.

mixerctl says
lsamixer: function snd_ctl_open failed for default: No such device


Any pointers where to look for the problem/solution?


Hans


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


Re: [fso] no sound card

2009-03-04 Thread GNUtoo
On Wed, 2009-03-04 at 16:17 +, Hans Zimmerman wrote:
 Dear list, 
 
 I do no longer seem to have a sound card in my FreeRunner as it is not
 found.
 
 The freerunner is running fso milestone 5.1 with opkg update  opkg
 upgrade. Bootloader is Qi qi-s3c2442-master-hist_3b8513d8b3d9615e.udfu
 (03-Mar-2009).
 
 Logread shows 
 Mar  4 17:15:10 om-gta02 user.err oeventsd.action ERRORsignal
 PlaySound emited an error org.freesmartphone.Device.Audio.PlayerError:
 Could not open audio device for playback.
 
 mixerctl says
 lsamixer: function snd_ctl_open failed for default: No such device
 
 
 Any pointers where to look for the problem/solution?
on SHR i had a problem with sound too:
no /dev/dsp was present
Denis.


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


Re: [fso] no sound card

2009-03-04 Thread Hans Zimmerman
On Wed, 2009-03-04 at 17:19 +0100, arne anka wrote:
 which kernel?
 
 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community

Well just to be sure I loaded the following:

modules-2.6.28-oe1
+gitr34240a1c06ae36180dee695aa25bbae869b2aa26-r3-om-gta02.tgz
uImage-2.6.28-oe1
+gitr34240a1c06ae36180dee695aa25bbae869b2aa26-r3-om-gta02.bin

r...@om-gta02:~# uname -a
Linux om-gta02 2.6.28-rc4 #1 PREEMPT Mon Feb 23 18:51:54 UTC 2009
armv4tl unknown

Hans


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


Re: [fso] no sound card

2009-03-04 Thread Rask Ingemann Lambertsen
On Wed, Mar 04, 2009 at 05:23:34PM +0100, GNUtoo wrote:
 On Wed, 2009-03-04 at 16:17 +, Hans Zimmerman wrote:
  
  Any pointers where to look for the problem/solution?
 on SHR i had a problem with sound too:
 no /dev/dsp was present

   That might not be a sign of trouble because /dev/dsp is the old Open
Sound System (OSS) interface. These days, ALSA is the norm and lives in the
/dev/snd directory. Three useful commands to try out (and example output
with just the built in sound card available):

$ lsmod | grep -E -e '^sound|^snd[_ ]'
snd_soc_neo1973_gta02_wm8753 8808  0 
snd_soc_s3c24xx_i2s 4568  1 snd_soc_neo1973_gta02_wm8753
snd_soc_s3c24xx 5192  1 snd_soc_neo1973_gta02_wm8753
snd_soc_wm8753 34228  2 snd_soc_neo1973_gta02_wm8753
snd_soc_core   46548  4 
snd_soc_neo1973_gta02_wm8753,snd_soc_s3c24xx_i2s,snd_soc_s3c24xx,snd_soc_wm8753
snd_pcm_oss45736  0 
snd_mixer_oss  15304  1 snd_pcm_oss
snd_pcm75564  4 snd_soc_s3c24xx,snd_soc_core,snd_pcm_oss
snd_timer  21212  1 snd_pcm
snd_page_alloc  6824  1 snd_pcm
snd50852  8 
snd_soc_neo1973_gta02_wm8753,snd_soc_wm8753,snd_soc_core,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore   6796  1 snd

(The modules snd_pcm_oss and snd_mixer_oss are for the kernel level OSS
emulation.)

$ ls -l /dev/snd
total 0
crw-rw 1 root audio 116,  0 Jan 30 00:04 controlC0
crw-rw 1 root audio 116, 24 Jan 30 00:04 pcmC0D0c
crw-rw 1 root audio 116, 16 Jan 30 00:04 pcmC0D0p
crw-rw 1 root audio 116, 25 Jan 30 00:04 pcmC0D1c
crw-rw 1 root audio 116, 17 Jan 30 00:04 pcmC0D1p
crw-rw 1 root audio 116, 33 Jan 30 00:04 timer

$ cat /proc/asound/cards
 0 [neo1973gta02   ]: WM8753 - neo1973-gta02
  neo1973-gta02 (WM8753)

-- 
Rask Ingemann Lambertsen
Danish law requires addresses in e-mail to be logged and stored for a year

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


Re: [fso] no sound card

2009-03-04 Thread c_c

Hi,

Hans Zimmerman wrote:
 
 I do no longer seem to have a sound card in my FreeRunner as it is not
 found. The freerunner is running fso milestone 5.1 with opkg update 
 opkg
 upgrade.
 
Well, I have this problem too - and I really haven't had the time to pipe up
on the fso or this list. Do the following :-

modprobe snd_soc_neo1973_gta02_wm8753
modprobe snd-pcm-oss
alsactl -f /usr/share/openmoko/scenarios/stereoout.state restore

 You'll get the sound card back. I keep these lines in a sh script - and use
it everytime I reboot. HTH.
-- 
View this message in context: 
http://n2.nabble.com/-fso--no-sound-card-tp2423797p2427397.html
Sent from the Openmoko Community mailing list archive at Nabble.com.


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