[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Sound card support in Debian GNU/kFreeBSD kernel?

Hannes wrote:
> On Sunday 17 October 2010 14:04:50 Robert Millan wrote:
>> 2010/10/17, Michael Dorrington <michael.dorrington@gmail.com>:
>>> It appears so. Is this the way FreeBSD likes it?
>> Probably not, but they don't have a daemon like hotplug/udev AFAIK.
> There is devd for hotplugging and udev-like stuff.
> For auto-detecting sound the recommended way is loading snd_driver which 
> loads *all* sound drivers. After that you can cat /dev/sndstat which 
> will tell you which driver has attached and tell your loader to load 
> that on a regular basis.

Loading the snd_driver does load all the sound drivers but cat
/dev/sndstat doesn't show the hardware driver (snd_es137x in this case):

# cat /dev/sndstat
FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386)
Installed devices:
pcm0: <AudioPCI ES1370> (play/rec) default


> It should be fairly easy to automate that on Debian.
> Regards,
> Hannes

Attachment: signature.asc
Description: OpenPGP digital signature

Reply to: