noisybox blog
https://noisybox.net/images/favicon.ico
https://noisybox.net/images/profile_pic_200.png
© 2017 jason plumb / noisybox / infiltration lab.
2009-02-26T06:49:58.000Z
Jason Plumb
jason@noisybox.net
urn:uuid:75392340-704d-463f-9dc0-98b78c24a4bc
Open source WIN
https://noisybox.net/blog/2009/02/open_source_win
2009-02-26T06:49:58.000Z
<p>Another victory for open source. I've been trying to stay fairly cutting edge again at home -- with my <a href="http://debian.org">Debian</a> unstable and pretty up-to-date kernel builds. I'm usually surprised at just how easy things are now...</p>
<p><img src="http://noisybox.net/blog/images/sanyo-katana.png" alt="sanyo phone"></p>
<p>But my crappy little phone stopped automounting for some reason when I plugged it in. I managed to search and find <a href="https://bugs.launchpad.net/ubuntu/+source/linux/+bug/287701">this bug thread</a> which suggested a similar problem and a patch for Nokia phones. A few minutes later I had downloaded the patch, applied it, and then tweaked it to match the manufacturer/product IDs of my silly phone.</p>
<p>It ended up looking something like this:</p>
<pre>UNUSUAL_DEV( 0x0474, 0x0749, 0x0000, 0x0481,
"Sanyo",
"Sanyo Mass Storage",
US_SC_DEVICE, US_PR_DEVICE, NULL,
US_FL_FIX_CAPACITY),
</pre>
<p>One kernel compile and reboot later and it worked like a champ.</p>
<p>Of course, all this begs the question "Why did it happen in the first place?"...which is another topic completely. Having the ability to take ownership and fix the problem to get work done (until the upstream [kernel]) is priceless. You'll never get that same experience with your closed source OS.</p>