Re: Soundcard over Network

Richard B. Johnson (root@chaos.analogic.com)
Wed, 28 Apr 1999 19:19:08 -0400 (EDT)


On Wed, 28 Apr 1999, Raphael Becker wrote:

> Hi !
>
> I want to use my soundcard in PC1 with applications from PC2 (has no
> soundcard). PC1 and PC2 are connected by Fast-Ethernet (DEC 21140-
> "tulip"-cards and X-over cable).
>
> Is there a way to redirect the /dev/dsp, /dev/audio, /dev/mixer ...
> over the network so that applications on PC2 "think", that there is a
> local soundcard available?
>
> Any HOW-TOs? Any hints?
>
> Greetings
> Raphael Becker

The special files in /dev are just a 'trick' to associate a major/minor
number with a file-descriptor. So, if you attempt to open one of
these devices on a remote node using, say, a remotely-mounted file-system,
the open will fail unless the device is local.

That said, it is of course (in principle) possible to access the
remote device. It could be done using a daemon much like the NFS
daemon. The daemon performs functions on behalf of a remote user
via a socket/port combination for communication.

Of course you will have to write both the server and the client
yourself. There is already such a device on most Sys-V systems
called `rmt` (man rmt). It was designed to manipulate tape drives
remotely. It may be possible to use it directly from a suitable
script.

Cheers,
Dick Johnson
***** FILE SYSTEM WAS MODIFIED *****
Penguin : Linux version 2.2.6 on an i686 machine (400.59 BogoMips).
Warning : It's hard to remain at the trailing edge of technology.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/