[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [K12OSN] Another run at sound



Here it is Jim


On Tue, 2003-10-07 at 14:24, jam mcquil com wrote:
> Duane,
> 
> Send me a copy of your lts.conf file, I want to see how
> it's configured now, and then we can move forward.
> 
> Jim.
> 
> 
> 
> On 7 Oct 2003, Duane Wilson wrote:
> 
> > Finally have some more time to diagnosis my sound problem.
> > 
> > Below is  a clip from a prior thread that I would like to pick up if I
> > could again impose upon all of you.
> > 
> > Groan. Okay, let's do some real down-and-dirty hacking.
> > 
> > First, try booting the terminal in runlevel 3. In
> > /opt/ltsp/i386/etc/lts.conf
> > change "RUNLEVEL = 5" to "RUNLEVEL = 5". This will boot you to a 
> > command prompt. At the command prompt, type:
> > 
> > OK, I got to runlevel 3 - a bash prompt on the terminal
> > 
> >         ps auxw | grep esd
> > 
> > If this returns something like:
> > 
> >         472 root     S   /bin/esd -public -nobeeps -tcp -port 16001
> > 
> > then ESD is running on the terminal. ESD *should* *not* be running
> > in this case, let us know if it is.
> > 
> > 
> > YEP,  It is running but it souldn't be.
> > 
> > Next, type:
> > 
> >         ps auxw | grep nasd
> > 
> > If this returns something like:
> > 
> >         469 root     S   /bin/nasd -aa
> > 
> > then NASD is running on your terminal. NASD *should* be running, let
> > us know if it is not.
> > 
> > NO it is not running, but it sould be.
> > 
> > Show me haw to turn off esd and turn on nasd then I will do the rest of
> > the exercise.
> > 
> > 
> > Thanks,
> > Duane
> > 
> > 
> > Reset "RUNLEVEL = 5" back in lts.conf & reboot the terminal (or just
> > run /tmp/start_ws to skip the reboot).
> > 
> > 
> > If NASD is indeed running, we'll have to debug the user-space script
> > /etc/profile.d/ltsp-esound.sh. Let's start by using a bare-minimum
> > script and work backwards from there.
> > 
> > Move /etc/profile.d/ltsp-esound.sh to a safe place, such as /root/
> > Make a new /etc/profile.d/ltsp-esound.sh containing the following
> > lines:
> > 
> >         #!/bin/sh
> >         LD_PRELOAD=/lib/libaudiooss.so.1.0
> >         export AUDIOSERVER="$DISPLAY"
> > 
> > 
> > Make sure the script is executable:
> > 
> >         chmod a+x /etc/profile.d/ltsp-esound.sh
> > 
> > 
> > Now reboot the terminal and report back whether or not sound works.
> > 
> > If things go horribly wrong, just move the original ltsp-esound.sh 
> > script back to /etc/profile.d/
> > 
> > -Eric
> > 
> > 
> > _______________________________________________
> > K12OSN mailing list
> > K12OSN redhat com
> > https://www.redhat.com/mailman/listinfo/k12osn
> > For more info see <http://www.k12os.org>
> > 
> > 
> > 
> > 
> > 
> > _______________________________________________
> > K12OSN mailing list
> > K12OSN redhat com
> > https://www.redhat.com/mailman/listinfo/k12osn
> > For more info see <http://www.k12os.org>
> > 
> 
> 
> _______________________________________________
> K12OSN mailing list
> K12OSN redhat com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
#
# Config file for the Linux Terminal Server Project (www.ltsp.org)
#
# See lts.conf.readme for a description of each configuration item
# School year 03-04

[Default]
        # IP address of the LTSP server
        SERVER             = 192.168.0.254

        # Video drivers for the terminals
        XSERVER            = auto
            # XFree 4 drivers: ati cirrus cyrix fbdev i128 i740 i810 mga
            #      neomagic nv r128 radeon rendition s3 s3virge savage 
            #      siliconmotion sis tdfx tga trident tseng vesa vga
            # XFree 3 drivers: XF86_FBDev XF86_S3 XF86_S3V XF86_SVGA
            #      XF86_VGA16 XFree86 Xvesa

        # Mice drivers for the terminals
        X_MOUSE_PROTOCOL   = "PS/2"
            # Mouse protocols: ExplorerPS/2 GlidePoint GlidePointPS/2
            #      IMPS/2 IntelliMouse Microsoft MouseManPlusPS/2 
            #      NetMousePS/2 NetScrollPS/2 PS/2 ThinkingMouse 
            #      ThinkingMousePS/2 usb
        X_MOUSE_DEVICE     = "/dev/psaux"
        # X_MOUSE_RESOLUTION = 400
        X_MOUSE_BUTTONS    = 3
        X_USBMOUSE_PROTOCOL= "IMPS/2"
        X_USBMOUSE_DEVICE  = "/dev/input/mice"
        X_USBMOUSE_BUTTONS = 5
        # X_USBMOUSE_RESOLUTION = 400

        # Keyboards
        XkbSymboles        = "us(pc101)"
        XkbModel           = "pc101"
        XkbLayout          = "us"
            # Example of setting a different (German) keyboard mapping,
            #    XkbLayout = "de"
            # also see:
            #   http://www.xfree86.org/current/XKB-Config2.html
            #   http://www.ltsp.org/documentation/ltsp-3.0-4-en.html#AEN1213
            #   /opt/ltsp/i386/usr/X11R6/lib/X11/xkb/rules/xfree86.lst
            #   (/opt/ltsp/i386/usr/X11R6/lib/X11/xkb/symbols/)
            #   (/opt/ltsp/i386/usr/X11R6/lib/X11/xkb/keymap/xfree86)

        USE_XFS            = N
        LOCAL_APPS         = N
        RUNLEVEL           = 5

        # uncomment the following line to enable floppy support
        #RCFILE_01          = floppyd

        # uncomment the following line to enable USB support
        RCFILE_02          = usb

        # enable sound by default
        SOUND              = Y

	#added 9-1-03 as suggested by Eric
	SOUND_DAEMON	= nasd

        # default sound volume
        VOLUME             = 75

        ### For ISA sound cards, you have to specify the module to use:
        # SMODULE_01       = sb io=0x220 irq=5 dma=1

#----------------------------------------------------------------
#from 02-03 compaq oldltsconf

#HPVectra connected to HP100
[00:04:5a:65:3c:89]
PRINTER_0_DEVICE=/dev/lp0
PRINTER_0_TYPE =P

[00:04:5a:65:bf:28]
XSERVER                 = XF86_SVGA
X_MODE_0 = "800x600"
X_MODE_1 = "640x480"

[00:50:41:01:8f:96]
#XSERVER			= XF86_5530
X_MODE_0 = "1024x768" 75 1024 1048 1184 1328 768 771 777 806 -hsync -vsync
X_MODE_1 = "800x600" 50 800 856 976 1040 600 637 643 666 +hsync +vsync
X_MODE_2 = "640x480" 36 640 696 752 832 480 481 484 509 -Hsync -Vsync
#SOUND	= Y
#SOUND_DAEMON=nasd
SMODULE_01 =cx5530

[00:50:41:01:90:f8]
#XSERVER			= XF86_5530
X_MODE_0 = "1024x768" 75 1024 1048 1184 1328 768 771 777 806 -hsync -vsync
X_MODE_1 = "800x600" 50 800 856 976 1040 600 637 643 666 +hsync +vsync
X_MODE_2 = "640x480" 36 640 696 752 832 480 481 484 509 -Hsync -Vsync
#SOUND	= Y
#SOUND_DAEMON=nasd
SMODULE_01 =cx5530

[00:50:41:01:90:98]
#XSERVER			= XF86_5530
X_MODE_0 = "1024x768" 75 1024 1048 1184 1328 768 771 777 806 -hsync -vsync
X_MODE_1 = "800x600" 50 800 856 976 1040 600 637 643 666 +hsync +vsync
X_MODE_2 = "640x480" 36 640 696 752 832 480 481 484 509 -Hsync -Vsync
#SOUND	= Y
#SOUND_DAEMON=nasd
SMODULE_01 =cx5530

[00:50:41:01:90:41]
#XSERVER			= XF86_5530
X_MODE_0 = "1024x768" 75 1024 1048 1184 1328 768 771 777 806 -hsync -vsync
X_MODE_1 = "800x600" 50 800 856 976 1040 600 637 643 666 +hsync +vsync
X_MODE_2 = "640x480" 36 640 696 752 832 480 481 484 509 -Hsync -Vsync
#SOUND	= Y
#SOUND_DAEMON=nasd
SMODULE_01 =cx5530

[00:d0:b7:b4:d0:68]
XSERVER		= auto
#SOUND	= Y

[00:d0:b7:b4:d0:76]
XSERVER		= auto
X_MODE_0	=1024x768
#SOUND	= Y

[00:d0:b7:b4:d0:52]
XSERVER		= auto
X_MODE_0	=1024x768
#SOUND	= Y

[00:d0:b7:b4:d0:48]
XSERVER		= auto
X_MODE_0	=1024x768
#SOUND	= Y

[00:d0:b7:b4:d0:68]
XSERVER		= auto
#SOUND	= N

[00:d0:b7:b4:d0:4b]
XSERVER		= auto
X_MODE_0	=1024x768
#SOUND	=	N

[00:50:41:01:8f:9c]
#XSERVER			= auto
X_MODE_0 = "1024x768" 75 1024 1048 1184 1328 768 771 777 806 -hsync -vsync
X_MODE_1 = "800x600" 50 800 856 976 1040 600 637 643 666 +hsync +vsync
X_MODE_2 = "640x480" 36 640 696 752 832 480 481 484 509 -Hsync -Vsync
#SOUND	= Y
#SOUND_DAEMON=nasd
SMODULE_01 =cx5530

[00:04:5a:65:3b:af]
XSERVER			=auto
X_MODE_0                = 640x480

[00:04:5a:65:bf:8d]
XSERVER			=auto
X_MODE_0		=800x600

[00:04:5a:65:3b:ba]
XSERVER			=auto
X_MODE_0		=1024x768

[00:04:5a:65:bf:61]
XSERVER			=auto
PRINTER_0_DEVICE=/dev/lp0
PRINTER_0_TYPE =P

#[192.168.0.243]
[00:04:5a:65:3b:aa]
XSERVER			=auto
X_MODE_0                = 640x480
      X_MOUSE_PROTOCOL    = "Microsoft"
      X_MOUSE_DEVICE      = "/dev/ttyS0"
      X_MOUSE_BUTTONS     = 2
      X_MOUSE_EMULATE3BTN = Y

[00:04:5a:65:3c:85]
XSERVER			=XF86_SVGA

[00:04:5a:65:3B:99]
XSERVER			=XF86_SVGA
X_MODE_0		=640x480

[00:04:5a:65:3c:f0]
XSERVER			=auto
X_MODE_0		=1024x768

#from 02-03 compaq oldltsconf
#-------------------------

#------------------------------------------------------------------------------
# Below are sample mode lines for a variety of vertical refresh rates and
# resolutions.  They are used to define the default client screen resolution.
# Some lines may not work with a given monitor and video chipset.
# To avoid damaging a monitor and video card, only specify mode lines that
# your client's hardware can support.
# Uncomment only *one* of the following X_MODE_0 lines at a time, or add one
# of your own.

# 60 Hz Resolutions
#   X_MODE_0 = 640x480   25.175   640  656  752  800   480 490 492 525  -hsync -vsync
#   X_MODE_0 = 800x600   40       800  840  968 1056   600 601 605 628  +hsync +vsync
#   X_MODE_0 = 1024x768  65      1024 1048 1184 1344   768 771 777 806  -hsync -vsync

# 70 Hz Resolutions (Use instead of 72 Hz for 1024x768)
#   X_MODE_0 = 1024x768  75      1024 1048 1184 1328   768 771 777 806  -hsync -vsync

# 72 Hz Resolutions
#   X_MODE_0 = 640x480   31.5     640  664  704  832   480 489 492 520  -hsync -vsync 
#   X_MODE_0 = 800x600   50       800  856  976 1040   600 637 643 666  +hsync +vsync
#   X_MODE_0 = 1024x768  75      1024 1048 1192 1296   768 771 777 806  -hsync -vsync

# 75 Hz Resolutions
#   X_MODE_0 = 800x600   49.5     800  816  896 1056   600 601 604 625  +hsync +vsync

# 85 Hz Resolutions
#   X_MODE_0 = 800x600   60.75    800  864  928 1088   600 616 621 657  -hsync -vsync


#------------------------------------------------------------------------------
#
# Example of specifying X settings for a workstation
#
[ws001]
        XSERVER            = auto
        LOCAL_APPS         = N
        USE_NFS_SWAP       = N
        SWAPFILE_SIZE      = 48m
        RUNLEVEL           = 5

[ws002]
        XSERVER            = XF86_SVGA
        LOCAL_APPS         = N
        USE_NFS_SWAP       = N
        SWAPFILE_SIZE      = 64m
        RUNLEVEL           = 3

#
# ws004 is my virtual workstation running in a VMware session
#
[ws004]
        DNS_SERVER         = 192.168.0.254
        XSERVER            = auto
        X4_BUSID           = "PCI:0:15:0"
        X_MODE_0           = 800x600
        LOCAL_APPS         = N
        USE_NFS_SWAP       = N
        SWAPFILE_SIZE      = 64m
        RUNLEVEL           = 5

#------------------------------------------------------------------------------
#
# Example of a workstation configured to load some modules
#
#[ws001]
#    MODULE_01       = agpgart.o              # This is for i810 video
#    MODULE_02       = uart401.o
#    MODULE_03       = sb.o io=0x220 irq=5 dma=1
#    MODULE_04       = opl3.o

#------------------------------------------------------------------------------
#
# Example of ws001 configured for local apps
#
#[ws001]
#    LOCAL_APPS      = Y
#    LOCAL_WM        = Y
#    NIS_DOMAIN      = ltsp
#    NIS_SERVER      = 192.168.0.254

#------------------------------------------------------------------------------
#
# Example of a serial printer attached to /dev/ttyS1 on workstation ws001
#
#[ws001]
#    PRINTER_0_DEVICE   = /dev/ttyS1
#    PRINTER_0_TYPE     = S              # P-Parallel, S-Serial
#    PRINTER_0_PORT     = 9100           # tcp/ip port: defaults to 9100
#    PRINTER_0_SPEED    = 9600           # baud rate: defaults to 9600
#    PRINTER_0_FLOWCTRL = S              # Flow control: S-Software (XON/XOFF),
#                                        # H-Hardware (CTS/RTS)
#    PRINTER_0_PARITY   = N              # Parity: N-None, E-Even, O-Odd
#                                        # (defaults to 'N')
#    PRINTER_0_DATABITS = 8              # Databits: 5,6,7,8 (defaults to 8)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]