WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline gharig

  • Newbie
  • *
  • Posts: 29
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: 12133
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: 29
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: 12133
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: 29
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: 29
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: 29
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