How to fix low volume in thinclients.

AC Perdon turf.ph at gmail.com
Sun Aug 10 00:40:57 UTC 2008


Hi,

I have a thinclient, my problem is my workstation the sound is very low
while using head set, head sets are new so no problem with that. What I did
so far is follow the instruction on this link
https://lists.ubuntu.com/archives/edubuntu-devel/2007-September/002394.html.
So far no lack. Any suggestion?

1.download the script.
- content of the scrip (ltsp-setup-more):

#!/bin/bash
#
# Copyright Gideon Romm, Symbio Technologies
#
# Released under GPLv2
#
# This is a script to set up certain things
# that are not already setup in an SBA environment
#
# Specifically:
#   1. restore sound levels
#

# Set up local environment
if [ -f /etc/lts.conf ]; then
    eval `getltscfg -a`
fi

# Set up sound
### for ALSA, we use amixer
if [ -n "$VOLUME" ]; then
  amixer sset Master,0 ${VOLUME}% unmute 2>/dev/null
  amixer sset 'Master Digital',0 ${VOLUME}% unmute 2>/dev/null
  amixer sset Headphone,0 ${HEADPHONE_VOLUME:-$VOLUME}% unmute 2>/dev/null
fi
[ -n "$PCM_VOLUME" ] && amixer sset PCM,0 ${PCM_VOLUME}% unmute 2>/dev/null
[ -n "$MIC_VOLUME" ] && amixer sset Mic,0 ${MIC_VOLUME}% unmute cap
2>/dev/null
[ -n "$CD_VOLUME" ] && amixer sset CD,0 ${CD_VOLUME}% unmute 2>/dev/null
[ -n "$FRONT_VOLUME" ] && amixer sset Front,0 ${FRONT_VOLUME}% unmute
2>/dev/null

2. cp ltsp-setup-more /opt/ltsp/i386/etc/init.d

3. chmod 755 /opt/ltsp/i386/etc/init.d/ltsp-setup-more

4. chroot /opt/ltsp/i386/ update-rc.d ltsp-setup-more start 33 S .

5. Add the following in my /opt/ltsp/i386/etc/lts.conf

SOUND=Y
SOUND_DAEMON="esd"
VOLUME=100
HEADPHONE_VOLUME=100
PCM_VOLUME=100
MIC_VOLUME=100
CD_VOLUME=100
FRONT_VOLUME=100

other info that might help:

on board sound card
-multimedia
          description: Audio device
          product: MCP61 High Definition Audio
          vendor: nVidia Corporation
          physical id: 5
          bus info: pci at 0000:00:05.0
          version: a2
          width: 32 bits
          clock: 66MHz
          capabilities: pm msi ht bus_master cap_list
          configuration: driver=HDA Intel latency=0 maxlatency=5 mingnt=2
module=snd_hda_intel

OS: Ubuntu 8.04.1 I use the ltsp mode when setting up my ltsp server.

Thanks,
-- 
AC Perdon
Registered GNU/Linux User #340122
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20080810/ba26e724/attachment.html>


More information about the ubuntu-users mailing list