tag:blogger.com,1999:blog-9739502695412212842024-02-22T09:50:08.849-08:00DamagedSpline's worst nightmareThe absolute struggle between the inner forces of the white (hat) and the dark (hat)...DamagedSplinehttp://www.blogger.com/profile/11045300378937926136noreply@blogger.comBlogger20125tag:blogger.com,1999:blog-973950269541221284.post-72642289470510479852014-03-30T12:31:00.001-07:002014-03-30T12:31:26.617-07:00Syncing XBMC settings over DropBox on a KitKat AndroidI have a Sony Xperia Z1 and I wanted to try XBMC on it before applying it on all of my other devices so instead of simply installing all of the addons and configure them on each device seperately, there is an addon that does that exactly.<br />
I chose the use DropBox as a place that holds my configuration but since my Xperia Z1 is on KitKat, it wasn't as easy as I initially thought.<br />
The stated below is intended for anyone who wants to acheive the stated above.<br />
<br />
Taken from <a href="http://forum.stmlabs.com/showthread.php?tid=5701">http://forum.stmlabs.com/showthread.php?tid=5701</a><br />
<br />
<div style="background-color: lightgrey; color: black;">
<code>
1. select dropbox...below it will ask you for your app key and secret.<br />
Here is how you get them<br />
A. Login to your dropbox and goto dropbox.com/developers/apps<br />
B. Create and app<br />
App Type: Core API<br />
Name: "can be anything ur little heart desires"<br />
Description: I put "the answer to world peace" but it also can be anything/blank<br />
Access: App folder...unless u want ur pi to have access to any other folder besides ur backup folder.<br />
C. hit Create!<br />
You should see a screen with ur app key and secret...WRITE IT DOWN!<br />
2. Enter ur app key and secret u just created.<br />
3. hit OK<br />
<br />
After u tell XBMCbackup what u want it to backup and set ur scheduling pref. hit OK!<br />
<br />
Now lets back some stuff up shall we...<br />
1. Goto program add-ons from main menu and select XBMCbackup and hit backup!<br />
2. A msg box will appears telling to to goto ur log and get the URL...DO NOT HIT OK...i repeat...DO NOT HIT OK YET!!!!<br />
3. SSH into ur pi and goto home/pi/.xmbc/xbmc.log
(scroll down to the bottom or search "script.xbmcbackup")<br />
4. copy and paste URL in to a browser of ur choice (CHROME for me)<br />
5. If the gods have smiled upon u...u should see a screen asking you to allow access..hit ALLOW!<br />
6. Now go back to ur pi and hit the OK button<br />
7. The back up should start! </code></div>
The second part is where the issue begins as on kitkat the log reside in /data/data/org.xbmc.xbmc/cache/temp/xbmc.log which unless rooted, you can't access. <br />
So the solution was quite simple. Do it on one of my linux machines, then copy the dropbox configuration from ~/.xbmc/userdata/addon_data/script.xbmcbackup to /sdcard/
/Android/data/org.xbmc.xbmc/files/.xbmc/userdata/addon_data/script.xbmcbackup, restart XBMC and viola! I was able to sync my Xperia Z1 (with KitKat) through DropBox.
DamagedSplinehttp://www.blogger.com/profile/05239336905458318589noreply@blogger.com0tag:blogger.com,1999:blog-973950269541221284.post-83037941719165405672012-06-06T11:29:00.000-07:002012-06-06T11:29:23.698-07:00Waze-qt support<div class="separator" style="clear: both; text-align: left;">
<a href="http://waze-qt.googlecode.com/hg/waze/waze.svg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="http://waze-qt.googlecode.com/hg/waze/waze.svg" width="320" /></a></div>
<h2 style="text-align: center;">
<u><b>Waze-qt </b></u> </h2>
Waze is a free, community-based traffic & navigation app - This is its unofficial Qt port<br />
<br />
<b>Current release is v0.0.9</b><br />
<br />
This page offers users an easy way to report issues or feature. If you would like to request a new feature or feel that something can be improved, simply comment below.<br />
<br />
To report issues you can either comment below or create an issue entry <a href="http://code.google.com/p/waze-qt/issues/list">here</a>DamagedSplinehttp://www.blogger.com/profile/05239336905458318589noreply@blogger.com2tag:blogger.com,1999:blog-973950269541221284.post-42597794006852092182011-07-01T02:07:00.000-07:002011-07-01T22:10:53.435-07:00Dynamic translations in pure QML<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBRVnprh6Ee5PBByWwoBh1p4BYpXwIsWYyU7dszlUu8GyOpX4tl8T-2iZRGdGKRTPWW6pFpIL93vgiNlStTu_0GBdWZw5Wt3JqGNZX_MlrS6h8ADfD1-XglH7F4k2B0oXO_FRyV5o97P00/s1600/hebrew1.png"><img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 320px; height: 320px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBRVnprh6Ee5PBByWwoBh1p4BYpXwIsWYyU7dszlUu8GyOpX4tl8T-2iZRGdGKRTPWW6pFpIL93vgiNlStTu_0GBdWZw5Wt3JqGNZX_MlrS6h8ADfD1-XglH7F4k2B0oXO_FRyV5o97P00/s320/hebrew1.png" alt="" id="BLOGGER_PHOTO_ID_5624321676451086450" border="0" /></a><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCrqRzQ5jBH8-djiQNnhwybSDpPwz2q2aQyKbydZrX9okZKmpzr6GEJyo0MZoamllkf5xoyRMI5pt5bLm3bASqe_fbb4Ce2bCRPjG4L3T51m7GqScO9g-RrB9VEeLH60KQZrkfWPo7sdor/s1600/hebrew.png"><img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 320px; height: 320px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCrqRzQ5jBH8-djiQNnhwybSDpPwz2q2aQyKbydZrX9okZKmpzr6GEJyo0MZoamllkf5xoyRMI5pt5bLm3bASqe_fbb4Ce2bCRPjG4L3T51m7GqScO9g-RrB9VEeLH60KQZrkfWPo7sdor/s320/hebrew.png" alt="" id="BLOGGER_PHOTO_ID_5624318946134951810" border="0" /></a><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdp27d9xR4IOTkyuaUgCTpGlfaYGPKR17aC6yMI6iA7vMXYDKsbWhHAeNKYRcQ_W4X8HlygJXh94jFbvdBDmDuWXnHAQlvlF9TKubgRYQr3xwqsNln7AHSUWKnioYG9kEs9-n6cbmOwEno/s1600/english1.png"><img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 320px; height: 320px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdp27d9xR4IOTkyuaUgCTpGlfaYGPKR17aC6yMI6iA7vMXYDKsbWhHAeNKYRcQ_W4X8HlygJXh94jFbvdBDmDuWXnHAQlvlF9TKubgRYQr3xwqsNln7AHSUWKnioYG9kEs9-n6cbmOwEno/s320/english1.png" alt="" id="BLOGGER_PHOTO_ID_5624321675645645794" border="0" /></a><br /><br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg78vnMXcmTNTwbqJLdb2O-RhF3FH6b5wdpbSbvqFhgVyxaXeqSxLj_OBzhmmXxpavYmxZcwVGY291Gal-hqGJN2DArqEtEZCs7p8E3Lv4fTsUdB-iB5DHXanVXwGRGb7ACIfITGRFTUc4I/s1600/english.png"><img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 320px; height: 320px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg78vnMXcmTNTwbqJLdb2O-RhF3FH6b5wdpbSbvqFhgVyxaXeqSxLj_OBzhmmXxpavYmxZcwVGY291Gal-hqGJN2DArqEtEZCs7p8E3Lv4fTsUdB-iB5DHXanVXwGRGb7ACIfITGRFTUc4I/s320/english.png" alt="" id="BLOGGER_PHOTO_ID_5624318942703485266" border="0" /></a><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />Anyone who develop in QML knows for a fact that it is a problem to translate those at runtime.<br /><br />I am currently working on a new opensource project named qwazer which is a web client for Waze written in pure QML. I initially did it as a Hebrew & Israel only client, but then there was a lot of requests for multi-country/multi-lingual support.<br /><br />Still wanting to stay in pure QML, it would seems that there was no way but to use the QtLinguist for translations and use QT/C++ calls.<br /><br />I said no to that after several attempts and came up with a dynamic translations system where I can change the language with a click of a button from inside the application QML itself without involving any QT/C++ code.<br /><br /><br /><br /><span style="font-weight: bold;font-size:180%;" >Howto:</span><br /><span style="font-weight: bold;font-size:130%;" >translator.js</span> - This is uncomplete as I will add soon a mechanism that loads all translation files dynamically from other JS files as needed in order to avoid putting all translation in the same JS:<br /><code><br />var _currentTranslation;<br />var _translations = [];<br />var _hebrewTranslation = {"Settings": "הגדרות", "Language%1": "שפה%1"};<br /><br />function initializeTranslation() {<br />console.log("initialized translations");<br />_translations["en"] = {};<br />_translations["he"] = _hebrewTranslation;<br />_currentTranslation = _translations["en"];<br />}<br /><br />function setLanguage(languageId) {<br />console.log("language set requested: " + languageId);<br />_currentTranslation = _translations[languageId];<br />console.log("language was set");<br />}<br /><br />function translate(key, args) {<br /><br />console.log("translating " + key);<br />var value = key;<br />if (typeof(_currentTranslation) != "undefined" && typeof(_currentTranslation[key]) != "undefined")<br />{<br /> value = _currentTranslation[key];<br />}<br /><br />if (typeof(args) != "undefined")<br />{<br /> for(var i=0; i<args.length; i++)<br /> value = value.replace(eval("/%"+(i+1)+"/"), args[i]);<br />}<br /><br />return value;<br />}<br /></code><br /><br /><span style="font-weight: bold;font-size:130%;" >Translator.qml</span>:<br /><code><br />import QtQuick 1.0<br />import "js/translator.js" as Translator<br /><br />QtObject {<br /><br />signal retranslateRequired(string langId)<br /><br />function initializeTranslation() {<br />Translator.initializeTranslation();<br />}<br /><br />function setLanguage(languageId) {<br />Translator.setLanguage(languageId);<br />retranslateRequired(languageId)<br />}<br /><br />function translate(key, args) {<br />return Translator.translate(key, args);<br />}<br />}<br /><br /></code><br /><br /><span style="font-weight: bold;font-size:130%;" >root.qml</span>:<br /><code><br />Rectangle {<br />id: mainView<br />width: 800<br />height: 400<br /><br />property string forceTranslate<br />onForceTranslateChanged: console.log("retranslation requested")<br /><br />Connections {<br />target: translator<br />onRetranslateRequired: forceTranslateChanged()<br />}<br /><br />Translator {<br />id: translator<br />}<br /><br />...<br /></code><br /><br /><span style="font-weight: bold;"><span style="font-size:130%;">settings.qml</span> </span>- translator and persistent configuration maintainer:<br /><code><br />Rectangle {<br />id: qwazerSettings<br /><br />signal settingsLoaded<br /><br />function initialize() {<br />translator.initializeTranslation();<br />Storage.initialize();<br />qwazerSettings.state = "Loaded";<br />settingsLoaded();<br />}<br /><br />...<br /><br /> onLanguageChanged : {<br /> Storage.setObjectSetting("Language", language);<br /> translator.setLanguage(language.langId);<br /> retranslateRequired(language.langId);<br /> }<br /></code><br /><br /><span style="font-size:130%;"><span style="font-weight: bold;">qml texts that needs translating</span></span>:<br /><code><br />Text {<br />id: languageLabel<br />text: translator.translate("Language%1", ":") + mainView.forceTranslate<br />font.pointSize: 20<br />}<br /></code><br /><br /><span style="font-size:130%;">Explanation</span>:<br /><ul><li>The translator is initialized at earlymost possible<br /></li><li>Whenever the language changes, I call the event that will eventually set the current translation map<br /></li><li>Translation and string format (denotes by %1, %2, etc...) is done by the translate function of the translator.</li><li>In order to reevaluate the translation, I concat an empty string and link between the language changed event and the empty string event - found it in a forum<br /></li><li>The keys are actually the English translation - and that is why I set the English translations to empty<br /></li></ul>DamagedSplinehttp://www.blogger.com/profile/05239336905458318589noreply@blogger.com3tag:blogger.com,1999:blog-973950269541221284.post-37157529000064162722009-01-27T13:01:00.000-08:002009-02-06T03:50:11.298-08:00the death of fsca16xx and the birth of cellwriter as an HIM pluginsadly to inform that my amilo laptop has gone to a new way and it is no longer in my possession. so i will not be able to continue maintaining the fsca16xx script. there are a few open issues (like hotkeys daemon going bezzerk) which i haven't fixed yet, so my advice is to stop using the script. instead i would advice that acerhk or acer_acpi modules will be loaded and used ( running acerhk example: sudo modprobe acerhk force_series=5020 autowlan=1).<br /><br />on a different subject i have started a new project named himcellwriter which integrate the magnificent<br />cellwriter hand writing recognition application (applause to the author) as an hildon input method plugin. currently i am attempting to revive a pentium 3 500mhz desktop computer from scrap to be my main machine that will replace the amilo i used to have.<br /><br />******************************************************************<br />notes:<br />1) if you have been using the script and something which happens to be 'hotkeys' is eating your cpu on ubuntu interpid, i suggest that you remove it by running:<br /><code>sudo apt-get remove hotkeys</code><br />after removal, the "Activate/Deactivate" popup will stop appearing.<br /><br />2) if you're new to ubuntu and have amilo li1718 or a1650g run the following 3 commands to add wireless led support <b>without using the script</b>- this will work until acerhk will be removed from ubuntu (probably 9.04 or 9.10):<br /><code>$ echo options acerhk autowlan=1 force_series=5020 | sudo tee -a /etc/modprobe.d/options<br />$ echo acerhk | sudo tee -a /etc/modules<br />$ sudo rmmod acerhk > /dev/null 2>&1 ; sudo modprobe acerhk autowlan=1 force_series=5020 </code><br />please let me know if it does not work as i was unable to test it...<br /><br />EDIT: i made a mistake in step 2 and it is fixed now. i will search a fix to what it caused and publish it soonDamagedSplinehttp://www.blogger.com/profile/05239336905458318589noreply@blogger.com10tag:blogger.com,1999:blog-973950269541221284.post-11205844376874596472008-10-23T14:46:00.000-07:002008-10-23T14:59:53.042-07:00FSCA16xx & Ubuntu 8.10One week from the official release and Ubuntu 8.10 support was added to the fsca16xx script.<br /><br />One bump though:<br />Currently there is a <a href="https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/276508">bug</a> and yet another <a href="https://bugs.launchpad.net/ubuntu/+source/linux-meta/+bug/262516">bug</a> in Ubuntu 8.10 that causes it to load 2 different drivers (ath_pci && ath5k) for the Atheros wireless adapter. This causes the wireless not to work.<br /><br />The script update does not handle this as it affects most of the people that use a wireless Atheros adapter and not just FSC laptops. It should be delt with by the Ubuntu Kernel team.DamagedSplinehttp://www.blogger.com/profile/05239336905458318589noreply@blogger.com4tag:blogger.com,1999:blog-973950269541221284.post-19208542857330125522008-09-20T08:48:00.000-07:002008-09-20T08:57:49.263-07:00acer_acpi & seg faultsIn my attempts to modify acer_acpi and add it the required key pooling, I bumped into a problem...<br /><br />Segmentation faults, lots of them...<br /><br />I tried the latest acer_acpi code and had similar results.<br /><br />Reason for seg faults:<br />kernel 2.6.27 - at least the one in Ubuntu Intrepid Ibex.<br /><br />Reverting to 2.6.26 made the seg faults go away but the modified module still has not shown signs of doing what I told it to do... :SDamagedSplinehttp://www.blogger.com/profile/05239336905458318589noreply@blogger.com2tag:blogger.com,1999:blog-973950269541221284.post-77288665112337174212008-08-26T13:31:00.000-07:002008-08-26T13:50:49.169-07:00fscamiloa16xx deprecationFinally after a year and a half the patch I made is now available in Ubuntu Intrepid and its derivatives.<br /><br />That means that starting Ubuntu 8.10 the script will no longer be necessary.<br /><br />Fujitsu Amilo A1650g is supposed to work out of the box upon installation - LI1718 users please contact me ASAP I need some details.<br /><br />This is good news. I cleared the time line I had imagined for this script as it was supposed to evolve into version 1.0, and instead I returned to my old attempt to add hotkeys support for acer_acpi.<br /><br />acer_acpi has many benefits over acerhk:<br />1) It will be fully working on 64bit systems<br />2) Newer code and closer to the latest kernel<br />3) Works with ACPI calls as opposed to Assembler calls<br />...<br /><br />As I have recently finished my BSc degree, I became a full time employee for BMC Software. For that reason it is important for me to mention (for the record) that I am doing this little project on my own free time and I receive no benefits from Fujitsu-Seimens corporation.DamagedSplinehttp://www.blogger.com/profile/05239336905458318589noreply@blogger.com2tag:blogger.com,1999:blog-973950269541221284.post-53860869627526937082008-07-19T23:45:00.000-07:002008-07-19T23:54:23.810-07:00N810 joyI finally received my own Nokia N810.<br /><br />Beautiful piece of work. I have been playing with it for the past week:<br />1) Hacking the hardware keyboard to support Hebrew and English simultaneously (ctrl+chr to switch).<br />2) Move parts of the rootfs to the internal card - I'm having problems with this one).<br />3) Setting it with the proper set of applications - There are *too* many applications out there... :(<br /><br />The GPS is somewhat troublesome as:<br />1) It take ages to get a fix.<br />2) No Israel maps - this can be solved through integration with http://freemap.co.il ... but I'm still working on it.<br /><br />I'm also lacking video support on skype... Or a video recording application...DamagedSplinehttp://www.blogger.com/profile/05239336905458318589noreply@blogger.com6tag:blogger.com,1999:blog-973950269541221284.post-29880551650857362542008-06-13T15:06:00.000-07:002008-06-13T15:13:04.374-07:00fsca16xx project timelineFinally, I am about to finish my BSc in CS.<br /><br />This gave me the opportunity to make a list of the changes I would like to make to the fsca16xx project.<br /><br />The changes can be viewed at the project's wiki: <a href="http://code.google.com/p/fscamiloa16xx/wiki/ProjectTimeline">http://code.google.com/p/fscamiloa16xx/wiki/ProjectTimeline</a>DamagedSplinehttp://www.blogger.com/profile/05239336905458318589noreply@blogger.com2tag:blogger.com,1999:blog-973950269541221284.post-40607099840924903092008-06-13T04:20:00.000-07:002008-06-13T04:28:38.269-07:00acerhk compile fixed!Finally I have solved the compile issues of acerhk.<br /><br />Solution - Makefile changes:<br />1) turn 'CFLAGS=' to 'EXTRA_CFLAGS='<br />2) add 'V ?= 0'<br />3) add the following to the acerhk.ko compile line:<br />M=$(CURDIR) V=$(V)<br /><br />That means that for the latest version of fsca16xx.sh, when pressing the wireless button, the Activate/De-Activate notifications work again (been broken for a little less then a year).<br /><br />I also published it on launchpad: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/53953/comments/25DamagedSplinehttp://www.blogger.com/profile/05239336905458318589noreply@blogger.com0tag:blogger.com,1999:blog-973950269541221284.post-39277995034984424992008-05-24T07:03:00.000-07:002008-05-24T07:07:34.531-07:00acer_acpi fork stateThe acer_acpi fork I made which has the framework for key pulling through ACPI, have worked on Gutsy but stopped working in Hardy. I am in the midst of my investigation.<br /><br />Hopefully I will find out why soon.DamagedSplinehttp://www.blogger.com/profile/05239336905458318589noreply@blogger.com0tag:blogger.com,1999:blog-973950269541221284.post-17976069793265757162008-05-24T06:49:00.000-07:002008-05-24T07:03:10.251-07:00Hardy & ATII finally achieved 3D with the open-source radeon driver on my Amilo (which have the Xpress 200M). I've been using it for the last two weeks with full compiz and by now only came upon several minor issues:<br />1) After resume from hibernation, the window shadows become garbled with green and red lines.<br />2) When starting Firefox, it will start full screened. Pressing F11 twice while in the address bar return Firefox to it's normal size.<br />3) Flash is slow. Solved by installing the Flash 10 beta, still consumes a lot of cpu, but works better.<br /><br />I've used Ubuntu Hardy with the following repositories:<br />1) 'deb http://ppa.launchpad.net/tormodvolden/ubuntu hardy main' - supplied the git ATI driver.<br />2) 'deb http://ppa.launchpad.net/xorg-edgers/ubuntu hardy main' - supplied the git libdrm2. don't use the mesa from there as it does not works with compiz (white screen).<br />3) 'deb http://ppa.launchpad.net/stikonas/ubuntu hardy main' - supplied the git mesa.<br /><br />Beside the packages I added to the device section in xorg.conf:<br /><code><br /> Option "EnablePageFlip" "1"<br /> Option "ColorTiling" "1"<br /> Option "AccelMethod" "EXA"<br /> Option "DynamicClocks" "on"<br /> Option "EXANoOffscreenPixmaps" "true"<br /></code>DamagedSplinehttp://www.blogger.com/profile/05239336905458318589noreply@blogger.com0tag:blogger.com,1999:blog-973950269541221284.post-5899420448725194662008-03-26T23:35:00.000-07:002008-03-26T23:40:18.888-07:00Hardy Beta is now supported - fsca16xxLast night I've pushed Ubuntu Hardy beta support to the installation script.<br /><br />For those of you that use hibernation -<br /><br />Currently, the wireless will not resume correctly, so after resuming, you should run the following lines to make it work:<br /><code><br />sudo rmmod ath_pci ath_rate_sample ath_hal<br />sudo modprobe ath_pci<br /></code><br /><br />In the following weeks I'll make the script do that automagically on resume.DamagedSplinehttp://www.blogger.com/profile/05239336905458318589noreply@blogger.com0tag:blogger.com,1999:blog-973950269541221284.post-62509339294517590052008-02-14T09:35:00.000-08:002008-02-14T09:40:00.773-08:00some updates for the fujitsu scriptI've just made some updates to the fujitsu auto installation script. Its not "the" update I wanted to do, just some fixes.<br /><br />Changes:<br /><br />* use of newest atheros instead of ndiswrapper (should support AR5007).<br /><br /><br />I did not had time to get into the "add the missing bits to acerhk so that it will properly read the wireless led state".DamagedSplinehttp://www.blogger.com/profile/05239336905458318589noreply@blogger.com1tag:blogger.com,1999:blog-973950269541221284.post-86512376813678165502007-12-14T13:05:00.000-08:002007-12-14T13:41:23.669-08:00On the tip of a plastic springFirst, let me say BAHHHH!!!!<br /><br />Now, my Amilo's touchpad left button has stopped working - it even sounds physically broken... Anyway, the technicians at store of which I bought this laptop from said:"This was caused by improper use so warranty is the null and void".<br /><br />Unhappy, I've decided to take it to my own hands. In order to check it out I had to almost strip the laptop entirely. I mean, the only 2 thing that were left complete were the motherboard to the bottom panel and the screen which was just seperated as is from the rest of the machine.<br /><br />I was amazed to find out that I had 3 broken plastic springs which are suppose to place both of the buttons in place: 2 broken on the left button an 1 on the right button. More then that, I found out that a plastic spring was completely missing as if it was never there. Some further investigation showed me that it was truly never there and the lack of it was the reason that it broke in the first place! It was designed to take the pressure but in order to lower the manufacturing costs this stabilizer spring has just been left out + reassuring the purchase of a newer model when the old has supposedly become cripple.<br /><br />BAHHHHH!!!!! When I'll have some free time (probably in 4 months from now), I'll install some real springs below the buttons - that should be suffice to make it last for at least 2 more years.DamagedSplinehttp://www.blogger.com/profile/05239336905458318589noreply@blogger.com2tag:blogger.com,1999:blog-973950269541221284.post-10237086632521684612007-12-04T01:37:00.000-08:002007-12-08T12:10:31.043-08:00acpi acer hotkey pooler for my amiloRecently I've started a fork of the acer_acpi kernel module to also pool the 3 hotkeys.<br />On another note, the patch I've made for acerhk was finally entered the mainstream.<br /><br />I've moved on to acer_acpi since it supports 64bit distros as well.<br /><br />I'm up to my ears in homeworks and projects (last year to end my undergraduate degree - yeppieee) so it will probably go gold by May 08.<br /><br />Work notes:<br />1) listen for _Q10 (wireless key) event - after it is done, also add the browser and fancy fan buttons.<br />2) rig the wireless button to run the wireless activation/deactivation method in acer_acpi<br />3) ask for merge and go mainstream.<br /><br />some of (1) has already been done.<br /><br />This will also make the lives of Amilo LI1718 owners much easier...<br /><br />UPDATE 8/12/07: current work is posted on http://fscamiloa16xx.googlecode.com/svn/trunk/acer_acpi_hkey/<br />The AML Method PHSR change the values of INF (button id) ,BCMD (0x8B = button pressed) and SMIC (0x00/0xff). When loading this module with debug=4 and press one of the 3 buttons, you'll see (in dmesg) that it sensed the key press. Bad news, SMIC is not updated to 0 as expected and therefore it will act as if the button is being pressed over and over again. Some mutexes are MIA and should be added. acpi-devel list seems to be inactive - so I'll keep searching for a way to acquire an AML mutex...DamagedSplinehttp://www.blogger.com/profile/11045300378937926136noreply@blogger.com12tag:blogger.com,1999:blog-973950269541221284.post-65926333772215595342007-08-29T12:42:00.001-07:002007-08-29T14:27:09.269-07:00Behold at that installation scriptFinally it is here!<br /><br />The auto installation script for Amilo A1650G for 32bit Ubuntus (Feisty,Gutsy) is here.<br /><br /><span style="font-weight: bold;">Features:</span><br />1) Make the hotkeys work - all of them (besides change display)!<br />2) Notification bubbles and Cool n' Quiet - done by info2 @ubuntuforums.<br />3) Make wireless work - only if you have the Atheros 5005g. I'll be happy to add Broadcom if I had testers with that configuration.<br /><br /><span style="font-weight: bold;">Requirements:</span><br />1) 32bit Ubuntu >= 7.04<br />2) Amilo A1650G or similarly hotkeyd laptop<br />3) internet connection<br /><br /><span style="font-weight: bold;">HowTo:</span><br />Open a console and run:<br /><code>wget http://fscamiloa16xx.googlecode.com/files/fsca16xx.sh<br />chmod 755 fsca16xx.sh<br />sudo ./fsca16xx.sh</code><br /><br />Wait a bit till it's Done.<br />Log out, Log back in and viola!<br /><br />Last Edited: 29/8/07DamagedSplinehttp://www.blogger.com/profile/11045300378937926136noreply@blogger.com5tag:blogger.com,1999:blog-973950269541221284.post-13652798305851051892007-08-25T22:09:00.000-07:002007-08-25T22:25:42.133-07:00Amilo A1650g the overheaterRecently I've been having some serious overheating issues with this awful laptop (the main reason for the hatred is the video card).<br /><br />I didn't understood why all of a sudden, Feisty has become "heavy" as have suse and mandriva.... well, suse was already heavy to begin with. tried: Mandriva 2007.1 (spring), Opensuse Gnome 10.3 beta 2, Ubuntu Feisty and Gutsy...<br /><br />I used <code>acpi -t</code> to track the temperatures and I was able to reach 87 Celsius degrees and have occasional shutdowns (+90 degrees)...<br /><br />And yesterday I found out why.<br /><br />My laptop's cooling ribs were clogged up for good - I even found a feather there. I disassembled the largest panel in the back of the laptop and then just the fan (without the cooling ribs). I used a slightly wet cue-tip to clean the fan side of the cooling ribs. The amount of dust there were unbelievable!<br /><br />Now I'm glad to say that it's working again at nominal temperatures. WinXP in Virtualbox helped me reach a nice temperature of 67 Celsius degrees. It's sad though that if I ran Firefox into a site with a rich flash content - I'll reach 75 Celsius degress, which is much higher then running a virtual machine. Someone have to make the flash plugin better!DamagedSplinehttp://www.blogger.com/profile/11045300378937926136noreply@blogger.com3tag:blogger.com,1999:blog-973950269541221284.post-40836997480239702762007-03-07T00:48:00.000-08:002007-07-02T23:21:43.640-07:00FSC Amilo A1650g Ubuntu Fiesty 32bit How-To<span style="font-size:130%;"><span style="font-weight: bold;">Last Updated: 3/7/2007<br /><br />3/7/2007 Added</span></span><span style="font-size:130%;"><span style="font-weight: bold;"> Distribution ready wireless button support (see "way 3") which also fixes the wireless scan/connect issue when enabling/disabling the wireless led.</span></span><br /><span style="font-size:130%;"><span style="font-weight: bold;">26/6/2007 Added: Distribution ready wireless button support (see "way 2")<br /><br />Specs:</span></span><br /><span>AMD Turion 64 ML-32 / 1.8 GHz<br />512MB RAM<br />60GB HD<br />ATI Xpress 200M (Shared) - Crippled By Design<br />SD/MS CardReader<br />TV-OUT<br />CRT-OUT<br />PCMCIA Slot<br />Firewire<br />LAN<br />Modem<br />4 USB<br />DVDRW+<br />Atheros 802.11a/b/g<br />1200x800 Display<br />Fancy HotKeys<br /><br /><span style="font-weight: bold;font-size:130%;" >How-To<br /><span style="font-size:100%;"><span style="font-weight: bold;"></span></span><span style="font-weight: bold;"></span></span><span style="font-size:130%;"><span style="font-size:100%;">Installation did most of the magic. The following were automagically detected and operational:<br /></span></span></span><span>AMD Turion 64 ML-32 / 1.8 GHz<br />512MB RAM<br />60GB HD</span><br /><span>Firewire<br />LAN<br />4 USB<br />DVDRW+<br />Builtin SD/MS CardReader<br /></span><br /><br /><span style="font-weight: bold;font-size:130%;" >The Rest is as follows<br /><span style="font-weight: bold;"><span style="font-weight: bold;"><span style="font-size:100%;"><span style="font-weight: bold;"><br />ATI Xpress 200M</span></span></span></span><br /></span>FGLRX Doesn't work well for me, suspend sometimes stuck at turn off etc...<br />Xgl is a mess in Ubuntu so Compiz/Beryl is out of the question for now till AIGLX in fglrx.<br />On that front, a bunch of good faithed people has gathered to hack the RS480 down, so hopefully by the next version of Ubuntu, the opensource driver will be able to supply 3D support (with AIGLX) for the CBD Xpress 200M.<span><code></code><br /><span><br /></span><span><span style="font-weight: bold;">Fancy HotKeys</span><br />Most of the HotKeys are recognized and are configurable. The following HotKeys were detected upon install:<br />HELP, SLEEP, BLANK_SCREEN, BRIGHTNESS UP/DOWN, SCROLL LOCK, NUM LOCK, HOME, END.<br />MUTE, VOL UP/DOWN - might needed some tuning which was done through gnome's System->Preferences->Keyboard Shortcuts.<br />WWW_BROWSER became operational after acerhk was loaded (read ahead).<br /><span style="font-size:130%;"><br /></span></span></span><span><span><span style="font-size:130%;">To get wireless button working there are 3 ways:</span><br /><br /><span style="font-weight: bold;"><span style="font-size:130%;">way 1:compile a prepatched version of acerhk - this will add support for all of the missing buttons (wireless, browser, fancy fan, display...)<br />downside: You have to repeat this process upon each kernel update</span>.<br /></span><br />I've set up a place in google code for this - http://fscamiloa16xx.googlecode.com/svn/trunk/Fiesty/</span></span><span><span><code></code></span></span><br /><span><span>1) Run uname -r at the console, if there exist a folder that matches the output and you are using the 32bit version of ubnutu. download the file and put it in:<br /><code><result><the></the></result></code> /lib/modules/$(uname -r)<your>/kernel/drivers/input/misc/<br />you'll have to overwrite the existing file.<br />If such folder doesn't exist, you can use the patch I made against acerhk 0.5.35 recompile it and put the acerhk.ko file in the folder mentioned above ('make install' places it in the wrong folder).<br />(patch is at http://code.google.com/p/fscamiloa16xx/downloads/)<br /><br />2) add at the end of the file /etc/modules:<br /><code>acerhk</code><br /><br />3) add at the end of the file /etc/modprobe.d/options<br /><code>options acerhk autowlan=1</code><br /><br />Restart and start using the buttons.<br />(or:<br /><code>sudo rmmod acerhk<br />sudo modprobe acerhk</code><br />)<br /><br /><span style="font-weight: bold;"><span style="font-size:130%;">2. way 2: force the acerhk that comes with ubuntu to a certain settings<br />downside: this will make the wireless and browser button operational, but the display will be recognized as ''start media" and fancy fan will not be operational</span><br /><br /></span></your></span></span><span><span>1) add at the end of the file /etc/modules:<br /><code>acerhk</code><br /></span></span><span><span><br /></span></span><span><span>2) add at the end of the file /etc/modprobe.d/options<br /><code>options acerhk force_series=5020 autowlan=1<br /><br /></code></span></span><span><span>Restart and start using the buttons.<br />(or:<br /><code>sudo rmmod acerhk<br />sudo modprobe acerhk </code></span></span><span><span><code>force_series=5020 autowlan=1</code></span></span><span><span><code></code><br />)</span></span><br /><span><span><code><br /></code></span></span><span><span><span style="font-weight: bold;"><span style="font-size:130%;">3. way 3: dont use acerhk at all<br />downside: none of the three buttons above the keyboard will be operational, wireless will always be switched on regardless of the wireless led state.<br />upside: WIRELESS IS FINALLY SCANNING AND CONNECTING WITHOUT A HASSLE!!! YYYPPPPIIIEEEE!<br /></span></span></span></span><span><span><br />1) add at the end of the file /etc/modprobe.d/options<br /><code>options ath_pci rfkill=0</code></span></span><br /><span><span><span style="font-weight: bold;"><span style="font-size:130%;"><br /><br /></span></span></span></span><span><span><span style="font-weight: bold;">Atheros 802.11b/g</span><br />To make this baby running you should fix the hotkeys (as stated above) and then press the wireless button. the wireless card driver works out-of-the-box except for the fact that area scanning is awful - you'll have to know the accesspoints names and enter them manually in order to connect. (unless way 3 was used).<br /><br />To be updated on good news.<br /></span></span>DamagedSplinehttp://www.blogger.com/profile/11045300378937926136noreply@blogger.com7tag:blogger.com,1999:blog-973950269541221284.post-29774483049703280952007-02-01T23:19:00.000-08:002007-06-25T23:39:16.789-07:00FSC Amilo A1650g Ubuntu Edgy 32bit How-To<span style="font-size:130%;"><span style="font-weight: bold;">Specs:</span></span><br /><span>AMD Turion 64 ML-32 / 1.8 GHz<br />512MB RAM<br />60GB HD<br />ATI Xpress 200M (Shared) - Crippled By Design<br />SD/MS CardReader<br />TV-OUT<br />CRT-OUT<br />PCMCIA Slot<br />Firewire<br />LAN<br />Modem<br />4 USB<br />DVDRW+<br />Atheros 802.11a/b/g<br />1200x800 Display<br />Fancy HotKeys<br /><br /><span style="font-weight: bold;font-size:130%;" >How-To<br /><span style="font-size:100%;"><span style="font-weight: bold;"></span></span><span style="font-weight: bold;"></span></span><span style="font-size:130%;"><span style="font-size:100%;">Installation did most of the magic. The following were automagically detected and operational:<br /></span></span></span><span>AMD Turion 64 ML-32 / 1.8 GHz<br />512MB RAM<br />60GB HD</span><br /><span>Firewire<br />LAN<br />4 USB<br />DVDRW+</span><br />SD/MS CardReader<br /><br /><span style="font-weight: bold;font-size:130%;" >The Rest is as follows<br /><span style="font-weight: bold;"><span style="font-weight: bold;"><span style="font-size:100%;"><span style="font-weight: bold;"><br />ATI Xpress 200M</span></span></span></span><br /></span><span style="font-size:100%;">Since ATI support the DRM's global warning, the opensource radeon driver for the ATI Xpress 200M can only support 2D stuff. Therefore I had to install the crippled ATI fglrx driver to properly use some features of the Video Card.<br />Installing was done<span style="font-family:monospace;"> by the Restricted Driver Manager</span></span><span style="font-size:100%;"><code><br /></code><br />After the installation of the packages, I had to run:<br /><code><br />sudo aticonfig --tvf PAL-B --ovf Xv<br /></code><br />To ensure that the TVOUT output will be PAL-B (you may replace with your local tv format) and that video overlay will be Xv.</span><code></code><span style="font-size:100%;"><br /></span><br /><span style="font-weight: bold;">TV-OUT + CRT-OUT</span><br /><span style="font-size:100%;">The TV output plug on this laptop is SVIDEO while my TV's input is RCA. It took me a year to figure out the following method:<br />requirements - A cable equipped with an SVIDEO plug on one side and 2 RCA on the other side, an adapter plug with 2 RCA inputs and 1 RCA output.<br />1) Plug the SVIDEO to the laptop and only 1 of the 2 outputs to the adapter plug input. Plug the plug adapter output to the tv input.<br />2) Run the following command on the console (NOT AS ROOT!):<br /></span><span style="font-size:100%;"><code><br />aticonfig --enable-monitor lvds, tv<br />aticonfig --ovon 1 #<----only if you wish to use Xv to watch movies, #else change the video player setting to X11 </code><br /></span><span style="font-size:100%;">3) Now the picture will be shown on the tv in greyscale - if not return to step 1, connect the ouput which was not connected and disconnect the one that is connected (in other words, switch between them) and then retry step 2.<br />4) Connect the other output and now you shall have colors. If you still don't have color onscreen, try using a different tv format with:<br /></span><span style="font-size:100%;"><code><br />aticonfig --tvf NTSC-M #<---just an example: you should use your local format </code><br /></span><span style="font-size:100%;">5) Now the you can see that only part of the desktop is visible on the TV. Thats because of the screen resolution, lower it to 1024x768.<br /><br />Note: similar procedure should be done in Windows - as I said before - Crippled By Design!<br />Getting the CRT-out is simpler - just connect the cable and run the following command (not as root):<br /></span><span style="font-size:100%;"><code><br />aticonfig --enable-monitor lvds,crt</code></span><span><span><br /></span><span><span style="font-weight: bold;">Fancy HotKeys</span><br />Most of the HotKeys are recognized and are configurable. The following HotKeys were detected upon install:<br />HELP, SLEEP, BLANK_SCREEN, BRIGHTNESS UP/DOWN, SCROLL LOCK, NUM LOCK, HOME, END.<br />MUTE, VOL UP/DOWN - might needed some tuning which was done through gnome's System->Preferences->Keyboard Shortcuts.<br />WWW_BROWSER became operational after acerhk was loaded (read ahead).<br /><br /></span></span><span><span>Hotkeys at work!!!! This is how:<br />(PLEASE NOTE: the scripts work but are ugly because of the following reasons:<br />MADWIFI driver in the Ubuntu kernel doesn't yet support changes in /sys/class/net/ath0/device/power/state)<br /><br />I've set up a place in google code for this - http://fscamiloa16xx.googlecode.com/svn/trunk/Edgy/<br />1) install hotkeys ("sudo apt-get install hotkeys")<br /></span></span><span><span>2) download the file fsca16xx.def and put it in /usr/share/hotkeys (you'll need sudo for that)<br />3) download fsc-cpuspeed.sh and fsc-wireless.sh and put it in /etc/acpi and make them executables </span></span><span><span>(you'll need sudo for that)</span></span><span><span>:<br /><code>sudo chmod 755 /etc/acpi/fsc-cpuspeed.sh<br />sudo chmod 755 /etc/acpi/fsc-wireless.sh</code><br />4) download the file hotkeys.desktop and put it in /usr/share/gnome/autostart/<br />5)</span></span><span><span> Please NOTE: this step will allow non-root users to change the frequency scaling algorithm and is crucial for the Fancy Fan button. You may skip this step if you're "security breach" register has been turned on.<br />download the file 70-fsc-special-settings.sh and put it in /etc/acpi/start.d (make it executable)<br /></span></span><span><span><code>sudo chmod 755 /etc/acpi/start.d/70-fsc-special-settings.sh</code></span></span><br /><span><span>6) last and trickiest: run uname -r at the console, if there exist a folder that matches the output and you are using the 32bit version of ubnutu. download the file and put it in:<br /><code>/lib/modules/<the>/kernel/drivers/input/misc</the></code><br />you'll have to overwrite the existing file.<br />If such folder doesn't exist, you can use the patch I made against acerhk 0.5.34 recompile it and put the acerhk.ko file in the folder mentioned above ('make install' places it in the wrong folder).<br />(patch is available at http://code.google.com/p/fscamiloa16xx/downloads/)<br />7) restart and start using the buttons.<br />(or:<br /><code>sudo rmmod acerhk<br />sudo modprobe acerhk<br />sudo hotkeys -Z -t fsca16xx</code><br />)<br /><br /></span><span><span style="font-weight: bold;">Atheros 802.11b/g</span><br />To make this baby running you should fix the hotkeys (as stated above) and then press the wireless button. the wireless card driver works out-of-the-box except for the fact that because of the wireless led (which why we use acerhk)<br />Alternative:<br />add acerhk to /etc/modules and then restart and<br /><code>echo 1 > /proc/driver/acerhk/wirelessled</code><br />to turn on<br />or<br /><code>echo 0 > /proc/driver/acerhk/wirelessled</code><br />to turn off<br /><br />After each time the wireless button is pressed for activation, the following script should be run:<br />#!/bin/sh<br />echo 0 > /proc/driver/acerhk/wirelessled #acer wireless off<br />sudo rmmod ath_pci<br />sudo rmmod ath_rate_sample<br />sudo rmmod ath_hal<br />sudo rmmod wlan_scan_sta wlan<br />sudo killall NetworkManager<br />sleep 2s<br />sudo modprobe ath_pci<br />sudo NetworkManager<br />echo 1 > /proc/driver/acerhk/wirelessled #acer wireless on<br /><br /></span></span>DamagedSplinehttp://www.blogger.com/profile/11045300378937926136noreply@blogger.com39