Find the answer to your Linux question:
Results 1 to 9 of 9
I'm having trouble getting sound of my debian system. Trying to use mplayer and alsa. This is a pretty simple debian core. Not even to sure if I have a ...
  1. #1
    Just Joined!
    Join Date
    Nov 2006
    Posts
    6

    Oh no, not another sound problem.

    I'm having trouble getting sound of my debian system. Trying to use mplayer and alsa. This is a pretty simple debian core. Not even to sure if I have a GUI installed on it. ( I do all of my work with this box via ssh )

    Anyways, when I use mplayer, it acts like it is playing it, however, no sound from the speakers. (WTF?!) Speakers are pulled from a known working machine and are powered on with volume full cranked.

    Here is the output of the following commands in hopes someone could aid me in this issue.

    /sbin/lsmod
    lspci -v | grep audio
    uname -r
    cat /proc/asound/cards (if applicable)
    cat /proc/asound/oss/sndstat (if applicable)

    --------------------------

    Module Size Used by
    snd_intel8x0 29852 0
    snd_ac97_codec 82848 1 snd_intel8x0
    snd_ac97_bus 2432 1 snd_ac97_codec
    snd_pcm_oss 38048 0
    snd_mixer_oss 15232 1 snd_pcm_oss
    snd_pcm 65928 3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
    snd_timer 19972 1 snd_pcm
    snd 45412 6 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_ oss,snd_pcm,snd_timer
    soundcore 8928 1 snd
    snd_page_alloc 10248 2 snd_intel8x0,snd_pcm
    ppdev 8708 0
    lp 10948 0
    button 6800 0
    ac 5252 0
    battery 9732 0
    ipv6 213984 14
    dm_snapshot 15644 0
    dm_mirror 18000 0
    dm_mod 48952 2 dm_snapshot,dm_mirror
    sbp2 20488 0
    loop 14216 0
    evdev 9088 0
    parport_pc 31524 1
    parport 32200 3 ppdev,lp,parport_pc
    psmouse 34568 0
    pcspkr 2816 0
    serio_raw 6532 0
    amd64_agp 12036 0
    sis_agp 8452 1
    agpgart 29360 2 amd64_agp,sis_agp
    shpchp 32796 0
    pci_hotplug 28088 1 shpchp
    eth1394 17540 0
    ext3 116488 1
    jbd 47272 1 ext3
    ide_disk 14848 3
    sata_sis 8452 0
    libata 87700 1 sata_sis
    scsi_mod 121992 2 sbp2,libata
    ohci1394 30000 0
    ieee1394 85048 3 sbp2,eth1394,ohci1394
    sis900 21120 0
    mii 5376 1 sis900
    ehci_hcd 27144 0
    ohci_hcd 17540 0
    usbcore 109444 3 ehci_hcd,ohci_hcd
    sis5513 12552 0 [permanent]
    generic 4996 0 [permanent]
    ide_core 107760 3 ide_disk,sis5513,generic
    thermal 13576 0
    processor 23724 1 thermal
    fan 4868 0


    debian:/home/kammeyet# lspci -v | grep audio
    00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] AC'97 Sound Controller (rev a0)
    debian:/home/kammeyet#

    debian:/home/kammeyet# uname -r
    2.6.18-6-486
    debian:/home/kammeyet#

    debian:/home/kammeyet# cat /proc/asound/cards
    0 [SI7012 ]: ICH - SiS SI7012
    SiS SI7012 with ALC658D at 0xa000, irq 225
    debian:/home/kammeyet#

    debian:/home/kammeyet# cat /proc/asound/oss/sndstat
    Sound Driver:3.8.1a-980706 (ALSA v1.0.12rc1 emulation code)
    Kernel: Linux debian 2.6.18-6-486 #1 Sun Feb 10 22:06:33 UTC 2008 i686
    Config options: 0

    Installed drivers:
    Type 10: ALSA emulation

    Card config:
    SiS SI7012 with ALC658D at 0xa000, irq 225

    Audio devices:
    0: SiS SI7012 (DUPLEX)

    Synth devices: NOT ENABLED IN CONFIG

    Midi devices: NOT ENABLED IN CONFIG

    Timers:
    7: system timer

    Mixers:
    0: Realtek ALC658D
    debian:/home/kammeyet#

    ---------------------


    The output I use when trying to use mplayer is as follows:


    debian:/home/kammeyet# mplayer -ao alsa -vo null blah.wma
    MPlayer 1.0rc1-4.1.2-DFSG-free (C) 2000-2006 MPlayer Team
    CPU: AMD Sempron(tm) Processor 3100+ (Family: 15, Model: 12, Stepping: 0)
    CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
    Compiled with runtime CPU detection.
    mplayer: could not connect to socket
    mplayer: No such file or directory
    Failed to open LIRC support. You will not be able to use your remote control.

    Playing blah.wma.
    ASF file format detected.
    Clip info:
    name: "Highway Blues"
    author: Marc Seales, composer. New Stories. Ernie Watts, saxophone.
    ================================================== ========================
    Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
    AUDIO: 44100 Hz, 2 ch, s16le, 64.0 kbit/4.54% (ratio: 8003->176400)
    Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg))
    ================================================== ========================
    AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
    Video: no video
    ===== PAUSE =====
    A: 57.4 (57.4) of 93.0 (01:33.0) 1.1%


    --------


    Thank you in advance for your assistance. I need sound in here for a perl app I am working on.

    v/r,
    Adelsin

  2. #2
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    try to install gstreamer plugins

  3. #3
    Just Joined!
    Join Date
    Nov 2006
    Posts
    6

    Titleless

    Quote Originally Posted by coopstah13 View Post
    try to install gstreamer plugins
    Once I get it installed and assuming I don't already have it installed, what else is required to associate it with ALSA. Or am I to expect a magic fix?

    -adel

  4. #4
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    gstreamer plugins are used by mplayer, not sure if it would be a magic fix, I have no experience with trying to play sounds over the network

  5. #5
    Just Joined!
    Join Date
    Nov 2006
    Posts
    6
    How would initiating a command from ssh be any different than initiating the same command from the terminal line?

  6. #6
    Linux Newbie tetsujin's Avatar
    Join Date
    Oct 2008
    Posts
    115
    Have you checked the mixer settings?

  7. #7
    Just Joined!
    Join Date
    Nov 2006
    Posts
    6
    I have checked the alsa mixer. I have the PCM, and Main volume at max. As well as everything else that is currently turned on.

  8. #8
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    i'm guessing that the commands aren't telling the OS they want it to play on the machine you are connected to, and it is trying to send them back to you

  9. #9
    Just Joined!
    Join Date
    Nov 2006
    Posts
    6
    I'll hook up a monitor and keyboard to it later. If no sound comes from that, I'll assume that my problem is with the driver itself. the application I am using (mplay) utilitizes the command line to play the music. The mplay application also states it's using alsa... and you can confirm that with a "-ao alsa", which I also have tried.

    v/r,
    Adel

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •