WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: alsa sound not loading properly  (Read 26870 times)

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14812
Re: alsa sound not loading properly
« Reply #45 on: September 23, 2013, 11:29:58 PM »
You still need to adjust things to that the alsa extension is not loaded "onboot" - that way, once booted into console mode, you load alsa and see what modules are loaded and if there are any error messages in order to be able to troubleshoot.

Offline LinuxUser01

  • Full Member
  • ***
  • Posts: 111
Re: alsa sound not loading properly
« Reply #46 on: September 24, 2013, 01:30:44 AM »
I do have alsa.tcz and alsaconf.tcz in OnBoot. I just forgot to delete them before doing the things that i've mentioned in my last couple of posts.

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14812
Re: alsa sound not loading properly
« Reply #47 on: September 24, 2013, 02:32:08 AM »
..but what I'm saying is do not load alsa "onboot" - that way it will be easier to troubleshoot

Offline LinuxUser01

  • Full Member
  • ***
  • Posts: 111
Re: alsa sound not loading properly
« Reply #48 on: September 24, 2013, 05:16:44 AM »
It loads all of these as "OK" when i type tce-load -i alsa

depmod.tcz
alsa-config.tcz
ncurses-common.tcz
ncurses.tcz
libpci.tcz
pci-utils.tcz
libasound.tcz
input-joystick-3.8.10-tinycore.tcz
alsa-modules-3.8.10-tinycore.tcz
alsa.tcz

Then it just gives me another prompt when i type in sudo /usr/local/etc/init.d/alsasound start like:
tc@box:$ sudo /usr/local/etc/init.d/alsasound start
tc@box:$
Then it just gives me the same Playback open error as the one i pasted in my other post when i try to do the speaker-test command. I have looked into dmesg and i can't find any errors regarding this, nor i can find any files related to the sound in /var/log/messages that another user in this thread has mentioned. What i do know is that i have a PCI X-Fi Sound Blaster and there is also a built-in sound card in my Radeon card that might be conflicting somehow. I do see somethings related to the PC Speakers or the Radeon built-in sound in Xorg.0.log. Not sure if that is even related.
« Last Edit: September 24, 2013, 05:27:50 AM by LinuxUser01 »

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14812
Re: alsa sound not loading properly
« Reply #49 on: September 24, 2013, 06:16:38 AM »
What would be good to know is which modules are loaded after you issue the command "/usr/local/etc/init.d/alsasound start"

Edit: like this:
Code: [Select]
$ sudo /usr/local/etc/init.d/alsasound start
rmmod: can't unload 'snd_hda_codec_hdmi': Resource temporarily unavailable
rmmod: can't unload 'snd_hda_codec_idt': Resource temporarily unavailable
rmmod: can't unload 'snd_hda_codec': Resource temporarily unavailable
rmmod: can't unload 'snd_hwdep': Resource temporarily unavailable
rmmod: can't unload 'snd_pcm': Resource temporarily unavailable
rmmod: can't unload 'snd_timer': Resource temporarily unavailable
rmmod: can't unload 'snd': Resource temporarily unavailable
Starting sound driver: snd-hda-intel 

..and:
Code: [Select]
$ lsmod
Module                  Size  Used by    Not tainted
snd_seq_dummy          12288  0
snd_seq_oss            24576  0
snd_seq_midi_event     12288  1 snd_seq_oss
snd_seq                32768  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device         12288  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            32768  0
snd_mixer_oss          16384  1 snd_pcm_oss
snd_hda_codec_hdmi     28672  1
snd_hda_codec_idt      45056  1
snd_hda_intel          28672  0
snd_hda_codec          57344  3 snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_intel
snd_hwdep              12288  1 snd_hda_codec
snd_pcm                49152  4 snd_pcm_oss,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
snd_timer              20480  2 snd_seq,snd_pcm
snd                    36864 12 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
soundcore              12288  1 snd
snd_page_alloc         12288  2 snd_hda_intel,snd_pcm
« Last Edit: September 24, 2013, 07:10:01 AM by Juanito »

Offline LinuxUser01

  • Full Member
  • ***
  • Posts: 111
Re: alsa sound not loading properly
« Reply #50 on: September 24, 2013, 04:04:18 PM »
That command sudo /usr/local/etc/init.d/alsasound start has never given me any results but just gives me another prompt as i've mentioned in my last post. Not sure what its even doing to be honest with you. All of the other commands for alsa gives some kind of result, but just not this one, not sure. Well, lsmod sure worked, here are the results below:

Module                  Size  Used by    Not tainted
snd_ctxfi              53248  1
snd_seq_dummy          12288  0
snd_seq_oss            24576  0
snd_seq_midi_event     12288  1 snd_seq_oss
snd_seq                32768  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device         12288  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            32768  0
snd_mixer_oss          16384  2 snd_pcm_oss
cpufreq_powersave      12288  0
cpufreq_stats          12288  0
cpufreq_userspace      12288  0
cpufreq_conservative    12288  0
radeon                651264  2
i2c_i801               16384  0
serio_raw              12288  0
snd_hda_codec_hdmi     28672  0
drm_kms_helper         24576  1 radeon
ttm                    40960  1 radeon
snd_hda_codec          57344  1 snd_hda_codec_hdmi
drm                   143360  4 radeon,drm_kms_helper,ttm
snd_hwdep              12288  1 snd_hda_codec
backlight              12288  1 radeon
i2c_algo_bit           12288  1 radeon
snd_pcm                49152  4 snd_ctxfi,snd_pcm_oss,snd_hda_codec_hdmi,snd_hda_codec
intel_agp              12288  0
snd_timer              20480  2 snd_seq,snd_pcm
intel_gtt              16384  1 intel_agp
agpgart                24576  4 ttm,drm,intel_agp,intel_gtt
snd                    36864 11 snd_ctxfi,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_codec_hdmi,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
soundcore              12288  2 snd
snd_page_alloc         12288  2 snd_ctxfi,snd_pcm
squashfs               24576 85
loop                   20480 170
mperf                  12288  0
microcode              12288  0
lpc_ich                16384  0
mfd_core               12288  1 lpc_ich
pcspkr                 12288  0
r8169                  40960  0
xhci_hcd               65536  0

The ctxfi is my X-Fi Sound Blaster card as i remember selecting it for alsaconf.
« Last Edit: September 24, 2013, 04:10:40 PM by LinuxUser01 »

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: alsa sound not loading properly
« Reply #51 on: September 24, 2013, 04:11:49 PM »
Just curious, how do you start the sound drivers across reboots if you don't use ?
Code: [Select]
sudo /usr/local/etc/init.d/alsasound start

Offline LinuxUser01

  • Full Member
  • ***
  • Posts: 111
Re: alsa sound not loading properly
« Reply #52 on: September 24, 2013, 04:18:08 PM »
What i usually do when the sound doesn't work is, just go into terminal and type sudo alsaconf and it runs its configuration and i select my X-Fi Sound Blaster and it loads the drivers and it works. I got that command stored in my bootlocal.sh as you can see below:

#!/bin/sh
/bin/sleep 1
/usr/local/etc/init.d/alsasound start
/usr/local/sbin/alsactl restore

Just as it stated in the comments section for alsa in the Apps Browser. Not sure at this point if it is even doing anything.
« Last Edit: September 24, 2013, 04:21:47 PM by LinuxUser01 »