ralphy;654347 Wrote: > That's awesome! > > How does it perform on the TouchPad? > > You can post the makefile here and I'll commit it to svn. > > I can post the binary on googlecode if you'd like. What version and > revision is the binary?
I would rather prefer you to post the binary on google code. The binary was built from squeezeslave-1.1-253. The make file can be downloaded from http://www.megaupload.com/?d=36QAMT13 md5sum: faa279d3f29dd680f85b6430efd6df93 Squeezeslave works quite well out of the box even with the noFPU version posted on the first page but I believe this tailored made version should reduce cpu usage quite a lot. Will do more testing comparing those two. To run it as service (so it will start automatically) just paste the following code into /etc/event.d/squeezeslave and save it (you need write access on the root folder, if not just remount / as rw) Code: -------------------- description "Squeezeslave Daemon for WebOS" author "s7mx1" version 1.0 # don't start until the WebOS finishes it's normal boot # that way no delay is added to the GUI startup start on stopped finish stop on runlevel [!2] # don't try to log any output console none # Uncomment to make sure squeezeslave don't slow down GUI use #nice 5 # Restart the squeezeslave if it exits/dies respawn # make sure the path to squeezeslave is up to date # replace MAC_ADDRESS by your touchpad's mac address # replace SQUEEZE_SERVER by your squeezeserver's ip address # remove "-Y /tmp/squeezeslave.log -d slimproto,slimaudio_output" if you do not want logging at all exec /opt/sbin/squeezeslave -m MAC_ADDRESS -R -k 10 SQUEEZE_SERVER -Y /tmp/squeezeslave.log -d slimproto,slimaudio_output -------------------- Change the MAC_ADDRESS, SQUEEZE_SERVER and path to squeezeslave (default to /opt/sbin) accordingly. Then start squeezeslave by Code: -------------------- initctl start squeezeslave -------------------- ====================== This is a mini guide on how to compile it yourself 1) Download and extract squeezeslave source code to folder (we assume its squeezeslave-1.1-253) then cd to that folder 2) Transfer /usr/lib/libasound.so.2 from your touchpad to the current working folder 3) Download alsa-lib 1.0.23 and extract to the current working directory 4) Run following commands to prepare alsa source and library Code: -------------------- mkdir -p lib/libasound/lnx26/lib mkdir -p cd lib/libasound/lnx26/include cp -a alsa-lib-1.0.23/include/* ./lib/libasound/lnx26/include/ cp -a libasound.so.2 ./lib/libasound/lnx26/lib/ ln -s libasound.so.2 libasound.so mv libasound.so ./lib/libasound/lnx26/lib/ -------------------- 5) Download Sourcery G++ Lite 2009q1-203 from here http://www.codesourcery.com/sgpp/lite/arm/portal/release858 and install it to /opt/CodeSourcery/Sourcery_G++_Lite 6) Download the make file in the link above and save it to the current working directory 7) build it Code: -------------------- make -f makefile.linux26-armel-alsa-touchpad -------------------- Please note that you will need the libasound.so.2 file and setup proper symbolic otherwise you will not have alsa support. -- s7mx1 ------------------------------------------------------------------------ s7mx1's Profile: http://forums.slimdevices.com/member.php?userid=47093 View this thread: http://forums.slimdevices.com/showthread.php?t=83362 _______________________________________________ discuss mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/discuss
