ossdetect(8)
π NAME π
ossdetect β the Open Sound System audio device detection program, aka the little bestie that sniffs out your soundcards for you π
β¨ SYNOPSIS β¨
ossdetect [-diuv] [-m<mode>] [-L<path>]
yeah that's it, that's the whole vibe π
πΈ DESCRIPTION πΈ
okay so ossdetect is the app that does automatic detection of soundcards β¨ it literally just goes and figures out what audio hardware you've got going on.
here's the tea π: it peeks at $OSSETCDIR/device.list and runs its automatic detection from there. then it creates a file holding the list of the configured drivers over in $OSSETCDIR/installed_drivers. and how does it know what OSSETCDIR even is? by reading /etc/oss.conf, bestie π and if that doesn't tell it anything, it just defaults to /etc/oss4. no cap.
oh and heads up π the Input Multiplexer driver (IMUX) is not configured by default, like it's just sitting there uninvited. if you want it in your OSS config you gotta add it yourself with the -i option. main character energy only when summoned, i guess π
π¦ OPTIONS π¦
-dβ creates device file links. cute little shortcuts, love that for you π-iβ adds theoss_imuxdriver. this is the IMUX one from before! β¨-m<mode>β creates nodes with permissions set to octal<mode>. so you're out here setting the perms by hand, okay permission queen π-g<group>β creates nodes with group ownership set to<group>. put your whole squad on it π«Ά-uβ adds theoss_userdevdriver. another driver, another slay π₯-vβ verbose output. it will literally tell you everything that's happening, no mystery, we love a transparent king π-L<path>β use<path>as the root directory for OSS files. default? it's the path from/etc/oss.conf, and then/usr/lib/ossafter that. so like, config first, then the fallback π
π SEE ALSO π
ossdevlinks(1)ossinfo(1)
go read those too, they're giving supporting cast energy π
π FILES π
/etc/oss.conf/usr/sbin/ossdetect
π AUTHOR π
4Front Technologies β the icons who made this whole thing happen π
lowkey a legend for reading the whole manpage, fr fr. iykyk π§
this lil page is from 11 February 2015, and yeah bestie, we're still out here running ossdetect(8) like it's iconic β bye bye, go detect some soundcards π
β¨
π¦ where this page comes from
- ubuntu noble: oss4-base 4.2-build2020-1ubuntu3
- ubuntu noble: oss4-base 4.2-build2020-1ubuntu3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms