{"id":1549,"date":"2006-12-29T15:47:00","date_gmt":"2006-12-29T15:47:00","guid":{"rendered":"http:\/\/gleamynode.net\/articles\/1549\/alsa-oss-emulation-with-multiple-sound-cards"},"modified":"2022-12-28T01:46:42","modified_gmt":"2022-12-27T16:46:42","slug":"alsa-oss-emulation-with-multiple-sound-cards","status":"publish","type":"post","link":"https:\/\/vault.motd.kr\/wordpress\/posts\/1549\/alsa-oss-emulation-with-multiple-sound-cards\/","title":{"rendered":"ALSA OSS Emulation with Multiple Sound Cards"},"content":{"rendered":"

\uc0ac\uc6b4\ub4dc \uce74\ub4dc \uc5ec\ub7ec\uac1c\uc77c \ub54c\uc758 ALSA OSS \uc5d0\ubbac\ub808\uc774\uc158<\/p>\n

aoss<\/tt> is a useful command that forwards all OSS (Open Sound System)<\/a> requests to ALSA (Advanced Linux Sound Architecture)<\/a> device drivers transparently, but it’s sometimes not so easy to use when an executable is wrapped by a shell script like VMware<\/a>. The most easiest and clean solution for OSS emulation is loading snd-pcm-oss<\/tt> module by adding the following line in the \/etc\/modules<\/tt> file.<\/p>\n

aoss<\/tt>\ub294 \ubaa8\ub4e0 OSS (Open Sound System)<\/a> \uc694\uccad\uc744 ALSA (Advanced Linux Sound Architecture)<\/a> \ub4dc\ub77c\uc774\ubc84\ub85c \ud22c\uba85\ud558\uac8c \uc804\ub2ec\ud574 \uc8fc\ub294 \uc720\uc6a9\ud55c \uba85\ub839\uc774\uc9c0\ub9cc, VMware<\/a>\ucc98\ub7fc \uc2e4\ud589 \ud30c\uc77c\uc774 \uc258 \uc2a4\ud06c\ub9bd\ud2b8\ub85c \ub458\ub7ec\uc2f8\uc5ec \uc788\uc73c\uba74 \uc0ac\uc6a9\ud558\uae30\uac00 \uc27d\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4. OSS \uc5d0\ubbac\ub808\uc774\uc158\uc5d0 \ub300\ud574 \uac00\uc7a5 \uc27d\uace0 \uae54\ub054\ud55c \ubc29\ubc95\uc740 \/etc\/modules<\/tt> \ud30c\uc77c\uc5d0 \ub2e4\uc74c \ud589\uc744 \ucd94\uac00\ud574 snd-pcm-oss<\/tt> \ubaa8\ub4c8\uc744 \ub85c\ub4dc\ud558\ub294 \uac83\uc785\ub2c8\ub2e4.<\/p>\n

\n
snd-pcm-oss<\/pre>\n<\/blockquote>\n

\nIs that all? Not actually if you have more than one sound cards. You have to choose which one is your primary sound card, where the OSS requests should be forwarded to. In my case, my primary sound card is ESI Audiotechinik Juli@<\/a>, and the secondary one is built-in Intel i8x0 chip. You can set the order of these sound cards by adding kernel options to the \/boot\/grub\/menu.lst<\/tt> file like the following.<\/p>\n

\uc774\uac8c \ub2e4\uc77c\uae4c\uc694? \uc0ac\uc6b4\ub4dc \uce74\ub4dc\uac00 \ud558\ub098 \uc774\uc0c1\uc774\ub77c\uba74 \ub2e4\uac00 \uc544\ub2d9\ub2c8\ub2e4. OSS \uc694\uccad\uc744 \ud3ec\uc6cc\ub529 \ubc1b\uc744 \uccab \ubc88\uc9f8 \uc0ac\uc6b4\ub4dc \uce74\ub4dc\ub97c \uc815\ud574 \uc8fc\uc5b4\uc57c \ud569\ub2c8\ub2e4. \uc800\uac19\uc740 \uacbd\uc6b0 \uccab \ubc88\uc9f8 \uce74\ub4dc\ub294 ESI Juli@<\/a>\uc774\uace0, \ub450 \ubc88\uc9f8 \uce74\ub4dc\ub294 \ub0b4\uc7a5\ub41c \uc778\ud154 i8x0 \uce69\uc785\ub2c8\ub2e4. \ub2e4\uc74c\uacfc \uac19\uc774 \/boot\/grub\/menu.lst<\/tt> \ud30c\uc77c\uc5d0 \ucee4\ub110 \uc635\uc158\uc744 \ucd94\uac00\ud558\uc5ec \uc774\ub4e4 \uc0ac\uc6b4\ub4dc \uce74\ub4dc\uc758 \uc21c\uc11c\ub97c \uc815\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n

\n
## additional options to use with the default boot option, but not with the
\n## alternatives
\n## e.g. defoptions=vga=791 resume=\/dev\/hda5
\n# defoptions=snd-ice17xx-ak4xxx.index=0 snd-intel8x0.index=1<\/pre>\n<\/blockquote>\n

\nIf you are using a different sound card, you could replace the driver names above (snd-xxxx<\/tt>) with yours. If you are finished editing the menu.lst<\/tt> file, you have to run update-grub<\/tt> command to auto-generate other sections of the menu.lst<\/tt>.<\/p>\n

\ub2e4\ub978 \uc0ac\uc6b4\ub4dc \uce74\ub4dc\ub97c \uc0ac\uc6a9\ud558\uace0 \uacc4\uc2e0\ub2e4\uba74 \uc704\uc758 \ub4dc\ub77c\uc774\ubc84 \uc774\ub984\ub4e4\uc744 (snd-xxxx<\/tt>) \uac16\uace0 \uacc4\uc2e0 \uc0ac\uc6b4\ub4dc \uce74\ub4dc\uc758 \ub4dc\ub77c\uc774\ubc84\ub85c \ubc14\uafb8\uba74 \ub429\ub2c8\ub2e4. menu.lst<\/tt> \ud30c\uc77c \uc218\uc815\uc744 \ub9c8\uce58\uba74, update-grub<\/tt> \uba85\ub839\uc744 \uc2e4\ud589\ud574 menu.lst<\/tt> \ud30c\uc77c\uc758 \ub2e4\ub978 \ubd80\ubd84\uc744 \uc790\ub3d9 \uc0dd\uc131\ud574\uc57c \ud569\ub2c8\ub2e4.<\/p>\n

\n
trustin@primary:~$ sudo update-grub
\nPassword:
\nSearching for GRUB installation directory ... found: \/boot\/grub
\nTesting for an existing GRUB menu.list file ... found: \/boot\/grub\/menu.lst
\nSearching for splash image ... none found, skipping ...
\nFound kernel: \/vmlinuz-2.6.17-10-generic
\nFound kernel: \/vmlinuz-2.6.15-27-686
\nFound kernel: \/vmlinuz-2.6.15-26-686
\nFound kernel: \/vmlinuz-2.6.15-25-686
\nUpdating \/boot\/grub\/menu.lst ... done<\/pre>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"

\uc0ac\uc6b4\ub4dc \uce74\ub4dc \uc5ec\ub7ec\uac1c\uc77c \ub54c\uc758 ALSA OSS \uc5d0\ubbac\ub808\uc774\uc158 aoss is a useful command that forwards all OSS (Open Sound System) requests to ALSA (Advanced Linux Sound Architecture) device drivers transparently, but it’s sometimes not so easy to use when an executable is wrapped by a shell script like VMware. The most easiest and clean solution for… Continue reading →<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"yoast_head":"ALSA OSS Emulation with Multiple Sound Cards — T's message of the day<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/vault.motd.kr\/wordpress\/posts\/1549\/alsa-oss-emulation-with-multiple-sound-cards\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"ALSA OSS Emulation with Multiple Sound Cards — T's message of the day\" \/>\n<meta property=\"og:description\" content=\"\uc0ac\uc6b4\ub4dc \uce74\ub4dc \uc5ec\ub7ec\uac1c\uc77c \ub54c\uc758 ALSA OSS \uc5d0\ubbac\ub808\uc774\uc158 aoss is a useful command that forwards all OSS (Open Sound System) requests to ALSA (Advanced Linux Sound Architecture) device drivers transparently, but it’s sometimes not so easy to use when an executable is wrapped by a shell script like VMware. The most easiest and clean solution for... Continue reading →\" \/>\n<meta property=\"og:url\" content=\"https:\/\/vault.motd.kr\/wordpress\/posts\/1549\/alsa-oss-emulation-with-multiple-sound-cards\/\" \/>\n<meta property=\"og:site_name\" content=\"T's message of the day\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/trustin\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/trustin\" \/>\n<meta property=\"article:published_time\" content=\"2006-12-29T15:47:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-12-27T16:46:42+00:00\" \/>\n<meta name=\"author\" content=\"Trustin Lee\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/www.twitter.com\/trustin\" \/>\n<meta name=\"twitter:site\" content=\"@trustin\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Trustin Lee\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/vault.motd.kr\/wordpress\/posts\/1549\/alsa-oss-emulation-with-multiple-sound-cards\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/vault.motd.kr\/wordpress\/posts\/1549\/alsa-oss-emulation-with-multiple-sound-cards\/\"},\"author\":{\"name\":\"Trustin Lee\",\"@id\":\"https:\/\/vault.motd.kr\/wordpress\/#\/schema\/person\/4430ad90fc2ddeef051565701d85db9d\"},\"headline\":\"ALSA OSS Emulation with Multiple Sound Cards\",\"datePublished\":\"2006-12-29T15:47:00+00:00\",\"dateModified\":\"2022-12-27T16:46:42+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/vault.motd.kr\/wordpress\/posts\/1549\/alsa-oss-emulation-with-multiple-sound-cards\/\"},\"wordCount\":221,\"publisher\":{\"@id\":\"https:\/\/vault.motd.kr\/wordpress\/#\/schema\/person\/4430ad90fc2ddeef051565701d85db9d\"},\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/vault.motd.kr\/wordpress\/posts\/1549\/alsa-oss-emulation-with-multiple-sound-cards\/\",\"url\":\"https:\/\/vault.motd.kr\/wordpress\/posts\/1549\/alsa-oss-emulation-with-multiple-sound-cards\/\",\"name\":\"ALSA OSS Emulation with Multiple Sound Cards — T's message of the day\",\"isPartOf\":{\"@id\":\"https:\/\/vault.motd.kr\/wordpress\/#website\"},\"datePublished\":\"2006-12-29T15:47:00+00:00\",\"dateModified\":\"2022-12-27T16:46:42+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/vault.motd.kr\/wordpress\/posts\/1549\/alsa-oss-emulation-with-multiple-sound-cards\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/vault.motd.kr\/wordpress\/posts\/1549\/alsa-oss-emulation-with-multiple-sound-cards\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/vault.motd.kr\/wordpress\/posts\/1549\/alsa-oss-emulation-with-multiple-sound-cards\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/vault.motd.kr\/wordpress\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"ALSA OSS Emulation with Multiple Sound Cards\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/vault.motd.kr\/wordpress\/#website\",\"url\":\"https:\/\/vault.motd.kr\/wordpress\/\",\"name\":\"T's message of the day\",\"description\":\"the best is yet to come\",\"publisher\":{\"@id\":\"https:\/\/vault.motd.kr\/wordpress\/#\/schema\/person\/4430ad90fc2ddeef051565701d85db9d\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/vault.motd.kr\/wordpress\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/vault.motd.kr\/wordpress\/#\/schema\/person\/4430ad90fc2ddeef051565701d85db9d\",\"name\":\"Trustin Lee\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/vault.motd.kr\/wordpress\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/vault.motd.kr\/wordpress\/wp-content\/uploads\/2020\/09\/avatar-2019-966px.png\",\"contentUrl\":\"https:\/\/vault.motd.kr\/wordpress\/wp-content\/uploads\/2020\/09\/avatar-2019-966px.png\",\"width\":966,\"height\":966,\"caption\":\"Trustin Lee\"},\"logo\":{\"@id\":\"https:\/\/vault.motd.kr\/wordpress\/#\/schema\/person\/image\/\"},\"sameAs\":[\"https:\/\/t.motd.kr\/\",\"https:\/\/www.facebook.com\/trustin\",\"https:\/\/www.instagram.com\/trustinlee\/\",\"https:\/\/www.linkedin.com\/in\/trustin\",\"https:\/\/twitter.com\/https:\/\/www.twitter.com\/trustin\",\"https:\/\/www.youtube.com\/@trustinlee\"]}]}<\/script>","yoast_head_json":{"title":"ALSA OSS Emulation with Multiple Sound Cards — T's message of the day","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/vault.motd.kr\/wordpress\/posts\/1549\/alsa-oss-emulation-with-multiple-sound-cards\/","og_locale":"en_US","og_type":"article","og_title":"ALSA OSS Emulation with Multiple Sound Cards — T's message of the day","og_description":"\uc0ac\uc6b4\ub4dc \uce74\ub4dc \uc5ec\ub7ec\uac1c\uc77c \ub54c\uc758 ALSA OSS \uc5d0\ubbac\ub808\uc774\uc158 aoss is a useful command that forwards all OSS (Open Sound System) requests to ALSA (Advanced Linux Sound Architecture) device drivers transparently, but it’s sometimes not so easy to use when an executable is wrapped by a shell script like VMware. The most easiest and clean solution for... Continue reading →","og_url":"https:\/\/vault.motd.kr\/wordpress\/posts\/1549\/alsa-oss-emulation-with-multiple-sound-cards\/","og_site_name":"T's message of the day","article_publisher":"https:\/\/www.facebook.com\/trustin","article_author":"https:\/\/www.facebook.com\/trustin","article_published_time":"2006-12-29T15:47:00+00:00","article_modified_time":"2022-12-27T16:46:42+00:00","author":"Trustin Lee","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/www.twitter.com\/trustin","twitter_site":"@trustin","twitter_misc":{"Written by":"Trustin Lee","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/vault.motd.kr\/wordpress\/posts\/1549\/alsa-oss-emulation-with-multiple-sound-cards\/#article","isPartOf":{"@id":"https:\/\/vault.motd.kr\/wordpress\/posts\/1549\/alsa-oss-emulation-with-multiple-sound-cards\/"},"author":{"name":"Trustin Lee","@id":"https:\/\/vault.motd.kr\/wordpress\/#\/schema\/person\/4430ad90fc2ddeef051565701d85db9d"},"headline":"ALSA OSS Emulation with Multiple Sound Cards","datePublished":"2006-12-29T15:47:00+00:00","dateModified":"2022-12-27T16:46:42+00:00","mainEntityOfPage":{"@id":"https:\/\/vault.motd.kr\/wordpress\/posts\/1549\/alsa-oss-emulation-with-multiple-sound-cards\/"},"wordCount":221,"publisher":{"@id":"https:\/\/vault.motd.kr\/wordpress\/#\/schema\/person\/4430ad90fc2ddeef051565701d85db9d"},"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/vault.motd.kr\/wordpress\/posts\/1549\/alsa-oss-emulation-with-multiple-sound-cards\/","url":"https:\/\/vault.motd.kr\/wordpress\/posts\/1549\/alsa-oss-emulation-with-multiple-sound-cards\/","name":"ALSA OSS Emulation with Multiple Sound Cards — T's message of the day","isPartOf":{"@id":"https:\/\/vault.motd.kr\/wordpress\/#website"},"datePublished":"2006-12-29T15:47:00+00:00","dateModified":"2022-12-27T16:46:42+00:00","breadcrumb":{"@id":"https:\/\/vault.motd.kr\/wordpress\/posts\/1549\/alsa-oss-emulation-with-multiple-sound-cards\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/vault.motd.kr\/wordpress\/posts\/1549\/alsa-oss-emulation-with-multiple-sound-cards\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/vault.motd.kr\/wordpress\/posts\/1549\/alsa-oss-emulation-with-multiple-sound-cards\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/vault.motd.kr\/wordpress\/"},{"@type":"ListItem","position":2,"name":"ALSA OSS Emulation with Multiple Sound Cards"}]},{"@type":"WebSite","@id":"https:\/\/vault.motd.kr\/wordpress\/#website","url":"https:\/\/vault.motd.kr\/wordpress\/","name":"T's message of the day","description":"the best is yet to come","publisher":{"@id":"https:\/\/vault.motd.kr\/wordpress\/#\/schema\/person\/4430ad90fc2ddeef051565701d85db9d"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/vault.motd.kr\/wordpress\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/vault.motd.kr\/wordpress\/#\/schema\/person\/4430ad90fc2ddeef051565701d85db9d","name":"Trustin Lee","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/vault.motd.kr\/wordpress\/#\/schema\/person\/image\/","url":"https:\/\/vault.motd.kr\/wordpress\/wp-content\/uploads\/2020\/09\/avatar-2019-966px.png","contentUrl":"https:\/\/vault.motd.kr\/wordpress\/wp-content\/uploads\/2020\/09\/avatar-2019-966px.png","width":966,"height":966,"caption":"Trustin Lee"},"logo":{"@id":"https:\/\/vault.motd.kr\/wordpress\/#\/schema\/person\/image\/"},"sameAs":["https:\/\/t.motd.kr\/","https:\/\/www.facebook.com\/trustin","https:\/\/www.instagram.com\/trustinlee\/","https:\/\/www.linkedin.com\/in\/trustin","https:\/\/twitter.com\/https:\/\/www.twitter.com\/trustin","https:\/\/www.youtube.com\/@trustinlee"]}]}},"_links":{"self":[{"href":"https:\/\/vault.motd.kr\/wordpress\/wp-json\/wp\/v2\/posts\/1549"}],"collection":[{"href":"https:\/\/vault.motd.kr\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vault.motd.kr\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vault.motd.kr\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vault.motd.kr\/wordpress\/wp-json\/wp\/v2\/comments?post=1549"}],"version-history":[{"count":1,"href":"https:\/\/vault.motd.kr\/wordpress\/wp-json\/wp\/v2\/posts\/1549\/revisions"}],"predecessor-version":[{"id":5829,"href":"https:\/\/vault.motd.kr\/wordpress\/wp-json\/wp\/v2\/posts\/1549\/revisions\/5829"}],"wp:attachment":[{"href":"https:\/\/vault.motd.kr\/wordpress\/wp-json\/wp\/v2\/media?parent=1549"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vault.motd.kr\/wordpress\/wp-json\/wp\/v2\/categories?post=1549"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vault.motd.kr\/wordpress\/wp-json\/wp\/v2\/tags?post=1549"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}