I-Appliance BBS
The Official Source for Internet Appliance Upgrades and Mods

Click Here!
BBS Main List | Sign In | Sign Up | Search | Help | Linux-Hacker.netReply to Thread | Printer |

Home / Web Pads / Fujitsu Stylistic 1200
st1200 as Linux mp3/ogg/wav client (e.g. homepod) w/ screenshots
how I turned my free st1200 into a cool music console; zipslack, xorg, xmmx, & gnump3d

New Messagest1200 as Linux mp3/ogg/wav client (e.g. homepod) w/ screenshots (modified 0 times) sledmouth
Profile
I recently received a free st1200! I had been considering a Homepod, but found their interface to be lacking search features; and the st1200 is the perfect candidate for an mp3/ogg/wav player. My initial intension was to NOT remove the hd, and thus stick with the already installed win95 and use winamp2.9x with its mini-browser. However, I was unable to get drivers to work with the 3com 10/100 pcmcia ethernet card I had bought. So... I followed these steps to get a great linux based audio player up and running with minimal effort and maximum features.
1) install and configure ZipSlack (Slackware's cool umsdos fs distro that is installed on and booted from an existing win32 fs) http://www.slackware.com/zipslack - I used a 100mb pcmcia ata card to shuttle zipslack.zip onto the st1200
2) add pen startup to rc scripts, modify rc scripts to load sound modules upon boot
3) install xorg configured for neomagic display and fpit pointer drivers; select a lightweight wm (I picked fvwm2 and added my fav. webcasts to the menu)
4) add startx for non-root user to rc scripts
5) install xmms and required audio packages

Since I am using my st1200 as a gnump3d http://www.gnu.org/software/gnump3d/index.html client, I decided it would be best to simply display a js supported browser from the mp3 server. This allowed me to create a gnump3d theme with a js keyboard for searching for music using the stylus.

6) create user on mp3 server host with same name and passwd as client, follow these directions to allow ssh w/o password and xauth http://www.cs.umd.edu/~arun/misc/ssh.html
http://www.faqs.org/docs/Linux-mini/Remote-X-Apps.html#s5
7) use script to ssh xmms to st1200 and add as plugin for audio files in browser

Here are some screenshots:
http://u.is-a-geek.org/~sol/muzak_1.png
http://u.is-a-geek.org/~sol/muzak_2.png

If there is any interest, I can post any/all configuration files & scripts.

10-23-2004 23:56:42

New MessageRE:st1200 as Linux mp3/ogg/wav client (e.g. homepod) w/ screenshots (modified 0 times) sledmouth
Profile
Here is a (rather poor) pic of the st1200 in action:
http://u.is-a-geek.org/~sol/100_1824.JPG
10-24-2004 09:55:52

New MessageRE:st1200 as Linux mp3/ogg/wav client (e.g. homepod) w/ screenshots (modified 0 times) Sciallo
Profile
I would be interested in seeing some of the config files. Especially the script for XMMS you mention. Have you looked at NetJuke? what made you go with gnump3d?
10-24-2004 20:26:34

New MessageRE:st1200 as Linux mp3/ogg/wav client (e.g. homepod) w/ screenshots (modified 0 times) sledmouth
Profile
I like gnump3d because it has no dependencies other than perl, is extremely easy to configure and install, and is quite flexible. Netjuke requires apache, php, and mysql - I'm just familiar and happy with gnump3d for my requirements at this point. I'm sure Netjuke is great too - since it is themeable, perhaps a js virtual keyboard could be implemented for it as well...

Here are my pluggerc lines for to enable ssh'd xmms:
audio/mpeg-url: m3u: MPEG music resource locator
audio/x-mpeg-url: m3u: MPEG music resource locator
audio/mpegurl: m3u: MPEG music resource locator
audio/x-mpegurl: m3u: MPEG music resource locator
exits: xmuzak "$file" &

... and the script to ssh xmms:
cat `which xmuzak`
#!/usr/bin/perl
my $file = shift;
my $playlist = "/home/muzak/xmuzak.m3u";
my $httpmatch = "http://\w+:8888";
my $pathreplace = "/home/muzak/mp3";
open(PL,">$playlist");
open(M3,"$file");
while(<M3>){
s/^http:\/\/\w+:8888(.*)/$pathreplace$1/;
print PL $_;
#print $_;
}
close M3;
close PL;

`ssh muzak \"export DISPLAY=muzak:0;xmms -p /mp3/muzak/xmuzak.m3u&\"&`;

10-24-2004 20:58:53

Reply to Thread | Printer |
All times are PSTPowered by UltraBoard v1.62



Copyright © 2000, Netmake Inc. All Rights Reserved.
See Terms and Conditions for more information.




i-opener opener laptop notebook computer help drivers dll free windows dos repair fix linux mac macintosh 2000 95 98 nt pc configure hardware software sound video netscape explorer network networking lan wan software cmos fat bios printer card mouse modem ide scsi cd rom controllers scanner tape hard drive cgi scripts source code mp3