WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: alsa  (Read 2988 times)

Offline jpeters

  • Restricted
  • Hero Member
  • *****
  • Posts: 1017
alsa
« on: September 29, 2009, 01:11:16 PM »
I've never been able to get this working with tinycore_2.x on my Dell laptops. Sound modules seem to load okay with alsaconf; I run udevtrigger, make sure alsamixer sound levels are up, etc, but no sound other than an initial click.  Alsa worked with tinycore-1.X.

alsasound start:
Code: [Select]
tc@box:/usr/local/etc/init.d$ ./alsasound start
Starting sound driver: snd-intel8x0 
Starting sound driver: snd-intel8x0m
 

speaker-test:

Code: [Select]
Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 2048 to 16384
Period size range from 1024 to 1024
Using max buffer size 16384
Periods = 4
was set period_size = 1024
was set buffer_size = 16384
 0 - Front Left
Time per period = 2.664020
 0 - Front Left
Time per period = 2.986219
 0 - Front Left
Time per period = 2.986219
 0 - Front Left
Time per period = 2.986239
 0 - Front Left

lsmod:
Code: [Select]
snd_ac97_codec         66288  2 snd_intel8x0m,snd_intel8x0
ac97_bus                 408  1 snd_ac97_codec
snd_pcm                36852  4 snd_pcm_oss,snd_intel8x0m,snd_intel8x0,snd_ac97_                                   codec
serio_raw               2240  0
snd_timer              10340  2 snd_seq,snd_pcm
snd                    25936  12 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,                                   snd_mixer_oss,snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore               2192  1 snd

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: alsa
« Reply #1 on: September 29, 2009, 01:51:52 PM »
I have this same issue and same setup on the Dell laptop I use.  I will try  some things and see if I can't find a solution.  OSS extension claims it does not recognize the sound device.  I thought I remember having to blacklist one of the intel8x0 modules, but that was on a different PC.

Offline jpeters

  • Restricted
  • Hero Member
  • *****
  • Posts: 1017
Re: alsa
« Reply #2 on: September 29, 2009, 02:48:25 PM »
I have this same issue and same setup on the Dell laptop I use.  I will try  some things and see if I can't find a solution.  OSS extension claims it does not recognize the sound device.  I thought I remember having to blacklist one of the intel8x0 modules, but that was on a different PC.
OSS works okay. 

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: alsa
« Reply #3 on: September 29, 2009, 03:02:13 PM »
Actually mine is a gateway m320, but either way messing with alsamixer is what made it work.  Here is my alsamixer screenshot:


Offline jpeters

  • Restricted
  • Hero Member
  • *****
  • Posts: 1017
Re: alsa
« Reply #4 on: September 29, 2009, 03:48:21 PM »
Actually mine is a gateway m320, but either way messing with alsamixer is what made it work.  Here is my alsamixer screenshot:

Adjusting alsamixer doesn't seem to help; I also tried 'rmmod snd_intel8x0m'  without success. Removing/installing snd_intel8x0 module gets a 'click', but that's about it.  I'm using a C610.  

Edit....I think I've got it working....not sure why yet, doing a bunch of trial  & error.  


Edit2  Key indeed was alsamixer, which is a bit temperamental.  After unmuting and raising vol for PCM, I had to go back and click Master mute off and on to get it working. Working nicely with xmms and skype (from slax). 

« Last Edit: September 29, 2009, 05:34:50 PM by jpeters »

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: alsa
« Reply #5 on: September 29, 2009, 05:50:29 PM »
Upon comparing from default, most of my channes were muted which needed unmuting.

Offline jpeters

  • Restricted
  • Hero Member
  • *****
  • Posts: 1017
Re: alsa
« Reply #6 on: September 29, 2009, 08:02:48 PM »
Upon comparing from default, most of my channes were muted which needed unmuting.

alsamixer is extremely temperamental, and difficult to script. If I turn on and set vol for master and PCM by a boot script,  the sound won't work until I turn the mutes off and on with pauses. Same with my microphone...I have to turn boost off and on with a pause in between for it work.  Also, I need X loaded before invoking  the mute scripts...they won't work from bootlocal.  Alsamixer looks good, with vol set and turned on, but no sound.    

Trying to save "etc/asound.state" in .filetool.lst created some conflict with saving .links/socket .....no idea why, but it wouldn't backup, so I had to come up with something else.  
« Last Edit: September 29, 2009, 08:13:19 PM by jpeters »