<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Hacks on Silicone&#39;s web</title>
		<link>https://silicone.homelinux.org/categories/hacks/</link>
		<description>Recent content in Hacks on Silicone&#39;s web</description>
		<generator>Hugo</generator>
		<language>fr</language>
		
		
		
		
			<lastBuildDate>Sun, 27 Nov 2011 23:02:12 +0100</lastBuildDate>
		
			<atom:link href="https://silicone.homelinux.org/categories/hacks/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Console série sur liseuse Samsung E60</title>
				<link>https://silicone.homelinux.org/2011/03/22/console-serie-sur-liseuse-samsung-e60/</link>
				<pubDate>Tue, 22 Mar 2011 16:36:25 +0100</pubDate>
				<guid>https://silicone.homelinux.org/2011/03/22/console-serie-sur-liseuse-samsung-e60/</guid>
				<description>&lt;p&gt;Les bons plans Samsung de janvier avait déjà fait le tour du web, et je n’en reparlerais pas (sauf pour dire que j’en ai profiter pour acquérir une liseuse Samsung E60).&lt;/p&gt;&#xA;&lt;p&gt;Une communauté s’est formée autour d’un forum (&lt;a href=&#34;http://forum.hardware.fr/hfr/gsmgpspda/tablet/unique-samsung-ebook-sujet_22344_1.htm&#34;&gt;e60 sur hardware.fr&lt;/a&gt;) et d’un espace google code (&lt;a href=&#34;http://code.google.com/p/e60-open/&#34;&gt;e60-open&lt;/a&gt;).&lt;/p&gt;&#xA;&lt;p&gt;On y trouve pas mal d’infos et en particulier la &lt;a href=&#34;http://code.google.com/p/e60-open/wiki/SerialConsole&#34; hreflang=&#34;en&#34;&gt;console série&lt;/a&gt;. De mon coté je dispose d’un adaptateur USB vers série en LVTTL 3.3V (à base de FTDI FT2232C) donc j’ai opté pour la connexion sur R232 et R233. Or RDX (R232) est déjà connecté au circuit MAX232 qui converti les niveau LVTTL vers les niveaux série, et apparemment ce petit gars était plus fort que mon FTDI… J’ai donc retiré R232 et connecté mon FTDI à la palace. Restait à savoir quel pad de R232 allait vers le CPU… Coup de pot, le premier que j’ai essayé était le bon: le coté le plus proche de la batterie.&lt;/p&gt;&#xA;&lt;p&gt;Une petite photo de mes belles soudures :&lt;br&gt;&#xA;&lt;a href=&#34;https://silicone.homelinux.org/2011/03/22/console-serie-sur-liseuse-samsung-e60/e60-rs232-lvttl3.3.jpg&#34;&gt;&lt;img src=&#34;https://silicone.homelinux.org/2011/03/22/console-serie-sur-liseuse-samsung-e60/e60-rs232-lvttl3.3-detail.jpg&#34;&#xA;         srcset=&#34;https://silicone.homelinux.org/2011/03/22/console-serie-sur-liseuse-samsung-e60/e60-rs232-lvttl3.3-detail.jpg 400w, https://silicone.homelinux.org/2011/03/22/console-serie-sur-liseuse-samsung-e60/e60-rs232-lvttl3.3-detail-300x255.jpg 300w&#34;&#xA;         sizes=&#34;auto, (max-width: 400px) 100vw, 400px&#34;&#xA;         alt=&#34;mes belles soudures&#34; title=&#34;e60-rs232-lvttl3.3-detail&#34; width=&#34;400&#34; height=&#34;340&#34;&#xA;         class=&#34;alignnone size-full&#34;&#xA;         decoding=&#34;async&#34; fetchpriority=&#34;high&#34;&#xA;         loading=&#34;lazy&#34;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Et voila, j’ai ensuite suivi la procédure pour &lt;a href=&#34;http://code.google.com/p/e60-open/wiki/HowToTestAKernel&#34; hreflang=&#34;en&#34;&gt;tester un kernel&lt;/a&gt; en chargeant le kernel fourni sur le SVN du projet. Et ça à marché (à ceci prêt que j’ai dû déchargé le module &lt;code&gt;secbulk&lt;/code&gt;, donc soit j’ai pas compris, soit il ne sert pas).&lt;/p&gt;&#xA;&lt;p&gt;Prochain épisode, compilation et test d’un noyau Linux.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Building xserver 1.6 for Xorg 7.5</title>
				<link>https://silicone.homelinux.org/2010/04/11/building-xserver-1-6-for-xorg-7-5/</link>
				<pubDate>Sun, 11 Apr 2010 22:04:19 +0100</pubDate>
				<guid>https://silicone.homelinux.org/2010/04/11/building-xserver-1-6-for-xorg-7-5/</guid>
				<description>&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt; As explained in &lt;a href=&#34;http://silicone.homelinux.org/2010/04/11/installing-debian-on-eeepc-1201ha&#34;&gt;other&lt;/a&gt; &lt;a href=&#34;http://silicone.homelinux.org/2010/08/02/installing-debian-on-eeepc-1201ha-the-grub-2-trick/&#34;&gt;posts&lt;/a&gt;, I’m no longer using this xserver version myself. So this stays here, but I’m not planning to update it in any manner.&lt;/p&gt;&#xA;&lt;p&gt;The goal of the xserver downgrading is to run intel IEGD drivers on recent GNU/Linux distribution (debian squeese in my case). This seams to be the only maintained driver for the US15W GMA500 (poulsbo) chipset.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Hacking zenphoto for https admin</title>
				<link>https://silicone.homelinux.org/2009/11/10/hacking-zenphoto-for-https-admin/</link>
				<pubDate>Tue, 10 Nov 2009 02:56:04 +0100</pubDate>
				<guid>https://silicone.homelinux.org/2009/11/10/hacking-zenphoto-for-https-admin/</guid>
				<description>&lt;p&gt;Trying to use zenphoto I found it does not have an option to have the admin tasks in https and the gallery in regular http.&lt;/p&gt;&#xA;&lt;p&gt;WordPress is doing this and reading Rian’s article: &lt;a href=&#34;http://ryan.boren.me/2008/07/14/ssl-and-cookies-in-wordpress-26/&#34;&gt;SSL and Cookies in WordPress 2.6&lt;/a&gt; I had a better idea on how it works.&lt;/p&gt;&#xA;&lt;p&gt;Before coding, I also read &lt;a href=&#34;http://fscked.org/blog/how-properly-provide-mixed-http-and-https-support&#34;&gt;How to Properly Provide Mixed HTTP and HTTPS Support&lt;/a&gt; from mikeperry’s blog.&lt;/p&gt;&#xA;&lt;p&gt;And this is basically what I implemented.&lt;/p&gt;&#xA;&lt;p&gt;For once the result of my work is not hosted on my blog but directly on zenphoto’s trac : &lt;a href=&#34;http://www.zenphoto.org/trac/ticket/1302&#34;&gt;The ticket with zenphoto patch to allow both http and https&lt;/a&gt;.&lt;/p&gt;</description>
			</item>
			<item>
				<title>ANSI Color support for xrootconsole</title>
				<link>https://silicone.homelinux.org/2009/04/02/ansi-color-support-for-xrootconsole/</link>
				<pubDate>Thu, 02 Apr 2009 23:34:31 +0100</pubDate>
				<guid>https://silicone.homelinux.org/2009/04/02/ansi-color-support-for-xrootconsole/</guid>
				<description>&lt;p&gt;Having the system log on a background transparent window on the desktop look nice and can be useful (USB key plug events, network connection events and so on).&lt;br&gt;&#xA;One way is to use a terminal like &lt;code&gt;aterm&lt;/code&gt; or &lt;code&gt;Eterm&lt;/code&gt; for instance using the following command:&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&#xA;aterm -tr -bl -ib 0 -title log -name log +sb -geometry &amp;#39;140x16+0+791&amp;#39; -e bash -c &amp;#34;tail --follow=name /var/log/full.log | ccze&amp;#34; &amp;amp;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;With the &lt;code&gt;-title&lt;/code&gt; and &lt;code&gt;-name&lt;/code&gt; option the window decoration can be removed at the window manager level. OK, this is nice.&lt;/p&gt;&#xA;&lt;p&gt;But when using &lt;a href=&#34;http://www.fluxbox.org/&#34;&gt;fluxbox&lt;/a&gt; desktop wheeling will not work over the log as it is a window not the desktop.&lt;/p&gt;&#xA;&lt;p&gt;So I switched to &lt;code&gt;xrootconsole&lt;/code&gt;, but it has no color support… not a big deal, I just hacked it in 😉&lt;/p&gt;&#xA;&lt;p&gt;Here is a sample usage of the hacked &lt;code&gt;xrootconsole&lt;/code&gt;, the important part is the &lt;code&gt;-A&lt;/code&gt; parameter for ANSI to &lt;code&gt;ccze&lt;/code&gt; as the default is to use curses:&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&#xA;tail -n 16 --follow=name /var/log/full.log | ccze -A | xrootconsole --wrap --bottomup -geometry 233x16+1+818 &amp;amp;&#xA;&lt;/code&gt;&lt;/pre&gt;</description>
			</item>
			<item>
				<title>netsed</title>
				<link>https://silicone.homelinux.org/2009/02/22/netsed/</link>
				<pubDate>Sun, 22 Feb 2009 11:01:18 +0100</pubDate>
				<guid>https://silicone.homelinux.org/2009/02/22/netsed/</guid>
				<description>&lt;p&gt;An old hack (2 years old  according to my subversion db !!)&lt;/p&gt;&#xA;&lt;p&gt;This started with my 5.1 Yamaha audio amplifier, this device has network access to listen to netradios directly ! I wanted to hack it to play a personal netradio.&lt;/p&gt;&#xA;&lt;p&gt;I configured my dhcp to have it report my server as gateway and used wireshark to listen how it was connecting the Internet. It appeared that the menu on the device was provided by XML streams.&lt;/p&gt;&#xA;&lt;p&gt;I first did some DNS spoofing and placed on my apache server a fake XML file, the Yamaha amplifier couldn’t tell the difference and I could play some local mp3 files.&lt;/p&gt;&#xA;&lt;p&gt;The next step was to have both the normal radios and some personal radios. That’s here netsed becomes useful. The idea was to filter the main menu XML to add an extra item that liks to a local XML page linking to personal radio.&lt;/p&gt;&#xA;&lt;p&gt;I never get to the step where I setup an Icecast server however I got the extra menu working.&lt;/p&gt;&#xA;&lt;p&gt;netsed did basically the job, but for some reason it was not closing connections to the http server so it generated several timeout errors, that’s basically what I fixed in the netsed code.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;http://silicone.homelinux.org/trac/wiki/NetsedHacks&#34; title=&#34;netsed Hacks&#34;&gt;my Trac page about netsed&lt;/a&gt;&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
