[nas] Can't connect to NAS
Paul England
pengland at cmt-asia.com
Tue Oct 17 06:39:11 MDT 2006
One last thing I forgot to mention, I'm not using an offset:
I'm starting nas like this:
/usr/X11R6/bin/nasd -aa -v -d 99
and setting the audioserver, via a perl script, like this:
ENV{AUDIOSERVER} = $ENV{HOSTNAME}:0;
that's essentially
EXPORT AUDIOSERVER = hostname:0
Paul England wrote:
> Can't figure this out.
>
> I've got one trouble machine. It is, for the most part, identical to
> two others that do not have a problem. I've run nasd in verbose debug
> mode to see the problem. On my okay machine, I view the output. After
> running my application which establishes a connection to nas, I see
> output. On my problem machine, after starting my application, I see no
> proof of it connecting to nas.
>
> I'm using the same script and programs to connect. The nas version is
> the same on both machines (1.7-r1). Both machines are gentoo. I'm
> using the same rc script and nasd.conf files on both machines (default,
> w/ the ebuild). The bad one gives me the "sound not available" error code.
>
> Also worth mentioning is that I've definitely set the AUDIOSERVER
> properly.... I have the program print it out even, as it starts. Still,
> no apparent connection.
>
> This is the output from non-working machine. I should add, it's
> identical to the other, so kind of pointless for me to post it, but
> hey... can't hurt.
>
> Regards
> Paul
>
> ---------------------------------------------------------------------------------
> config: ddaSetConfig() : unknown token 278, ignored
> config: Maxfrags set to 3
> config: Minfrags set to 2
> config: Fragsize set to 256
> config: Maxfrags set to 3
> config: Minfrags set to 2
> config: Fragsize set to 256
> @(#)Network Audio System Release 1.7
> @(#)Network Audio System Release 1.7
> AuInitPhysicalDevices();
> Init: will open device exclusivly.
> Init: Leaving the mixer device options alone at startup.
> openDevice OUT /dev/dsp mode 2
> openDevice(1) IN /dev/dsp1 mode 0
> Input open(/dev/dsp1) failed: No such file or directory, using output device
> setupSoundcard(...);
> ++ Setting up Output device (/dev/dsp)
> +++ requesting wordsize of 16, got 16
> +++ requesting 2 channel(s), got 2 channel(s)
> +++ Requesting minimum sample rate of 5000, got 5000
> +++ Requesting maximum sample rate of 44100, got 44100
> setTimer(rate = 0);
> createServerComponents(...);
> ----------------------------------------------------------------------------------
>
>
>
More information about the Nas
mailing list