View  Edit  Attributes  History  Attach  Print  Search

Freecom FSG-3

Project.FSG-3 History

Hide minor edits - Show changes to markup

March 28, 2007, at 06:05 PM by blader_se -
Changed lines 3-6 from:

I've bought the Freecom FSG-3 (non WLAN version) with the intention of setting up Slimserver for my SlimDevices Squeezebox

to:

I've bought the Freecom FSG-3 (non WLAN version) with the intention of setting up Slimserver for my SlimDevices Squeezebox. This draws about 20 W.

I've now after some months given up on this setup and instead invested in a MediaServer.

September 22, 2006, at 07:57 AM by blader_se -
Changed lines 197-198 from:

Loading device description failed with error: 400 URL must be absolute Device may be down or on an unreachable subnet. at /home/public/slim/dist/SlimServer_v6.3.1/Slim/Utils/UPnPMediaServer.pm line 66

to:

Loading device description failed with error: 400 URL must be absolute Device may be down or on an unreachable subnet. at /home/public/slim/dist/SlimServer_v6.3.1/Slim/Utils/UPnPMediaServer.pm line 66

September 22, 2006, at 07:56 AM by blader_se -
Deleted line 6:
Added lines 8-10:

Sometimes when you switch skins, stuff gets all goofed up in the browser cache. If you are on a PC, hit CTRL+F5 simultaneously to force the browser to fully refresh, not use its local cached copy.


September 22, 2006, at 07:52 AM by blader_se -
Added lines 9-25:

http://forums.slimdevices.com/showthread.php?p=138171#post138171

I have been using 6.3 with mysql and when I switched to 6.5 I had to change: Code:

dbsource: dbi:mysql:database=slimserver

To: Code:

dbsource: dbi:mysql:hostname=127.0.0.1;port=3306;database=slimserver

Slimserver itself seems to partly work without this change, but the scanning process failed to connect to mysql if I didn't make this change. With 6.5b2 they both work but with 6.5.0 only the later seems to work, at least this is the case in my setup.


September 21, 2006, at 11:29 PM by blader_se -
Changed lines 204-236 from:
    # ipkg install lame
to:
    # ipkg install lame

It seems that the song info still can't be retrieved...

2006-09-21 14:41:54.3025 HTTP request: from 192.168.10.100 (HTTP::Daemon::ClientConn=GLOB(0x2275944)) for GET HTTP/1.1 /status_header.html?p0=play&player=192.168.10.100 
2006-09-21 14:41:54.3198 HTTP parameter p0 = play
2006-09-21 14:41:54.3269 HTTP parameter player = 192.168.10.100
2006-09-21 14:41:54.3454 processURL Clients: 192.168.10.100:1164
2006-09-21 14:41:54.3573  Executing command 192.168.10.100: play () () () () () () ()
2006-09-21 14:41:54.3633 192.168.10.100: Switching to mode play from stop
2006-09-21 14:41:54.3702 Backtrace:

   frame 0: Slim::Player::Source::playmode (/home/public/slim/dist/SlimServer_v6.3.1/Slim/Control/Command.pm line 267)
   frame 1: Slim::Control::Command::execute (/home/public/slim/dist/SlimServer_v6.3.1/Slim/Web/HTTP.pm line 693)
   frame 2: Slim::Web::HTTP::processURL (/home/public/slim/dist/SlimServer_v6.3.1/Slim/Web/HTTP.pm line 551)
   frame 3: Slim::Web::HTTP::processHTTP (/home/public/slim/dist/SlimServer_v6.3.1/Slim/Networking/Select.pm line 141)
   frame 4: Slim::Networking::Select::select (./slimserver.pl line 705)
   frame 5: main::idle (./slimserver.pl line 641)
   frame 6: main::main (./slimserver.pl line 1281)

2006-09-21 14:41:54.3835 _checkValidity: Checking to see if file:///home/public/MyMusic/Abigail-dontyouwannaknow.mp3 has changed.
2006-09-21 14:41:54.4013 _checkValidity: Checking to see if file:///home/public/MyMusic/Abigail-dontyouwannaknow.mp3 has changed.
2006-09-21 14:41:54.4191 _checkValidity: Checking to see if file:///home/public/MyMusic/Abigail-dontyouwannaknow.mp3 has changed.
2006-09-21 14:41:54.4303 openSong on: file:///home/public/MyMusic/Abigail-dontyouwannaknow.mp3
2006-09-21 14:41:54.4481 Got /home/public/MyMusic/Abigail-dontyouwannaknow.mp3 from file url file:///home/public/MyMusic/Abigail-dontyouwannaknow.mp3
2006-09-21 14:41:54.4559 extracted: /home/public/MyMusic/Abigail-dontyouwannaknow.mp3 from file:///home/public/MyMusic/Abigail-dontyouwannaknow.mp3
2006-09-21 14:41:54.4846 openSong: getting duration  , size , endian  and offset 0 for file:///home/public/MyMusic/Abigail-dontyouwannaknow.mp3
2006-09-21 14:41:54.4898 openSong: not bothering opening file with zero size or duration
2006-09-21 14:41:54.5037 _checkValidity: Checking to see if file:///home/public/MyMusic/Abigail-dontyouwannaknow.mp3 has changed.
2006-09-21 14:41:54.5198 ERROR: Couldn't open song.

September 21, 2006, at 10:49 PM by blader_se -
Added lines 200-204:

I installed lame with

    # ipkg install lame
September 21, 2006, at 10:26 PM by blader_se -
Added lines 168-199:

Setting the Music library path, I now get informed that: "Your music library contains 1e+99 albums with 1e+99 songs by 1e+99 artists."

Ok, but a "Browse Music Folder" button appeared, here I can see all my songs, but as soon as I click the song I get empty information about it, so it seems that it can't read the info.

Going into the Server settings page and adding some logging, I got the following error in the http://fsg:9000/log.txt:

Loading device description failed with error: 400 URL must be absolute Device may be down or on an unreachable subnet. at /home/public/slim/dist/SlimServer_v6.3.1/Slim/Utils/UPnPMediaServer.pm line 66

and later also

2006-09-21 14:23:37.0502 Checking for lame in /home/public/slim/dist/SlimServer_v6.3.1/Bin/armv5b-softfloat-linux/lame
2006-09-21 14:23:37.0562 Checking for lame in /home/public/slim/dist/SlimServer_v6.3.1/Bin/linux/lame
2006-09-21 14:23:37.0622 Checking for lame in /home/public/slim/dist/SlimServer_v6.3.1/Bin/lame
2006-09-21 14:23:37.0681 Checking for lame in /usr/bin/lame
2006-09-21 14:23:37.0739 Checking for lame in /bin/lame
2006-09-21 14:23:37.0798 Checking for lame in /usr/sbin/lame
2006-09-21 14:23:37.0858 Checking for lame in /sbin/lame
2006-09-21 14:23:37.0917 Checking for lame in /usr/local/bin/lame
2006-09-21 14:23:37.0977 Checking for lame in /usr/local/sbin/lame
2006-09-21 14:23:37.1036 Checking for lame in /opt/bin/lame
2006-09-21 14:23:37.1095 Checking for lame in /opt/sbin/lame
2006-09-21 14:23:37.1154 Checking for lame in /usr/bin/lame
2006-09-21 14:23:37.1213 Checking for lame in /usr/local/bin/lame
2006-09-21 14:23:37.1273 Checking for lame in /sw/bin/lame
2006-09-21 14:23:37.1328 Found binary undef for lame
September 21, 2006, at 10:07 PM by blader_se -
Added lines 162-167:

I point my webbrowser at http://fsg:9000 and notice that

1. My squeezebox was not found,

   Well I took another browser and pointed to http://fsg:9000/stream.mp3 and Mediaplayer came up trying to catch the stream.
September 21, 2006, at 10:03 PM by blader_se -
September 21, 2006, at 10:03 PM by blader_se -
Added lines 141-161:

I now edited the build-perl-modules.pl script and removed the db packages to get the rest that was needed

my @packages = qw(
       Digest-SHA1-2.11.tar.gz
       HTML-Parser-3.45.tar.gz
       Template-Toolkit-2.13.tar.gz
       Time-HiRes-1.66.tar.gz
       XML-Parser-2.34.tar.gz
);

This time I did not notice any errors.

8. Start Slimserver (I have /home/slim/data as my slimserver data dir)

  1. ./slimserver.pl --daemon --prefsfile /home/public/slim/data/slimserver.pref --cachedir /home/public/slim/data
September 21, 2006, at 10:00 PM by blader_se -
Added line 24:
Added line 28:
Added lines 86-92:

Now I need to add /opt/armeb/bin to the path, to avoid the error "/bin/sh: armv5b-softfloat-linux-gcc: not found"

     # PATH=$PATH:/opt/armeb/bin
Changed lines 97-101 from:
     /bin/sh: armv5b-softfloat-linux-gcc: not found

This is fixed by adding /opt/armeb/bin to the path:

     # PATH=$PATH:/opt/armeb/bin
to:
Downloading DBI-1.46.tar.gz to: /home/public/slim/dist/download
Uncompressing..
Configuring..
 /usr/bin/perl Makefile.PL

    I see you're using perl 5.008008 on armv5b-softfloat-linux, okay.
    Remember to actually *read* the README file!
    Use  'make' to build the software (dmake or nmake on Windows).
    Then 'make test' to execute self tests.
    Then 'make install' to install the DBI and then delete this working
    directory before unpacking and building any DBD::* drivers.

Building..
In file included from DBIXS.h:31,
                 from DBI.xs:12:
dbipport.h:227:1: warning: "PERL_UNUSED_DECL" redefined
In file included from DBIXS.h:19,
                 from DBI.xs:12:
/opt/lib/perl5/5.8.8/armv5b-linux/CORE/perl.h:163:1: warning: this is the location of the previous definition
DBI.xs: In function `dbih_clearcom':
DBI.xs:1129: warning: unused variable `Perl___notused'
DBI.xs: In function `dbih_get_fbav':
DBI.xs:1273: warning: unused variable `Perl___notused'
DBI.xs: In function `dbih_set_attr_k':
DBI.xs:1444: warning: unused variable `Perl___notused'
DBI.xs:1353: warning: unused variable `Perl___notused'
DBI.xs:1571: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make: *** [DBI.o] Error 1
Library for DBI-1.46.tar.gz is OK!

I now saw that the perl-dbd-sqlite, perl-dbi and perl-dbix-contextualfetch was availible as ipkg packaes so, I installed those:

# ipkg install perl-dbd-sqlite
# ipkg install perl-dbi
# ipkg install perl-dbix-contextualfetch
September 21, 2006, at 09:40 PM by blader_se -
Changed lines 17-92 from:

to:

I'm trying to install by doing the following:

  1. Installed ipkg as described in openfsg.com/HowTo Custom ipkg installer and then reboot
  2. 3. Added some ipkg feeds in folder /opt/etc/ipkg. I have one feed in each conf-file.
     cross-feed.conf
     src/gz cross http://ipkg.nslu2-linux.org/feeds/optware/ds101/cross/stable

After finding a posting in the openfsg forum, I changed this to

     cross-feed.conf
     src/gz cross http://ipkg.nslu2-linux.org/feeds/optware/fsg3/cross/unstable


     rmc-fsg-feed.conf
     src/gz rmc-fsg http://www.xs4all.nl/~rmc/fsg/feed

     unslung-cross-feed.conf
     src/gz unslung-cross http://ipkg.nslu2-linux.org/feeds/unslung/cross

     unslung-native-feed.conf
     src/gz unslung-native http://ipkg.nslu2-linux.org/feeds/unslung/native
  1. This is to get a native compiling environment. Expat required by Slimserver build-script.
     ipkg update
     ipkg install unslung-devel
     ipkg install expat
     reboot
     ldconfig
  1. . Modify the build-perl-modules.pl script (find the code section in the script and add the XML-Parser part)

my %packageOptions = (

    'Template-Toolkit-2.13' => {

        'Makefile.PL' => join(' ', qw(
            TT_DOCS=n
            TT_SPLASH=n
            TT_THEME=n
            TT_EXAMPLES=n
            TT_EXAMPLES=n
            TT_EXTRAS=n
            TT_QUIET=y
            TT_ACCEPT=y
            TT_DBI=n
            TT_LATEX=n
        )),
    },

    'DBD-SQLite-1.08' => {

        'env' => [qw(DBI-1.46/blib/lib: DBI-1.46/blib/arch)],
    },

    'XML-Parser-2.34' => {
        'Makefile.PL' => join(' ', qw(
            EXPATLIBPATH=/opt/lib
            EXPATINCPATH=/opt/include
        )),
    },

);

  1. Finger crossed. ./build-perl-modules.pl

And here it goes bad, first I get

     /bin/sh: armv5b-softfloat-linux-gcc: not found

This is fixed by adding /opt/armeb/bin to the path:

     # PATH=$PATH:/opt/armeb/bin
September 14, 2006, at 02:44 PM by blader_se -
Changed lines 5-17 from:
to:

http://ipkg.nslu2-linux.org/feeds/optware/fsg3/cross/unstable/

It has the same contents as the ds101 feed that everyone has been using, but it can now be modified specifically for the fsg3 (for things that are different from the ds101).

I would hope that all FSG3 package developers become Optware developers and contribute their packages to this dedicated feed.

-- Rod Whitby -- NSLU2-Linux Project Lead


September 10, 2006, at 12:01 PM by blader_se -
Changed lines 4-5 from:
to:
September 10, 2006, at 12:01 PM by blader_se -
Added lines 1-5:

(:title Freecom FSG-3:)

I've bought the Freecom FSG-3 (non WLAN version) with the intention of setting up Slimserver for my SlimDevices Squeezebox Attach:FSG-3.jpg Δ Attach:SB3.jpg Δ