Emu sound card on FreeBSD

Righ now i got working sound, on my onboard front plugged headset. As BSD uses OSS i wonder how to get my rear 2.0 speakers, which are plugged directly to my emu card work?. I have pavucontrol installed, and it clearly says in audio manager that dsp4 is for rear analog 2.0 (Realtek ALC 892) when i select it, sound dosent play..dsp 5 is working correct. I red that i must unplug headset that dsp 4 is muted untill i unplug headset..but this is not the case here. For some reason, it refuses to play sound directly from my sound card to my speakers..Any help will come handy. i know there are already topics for that, but this specific issue isnt there..or i didnt found it..
Screenshot_20260326_142553.png
I want to activate pcm4 since now it is doing nothing..and as i saw emu drivers are already loaded,but system says that cant see emu drivers even though they arein list..
 
Please don't post pictures of text. Just copy/paste the text. 148 KB to show less than 50 characters of information :rolleyes:
 
In any case, you probably need to fiddle with the pin assignments of snd_hda(4). The driver is really generic and different OEMs can use different pins, the physical implementation is up to them. So you sometimes have to change the pin assignments to get it to work correctly for your system.
 
In any case, you probably need to fiddle with the pin assignments of snd_hda(4). The driver is really generic and different OEMs can use different pins, the physical implementation is up to them. So you sometimes have to change the pin assignments to get it to work correctly for your system.
Ok Thanks a lot ill try to fiddle..it is the only missing puzzle right now to get my card working.
 
I tried to fiddle and got to one conclusion after checking out so the situation is...:
snd_emu10kx present in kernel: yes
snd_emu10kx module file exists: yes
Creative card visible on PCI: yes
driver attached to card: no --i have emu 12 12 card, and somehow driver refuses to use my card..i see that driver exists and it is loaded..so basically im stuck with on board (Front headset sound?) or is there a way to get driver to work? any help would be welcome.. it seems that my card isnt supported (it is old) but that is a good card..if support comes i will be more then happy..
 
I found the solution.. I just bought Terratec Phase 22 pci card, waiting to be delivered..i red that that card is supported in FreeBSD. My current card is a wierd one so it isnt wonder that it isnt supported..
 
Matthew45 the EMU cards are complex, they require loading a firmware into them to set the entire card up. You might've observed on Windows, the Patchmix DSP program needs to be running in order for soundcard to work. FreeBSD has no functionality in this area, so the snd_emu10kx card can only run simple cards such as Creative items.
 
Yes i see that now, EMU is primary the recording card..And back in the days i used it on Windows and yes, emu patchmix driver was consisted of two separate components..And on Win 11 driver didnt work, so someone made a hack in order to work..i just remembered..so what did I expect anyway lol:D All i need is simple playback audio card..
 
After installing TERRATEC PHASE 22 i still can get sound..Please help..Does anyone has that card? It is on the list of supported cards so im confused.. i added in boot/loader.conf snd_driver_load="YES" now i see envy24 generic in the audio manager list..but still no sound..
 
What version of FreeBSD are you using? If 14/15 :

Delete all the stuff you put in loader.conf. The sound system is in kernel per default.
You should just use kld_list entry in the rc.conf file and add snd_envy24ht. Note the ht, snd_envy24 is a different driver, I use it for my Delta Audiophile.

If you don't have such an entry, add

Code:
kld_list="snd_envy24ht"

to /etc/rc.conf and reboot the machine.
 
i use version 15, when i add kld_list="snd_envy24ht" in rc.conf system wont boot anymore i removed all custom entries from boot loader.conf. when i removed entry: kld_list="snd_envy24ht" system boots again
 
offcourse put as less as possible in /boot/loader.conf
Put everything in rc.conf
Now do you see something interesting
dmesg
cat /var/log/messages
cat /dev/sndstat

cat /dev/random > /dev/dspX where X is all the dsps you see.
 
Matthew45 does the system freeze if you just "kldload snd_envy24ht" as root, without putting it to rc.conf or loader.conf?

At this point you should post /boot/loader.conf, /etc/sysctl.conf, /etc/rc.conf and /etc/rc.local if there is any.
 
/boot/loader.conf :
kern.geom.label.disk_ident.enable="0"
kern.geom.label.gptid.enable="0"
zfs_load="YES"

/etc/sysctl.conf :
#security.bsd.see_other_uids=0
vfs.zfs.vdev.min_auto_ashift=12
security.bsd.unprivileged_chroot=1
vfs.usermount=1

/etc/rc.conf :
hostname="FreeBSD"
keymap="uk.kbd"
ifconfig_em0="DHCP"
ifconfig_em0_ipv6="inet6 accept_rtadv"
sshd_enable="YES"
moused_nondefault_enable="NO"
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
dumpdev="AUTO"
zfs_enable="YES"
dbus_enable="YES"
seatd_enable="YES"
sddm_enable="YES"
kld_list="nvidia-modeset"
linux_enable="YES"
oss_enable="YES"
bluetooth_enable="YES"

rc.local is empty.. and it dosent freeze with this method..
 
Sorry i'm currently on linux. But what does
"cat /dev/sndstat"
returns ?
Do you see your wanting sound card ?
If not try now "kldload xxx"
Check dmesg ; /var/log/messages.
 
matija@FreeBSD ~> cat /dev/sndstat
Installed devices:
pcm0: <NVIDIA (0x0093) (HDMI/DP 8ch)> (play)
pcm1: <NVIDIA (0x0093) (HDMI/DP 8ch)> (play)
pcm2: <NVIDIA (0x0093) (HDMI/DP 8ch)> (play)
pcm3: <NVIDIA (0x0093) (HDMI/DP 8ch)> (play)
pcm4: <Realtek ALC892 (Rear Analog 7.1/2.0)> (play/rec) default
pcm5: <Realtek ALC892 (Front Analog)> (play/rec)
pcm6: <Realtek ALC892 (Rear Digital)> (play)
pcm7: <Generalplus Redragon GM99 microphone> (rec)
No devices installed from userspace.
matija@FreeBSD ~> i pulled out sound card due to misfunction..but of there is a way to get this done ill be more than happy to be able to use it..
 
Matthew45 boot the machine using the configuration in the files above. When SDDM kicks in, hit ctrl+alt+F1 to go back to primary text console. Login as root and issue "kldload snd_envy24ht". Observe what happens, does the system freeze, does it reboot, and does it spit anything back on the console.

P.S. Obviously with the sound card in.

Sorry i'm currently on linux. But what does
"cat /dev/sndstat"
returns ?
Do you see your wanting sound card ?
If not try now "kldload xxx"
Check dmesg ; /var/log/messages.

He has an Envy24-HT based audio card, its not in the kernel, there is no point in doing sndstat or anything else. Please reread the entire topic to grasp the context before firing generic answers.
 
Matthew45 the idea here is that you can catch the output of the driver text or the kernel crash on the primary text console. Perhaps there is something else going on.
 
Matthew45 boot the machine using the configuration in the files above. When SDDM kicks in, hit ctrl+alt+F1 to go back to primary text console. Login as root and issue "kldload snd_envy24ht". Observe what happens, does the system freeze, does it reboot, and does it spit anything back on the console.

P.S. Obviously with the sound card in.



He has an Envy24-HT based audio card, its not in the kernel, there is no point in doing sndstat or anything else. Please reread the entire topic to grasp the context before firing generic answers.
It's a kernel module. And sorry i do my best using my knowledge. He can go to a VT console ... , then login as root , do as you say "kldload module_xxx". See what happens. As far as i know no crashes should happen, if not ok , module is simply rejected, but you can see log files whats wrong.
Note there exists "envy snd" on many places ... [ Even nvidia-gpu]
 
Back
Top