<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2138364871851589245</id><updated>2024-10-24T09:34:05.663-07:00</updated><category term="tutorial"/><category term="Blog Stuff"/><category term="Java"/><category term="sample"/><title type='text'>WacKy TecHie!!</title><subtitle type='html'>THE Blog for some of the wackiest Techies... or maybe geeks even!!!</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://wackytechie.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2138364871851589245/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://wackytechie.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Rajarshi sharma</name><uri>http://www.blogger.com/profile/12024667021279334268</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhr0Ecl-BXL_dPFOGHHvrpfzmbdiYi_rbi6wORPRsx_XOp6YDpPbIql6l7sCuzUH_MYwy7GrRSmY2a2RbBaXoPGzxvHYjxovpcRw8VCSOtjAp2wGGPAB8nECn6Ki5arSQw/s220/ATgAAAAQM5tiXpFgTsvr4rtDritC8Mn4Kar905XsrSrCBOL-AoWjSOqhVyaX92-H06mW11QrUKzaQItJg0HP3OKQyWD2AJtU9VAX21cdGPX4DLfUjpOGgTsQ5Gaf4g.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>3</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2138364871851589245.post-6249415155150625493</id><published>2012-06-17T14:54:00.001-07:00</published><updated>2012-06-18T11:02:57.892-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Blog Stuff"/><title type='text'>First ever YouTube Blogger Road Show : 16th of June 2012</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
So, I went to this Bloggers&#39; Road Show conducted by Google this Saturday, 16th of June 2012. Reaching there was quite a pain since, even though Google&#39;s premises in balmy B&#39;lore is quite swanky, the same can&#39;t be said about the exact location where the premises be located :). The Bangalore Metro being slothful, slowwww, so slow!, &amp;nbsp;didn&#39;t help the cause too much either. After all the needful security checks, generation of name tag etc, I popped in the room around 20 mins into the seminar :). Apparently, didn&#39;t miss much &#39;cos I seemed to latch onto the conversation right away. Anyways, that was the prologue :) getting on with business now...&lt;br /&gt;
&lt;br /&gt;
In the words of the presenter herself, the road show was going to be all about...&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;color: #444444; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;i&gt;&amp;nbsp;&lt;b&gt;&quot;Want to be a YouTube star? Here&#39;s your chance to do what you love to do,  become a star on YouTube, reach a global audience and even get paid!&quot;&lt;/b&gt;&lt;/i&gt;&lt;/span&gt;&lt;/blockquote&gt;
(Hah! many lonely vloggers would have loved to have the &quot;P&quot; in the last word of the sentence be replaced with &quot;L&quot; :P )&lt;br /&gt;
&lt;br /&gt;
The following were some of the bullet points which one gained from the session:&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;The Indian Demographic of the YouTube &quot;Diaspora&quot; view, on an average of 7-15 videos in a single viewing session.&lt;/li&gt;
&lt;li&gt;Most Indian users (i.e. around 60%) use&amp;nbsp;YouTube&amp;nbsp;for accessing Indian content. (Duh!)&lt;/li&gt;
&lt;li&gt;This is because the recommendation engine for youtube users has been spruced up quite a few notches in the recent past.&lt;/li&gt;
&lt;li&gt;The&amp;nbsp;advertisement generating engine has also been improved it appears and the various types of ads coming into play for YouTube were also discussed.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;The &quot;3 R&quot;s of YouTube were revealed as &quot;Reach. Revenue. Recognition&quot;. On a &quot;Content is King&quot; platform like YouTube, the user gets access to these &#39;3 R&#39;s.&lt;/li&gt;
&lt;li&gt;The current time limit for uploads is going to be revised pretty soon. But the scrutiny for&amp;nbsp;copyrighted&amp;nbsp;items remain the same.&lt;/li&gt;
&lt;li&gt;Apparently, being a YouTube partner is going to help&amp;nbsp;monetizing&amp;nbsp;on one&#39;s original content in YouTube in a better manner than the regular Adsense&amp;nbsp;steam. (I do have my own apprehensions on this. BTW the money generated from being a partner is still going to be tracked and paid with Adsense UI and tools). Revenue breakup will be 55% (YouTube partner) and 45% (YouTube/Google)&lt;/li&gt;
&lt;li&gt;Having one&#39;s own channel is one of the important means towards this end.&lt;/li&gt;
&lt;li&gt;The mechanism for&amp;nbsp;becoming&amp;nbsp;a partner is going to come online pretty soon.&lt;/li&gt;
&lt;li&gt;Having original content which is engaging is very very crucial in this case. Couple of videos were shown to illustrate this. Video blogs of&amp;nbsp;&lt;a href=&quot;http://www.youtube.com/user/gayatrivantillu&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;Gayatri Vantillu&lt;/a&gt;&amp;nbsp;(Houswife/Recipe vlogger) and &lt;a href=&quot;http://www.youtube.com/user/MichellePhan&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;Michelle Phan&lt;/a&gt; (Makeup Artist/vlogger and THE highest earning youtube partner) were shown as examples of people with simple and original content who were making very good amounts of money out of youtube. While on the other hand, &lt;a href=&quot;http://www.youtube.com/user/DrKsongs?feature=watch&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;Dr. K Chaudhury&lt;/a&gt; was quoted as an example of a hugely popular&amp;nbsp;YouTube&amp;nbsp;star who is ineligible for the partnership since his material uses highly copyrighted items (except for the singing which is super original :P lol .. i remember hearing one of his fans saying its easier to tolerate Chinese torture than to endure a round of songs with Dr. KC! :P) . Several very popular bloggers apparently were also quoted as moving to the&amp;nbsp;YouTube medium ever since partnership was announced to them.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;So, its &amp;nbsp;like the medium has given rise to a whole new generation of stars, &quot;The youtube stars&quot; as they are called.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;A thick thick skin for scathing criticism, very important :)(e.g:&amp;nbsp;&lt;i&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&quot;I remain in fray because I look at 10 thousand people who like my performance and not at 10 million people who hate my performance. Assessing me as good or bad, you gifted me your precious time – that is what makes me feel obliged to you.&quot;&lt;/span&gt;&lt;/i&gt; ~ &lt;a href=&quot;http://youoffendmeyouoffendmyfamily.com/dr-k-chaudhry-internet-sensation-or-in-joke/comment-page-1/#comment-39466&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;Dr. KC&lt;/a&gt;&amp;nbsp;at some pointed criticisms in the comments of an American Blog)&lt;/li&gt;
&lt;/ul&gt;
Having heard all the above, one does feel a lot motivated and excited by the&amp;nbsp;possibilities&amp;nbsp;available at ones disposal with such a powerful platform like this. But, then so was the case when blogging was the hottest kid in school, and being a blogger was not going to be only about being cool but also apparently a very economically fulfilling enterprise. Hmmm, then we see all kinds of waylaid, defunct and sporadic blogs by the thousands (or millions is it? and even I may be counted among them :P ) which are neither cool nor making money nor are they even records of our times in many cases. Actually, the fact of the matter is that, no matter what kind of platforms exist and how powerful or easy to use they become, the only way one can become successful in any of these is by being very original, very creative and by overcoming one&#39;s personal inertia (toughest of all).&lt;br /&gt;
As I end on that very topic-disconnected and mood-swing-y&amp;nbsp;note, I leave you with some pictures of the event and its presentation. &#39;til l8r...&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAjUp8FvMbuWry7qyWnNPBiZ9zm2aIsiSDV177uanut9-VFjFdMwl0QDIHAMUTQUsxcSU3vRAqtwFhGhhGaNISrKWhWfEXluCw0pk0cTLbFSFMqah78sPDmxBngtWl7OaxbKzr55UfKSK5/s1600/DSC04223-001.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;YouTube Blogger&#39;s Meet and RoadShow Google Bangalore&quot; border=&quot;0&quot; height=&quot;286&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAjUp8FvMbuWry7qyWnNPBiZ9zm2aIsiSDV177uanut9-VFjFdMwl0QDIHAMUTQUsxcSU3vRAqtwFhGhhGaNISrKWhWfEXluCw0pk0cTLbFSFMqah78sPDmxBngtWl7OaxbKzr55UfKSK5/s400/DSC04223-001.JPG&quot; title=&quot;YouTube Blogger&#39;s Meet and RoadShow Google Bangalore&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgb6VFWTt-NkWx_Fv3ZssqSrtGyDiVE6TP0bAlVIAiJpvc5A3OjJivzT-TOSUuUaEYkPhpSzh5HOV0uWPnKN2OC6z21K1I2LoiSNkyPQSDrDn2IdopgogRnSH0MO1c4X0G9elmi_0CwyW3T/s1600/DSC04226-001.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;YouTube Blogger&#39;s Meet and RoadShow Google Bangalore&quot; border=&quot;0&quot; height=&quot;266&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgb6VFWTt-NkWx_Fv3ZssqSrtGyDiVE6TP0bAlVIAiJpvc5A3OjJivzT-TOSUuUaEYkPhpSzh5HOV0uWPnKN2OC6z21K1I2LoiSNkyPQSDrDn2IdopgogRnSH0MO1c4X0G9elmi_0CwyW3T/s400/DSC04226-001.JPG&quot; title=&quot;YouTube Blogger&#39;s Meet and RoadShow Google Bangalore&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikMluRovGH9A_OcqO3j3dZh_5lox6nzf_-lxY2UAFBVEvE4P87c9YBZ2Wd1ONWtSFNazXyW3_u1nHEaQwZd1JBayfxcbqSWp9_IzZ-HkY7LvkkF_bR1D6ol3db-5kVrAaZxwKhiBwnmdE7/s1600/DSC04229-001.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;YouTube Blogger&#39;s Meet and RoadShow Google Bangalore&quot; border=&quot;0&quot; height=&quot;285&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikMluRovGH9A_OcqO3j3dZh_5lox6nzf_-lxY2UAFBVEvE4P87c9YBZ2Wd1ONWtSFNazXyW3_u1nHEaQwZd1JBayfxcbqSWp9_IzZ-HkY7LvkkF_bR1D6ol3db-5kVrAaZxwKhiBwnmdE7/s400/DSC04229-001.JPG&quot; title=&quot;YouTube Blogger&#39;s Meet and RoadShow Google Bangalore&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlxm4CU5h-zpgAm0d3ABLy-EFPDYkr1r3_OxUihv-41KRVs9HnYuPDmnGw2CAAcXtKr1spjTJRulzqvyFTqluACb0zPPC9BKAAibkaRGUmglxN_83Ft-1w3yZsvxInvCUF7datmPbPCNdg/s1600/DSC04227-001.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;YouTube Blogger&#39;s Meet and RoadShow Google Bangalore&quot; border=&quot;0&quot; height=&quot;285&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlxm4CU5h-zpgAm0d3ABLy-EFPDYkr1r3_OxUihv-41KRVs9HnYuPDmnGw2CAAcXtKr1spjTJRulzqvyFTqluACb0zPPC9BKAAibkaRGUmglxN_83Ft-1w3yZsvxInvCUF7datmPbPCNdg/s400/DSC04227-001.JPG&quot; title=&quot;YouTube Blogger&#39;s Meet and RoadShow Google Bangalore&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUhCDjIBU0KVOBUPbBMZDLeVgDgqhg8ZVNDxTMEt6BhfYCnswgCFHS_zEfWN8LlgKo8e4vdQt_yGbeospyyEp69pr4cOWlzMrr0Uj0TTzGaKuFeHx3YCxnfU71AfpaKSR6tYO0eqW4p0js/s1600/DSC04228-001.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;YouTube Blogger&#39;s Meet and RoadShow Google Bangalore&quot; border=&quot;0&quot; height=&quot;285&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUhCDjIBU0KVOBUPbBMZDLeVgDgqhg8ZVNDxTMEt6BhfYCnswgCFHS_zEfWN8LlgKo8e4vdQt_yGbeospyyEp69pr4cOWlzMrr0Uj0TTzGaKuFeHx3YCxnfU71AfpaKSR6tYO0eqW4p0js/s400/DSC04228-001.JPG&quot; title=&quot;YouTube Blogger&#39;s Meet and RoadShow Google Bangalore&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wackytechie.blogspot.com/feeds/6249415155150625493/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wackytechie.blogspot.com/2012/06/first-ever-youtube-blogger-road-show.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2138364871851589245/posts/default/6249415155150625493'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2138364871851589245/posts/default/6249415155150625493'/><link rel='alternate' type='text/html' href='http://wackytechie.blogspot.com/2012/06/first-ever-youtube-blogger-road-show.html' title='First ever YouTube Blogger Road Show : 16th of June 2012'/><author><name>Rajarshi sharma</name><uri>http://www.blogger.com/profile/12024667021279334268</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhr0Ecl-BXL_dPFOGHHvrpfzmbdiYi_rbi6wORPRsx_XOp6YDpPbIql6l7sCuzUH_MYwy7GrRSmY2a2RbBaXoPGzxvHYjxovpcRw8VCSOtjAp2wGGPAB8nECn6Ki5arSQw/s220/ATgAAAAQM5tiXpFgTsvr4rtDritC8Mn4Kar905XsrSrCBOL-AoWjSOqhVyaX92-H06mW11QrUKzaQItJg0HP3OKQyWD2AJtU9VAX21cdGPX4DLfUjpOGgTsQ5Gaf4g.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAjUp8FvMbuWry7qyWnNPBiZ9zm2aIsiSDV177uanut9-VFjFdMwl0QDIHAMUTQUsxcSU3vRAqtwFhGhhGaNISrKWhWfEXluCw0pk0cTLbFSFMqah78sPDmxBngtWl7OaxbKzr55UfKSK5/s72-c/DSC04223-001.JPG" height="72" width="72"/><thr:total>0</thr:total><georss:featurename>Bangalore, Karnataka, India</georss:featurename><georss:point>12.9715987 77.5945627</georss:point><georss:box>12.724026199999999 77.2787057 13.2191712 77.910419699999991</georss:box></entry><entry><id>tag:blogger.com,1999:blog-2138364871851589245.post-3443813093409475472</id><published>2011-10-02T14:03:00.000-07:00</published><updated>2011-10-02T14:20:01.679-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><category scheme="http://www.blogger.com/atom/ns#" term="sample"/><category scheme="http://www.blogger.com/atom/ns#" term="tutorial"/><title type='text'>Sample Code for Deep and Shallow Cloning ~ Java</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Was just&amp;nbsp;going&amp;nbsp;over deep and shallow cloning a few days back.. thought of retaining the doodling bit of code as a memento .. its&amp;nbsp;unnecessarily&amp;nbsp;lengthy ... could&#39;ve overriden the tostring method to reduce the length of the system.out.printlns .. but then the sample is just for my&amp;nbsp;reference&amp;nbsp;so dint go through the trouble ... use at ur own fancy and convenience .... anyways, the&amp;nbsp;following&amp;nbsp;is the code:::&lt;br /&gt;
&lt;blockquote&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;public class TestCloning {&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;public static void main(String[] somestuff) {&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;System.out.println(&quot;&amp;lt;&amp;lt;---------Trying out shallow cloning------&amp;gt;&amp;gt;&amp;gt;&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;A a = new A();&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;A aClone = (A) a.clone();&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;System.out.println(&quot;Original Object items:\n BUilder: &quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;				&lt;/span&gt;+ a.getStrBuilder() + &quot;\n BUffer: &quot; + a.getStrBuffer()&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;				&lt;/span&gt;+ &quot;\n Printing the clone properties --&amp;gt;\n BUilder: &quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;				&lt;/span&gt;+ aClone.getStrBuilder() + &quot;\n BUffer: &quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;				&lt;/span&gt;+ aClone.getStrBuffer());&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;System.out&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;				&lt;/span&gt;.println(&quot;\n Modifying the builder of original object to \&#39;GUilder\&#39;.....\n&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;a.setStrBuilder(&quot;GUilder&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;System.out&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;				&lt;/span&gt;.println(&quot;after modfiication Original Object items:\n BUilder: &quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;						&lt;/span&gt;+ a.getStrBuilder()&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;						&lt;/span&gt;+ &quot;\n BUffer: &quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;						&lt;/span&gt;+ a.getStrBuffer()&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;						&lt;/span&gt;+ &quot;\n Printing the clone properties --&amp;gt;\n BUilder: &quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;						&lt;/span&gt;+ aClone.getStrBuilder()&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;						&lt;/span&gt;+ &quot;\n BUffer: &quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;						&lt;/span&gt;+ aClone.getStrBuffer());&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;System.out.println(&quot;&amp;lt;&amp;lt;--------End of shallow cloning: ----&amp;gt;&amp;gt;\n&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;System.out.println(&quot;\n&amp;lt;&amp;lt;-----------Trying out deep cloning------&amp;gt;&amp;gt;&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;B b = new B();&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;B bClone = (B) b.clone();&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;System.out.println(&quot;Original Object items:\n BUilder: &quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;				&lt;/span&gt;+ b.getStrBuilder() + &quot;\n BUffer: &quot; + b.getStrBuffer()&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;				&lt;/span&gt;+ &quot;\n Printing the clone properties --&amp;gt;\n BUilder: &quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;				&lt;/span&gt;+ bClone.getStrBuilder() + &quot;\n BUffer: &quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;				&lt;/span&gt;+ bClone.getStrBuffer());&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;System.out&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;				&lt;/span&gt;.println(&quot;\n Modifying the builder of original object to \&#39;GUilder\&#39;.....\n&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;b.setStrBuilder(&quot;GUilder&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;System.out&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;				&lt;/span&gt;.println(&quot;after modfiication Original Object items:\n BUilder: &quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;						&lt;/span&gt;+ b.getStrBuilder()&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;						&lt;/span&gt;+ &quot;\n BUffer: &quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;						&lt;/span&gt;+ b.getStrBuffer()&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;						&lt;/span&gt;+ &quot;\n Printing the clone properties --&amp;gt;\n BUilder: &quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;						&lt;/span&gt;+ bClone.getStrBuilder()&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;						&lt;/span&gt;+ &quot;\n BUffer: &quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;						&lt;/span&gt;+ bClone.getStrBuffer());&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;System.out.println(&quot;&amp;lt;&amp;lt;--------------End of Deep cloning: ----&amp;gt;&amp;gt;&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;class A implements Cloneable {&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;private StringBuilder strBuilder = null;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;private StringBuffer strBuffer = null;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;A() {&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;strBuilder = new StringBuilder(&quot;Java Builder&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;strBuffer = new StringBuffer(&quot;Java Buffer&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;@Override&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;public A clone() {&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;try {&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;			&lt;/span&gt;return (A) super.clone();&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;} catch (CloneNotSupportedException e) {&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;			&lt;/span&gt;// TODO Auto-generated catch block&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;			&lt;/span&gt;return null;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;public StringBuilder getStrBuilder() {&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;return strBuilder;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;public void setStrBuilder(String str) {&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;this.strBuilder = strBuilder.replace(0, strBuilder.length(), str);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;public StringBuffer getStrBuffer() {&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;return strBuffer;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;class B implements Cloneable {&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;private StringBuilder strBuilder = new StringBuilder(&quot;Java Builder&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;private StringBuffer strBuffer = new StringBuffer(&quot;Java Buffer&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;private B(String a, String b) {&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;this.strBuilder = new StringBuilder(a);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;this.strBuffer = new StringBuffer(b);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;public B() {&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;// TODO Auto-generated constructor stub&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;@Override&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;public B clone() {&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;return new B(&quot;Java Builder&quot;, &quot;Java Buffer&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;public StringBuilder getStrBuilder() {&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;return strBuilder;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;public void setStrBuilder(String str) {&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;this.strBuilder = strBuilder.replace(0, strBuilder.length(), str);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;public StringBuffer getStrBuffer() {&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;return strBuffer;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;}&lt;/span&gt;&lt;/blockquote&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://wackytechie.blogspot.com/feeds/3443813093409475472/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wackytechie.blogspot.com/2011/10/sample-code-for-deep-and-shallow.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2138364871851589245/posts/default/3443813093409475472'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2138364871851589245/posts/default/3443813093409475472'/><link rel='alternate' type='text/html' href='http://wackytechie.blogspot.com/2011/10/sample-code-for-deep-and-shallow.html' title='Sample Code for Deep and Shallow Cloning ~ Java'/><author><name>Rajarshi sharma</name><uri>http://www.blogger.com/profile/12024667021279334268</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhr0Ecl-BXL_dPFOGHHvrpfzmbdiYi_rbi6wORPRsx_XOp6YDpPbIql6l7sCuzUH_MYwy7GrRSmY2a2RbBaXoPGzxvHYjxovpcRw8VCSOtjAp2wGGPAB8nECn6Ki5arSQw/s220/ATgAAAAQM5tiXpFgTsvr4rtDritC8Mn4Kar905XsrSrCBOL-AoWjSOqhVyaX92-H06mW11QrUKzaQItJg0HP3OKQyWD2AJtU9VAX21cdGPX4DLfUjpOGgTsQ5Gaf4g.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2138364871851589245.post-8044302462092179505</id><published>2010-01-09T23:48:00.000-08:00</published><updated>2011-02-18T11:04:02.301-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="tutorial"/><title type='text'>Configure 5.1 Channel Sound on Ubuntu-Karmic Koala (for dummies like me!)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div align=&quot;CENTER&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;UPDATE: The following tutorial also helps set up 5.1 channel audio in Ubuntu Maverick Meerkat as well.&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;u&gt;&lt;b&gt;Intro&lt;/b&gt;&lt;/u&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;I recently upgraded to the new Karmic Koala after  nearly a year of using Intrepid Ibex (with which I had become quite comfy and so I hadn´t upgraded to Jaunty).  &lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;A common problem with most of the earlier Ubuntu versions (previous to Karmic Koala) was the setting up of the sound systems with channels more than 2 (or 2.1 for that matter).  This was easily solved by adding a couple of lines in the daemon file for pulseaudio and the alsa-base configuration file for ALSA. With the advent of  Karmic Koala, this problem was to be fixed with all the sound profiles etc. which would provide an ¨&lt;i&gt;&lt;b&gt;easier-than-windows&lt;/b&gt;&lt;/i&gt;¨ approach to setting up your sound.&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;Hmmm, seems great to read, but it lasted only till I heard/read this stuff, ´cause when I setup Karmic Koala, and changed the sound profile to my setup of 5.1 channel sound, Bam!... still no sound from the rear, center and LFE speakers. So, yet again with this version too, I rolled up my sleeves and set out to...  &lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;¨&lt;i&gt;&lt;b&gt;Configure 5.1 Channel Speaker system on Karmic Koala&lt;/b&gt;&lt;/i&gt;¨ ......&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;i&gt;&lt;b&gt;Though the article looks long, the steps are really short cos most of the text is for explaining the steps to myself and  keep me from forgetting them ;) &lt;/b&gt;&lt;/i&gt;&lt;/span&gt; &lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;u&gt;&lt;b&gt;Setup 5.1 channel sound in 5.1 steps (a.k.a. cut to the chase, enough with the intro babble!)&lt;/b&gt;&lt;/u&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;1) &lt;b&gt;Take a backup of the files daemon.conf and alsa-base.conf.&lt;/b&gt; (&lt;i&gt;In case you mess something up, cos not everyoneś as smart as me..&lt;/i&gt; Most are more!  &lt;span style=&quot;font-style: normal;&quot;&gt;:P&lt;/span&gt;)&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;text-decoration: none;&quot;&gt;   &lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;blockquote&gt;Daemon.conf is located in the path ¨/etc/pulse/¨&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;alsa-base.conf is located in ¨/etc/modprobe.d/¨&lt;/div&gt;&lt;/blockquote&gt;&lt;br /&gt;
&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;text-decoration: none;&quot;&gt; &lt;span style=&quot;font-weight: normal;&quot;&gt;And yeah, before I move onto the next steps, make sure that you h&lt;/span&gt;&lt;/span&gt;ave alsamixer installed in the system&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;(gtk+ version was found to be more convenient, u can get it from the software center or synaptic or add/remove programs)&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;2) &lt;b&gt;Open a terminal window and type:&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;text-decoration: none;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;blockquote&gt;sudo gedit /etc/pulse/daemon.conf&lt;span style=&quot;text-decoration: none;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;
&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;This will open the pulse audio file for editing after you provide your password&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;Look for the line&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;blockquote&gt;;default-sample-channels=2&lt;/blockquote&gt;&lt;br /&gt;
&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;Remove the &lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;; &lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;(this is to uncomment the line) and put the number of speakers which you have after the equals sign and save the file.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;In my case, the line looked something like this:&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;blockquote&gt;&lt;span style=&quot;font-size: small;&quot;&gt;default-sample-channels=6&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;
&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;3) &lt;b&gt;Find the sound card which u have. For that, in the terminal window&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;blockquote&gt;cat /proc/asound/card0/codec#* | grep Codec&lt;/blockquote&gt;&lt;br /&gt;
&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;For me it gave&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;blockquote&gt;Codec: Realtek ALC883&lt;/blockquote&gt;&lt;br /&gt;
&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;4) In the terminal window, type the follwong command:&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;text-decoration: none;&quot;&gt;   &lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;blockquote&gt;sudo gedit /etc/modprobe.d/alsa-base.conf&lt;span style=&quot;text-decoration: none;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;
&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;This will open the ALSA configuration file for editing after you provide your password.&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;Go to the end of the file and add the line&lt;/div&gt;&lt;div style=&quot;font-weight: normal; text-decoration: none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;blockquote&gt;options snd-hda-intel model=3stack-6ch&lt;/blockquote&gt;&lt;br /&gt;
&lt;div style=&quot;font-weight: normal; text-decoration: none;&quot;&gt;and save the file.  &lt;/div&gt;&lt;div style=&quot;font-weight: normal; text-decoration: none;&quot;&gt;The value entered after the word &lt;b&gt;model&lt;/b&gt; is specific to the configuration which I have i.e Realtek ALC883 with 3 jack setup at the back of the cabinet. If you have a different model or configuration of jacks then you might want to look in the list given at the end of the post for whatever value suits your model.&lt;/div&gt;&lt;div style=&quot;font-weight: normal; text-decoration: none;&quot;&gt;5) Restart your computer.&lt;/div&gt;&lt;div style=&quot;font-weight: normal; text-decoration: none;&quot;&gt;5.1) After restart, if you find the sound is still not coming from all your speakers, then open  the alsa mixer from under applications--&amp;gt; Sound &amp;amp; Video --&amp;gt;ALSA Mixer, select the  6ch in the channel mode section and make sure none of the output volume controls are  muted or turned very low. Type the following command in the terminal command line:&lt;/div&gt;&lt;ol start=&quot;5&quot;&gt;&lt;ol&gt;&lt;div style=&quot;font-weight: normal; text-decoration: none;&quot;&gt;&lt;/div&gt;&lt;blockquote&gt;speaker-test   -Dplug:surround51 -c6 -l1 -twav   &lt;/blockquote&gt;&lt;/ol&gt;&lt;/ol&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;u&gt;&lt;b&gt;Conclusion:&lt;/b&gt;&lt;/u&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;Well,  your  5.1 channel sound should be up and running by now. If it isn´t, then, theres some other problem with your setup and you might consider giving it a serious diagnostic check up.&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;As, for the Karmic Koala Ubuntu, it promises a lot of things and in most cases ..it does deliver ...but having labor like this every time I setup my system is downright irritating ..hope u folks at Canonical are listening and righting these wrongs.&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;I have also made a video tutorial of the steps so as to better illustrate the entire operation.&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;&lt;u&gt;&lt;b&gt;Video tutorial&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;object height=&quot;405&quot; width=&quot;500&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/PwFwBClMSsY&amp;amp;hl=en_US&amp;amp;fs=1&amp;amp;rel=0&amp;amp;color1=0x006699&amp;amp;color2=0x54abd6&amp;amp;hd=1&amp;amp;border=1&quot;&gt;&lt;/p&gt;&lt;p&gt;&lt;param name=&quot;allowFullScreen&quot; value=&quot;true&quot;&gt;&lt;/p&gt;&lt;p&gt;&lt;param name=&quot;allowscriptaccess&quot; value=&quot;always&quot;&gt;&lt;/p&gt;&lt;p&gt;&lt;embed src=&quot;http://www.youtube.com/v/PwFwBClMSsY&amp;amp;hl=en_US&amp;amp;fs=1&amp;amp;rel=0&amp;amp;color1=0x006699&amp;amp;color2=0x54abd6&amp;amp;hd=1&amp;amp;border=1&quot; type=&quot;application/x-shockwave-flash&quot; allowscriptaccess=&quot;always&quot; allowfullscreen=&quot;true&quot; width=&quot;500&quot; height=&quot;405&quot;&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;u&gt;&lt;b&gt;List of soundcard model/settings&lt;/b&gt;&lt;/u&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm; text-decoration: none;&quot;&gt;&lt;b&gt;Soundcard&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;--------------&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;Model name   Description&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;----------   -----------&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm; text-decoration: none;&quot;&gt;&lt;b&gt;ALC880&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;3stack    3-jack in back and a headphone out&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;3stack-digout   3-jack in back, a HP out and a SPDIF out&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;5stack    5-jack in back, 2-jack in front&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;5stack-digout  5-jack in back, 2-jack in front, a SPDIF out&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;6stack   6-jack in back, 2-jack in front&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;6stack-digout   6-jack with a SPDIF out&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;w810    3-jack&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;z71v    3-jack (HP shared SPDIF)&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;asus    3-jack (ASUS Mobo)&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;asus-w1v   ASUS W1V&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;asus-dig   ASUS with SPDIF out&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;asus-dig2   ASUS with SPDIF out (using GPIO2)&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;uniwill   3-jack&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;fujitsu    Fujitsu Laptops (Pi1536)&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;F1734    2-jack&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;lg    LG laptop (m1 express dual)&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;lg-lw    LG LW20/LW25 laptop&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;tcl    TCL S700&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;clevo    Clevo laptops (m520G, m665n)&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;test    for testing/debugging purpose, almost all controls can be&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;adjusted. Appearing only when compiled with&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;$CONFIG_SND_DEBUG=y&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;auto    auto-config reading BIOS (default)&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm; text-decoration: none;&quot;&gt;&lt;b&gt;ALC260&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;hp    HP machines&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;hp-3013   HP machines (3013-variant)&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;fujitsu    Fujitsu S7020&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;acer    Acer TravelMate&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;will    Will laptops (PB V7900)&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;replacer   Replacer 672V&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;basic    fixed pin assignment (old default model)&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;auto    auto-config reading BIOS (default)&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm; text-decoration: none;&quot;&gt;&lt;b&gt;ALC262&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;fujitsu    Fujitsu Laptop&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;hp-bpc   HP xw4400/6400/8400/9400 laptops&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;hp-bpc-d7000   HP BPC D7000&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;benq    Benq ED8&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;benq-t31  Benq T31&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;hippo    Hippo (ATI) with jack detection, Sony UX-90s&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;hippo_1   Hippo (Benq) with jack detection&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;sony-assamd   Sony ASSAMD&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;basic    fixed pin assignment w/o SPDIF&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;auto    auto-config reading BIOS (default)&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm; text-decoration: none;&quot;&gt;&lt;b&gt;ALC268&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;3stack    3-stack model&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;toshiba   Toshiba A205&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;acer    Acer laptops&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;auto    auto-config reading BIOS (default)&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm; text-decoration: none;&quot;&gt;&lt;b&gt;ALC662&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;3stack-dig     3-stack (2-channel) with SPDIF&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;3stack-6ch   3-stack (6-channel)&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;3stack-6ch-dig  3-stack (6-channel) with SPDIF&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;6stack-dig   6-stack with SPDIF&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;lenovo-101e   Lenovo laptop&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;auto    auto-config reading BIOS (default)&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm; text-decoration: none;&quot;&gt;&lt;b&gt;ALC882/885&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;3stack-dig   3-jack with SPDIF I/O&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;6stack-dig   6-jack digital with SPDIF I/O&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;arima    Arima W820Di1&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;targa    Targa T8, MSI-1049 T8&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;asus-a7j   ASUS A7J&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;asus-a7m   ASUS A7M&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;macpro   MacPro support&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;mbp3    Macbook Pro rev3&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;imac24   iMac 24&#39;&#39; with jack detection&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;w2jc    ASUS W2JC&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;auto    auto-config reading BIOS (default)&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm; text-decoration: none;&quot;&gt;&lt;b&gt;ALC883/888&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;3stack-dig   3-jack with SPDIF I/O&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;6stack-dig   6-jack digital with SPDIF I/O&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;3stack-6ch   3-jack 6-channel&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;3stack-6ch-dig  3-jack 6-channel with SPDIF I/O&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;6stack-dig-demo  6-jack digital for Intel demo board&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;acer    Acer laptops (Travelmate 3012WTMi, Aspire 5600, etc)&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;acer-aspire   Acer Aspire 9810&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;medion   Medion Laptops&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;medion-md2   Medion MD2&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;targa-dig   Targa/MSI&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;targa-2ch-dig       Targs/MSI with 2-channel&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;laptop-eapd   3-jack with SPDIF I/O and EAPD (Clevo M540JE, M550JE)&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;lenovo-101e   Lenovo 101E&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;lenovo-nb0763  Lenovo NB0763&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;lenovo-ms7195-dig  Lenovo MS7195&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;haier-w66   Haier W66&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;6stack-hp   HP machines with 6stack (Nettle boards)&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;3stack-hp   HP machines with 3stack (Lucknow, Samba boards)&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;auto    auto-config reading BIOS (default)&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm; text-decoration: none;&quot;&gt;&lt;b&gt;ALC861/660&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;3stack    3-jack&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;3stack-dig   3-jack with SPDIF I/O&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;6stack-dig   6-jack with SPDIF I/O&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;3stack-660   3-jack (for ALC660)&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;uniwill-m31   Uniwill M31 laptop&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;toshiba   Toshiba laptop support&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;asus    Asus laptop support&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;asus-laptop   ASUS F2/F3 laptops&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;auto    auto-config reading BIOS (default)&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm; text-decoration: none;&quot;&gt;&lt;b&gt;ALC861VD/660VD&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;3stack    3-jack&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;3stack-dig   3-jack with SPDIF OUT&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;6stack-dig   6-jack with SPDIF OUT&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;3stack-660   3-jack (for ALC660VD)&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;3stack-660-digout  3-jack with SPDIF OUT (for ALC660VD)&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;lenovo   Lenovo 3000 C200&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;dallas    Dallas laptops&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;hp    HP TX1000&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;auto    auto-config reading BIOS (default)&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm; text-decoration: none;&quot;&gt;&lt;b&gt;CMI9880&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;minimal   3-jack in back&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;min_fp   3-jack in back, 2-jack in front&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;full    6-jack in back, 2-jack in front&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;full_dig   6-jack in back, 2-jack in front, SPDIF I/O&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;allout    5-jack in back, 2-jack in front, SPDIF out&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;auto    auto-config reading BIOS (default)&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm; text-decoration: none;&quot;&gt;&lt;b&gt;AD1882&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;3stack    3-stack mode (default)&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;6stack    6-stack mode&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm; text-decoration: none;&quot;&gt;&lt;b&gt;AD1884&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;N/A&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm; text-decoration: none;&quot;&gt;&lt;b&gt;AD1981&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;basic    3-jack (default)&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;hp    HP nx6320&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;thinkpad   Lenovo Thinkpad T60/X60/Z60&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;toshiba   Toshiba U205&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm; text-decoration: none;&quot;&gt;&lt;b&gt;AD1983&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;N/A&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm; text-decoration: none;&quot;&gt;&lt;b&gt;AD1984&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;basic   default configuration&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;thinkpad   Lenovo Thinkpad T61/X61&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm; text-decoration: none;&quot;&gt;&lt;b&gt;AD1986A&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;6stack    6-jack, separate surrounds (default)&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;3stack    3-stack, shared surrounds&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;laptop    2-channel only (FSC V2060, Samsung M50)&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;laptop-eapd   2-channel with EAPD (Samsung R65, ASUS A6J)&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;laptop-automute  2-channel with EAPD and HP-automute (Lenovo N100)&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;ultra    2-channel with EAPD (Samsung Ultra tablet PC)&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm; text-decoration: none;&quot;&gt;&lt;b&gt;AD1988&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;6stack    6-jack&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;6stack-dig   ditto with SPDIF&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;3stack    3-jack&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;3stack-dig   ditto with SPDIF&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;laptop    3-jack with hp-jack automute&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;laptop-dig   ditto with SPDIF&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;auto    auto-config reading BIOS (default)&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm; text-decoration: none;&quot;&gt;&lt;b&gt;Conexant 5045&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;laptop    Laptop config&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;test    for testing/debugging purpose, almost all controls&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;can be adjusted. Appearing only when compiled with&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;$CONFIG_SND_DEBUG=y&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm; text-decoration: none;&quot;&gt;&lt;b&gt;Conexant 5047&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;laptop    Basic Laptop config&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;laptop-hp   Laptop config for some HP models (subdevice 30A5)&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;laptop-eapd   Laptop config with EAPD support&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;test    for testing/debugging purpose, almost all controls&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;can be adjusted. Appearing only when compiled with&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;$CONFIG_SND_DEBUG=y&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm; text-decoration: none;&quot;&gt;&lt;b&gt;STAC9200&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;ref    Reference board&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;dell-d21   Dell (unknown)&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;dell-d22   Dell (unknown)&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;dell-d23   Dell (unknown)&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;dell-m21   Dell Inspiron 630m, Dell Inspiron 640m&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;dell-m22   Dell Latitude D620, Dell Latitude D820&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;dell-m23   Dell XPS M1710, Dell Precision M90&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;dell-m24   Dell Latitude 120L&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;dell-m25   Dell Inspiron E1505n&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;dell-m26   Dell Inspiron 1501&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;dell-m27   Dell Inspiron E1705/9400&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm; text-decoration: none;&quot;&gt;&lt;b&gt;STAC9205/9254&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;ref    Reference board&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;dell-m42   Dell (unknown)&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;dell-m43   Dell Precision&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;dell-m44   Dell Inspiron&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm; text-decoration: none;&quot;&gt;&lt;b&gt;STAC9220/9221&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;ref    Reference board&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;3stack    D945 3stack&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;5stack    D945 5stack + SPDIF&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;intel-mac-v1   Intel Mac Type 1&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;intel-mac-v2   Intel Mac Type 2&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;intel-mac-v3   Intel Mac Type 3&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;intel-mac-v4   Intel Mac Type 4&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;intel-mac-v5   Intel Mac Type 5&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;macmini   Intel Mac Mini (equivalent with type 3)&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;macbook Intel  Mac Book (eq. type 5)&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;macbook-pro-v1  Intel Mac Book Pro 1st generation (eq. type 3)&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;macbook-pro   Intel Mac Book Pro 2nd generation (eq. type 3)&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;imac-intel   Intel iMac (eq. type 2)&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;imac-intel-20   Intel iMac (newer version) (eq. type 3)&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;dell-d81   Dell (unknown)&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;dell-d82   Dell (unknown)&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;dell-m81   Dell (unknown)&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;dell-m82   Dell XPS M1210&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm; text-decoration: none;&quot;&gt;&lt;b&gt;STAC9202/9250/9251&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;ref    Reference board, base config&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;m2-2    Some Gateway MX series laptops&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;m6    Some Gateway NX series laptops&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;pa6    Gateway NX860 series&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm; text-decoration: none;&quot;&gt;&lt;b&gt;STAC9227/9228/9229/927x&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;ref    Reference board&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;3stack    D965 3stack&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;5stack    D965 5stack + SPDIF&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;dell-3stack   Dell Dimension E520&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm; text-decoration: none;&quot;&gt;&lt;b&gt;STAC9872&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;vaio    Setup for VAIO FE550G/SZ110&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;vaio-ar   Setup for VAIO AR&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wackytechie.blogspot.com/feeds/8044302462092179505/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wackytechie.blogspot.com/2010/01/configure-51-channel-sound-on-ubuntu.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2138364871851589245/posts/default/8044302462092179505'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2138364871851589245/posts/default/8044302462092179505'/><link rel='alternate' type='text/html' href='http://wackytechie.blogspot.com/2010/01/configure-51-channel-sound-on-ubuntu.html' title='Configure 5.1 Channel Sound on Ubuntu-Karmic Koala (for dummies like me!)'/><author><name>Rajarshi sharma</name><uri>http://www.blogger.com/profile/12024667021279334268</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhr0Ecl-BXL_dPFOGHHvrpfzmbdiYi_rbi6wORPRsx_XOp6YDpPbIql6l7sCuzUH_MYwy7GrRSmY2a2RbBaXoPGzxvHYjxovpcRw8VCSOtjAp2wGGPAB8nECn6Ki5arSQw/s220/ATgAAAAQM5tiXpFgTsvr4rtDritC8Mn4Kar905XsrSrCBOL-AoWjSOqhVyaX92-H06mW11QrUKzaQItJg0HP3OKQyWD2AJtU9VAX21cdGPX4DLfUjpOGgTsQ5Gaf4g.jpg'/></author><thr:total>3</thr:total></entry></feed>