<?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/"
	>

<channel>
	<title>logIt &#187; device driver</title>
	<atom:link href="https://lakm.us/logit/tag/device-driver/feed/" rel="self" type="application/rss+xml" />
	<link>https://lakm.us/logit</link>
	<description>Log Around The Clock</description>
	<lastBuildDate>Sat, 06 Jun 2015 14:17:37 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>USB WiFi Stick on Beagleboard xM Using wpa_supplicant</title>
		<link>https://lakm.us/logit/2012/03/usb-wifi-stick-beagleboard-xm-wpa_supplicant/</link>
		<comments>https://lakm.us/logit/2012/03/usb-wifi-stick-beagleboard-xm-wpa_supplicant/#comments</comments>
		<pubDate>Wed, 07 Mar 2012 04:28:48 +0000</pubDate>
		<dc:creator>Arif</dc:creator>
				<category><![CDATA[ARM Linux]]></category>
		<category><![CDATA[General Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[BeagleBoard]]></category>
		<category><![CDATA[device driver]]></category>
		<category><![CDATA[embedded system]]></category>
		<category><![CDATA[USB]]></category>

		<guid isPermaLink="false">http://lakm.us/logit/?p=366</guid>
		<description><![CDATA[One of the most popular USB WiFi sticks in Indonesian market is TP Link which is actually a Ralink wireless adapter (looking at its vendor ID code). Attaching it using wpa_supplicant without explicit driver assignment will return the following error lines ioctl&#91;SIOCSIWENCODEEXT&#93;: Invalid argument ioctl&#91;SIOCSIWENCODEEXT&#93;: Invalid argument Within minutes it will also crash the system [...]]]></description>
				<content:encoded><![CDATA[<p>One of the most popular USB WiFi sticks in Indonesian market is <a href="http://www.tp-link.com/en/products/details/?model=TL-WN321G" title="TL-WN321G" target="_blank">TP Link</a> which is actually a Ralink wireless adapter (looking at its vendor ID code). Attaching it using <code>wpa_supplicant</code> without explicit driver assignment will return the following error lines</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">ioctl<span style="color: #7a0874; font-weight: bold;">&#91;</span>SIOCSIWENCODEEXT<span style="color: #7a0874; font-weight: bold;">&#93;</span>: Invalid argument
ioctl<span style="color: #7a0874; font-weight: bold;">&#91;</span>SIOCSIWENCODEEXT<span style="color: #7a0874; font-weight: bold;">&#93;</span>: Invalid argument</pre></div></div>

<div class="wp-caption aligncenter" style="width: 460px"><img alt="TL-WN321G-01.jpg" src="../../../../images/TL-WN321G-01.jpg" title="TP Link TL-WN321G USB WiFi Stick" width="450" height="270" /><p class="wp-caption-text">TP Link TL-WN321G USB WiFi Stick</p></div>
<p>Within minutes it will also crash the system with messages similar to:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">kernel: <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #000000;">5645.279693</span><span style="color: #7a0874; font-weight: bold;">&#93;</span> SysRq : HELP : loglevel<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">0</span>-<span style="color: #000000;">9</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> reBoot Crash terminate-all-tasks<span style="color: #7a0874; font-weight: bold;">&#40;</span>E<span style="color: #7a0874; font-weight: bold;">&#41;</span> memory-full-oom-kill<span style="color: #7a0874; font-weight: bold;">&#40;</span>F<span style="color: #7a0874; font-weight: bold;">&#41;</span> kill-all-tasks<span style="color: #7a0874; font-weight: bold;">&#40;</span>I<span style="color: #7a0874; font-weight: bold;">&#41;</span> thaw-filesystems<span style="color: #7a0874; font-weight: bold;">&#40;</span>J<span style="color: #7a0874; font-weight: bold;">&#41;</span> saK show-backtrace-all-active-cpus<span style="color: #7a0874; font-weight: bold;">&#40;</span>L<span style="color: #7a0874; font-weight: bold;">&#41;</span> show-memory-usage<span style="color: #7a0874; font-weight: bold;">&#40;</span>M<span style="color: #7a0874; font-weight: bold;">&#41;</span> nice-all-RT-tasks<span style="color: #7a0874; font-weight: bold;">&#40;</span>N<span style="color: #7a0874; font-weight: bold;">&#41;</span> powerOff show-registers<span style="color: #7a0874; font-weight: bold;">&#40;</span>P<span style="color: #7a0874; font-weight: bold;">&#41;</span> show-all-timers<span style="color: #7a0874; font-weight: bold;">&#40;</span>Q<span style="color: #7a0874; font-weight: bold;">&#41;</span> unRaw Sync show-task-states<span style="color: #7a0874; font-weight: bold;">&#40;</span>T<span style="color: #7a0874; font-weight: bold;">&#41;</span> Unmount ETM buffer dump show-blocked- tasks<span style="color: #7a0874; font-weight: bold;">&#40;</span>W<span style="color: #7a0874; font-weight: bold;">&#41;</span> dump-ftrace-buffer<span style="color: #7a0874; font-weight: bold;">&#40;</span>Z<span style="color: #7a0874; font-weight: bold;">&#41;</span></pre></div></div>

<p>The correct way to attach is</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">wpa_supplicant <span style="color: #660033;">-B</span> <span style="color: #660033;">-Dnl80211</span> <span style="color: #660033;">-iwlan0</span> -c<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>wpa_supplicant.conf</pre></div></div>

<p>The config file content is just like what the <a href="https://help.ubuntu.com/community/WifiDocs/Adhoc#Encryption" title="https://help.ubuntu.com/community/WifiDocs/Adhoc#Encryption" target="_blank">community help</a> suggested. The stick with vendor &#038; product ID of <code>148f:2573</code> has been part of the <code>nl80211</code> development at <a href="http://linuxwireless.org/en/developers/Documentation/nl80211" title="http://linuxwireless.org/en/developers/Documentation/nl80211" target="_blank">Linux Wireless</a>.</p>
<p><code>wpa_supplicant</code> version is <code>v0.7.3</code>. Ubuntu version is 11.10 as described further in <a href="./2011/12/ubuntu-on-beagleboard-xm-with-easycap-video-capture-compiling-driver/" title="Ubuntu on Beagleboard xM with Easycap Video Capture (Compiling Driver)" target="_blank">previous post</a>.</p>
]]></content:encoded>
			<wfw:commentRss>https://lakm.us/logit/2012/03/usb-wifi-stick-beagleboard-xm-wpa_supplicant/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install HP P1006 Laser Jet</title>
		<link>https://lakm.us/logit/2009/02/install-hp-p1006-laser-jet/</link>
		<comments>https://lakm.us/logit/2009/02/install-hp-p1006-laser-jet/#comments</comments>
		<pubDate>Tue, 24 Feb 2009 09:36:28 +0000</pubDate>
		<dc:creator>Arif</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[device driver]]></category>
		<category><![CDATA[install-deinstall]]></category>
		<category><![CDATA[make-install]]></category>

		<guid isPermaLink="false">http://localhost/it/?p=37</guid>
		<description><![CDATA[Basically installation is described here, but I download directly: wget http://foo2zjs.rkkda.com/foo2zjs.tar.gz wget http://foo2zjs.rkkda.com/firmware/sihpP1006.tar.gz First, I remove foo2zjs that was installed by default. After (1) make and (2) copy the unpacked HP driver to foo2zjs directory. Do the (3) make install and make install-hotplug. Run cups and the printer will be listed in the usual list [...]]]></description>
				<content:encoded><![CDATA[<p>Basically installation is described <a href="http://musirlor-raya.co.cc/?p=9">here</a>, but I download directly:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>foo2zjs.rkkda.com<span style="color: #000000; font-weight: bold;">/</span>foo2zjs.tar.gz
<span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>foo2zjs.rkkda.com<span style="color: #000000; font-weight: bold;">/</span>firmware<span style="color: #000000; font-weight: bold;">/</span>sihpP1006.tar.gz</pre></div></div>

<p>First, I remove <code>foo2zjs</code> that was installed by default. After (1) <code>make</code> and (2) copy the unpacked HP driver to <code>foo2zjs</code> directory. Do the (3) <code>make install</code> and <code>make install-hotplug</code>.</p>
<p>Run <code>cups</code> and the printer will be listed in the usual list (after a series of regular add new printer).</p>
]]></content:encoded>
			<wfw:commentRss>https://lakm.us/logit/2009/02/install-hp-p1006-laser-jet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
