<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
		xmlns:xhtml="http://www.w3.org/1999/xhtml"
>

<channel>
	<title>ORANGEDROP &#187; alsamixer</title>
	<atom:link href="http://od.kururu.info/archives/tag/alsamixer/feed" rel="self" type="application/rss+xml" />
	<link>http://od.kururu.info</link>
	<description>LinuxとかWebとか雑用とかの記録</description>
	<lastBuildDate>Wed, 07 Jan 2009 16:22:54 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://od.kururu.info/archives/tag/alsamixer/feed" />
		<item>
		<title>ubuntu8.04で新・音を出るようにする。toshiba satellite p1w 160c/4wP1W編</title>
		<link>http://od.kururu.info/archives/43</link>
		<comments>http://od.kururu.info/archives/43#comments</comments>
		<pubDate>Thu, 05 Jun 2008 11:48:15 +0000</pubDate>
		<dc:creator>Niea</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[0xff31]]></category>
		<category><![CDATA[160c/4w]]></category>
		<category><![CDATA[8.04]]></category>
		<category><![CDATA[alsa]]></category>
		<category><![CDATA[alsamixer]]></category>
		<category><![CDATA[checkinstall]]></category>
		<category><![CDATA[deb]]></category>
		<category><![CDATA[hardytoshiba]]></category>
		<category><![CDATA[p1w]]></category>
		<category><![CDATA[pulseaudio]]></category>
		<category><![CDATA[satellite]]></category>
		<category><![CDATA[音]]></category>

		<guid isPermaLink="false">http://od.kururu.info/?p=43</guid>
		<description><![CDATA[こんにちわ！
今までubuntu8.04をTOSHIBA　Satellite　P1W　１６０C/４Wにインストールし、音が鳴らないので音を出す、鳴らす、鳴らず・・とやってきたわけですが、今までより簡単なやり方があり、イン [...]]]></description>
			<content:encoded><![CDATA[<p>こんにちわ！</p>
<p>今まで<a href="http://www.ubuntu.com/">ubuntu8.04</a>を<a title="TOSHIBA　Satellite　P1W　１６０C/４W" href="http://www3.toshiba.co.jp/jdirect/catalog/satellite_p1w/spec.htm" target="_blank">TOSHIBA　Satellite　P1W　１６０C/４W</a>にインストールし、音が鳴らないので音を出す、鳴らす、鳴らず・・とやってきたわけですが、今までより簡単なやり方があり、インストールもアンインストールも楽にできます。<a href="http://www.ubuntu.com/">ubuntu8.04</a>の場合です。ubuntu7.04の場合は前回の記事を参照してください。</p>
<p>数日前からインストールし使用してますが、今のところ不具合はありません。</p>
<p>KeyHoleTVの記事で checkinstall って言うコマンドを使ってdebファイルにしたのです、そこでalsaのドライバーもdebにして簡単にインストール使用とやってみたわけです。（先に使用したのはalsaでした。）</p>
<p>alsaのドライバーも本家からダウンロードせずに、<a href="http://www.ubuntu.com/">ubuntu8.04</a>のパッケージソースをダウンロードして使いました。</p>
<p>今回は、使うファイルも1つです。<br />
*注意　<a href="http://www.ubuntu.com/">ubuntu8.04</a>＋<a title="TOSHIBA　Satellite　P1W　１６０C/４W" href="http://www3.toshiba.co.jp/jdirect/catalog/satellite_p1w/spec.htm" target="_blank">TOSHIBA　Satellite　P1W　１６０C/４W</a>の場合のみです。他のPCにも応用で使える場合もあります。</p>
<ol>
<li><a href="http://www.ubuntu.com/">ubuntu8.04</a>のパッケージソースを<br />
<a href="http://packages.ubuntu.com/source/hardy/alsa-driver">「Ubuntu &#8212; hardy の alsa-driver ソースパッケージに関する詳細」</a><br />
のサイトでしたの方のからalsa-driver_1.0.16.orig.tar.gzをダウンロードします。間違ってもdebの方はダウンロードしないでください。</li>
<li>alsa-***を解凍します。<br />
<strong>$sudo tar xvzf alsa-driver_1.0.16.orig.tar.gz</strong></li>
<li>次のファイルをインストールします。（これはいらないカモですが、いるかもしれないので・・）<br />
<strong>$sudo aptitude install build-essential libncurses-dev gettext linux-headers-`uname -r`<br />
$sudo aptitude install checkinstall</strong></li>
<li>解凍したフォルダに移動します。<br />
<strong>$cd alsa-driver-1.0.16/</strong></li>
<li>alsa-driver_1.0.16のフォルダのなかのファイルpatch_realtek.cに　<span style="color: #ff0000;">SND_PCI_QUIRK(0×1179, 0xff31, “Toshiba”, ALC861_TOSHIBA),</span> を追加修正します。<br />
<strong>$sudo gedit </strong><strong>alsa-driver-1.0.16</strong><strong>/alsa-kernel/pci/hda/patch_realtek.c</strong><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
<em>s</em>tatic struct snd_pci_quirk alc861_cfg_tbl[] = {<br />
SND_PCI_QUIRK(0×1043, 0×1205, “ASUS W7J”, ALC861_3ST),<br />
SND_PCI_QUIRK(0×1043, 0×1335, “ASUS F2/3″, ALC861_ASUS_LAPTOP),<br />
SND_PCI_QUIRK(0×1043, 0×1338, “ASUS F2/3″, ALC861_ASUS_LAPTOP),<br />
<span style="color: #ff0000;">SND_PCI_QUIRK(0×1179, 0xff31, “ASUS F2/3″, ALC861_ASUS_LAPTOP), 　＜＜ここに追加</span><br />
SND_PCI_QUIRK(0×1043, 0×1393, “ASUS”, ALC861_ASUS),<br />
SND_PCI_QUIRK(0×1043, 0×13d7, “ASUS A9rp”, ALC861_ASUS_LAPTOP),<br />
SND_PCI_QUIRK(0×1043, 0×81cb, “ASUS P1-AH2″, ALC861_3ST_DIG),<br />
SND_PCI_QUIRK(0×1179, 0xff00, “Toshiba”, ALC861_TOSHIBA),<br />
/* FIXME: the entry below breaks Toshiba A100 (model=auto works!)<br />
*        Any other models that need this preset?<br />
*/<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
＊注意　修正する記述をここからコピーしてペーストすると、文字化けするので気をつけてください。</li>
<li>それでは、<a href="http://opentechpress.jp/developer/article.pl?sid=07/02/27/0117240&amp;pagenum=1">Debianベースのシステムでパッケージを自作する</a>を参考にdebを作成します。まず./configureとmakeします。<br />
<strong>$./configure<br />
$make<br />
$sudo checkinstall</strong> （＊注意　make install　は、しないでください。）</li>
<li>あとは、完成したalsa-driver_1.0.16-1_i386.debをインストールします。<br />
<strong>$dpkg -i alsa-driver_1.0.16-1_i386.deb</strong></li>
<li>一度再起動します。（念のため）</li>
<li>alsa-baseに　options snd-hda-intel model=asus-laptop　を追加します。<br />
<strong>$sudo gedit /etc/modprobe.d/alsa-base<br />
</strong>ーーーーーーーーーーーーーーーーーーー<br />
options bt87x index=-2<br />
options cx88_alsa index=-2<br />
options saa7134-alsa index=-2<br />
options snd-atiixp-modem index=-2<br />
options snd-intel8×0m index=-2<br />
options snd-via82xx-modem index=-2<br />
options snd-usb-audio index=-2<br />
options snd-usb-usx2y index=-2<br />
options snd-usb-caiaq index=-2<br />
# Ubuntu #62691, enable MPU for snd-cmipci<br />
options snd-cmipci mpu_port=0×330 fm_port=0×388<br />
<span style="color: #ff0000;">options snd-hda-intel model=asus-laptop　#ここに追加<br />
</span>ーーーーーーーーーーーーーーーーーーー</li>
<li>また再起動します<strong>。</strong></li>
<li>これで音が出ます・鳴ります・ぃやっほーです。</li>
</ol>
<p>ここで、音は出るようになりましたが、<a href="http://od.kururu.info/?p=35">前の記事</a>で$ alsamixerを打つと（<a href="http://www.ubuntu.com/">ubuntu8.04</a>をインストールした時からおかしかったです。）</p>
<blockquote><p><strong>$alsamixer</strong></p>
<p><strong>alsamixer: function snd_mixer_load failed: No such file or directory</strong></p></blockquote>
<p>とでます。音は出ますし、使えるのです。しばらく使ってるとボリュームコントロールからalsaが突然消えるときがあります。同時にpulseaudioをも使えなくなる場合があります。</p>
<p>それで前もって修正をして$alsamixerとコマンドを使ってちゃんとボリュームコントロールが出るようにします。</p>
<p>下記のサイトを参考にしました。</p>
<p><a href="https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/192382" target="_blank">Bug #192382 in alsa-driver (Ubuntu): “alsamixer broken in hardy &#8211; intel hda”</a></p>
<p>一番下にある投稿をを参考にしてます。</p>
<blockquote><p><strong>$sudo apt-get install module-assistant<br />
$sudo m-a update<br />
$sudo m-a prepare<br />
$sudo m-a a-i alsa</strong></p></blockquote>
<p>時間かかるので、しばらく放置して終わったら再起動でOKでした。</p>
<blockquote><p><strong>$alsamixer</strong></p></blockquote>
<p>って打つと</p>
<p><a href="http://od.kururu.info/wp-content/uploads/2008/05/alsamixer.png"><img class="alignnone size-medium wp-image-36" title="alsamixer" src="http://od.kururu.info/wp-content/uploads/2008/05/alsamixer-300x170.png" alt="" width="300" height="170" /></a></p>
<p>ちゃんと出るようになりました。</p>
<p>もし、pulseaudioがつかえなくなったら、再インストールでもいいのですが</p>
<p><strong>$pulseaudio -D</strong></p>
<p>で、pulseaudioサーバが起動します。セッションに登録すればログイン時に起動してくれます。私の場合は、再インストールするのが面倒だし、またおかしくなる可能性がない分けでもないので$pulseaudio -Dでしのいでます。</p>
<p><a title="TOSHIBA　Satellite　P1W　１６０C/４W" href="http://www3.toshiba.co.jp/jdirect/catalog/satellite_p1w/spec.htm" target="_blank">TOSHIBA　Satellite　P1W　１６０C/４W</a>の場合ですので気をつけてください。他にも応用はできるかもしれません。</p>
<p class="r"><span style="color: #ff0000;">0xff31</span> ＜＜　これがハードウェアに使われてたら、同じような方法でいけると思います。他のタイプのATI　SB＊＊＊ HDA Audio場合、<a class="l" onmousedown="return clk(this.href,'','','cres','1','')" href="http://forum.ubuntulinux.jp/viewtopic.php?id=1961">Ubuntu日本語フォーラム / 8.04 音がまったく出ません</a>を参考にするといいでしょう。</p>
]]></content:encoded>
			<wfw:commentRss>http://od.kururu.info/archives/43/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://od.kururu.info/archives/43" />
	</item>
		<item>
		<title>alsamixerとpulseaudioが何か変ですが直りました。</title>
		<link>http://od.kururu.info/archives/35</link>
		<comments>http://od.kururu.info/archives/35#comments</comments>
		<pubDate>Wed, 28 May 2008 16:39:07 +0000</pubDate>
		<dc:creator>Niea</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[8.04]]></category>
		<category><![CDATA[alsamixer]]></category>
		<category><![CDATA[puseaudio]]></category>

		<guid isPermaLink="false">http://od.kururu.info/?p=35</guid>
		<description><![CDATA[しばらくぶりです、更新するのは・・・
体調を崩してて、ネットする元気もありませんでした。回復してきましたので更新します。
前の記事に、$ alsamixerを打つと
$alsamixe
alsamixer: functi [...]]]></description>
			<content:encoded><![CDATA[<p>しばらくぶりです、更新するのは・・・</p>
<p>体調を崩してて、ネットする元気もありませんでした。回復してきましたので更新します。</p>
<p>前の記事に、$ alsamixerを打つと</p>
<blockquote><p>$alsamixe</p>
<p>alsamixer: function snd_mixer_load failed: No such file or directory</p></blockquote>
<p>表示されてました。</p>
<p>ここ最近ちょこちょこ調べてたら、下記のサイトを参考にし直りました。</p>
<p><a href="https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/192382" target="_blank">Bug #192382 in alsa-driver (Ubuntu): “alsamixer broken in hardy &#8211; intel hda”</a></p>
<p>一番下にある投稿をを参考にしました。</p>
<blockquote><p>$sudo apt-get install module-assistant<br />
$sudo m-a update<br />
$sudo m-a prepare<br />
$sudo m-a a-i alsa</p></blockquote>
<p>時間かかるので、しばらく放置して終わったら再起動でOKでした。</p>
<blockquote><p>$alsamixer</p></blockquote>
<p>っ手打つと</p>
<p><a href="http://od.kururu.info/wp-content/uploads/2008/05/alsamixer.png"><img class="alignnone size-thumbnail wp-image-36" title="alsamixer" src="http://od.kururu.info/wp-content/uploads/2008/05/alsamixer-150x150.png" alt="" width="150" height="150" /></a></p>
<p>ちゃんと表示されるようになりました。でも、少し変なのは変なのですがね表示が・・・こればかりは、alsaのドライバーをいじってるし、ちゃんとした修正じゃない、音が出ればなんでもよかったのでこのまま分かるまで放置と。</p>
<p>次にpulseaudioがおかしくなって起動しなくなったのですが、これも調べてたら分かりました。</p>
<p>ちゃんとした直し方じゃないので、自己責任でお願いします。</p>
<blockquote><p>$pulseaudio -D</p></blockquote>
<p>と、打てば起動します。いちいち手打ちでは面倒くさいので、セッションに追加しました。</p>
<p>しばらくはこのままで放置して、HDDを換装するときにちゃんと直します。</p>
<p>来週くらいにHDDを４０Gから１６０G or ２５０Gに換装しようと思ってます。今の状態だと、メインのubuntu8.04とテストのubuntu8.04しかインストールできません。HDD換装したら、テストでlinuxとunixをいろいろインストールして遊びたいと思います。</p>
<p>あとは、Firefox３beta5がrc1か正式版に早くなってほしいです。ブログに画像UPしようと思うとwordpress2.51だとブログに画像がUPできないのです。とりあえずは、Swiftfox３pre3だったかな、これを使ってUPしてます。これもアドオンが少し変なので交互に・・・・</p>
<p>しばらくは、完全に体調が直るまでのんびり更新したいと思います。でも、暇あれば更新するかもです。</p>
]]></content:encoded>
			<wfw:commentRss>http://od.kururu.info/archives/35/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://od.kururu.info/archives/35" />
	</item>
	</channel>
</rss>
