Resuscitating (and repurposing) the old Nokia N900

Nokia N900

Nokia N900

I migrated to an Apple iPhone 5 a while back. Even though the ‘phone is lacking a keyboard (which my old Nokia N900 had) I am fairly happy with the device. However,  I sort of need for a portable speaker, and rather than buy a Jawbone JAMBOX (or equivalent) I think I can repurpose the N900.

Over on Maemo.org Sabrog has a useful piece of script for activating the earphone socket as a line-in:

Speaker ON

#!/bin/sh
amixer -c0 set PCM 100%
amixer -c0 set 'Right PGA Bypass Mixer HP Switc' on
amixer -c0 set 'Left PGA Bypass Mixer HP' on
amixer -c0 set 'Left PGA Mixer Line1L' on
amixer -c0 set 'Left PGA Mixer Line2L' on
amixer -c0 set 'HP PGA Bypass' 100%
amixer -c0 set 'Speaker Function' On
echo "Speaker is ON"

Speaker OFF

#!/bin/sh
amixer -c0 set PCM 100%
amixer -c0 set 'Right PGA Bypass Mixer HP Switc' off
amixer -c0 set 'Left PGA Bypass Mixer HP' off
amixer -c0 set 'Left PGA Mixer Line1L' off
amixer -c0 set 'Left PGA Mixer Line2L' off
amixer -c0 set 'HP PGA Bypass' 0%
echo "Speaker is OFF"

Thanks Sabrog!

 

Leave a Reply