PDA

View Full Version : Squeezebox as bridge and LIRC receiver?



=?iso-8859-1?Q?Jukka_V=E4is=E4nen?=
2004-04-14, 04:02
While convincing myself to go through the hassle and extra expense of
getting a Squeezebox to Finland, I've browsed through the mailing list
archives but couldn't find an answer to these ponderings.


1) Use of the Squeezebox as a 802.11 bridge

I have a wirelesss lan set up already at home so the Squeezebox would fit
right in. However I'm also building a small Linux-based digital TV
receiver/recorder (VDR) which is going to sit in the same place as my hifi,
tv and Squeezebox.

There is no decent way to run Cat5e from my DSL and desktop PCs to this
location so I was wondering if the Squeezebox could act also as a bridge
between 802.11b and the wired ethernet. Since it has both ports it seems
logical that the unit actually contains a 3-port switch that is connecting
the 802.11b, the squeezebox ethernet and the external ethernet port (similar
to my ~$99 Linksys 802.11b/g WRT54G access point with built-in 5port
switch). BTW, the WRT54G now comes with a faster CPU (200MHz MIPS) in the
new 2.0 HW rev and with easily "hacked" Linux in it - strongly recommended
and useful kit for home projects (right now I'm putting in an IPSec VPN
client). If the switch is there, then I've got my bridge.

If this is possible, then I'd just cable up the linux box to the Squeezebox
with a cross-over cable and save the cost, hassle and antenna-jungle of
another 802.11b bridge or a PCI 802.11b card.


2) Remote control of the Linux (LIRC) through the Squeezebox

I'd of course love to use the Squeezebox as a display for the VDR (to show
channel and recorder status) and this I already know would be pretty
straightforward. However the VDR is pretty useless without a remote which
means installing an IR receiver in the Linux box. So again I'm looking to
use the IR on the Squeezebox to grab commands from my universal remote and
forward them to the VDR Linux (which would also be running the SlimServer)
and somehow stuff that into LIRC for handling by the VDR software, mplayer
or whatever is running on my TV at that time.

Has anyone done this or something similar to use the Squeezebox as a generic
LIRC receiver? Of course I *could* go xAP try to tie everything together
through that (xAP enable the VDR or LIRC) but I thought I'd start with
something more modest.



- Jukka Väisänen

landen-slimp@frg.eur.nl
2004-04-16, 02:13
On Wed, 14 Apr 2004 14:02:28 +0300, "Jukka Väisänen"
<Jukka.Vaisanen (AT) exomi (DOT) com> said:

> While convincing myself to go through the hassle and extra expense of
> getting a Squeezebox to Finland, I've browsed through the mailing list
> archives but couldn't find an answer to these ponderings.
>
> 1) Use of the Squeezebox as a 802.11 bridge

Sounds unlikely to me...

> 2) Remote control of the Linux (LIRC) through the Squeezebox
>
> I'd of course love to use the Squeezebox as a display for the VDR (to
> show
> channel and recorder status) and this I already know would be pretty
> straightforward. However the VDR is pretty useless without a remote which
> means installing an IR receiver in the Linux box. So again I'm looking to
> use the IR on the Squeezebox to grab commands from my universal remote
> and
> forward them to the VDR Linux (which would also be running the
> SlimServer)
> and somehow stuff that into LIRC for handling by the VDR software,
> mplayer
> or whatever is running on my TV at that time.
>
> Has anyone done this or something similar to use the Squeezebox as a
> generic
> LIRC receiver? Of course I *could* go xAP try to tie everything together
> through that (xAP enable the VDR or LIRC) but I thought I'd start with
> something more modest.


I haven't really looked into using the Slim devices as LIRC inputs, but I
have managed to get my SlimMP3 to drive the Freevo software in an early
Freevo version. I couldn't get Linux & Freevo to play nice with my TV out
card, so I abandoned that project. :-(

I recently made my Videobox application available
(http://videobox.sf.net) which is a more succesful attempt (I actually
use it every day) to do the same but this time by driving a Windows Media
Player ActiveX control. It's more than just a remote control application
since it has a built-in SlimServer-like navigation structure. Videobox (A
wxPerl application) could be stripped of the Windows & WMP specific code
and made to run on Linux (I've actually done this as a test). If you
could adapt it to control Mplayer you would end up with a Videobox for
Linux... If you would like to try this, let me know... The Slimserver
plugin that's part of Videobox could be a useful start for a LIRC
application since it just forwards remote control button presses to a udp
port.

Alternatively I have experimented with a Slimserver plugin that speaks
the 'Internet' protocol used by the Girder software (a generic Windows
remote control application) and used it to drive a shareware version of
Showshifter. That works very well. This plugin could be used in
combination with Girder to drive most Windows applications. If anyone's
interested in the plugin code they can mail me.

Regards,
Peter