This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

Audio Drivers

Green PC, UPS, Power saving, etc.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
oldskater
Starter
Starter
Posts: 43
Joined: 10 Oct 2012 14:55
Status: Offline

Audio Drivers

Post by oldskater »

Hi All

Now I have subsonic working well on my N4F I would love to be able to use it in 'jukebox' mode but for this I need the sound working.
Can anyone offer me any help in getting this working? (is it even possible?) I am running a full install.

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: Audio Drivers

Post by raulfg3 »

best if you use Nas4Free as server, and use other device like PC, laptop, tablet like client
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

oldskater
Starter
Starter
Posts: 43
Joined: 10 Oct 2012 14:55
Status: Offline

Re: Audio Drivers

Post by oldskater »

raulfg3 wrote:best if you use Nas4Free as server, and use other device like PC, laptop, tablet like client
Yes I may have to do this. But it would be really nice not to have to have 2 PC's running just to play some music.
Although recently I have been thinking that it is just best to leave my NAS4free as purely storage and do everything else from my main PC.
But for now if anyone else can offer any help to get the sound working I would still like to give it a go.
I know at boot up N4F does emit a 'beep' when it is up and running so it must be capable of some kind of audio output.

fsbruva
Advanced User
Advanced User
Posts: 378
Joined: 21 Sep 2012 14:50
Status: Offline

Re: Audio Drivers

Post by fsbruva »

You would need to figure out what audio chipset you have, and verify its compatibility: http://www.freebsd.org/releases/9.0R/ha ... html#SOUND

Then, you would need to get a copy of the modules you'd need to get the audio working. Not certain if you'd need to compile your own or what.

BTW: The beep you hear at startup is from the motherboard, not from the audio card.

fsbruva
Advanced User
Advanced User
Posts: 378
Joined: 21 Sep 2012 14:50
Status: Offline

Re: Audio Drivers

Post by fsbruva »

Update:
Looks like the majority of sound cards are configured as part of the kernel already (release 9.1.0.1.573)...

Code: Select all

sysctl -a | grep snd
device  snd_cmi
device  snd_csa
device  snd_emu10kx
device  snd_es137x
device  snd_hda
device  snd_ich
device  snd_uaudio
device  snd_via8233
hw.snd.vpc_reset: 0
hw.snd.vpc_0db: 45
hw.snd.vpc_autoreset: 1
hw.snd.latency_profile: 1
hw.snd.latency: 5
hw.snd.report_soft_matrix: 1
hw.snd.report_soft_formats: 1
hw.snd.compat_linux_mmap: 0
hw.snd.feeder_eq_exact_rate: 0
hw.snd.feeder_eq_presets: PEQ:16000,0.2500,62,0.2500:-9,9,1.0:44100,48000,88200,96000,176400,192000
hw.snd.feeder_rate_quality: 1
hw.snd.feeder_rate_round: 25
hw.snd.feeder_rate_max: 2016000
hw.snd.feeder_rate_min: 1
hw.snd.feeder_rate_polyphase_max: 183040
hw.snd.feeder_rate_presets: 100:8:0.85 100:36:0.92 100:164:0.97
hw.snd.vpc_mixer_bypass: 1
hw.snd.verbose: 0
hw.snd.maxautovchans: 16
hw.snd.default_unit: -1
hw.snd.version: 2009061500/amd64
hw.snd.default_auto: -1
Follow some hints here: http://daemon-notes.com/articles/deskto ... figuration

oldskater
Starter
Starter
Posts: 43
Joined: 10 Oct 2012 14:55
Status: Offline

Re: Audio Drivers

Post by oldskater »

Thanks for the info, at the moment I am failing at the first hurdle

nas4free:~# kldload snd_driver
kldload: can't load snd_driver: No such file or directory

Any suggestions much appreciated.

fsbruva
Advanced User
Advanced User
Posts: 378
Joined: 21 Sep 2012 14:50
Status: Offline

Re: Audio Drivers

Post by fsbruva »

From this FreeBSD page: http://forums.freebsd.org/showthread.php?p=199060, it looks like snd_driver is not really needed - it just is a helper function. Because the sound card module for your card is likely already included in the kernel, you can just load it directly, "kldload snd_hda" or whatever you determine your driver should be. Then, add it to loader.conf so it survives reboot. http://www.freebsd.org/doc/en_US.ISO885 ... setup.html

Post Reply

Return to “Other hardware”