Xfce's mixer is a separate application I had to compile.
Something here doesn't make sense:
My session had one utaudio running, so I started another one:
[EMAIL PROTECTED]:/# ps -ef |grep audio
anilj 20775 1 0 08:17:01 ? 0:00
/opt/SUNWut/bin/utaudio (manually started)
anilj 6039 1 0 18:10:52 ? 0:15
/opt/SUNWut/bin/utaudio
[EMAIL PROTECTED]:/# pargs -e 20775 | egrep "AUDIO|DISPLAY"
envp[17]: DTLOGINDISPLAYCLASS=SunRay
envp[21]: AUDIODEV=/tmp/SUNWut/dev/utaudio/1
envp[40]: UTAUDIODEV=/tmp/SUNWut/dev/utaudio/1
envp[47]: DISPLAY=:2.0
[EMAIL PROTECTED]:/# pargs -e 6039 | egrep "AUDIO|DISPLAY" ("auto"
started after login I guess)
envp[22]: DISPLAY=:2
envp[32]: DTLOGINDISPLAYCLASS=SunRay
The mixer trys to use /dev/utaudio/1 (pid 6039), but it doesn't have
those AUDIODEV and UTAUDIODEV available. Is that the problem here?
bash-3.00$ ps -ef |grep mixer
anilj 20739 6141 0 08:14:38 pts/3 0:00
/opt/Xfce-beta/libexec/xfce4/panel-plugins/xfce4-mixer-plugin
socket_id=5812269
bash-3.00$ truss -p 20739
open("/tmp/SUNWut/dev/utaudio/1", O_RDONLY) (sleeping...)
bash-3.00$ echo $DISPLAY
:2.0
Bob Doolittle wrote:
The only way to tell is to examine the environment of utaudio and
see what its $DISPLAY is set to. You can use /usr/ucb/ps with the -ewww
option (as root) to do this on Solaris. I think the Linux ps has an
equivalent option.
I don't know Xfce but if it leverages the Solaris mixer that's known
to not work with Sun Ray. Instead, you need to use a separate utaudio
stream for each audio source and the firmware will mix them.
-Bob
Anil wrote:
So, how do I tell which instance number is being routed to my
specific DTU? To be more specific of the problem, I am running Xfce
and am attempting to get it's sound mixer to work.
When I add it to the Xfce panel (applet), and then I truss the mixer:
bash-3.00$ ps -ef |grep mixer
anilj 6358 6141 1 18:26:18 pts/3 0:00
/opt/Xfce-beta/libexec/xfce4/panel-plugins/xfce4-mixer-plugin
socket_id=5781612
bash-3.00$ truss -p 6358
open("/tmp/SUNWut/dev/utaudio/1", O_RDONLY) (sleeping...)
<it hangs here, and the applet is not added to the panel>
Dseven wrote:
Anil wrote on 09/ 6/06 08:07 AM:
Why do these audio variables get set incorrectly? Shouldn't they be
set to "2", as per the display?
bash-3.00$ echo $UTAUDIODEV
/tmp/SUNWut/dev/utaudio/1
bash-3.00$ echo $DISPLAY
:2.0
bash-3.00$ echo $AUDIODEV
/tmp/SUNWut/dev/utaudio/1
No, that's not the display number - it's just an instance number. You
can run multiple instances of utaudio in the same Sun Ray session, and
each will get a different number (and the audio will get mixed at the
DTU).
~D..
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users