WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Alsamixer cannot find card 0  (Read 1155 times)

Offline gharig

  • Newbie
  • *
  • Posts: 34
Alsamixer cannot find card 0
« on: June 04, 2025, 09:27:03 PM »
Hello Everyone,

I have upgraded from Tinycore Pure 64 13.1  to Tinycore Pure 64 16.0.   I'm having a problem with the Alsa-Config and Alsa working on the 16.0 version.
The hardware is the same for both operating systems.  I'm using a Winsystems C407 computer.  The Alsamixer program works when running TC 13.1 VERSION but not the TC 16.0 VERSION.
I have captured data from both 13.1 and 16.0 and have attached below dmesg and the results of lsmod -l, aplay and speker-test.

Any help is appricated.


Thank You
gharig



TC Pure 13.01 Results
Code: [Select]
aplay -l

**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC888-VD Analog [ALC888-VD Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
Code: [Select]
speaker-test -Ddefault:0 -c2 -t wav -l1

speaker-test 1.2.1

Playback device is default:0
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
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
 1 - Front Right
Time per period = 2.685131


TC Pure 16.0 Results
Code: [Select]
aplay -l

aplay: device_list:279: no soundcards found...
Code: [Select]
speaker-test -Ddefault:0 -c2 -t wav -l1

ALSA lib confmisc.c:855:(parse_card) cannot find card '0'
ALSA lib conf.c:5205:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory
ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings
ALSA lib conf.c:5205:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1342:(snd_func_refer) error evaluating name
ALSA lib conf.c:5205:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5728:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2722:(snd_pcm_open_noupdate) Unknown PCM default:0

speaker-test 1.2.13

Playback device is default:0
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
Playback open error: -2,No such file or directory

TC 13.1 lsmod -l Result

ModuleSize Used byNot tainted
snd_hda_codec_hdmi     36864 0
snd_hda_codec_realtek    94208 1
snd_hda_codec_generic    45056 1 snd_hda_codec_realtek
snd_hda_intel 28672 0
snd_hda_codec65536 4 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_intel
snd_hda_core36864  5 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_intel,snd_hda_codec
snd_hwdep12288 1 snd_hda_codec
snd_pcm65536 4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
snd_timer24576 1 snd_pcm
snd49152  8 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
soundcore12288 1 snd
snd_intel_dspcfg12288  1 snd_hda_intel
cpufreq_userspace12288 0
cpufreq_conservative12288  0
cpufreq_powersave12288 0
mei_hdcp12288 0
lpc_ich24576  0
serio_raw12288 0
pcspkr12288 0
igb135168 0
video36864  0
backlight12288 1 video
mei_txe16384 1
mei49152  3 mei_hdcp,mei_txe
sdhci_pci36864 0
cqhci16384  1 sdhci_pci
sdhci36864  1 sdhci_pci
mmc_core81920 3 sdhci_pci,cqhci,sdhci
squashfs32768 37 
loop24576 74











TC 16 lsmod -l Result

ModuleSize Used byNot tainted
snd_hda_intel286720
snd_hda_intel286720
snd_hda_codec819201 snd_hda_intel
snd_hda_core491522 snd_hda_intel,snd_hda_codec
snd_hwdep122881 snd_hda_codec
snd_intel_dspcfg122881 snd_hda_intel
snd_pcm860163 snd_hda_intel,snd_hda_codec,snd_hda_core
snd_timer245761 snd_pcm
snd655365 snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
soundcore122881 snd
cpufreq_powersave122880
cpufreq_userspace122880
cpufreq_conservative122880
mei_hdcp122880
serio_raw122880
pcspkr122880
video573440
wmi163841 video
i2c_hid_acpi122880
i2c_hid245761 i2c_hid_acpi
drm3481601 i2c_hid
backlight 122882 video,drm
mei_txe163841
igb1597440
sdhci_pci532480
sdhci409601 sdhci_pci
lpc_ich24576 0
mei 696323 mei_hdcp,mei_txe
cqhci 204801 sdhci_pci
mmc_core1105923 sdhci_pci,sdhci,cqhci
quashfs4096057
loop24576114








Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 12139
Re: Alsamixer cannot find card 0
« Reply #1 on: June 05, 2025, 01:19:58 AM »
Hi gharig
Looking through your dmesg attachments I noticed both contained:
Code: [Select]
tce=UUID=c97dc9b3-bdd3-4ace-ac34-3a544cd8c36aWhen you upgraded to TC16, did you also update the extensions in
your tce directory?

Saw this in the TC16.dmesg:
Code: [Select]
pci 0000:00:1b.0: deferred probe pending: snd_hda_intel: couldn't bind with audio component
... The hardware is the same for both operating systems. ...
Not quite. The TC16 version shows an extra USB drive attached:
Code: [Select]
usb 1-1.1: new high-speed USB device number 5 using ehci-pci
usb-storage 1-1.1:1.0: USB Mass Storage device detected
scsi host2: usb-storage 1-1.1:1.0
scsi 2:0:0:0: Direct-Access     SanDisk  Cruzer Glide     1.00 PQ: 0 ANSI: 6
sd 2:0:0:0: Attached scsi generic sg1 type 0
sd 2:0:0:0: [sdb] 30031872 512-byte logical blocks: (15.4 GB/14.3 GiB)
sd 2:0:0:0: [sdb] Write Protect is off
sd 2:0:0:0: [sdb] Mode Sense: 43 00 00 00
sd 2:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
 sdb: sdb1
sd 2:0:0:0: [sdb] Attached SCSI removable disk
FAT-fs (sdb1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.

Offline gharig

  • Newbie
  • *
  • Posts: 34
Re: Alsamixer cannot find card 0
« Reply #2 on: June 05, 2025, 03:07:40 AM »
Hi Rich

I'm almost positive that I also updated all the extensions, but I will leave room for error, just incase I did not. I do mess up from time to time.  I will definetly double check in the morning and make sure all the tcz that are being loaded are correct for TC16

I also saw the "could't bind" in the TC 13.1 dmesg, but was missing the
Code: [Select]
deferred probe pending:
Snipet from TC13.1 dmesg
Code: [Select]
snd_hda_intel 0000:00:1b.0: couldn't bind with audio component
snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC888-VD: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:line
snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
snd_hda_codec_realtek hdaudioC0D0:    hp_outs=0 (0x0/0x0/0x0/0x0/0x0)
snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
snd_hda_codec_realtek hdaudioC0D0:    inputs:
snd_hda_codec_realtek hdaudioC0D0:      Mic=0x18
snd_hda_codec_realtek hdaudioC0D0:      Line=0x1a
snd_hda_codec_hdmi hdaudioC0D2: No i915 binding for Intel HDMI/DP codec
hdaudio hdaudioC0D2: Unable to configure, disabling

As far as my statement stating that the hardware  is the same, is true. Let me clarify,  the CPU and mSata drive are the same.    I just stuck the usb in to copy the files once i was running the TC 16 version. 

my drive is partitioned into 3 partitions
  • sda1 55.5 gigs linux Ext4 (with the followingdirctories)
    • tce
    • opt
    • tce13
    • opt13
  • sda2 4 gigs linux swap
  • sda3 500 MB EFI boot

So inorder to switch between 13.1 and 16
Code: [Select]
sudo mv tce tce16
sudo mv opt opt16
sudo mv tce13 tce
sudo mv opt13 opt

then i reboot with out running a backup.


Hardware setup
Code: [Select]
64bit Winsystem C407 cpu

Multi-Core Intel® Atom™ E3800 Processors
E3825 dual-core, 1.33GHz

with a 60 or 64 SATA 2.0 channel
mSATA socket

digital I/O:
24 Bidirectional GPIO with event sense

serial I/O
4 serial ports (2x RS-232/422/485, 2x RS232)

https://winsystems.com/product/ppm-c407/



Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 12139
Re: Alsamixer cannot find card 0
« Reply #3 on: June 05, 2025, 09:11:31 AM »
Hi gharig
... I also saw the "could't bind" in the TC 13.1 dmesg, but was missing the
Code: [Select]
deferred probe pending: ...
What happens if you try loading the driver:
Code: [Select]
sudo modprobe snd_hda_codec_realtek
Does dmesg then produce any interesting messages:
Code: [Select]
dmesg | tail -n 25
I also noticed this in the TC16 dmesg:
Code: [Select]
byt_gpio INT33FC:00: [Firmware Bug]: Pin 92: DIRECT_IRQ_EN set but no IRQ assigned, clearing
byt_gpio INT33FC:00: [Firmware Bug]: Pin 93: DIRECT_IRQ_EN set but no IRQ assigned, clearing

Offline gharig

  • Newbie
  • *
  • Posts: 34
Re: Alsamixer cannot find card 0
« Reply #4 on: June 05, 2025, 10:01:38 PM »
Hi Rich,

So I tried to load the drivers as these were in TC 13.1 with no luck.
Code: [Select]
sudo modeprobe snd_hda_codec_hdmi
sudo modeprobe snd_hda_codec_realtek
sudo modeprobe snd_hda_codec_generic

Then I came up with the Idea that I should see if it works with other versions of TC Core Plus, I already know that 13.1 works
So I loaded up
  • Tinycore Plus 14
  • Tinycore Plus 15
  • Tinycore Plus 16 (a new one just incase I messed up in the previous)

And the results were

  • Tinycore Plus 14 (Passed)  :)
  • Tinycore Plus 15 (Passed)  :)
  • Tinycore Plus 16 (Failed)  :(


Tomorrow I will try reloading the drivers manually and capture the dmesg to see what I get.


Thank You
gharig

Offline gharig

  • Newbie
  • *
  • Posts: 34
Re: Alsamixer cannot find card 0
« Reply #5 on: June 05, 2025, 10:08:51 PM »
Hi Rich

Forgot to talk about the byt_gpio
Code: [Select]
byt_gpio INT33FC:00: [Firmware Bug]: Pin 92: DIRECT_IRQ_EN set but no IRQ assigned, clearing
byt_gpio INT33FC:00: [Firmware Bug]: Pin 93: DIRECT_IRQ_EN set but no IRQ assigned, clearing

This card has 24 bits of digital IO on the main cpu that uses IRQ 10 in the BIOS, I will double check if there are any jumpers I forgot.


Thanks
gharig

Offline gharig

  • Newbie
  • *
  • Posts: 34
Re: Alsamixer cannot find card 0
« Reply #6 on: June 06, 2025, 04:49:14 PM »
Hi Rich,

I tried manually loading the drivers, with no success. nothing showed up in dmesg while loading.
I have attached the TC-16 files and the TC-15 files.  The alsamixer works on TC-15.

Result of alsamixer
Code: [Select]
ALSA lib confmisc.c:855:(parse_card) cannot find card '0'
ALSA lib conf.c:5205:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory
ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings
ALSA lib conf.c:5205:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1342:(snd_func_refer) error evaluating name
ALSA lib conf.c:5205:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5728:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib control.c:1575:(snd_ctl_open_noupdate) Invalid CTL default
cannot open mixer: No such file or directory

Thanks
gharig

Offline gharig

  • Newbie
  • *
  • Posts: 34
Re: Alsamixer cannot find card 0
« Reply #7 on: June 10, 2025, 03:04:23 PM »
Hi Rich or anyone else...

Still trying to find solution as to why Alsamixer dose not work on Tinycore Pure 16.0
I found this on another site. Basically someone is stating the same problem on a different OS.

I'm thinking that I might need to rebuild with a newer version 6.12.32 and see if I get the same result.

Thanks
gharig

https://forum.manjaro.org/t/sound-card-is-no-longer-working-under-kernel-6-12-still-works-on-6-6/174139/12

Quote
Latest alsa-info is similar to first non-working alsa-info – no soundcards found; no snd_hda_intel driver loaded and 2 messages for onboard audio device

[    3.494141] snd_hda_intel 0000:00:1f.3: enabling device (0100 -> 0102)
[   14.716641] pci 0000:00:1f.3: deferred probe pending: snd_hda_intel: couldn't bind with audio component
The main difference between working Live ISO and non-working installed OS is the Live ISO is using kernel 6.12.4 and installed OS has kernel 6.12.11. Something in the ALSA drivers must have changed after a kernel update but I cannot see it from the alsa-info data

Linux-Hardware data for onboard audio device (Intel Cannon Lake PCH cAVS) does not have any data for systems running recent 6.12 kernels and no reports of hardware failure

I suggest try using this modprobe option to force system to load AVS driver snd_soc_avs

sudo tee /etc/modprobe.d/alsa.conf <<< "options snd_intel_dspcfg dsp_driver=4"
If audio is not working after reboot, try loading the snd_hda_intel driver

sudo modprobe snd_hda_intel

/quote]

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15192
Re: Alsamixer cannot find card 0
« Reply #8 on: June 11, 2025, 06:32:25 AM »
alsamixer works for me on Core-16.x, but perhaps this is hardware dependent.

Did you try the instructions you linked to?

Offline gharig

  • Newbie
  • *
  • Posts: 34
Re: Alsamixer cannot find card 0
« Reply #9 on: June 11, 2025, 04:10:21 PM »
Hi Juanito,

Thanks for the reply,

I have tried what I linked to with no success.
So first off there is not driver named "snd_soc_avs" for me to to load.

But I did remove drivers snd_intel_dspcfg and snd_hda_intel and then reloaded them
Code: [Select]
sudo modprobe snd_intel_dspcfg dsp_driver=4
sudo modprobe snd_hda_intel

I also loaded drivers snd_hda_codec_realtek and snd_hda_codec_hdmi as those drivers are loaded
  • Tinycore Pure 13 64bit
  • Tinycore Pure 14 64bit
  • Tinycore Pure 15 64bit

And alsamixer works with those 3 versions. 

And the results after trying to run alsamixer are:
Code: [Select]
ALSA lib confmisc.c:855:(parse_card) cannot find card '0'
ALSA lib conf.c:5205:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory
ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings
ALSA lib conf.c:5205:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1342:(snd_func_refer) error evaluating name
ALSA lib conf.c:5205:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5728:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib control.c:1575:(snd_ctl_open_noupdate) Invalid CTL default
cannot open mixer: No such file or directory

So is it the driver being loaded with the error in dmesg
Code: [Select]
pci 0000:00:1b.0: deferred probe pending: snd_hda_intel: couldn't bind with audio component

with note on the
Code: [Select]
deferred probe pending

or is this something in Alsamixer that could of changed?

The fact that the exact same hardware works with previous versions of Tinycore but not this one is bewildering.

Any input is greatly appreciated

Thanks
gharig



Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 12139
Re: Alsamixer cannot find card 0
« Reply #10 on: June 12, 2025, 12:39:34 AM »
Hi gharig
Try this:
Code: [Select]
tce-load -w graphics-KERNELThen add  graphics-KERNEL.tcz  to the beginning of  onboot.lst.
Reboot and see if anything changed.

You could also try this:
Code: [Select]
modprobe -r  snd_hda_intel
modprobe snd_hda_intel options enable=0,1 index=0

Offline gharig

  • Newbie
  • *
  • Posts: 34
Re: Alsamixer cannot find card 0
« Reply #11 on: June 12, 2025, 02:16:25 PM »
Hi Rich,

I stated this in the past, you are a pure genius....

I added the graphics-KERNEL to the onboot.lst, crossed my fingers, rebooted...
And that was it, suddenly alsamixer worked, aplay worked, speaker-test worked, speakers are humming.

Small setback monitor screen shrunk a bit in size, but I'm sure I will get that set fixed.


Thank you for all you help
Very much appreciated
gharig


P.S.
I have another request that I'm going to start a new post on about multiport serial connections and setserial,
talk to you soon.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 12139
Re: Alsamixer cannot find card 0
« Reply #12 on: June 12, 2025, 05:05:34 PM »
Hi gharig
Glad to hear it's working.

I am curious though, you said TC13, TC14, and TC15 worked.
Was graphics-KERNEL loaded in those environments?

Offline gharig

  • Newbie
  • *
  • Posts: 34
Re: Alsamixer cannot find card 0
« Reply #13 on: June 12, 2025, 08:16:48 PM »
Hi Rich,

I did not load the graphics-KERNEL.tcz on 13, 14 or 15.  I would install the O/S from a USB and then obtain all the alsa-config.tcz and alsa.tcz files along with their dependencies, and that is all I would do, and it worked.

Not sure why 16 needs the graphics-KERNEL, But I too am glad that it works now.

Thank you again for all your help.
gharig   

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15192
Re: Alsamixer cannot find card 0
« Reply #14 on: June 13, 2025, 07:26:21 AM »
If your hardware supports hmdi audio, you would need graphics-KERNEL for it to work.