No sound on Ubuntu (hda Intel)

Zoneiphone Posted messages 20 Registration date   Status Member Last intervention   -  
 kelevra -
Hello everyone,

I switched to Ubuntu yesterday afternoon, so this world is a bit new to me, and I have a few questions to ask.

My first problem is related to sound, as you may have guessed, there is no sound coming from the speakers or headphones. I have a sound card "HDA Intel," if I remember correctly.

The second one is a bit less critical, as it’s just to know if there’s a way to recover folders (music, videos, images) present on the Windows partition to copy them and place them on Ubuntu.

EDIT: I have already tried quite a few methods from different tutorials, and I have also used the search function several times, but it has never worked.

Thank you in advance.
Configuration: Ubuntu mozilla Firefox

30 answers

  • 1
  • 2
  1. ricou34 Posted messages 1264 Status Member 259
     
    For sound, I had the same problem on Mandriva. Try adding your user to the "audio" group

    Administration menu > User

    --
    Get everyone out of prison for the freedom of the world of Linux, and
    long live Linux, finally some competition.
    0
  2. Zoneiphone Posted messages 20 Registration date   Status Member Last intervention  
     
    I think I already added the "audio" group through the console. I will try again using your method.
    0
  3. Zoneiphone Posted messages 20 Registration date   Status Member Last intervention  
     
    So I tried and I can't find an audio group.
    0
  4. ricou34 Posted messages 1264 Status Member 259
     
    you go to the user rights and check "audio," but I can't guarantee it will work otherwise go to
    http://www.ubuntu-fr.org/

    --
    Release everyone from prison for the freedom of the Linux world, and
    long live Linux, finally a little competition
    0
  5. Zoneiphone Posted messages 20 Registration date   Status Member Last intervention  
     
    It's already checked, and yes, I've been to the site but they don't offer any help for those who aren't very knowledgeable, just raw development...
    0
  6. ricou34 Posted messages 1264 Status Member 259
     
    Check the volume control to see if everything is turned up (mixer, Intel, etc.). Add the alsa-mixer-gui package and do the same check.
    There should be an adjustment to make. I know I struggle with it sometimes too, but I check everything related to alsa.

    --
    Free everyone from prison for the freedom of the Linux world, and
    long live Linux, finally a bit of competition.
    0
  7. Zoneiphone Posted messages 20 Registration date   Status Member Last intervention  
     
    I installed the alsa-mixer-gui package and unfortunately, no changes.
    0
  8. bob031 Posted messages 8228 Status Member 473
     
    Hello,

    check if, by typing the command alsamixer, the volumes are adequate and that the channels are not muted

    also, if we can have the output of the following commands:

    ps ax | grep pulse lspci | grep -i audio aplay -l id cat /etc/modprobe.d/alsa-base.conf lsmod | grep snd asoundconf list


    thank you.
    --
    a penguin on the iceberg!
    0
  9. Zoneiphone Posted messages 20 Registration date   Status Member Last intervention  
     
    I don't know how to interpret these results, so I'm giving them to you as is. Sorry if it takes a while to read.

    ps ax | grep pulse :
    3399 ? Ss 0:00 /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session /usr/bin/pulse-session /usr/bin/seahorse-agent --execute x-session-manager
    3402 ? S 0:00 /usr/bin/dbus-launch --exit-with-session /usr/bin/pulse-session /usr/bin/seahorse-agent --execute x-session-manager
    3408 ? Ssl 0:09 /usr/bin/pulseaudio --start
    3409 ? S 0:00 /usr/lib/pulseaudio/pulse/gconf-helper
    4875 pts/0 S+ 0:00 grep pulse

    lspci | grep -i audio
    00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
    01:00.1 Audio device: ATI Technologies Inc RV710/730

    aplay -l
    **** List of PLAYBACK devices ****
    card 0: Intel [HDA Intel], device 0 : STAC92xx Analog [STAC92xx Analog]
    Sub-devices: 1/1
    Sub-device: #0: subdevice #0
    card 0: Intel [HDA Intel], device 1 : STAC92xx Digital [STAC92xx Digital]
    Sub-devices: 1/1
    Sub-device: #0: subdevice #0
    card 1: HDMI [HDA ATI HDMI], device 3 : ATI HDMI [ATI HDMI]
    Sub-devices: 1/1
    Sub-device: #0: subdevice #0

    id
    uid=1000(yannick) gid=1000(yannick) groups=4(adm),20(dialout),21(fax),24(cdrom),26(tape),30(dip),44(video),46(plugdev),104(fuse),106(lpadmin),112(netdev),121(admin),122(sambashare),123(vboxusers),1000(yannick),1001(audio)

    cat /etc/modprobe.d/alsa-base.conf
    # autoloader aliases
    install sound-slot-0 /sbin/modprobe snd-card-0
    install sound-slot-1 /sbin/modprobe snd-card-1
    install sound-slot-2 /sbin/modprobe snd-card-2
    install sound-slot-3 /sbin/modprobe snd-card-3
    install sound-slot-4 /sbin/modprobe snd-card-4
    install sound-slot-5 /sbin/modprobe snd-card-5
    install sound-slot-6 /sbin/modprobe snd-card-6
    install sound-slot-7 /sbin/modprobe snd-card-7

    # Cause optional modules to be loaded above generic modules
    install snd /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-ioctl32 ; /sbin/modprobe --quiet --use-blacklist snd-seq ; }
    #
    # Workaround at bug #499695 (reverted in Ubuntu see LP #319505)
    install snd-pcm /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-pcm-oss ; : ; }
    install snd-mixer /sbin/modprobe --ignore-install snd-mixer $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-mixer-oss ; : ; }
    install snd-seq /sbin/modprobe --ignore-install snd-seq $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; /sbin/modprobe --quiet --use-blacklist snd-seq-oss ; : ; }
    #
    install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; : ; }
    # Cause optional modules to be loaded above sound card driver modules
    install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-emu10k1-synth ; }
    install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq ; }

    # Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
    install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist saa7134-alsa ; : ; }
    # Prevent abnormal drivers from grabbing index 0
    options bt87x index=-2
    options cx88_alsa index=-2
    options saa7134-alsa index=-2
    options snd-atiixp-modem index=-2
    options snd-intel8x0m index=-2
    options snd-via82xx-modem index=-2
    options snd-usb-audio index=-2
    options snd-usb-us122l index=-2
    options snd-usb-usx2y index=-2
    options snd-usb-caiaq index=-2
    options snd-hda-intel enable_msi=1
    # Ubuntu #62691, enable MPU for snd-cmipci
    options snd-cmipci mpu_port=0x330 fm_port=0x388
    # Keep snd-pcsp from being loaded as first soundcard
    options snd-pcsp index=-2
    options snd-hda-intel model=hp position_fix=1 probe_mask=1
    alias snd-card-0 snd-hda-intel
    alias sound-slot-0 snd-hda-intel
    alias sound-slot-0 snd-card-0
    alias sound-service-0-0 snd-mixer-oss
    alias sound-service-0-1 snd-seq-oss
    alias sound-service-0-3 snd-pcm-oss
    alias sound-service-0-8 snd-seq-oss
    alias sound-service-0-12 snd-pcm-oss
    options snd-hda-intel enable_msi=1

    lsmod | grep snd
    snd_hda_intel 435252 3
    snd_pcm_oss 46336 0
    snd_mixer_oss 22656 1 snd_pcm_oss
    snd_pcm 83076 2 snd_hda_intel,snd_pcm_oss
    snd_seq_dummy 10756 0
    snd_seq_oss 37760 0
    snd_seq_midi 14336 0
    snd_rawmidi 29696 1 snd_seq_midi
    snd_seq_midi_event 15104 2 snd_seq_oss,snd_seq_midi
    snd_seq 56880 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
    snd_timer 29704 2 snd_pcm,snd_seq
    snd_seq_device 14988 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
    snd 62756 15 snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
    soundcore 15200 1 snd
    snd_page_alloc 16904 2 snd_hda_intel,snd_pcm

    asoundconf list
    Names of available sound cards:
    Intel
    HDMI

    Thank you
    0
  10. bob031 Posted messages 8228 Status Member 473
     
    check if, by typing the command alsamixer, the volumes are adequate and that the tracks are not muted

    if the tracks are muted, the symbol MM appears at the bottom of the track.
    press the M key on the keyboard to mute/unmute.
    press the Esc key on the keyboard to exit alsamixer.

    what about this point?

    the command id shows that the user is not in the pulse-rt group (also check the audio group)!

    cat /etc/passwrd | grep audio cat /etc/passwrd | grep pulse

    so the user needs to be added to this(these) group(s) ....

    if that doesn't work, we'll consider other hypotheses later ...

    --
    a penguin on the ice floe!
    0
  11. Zoneiphone Posted messages 20 Registration date   Status Member Last intervention  
     
    Already done for the M key and AlsaMixer, and I also had to add the "audio" group that didn't exist.
    0
  12. Zoneiphone Posted messages 20 Registration date   Status Member Last intervention  
     
    But no sound.
    0
  13. bob031 Posted messages 8228 Status Member 473
     
    What about the pulse-rt group??

    <EDIT :

    the user was already part of the audio group!

    is the computer a laptop? if so: brand and model please, thank you.

    a possible solution:

    fixed it by adding irqpoll as a boot option

    source: http://ubuntuforums.org/showthread.php?t=940689

    EDIT>

    --
    a penguin on the ice floe!
    0
  14. Zoneiphone Posted messages 20 Registration date   Status Member Last intervention  
     
    I added the user to the "pulse-rt" list.

    And what is a laptop? By the way, my computer is a Pavilion dv6-1140ef;
    0
  15. bob031 Posted messages 8228 Status Member 473
     
    stop the daemon :
    /usr/bin/pulseaudio -k


    restart the daemon in verbose mode
    /usr/bin/pulseaudio --daemonize --log-target=stderr -v


    and let us know what it says and also if the sound is working, thanks.

    And what is a laptop?

    a portable computer ...

    --
    a penguin on the iceberg!
    0
  16. Zoneiphone Posted messages 20 Registration date   Status Member Last intervention  
     

    I: caps.c: Limited capabilities successfully to CAP_SYS_NICE. I: caps.c: Dropping root privileges. I: caps.c: Limited capabilities successfully to CAP_SYS_NICE. E: main.c: Unable to kill the daemon: No such process


    And for the second one:
    I: caps.c: Limited capabilities successfully to CAP_SYS_NICE. I: caps.c: Dropping root privileges. I: caps.c: Limited capabilities successfully to CAP_SYS_NICE. I: main.c: We are in the 'pulse-rt' group, allowing for high-priority scheduling. I: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted I: main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted I: core-util.c: Successfully gained nice level -11. I: main.c: Dropping CAP_NICE I: main.c: Daemon startup successful.


    And still no sound.
    0
  17. bob031 Posted messages 8228 Status Member 473
     
    On Fedora, my sound server is pulseaudio, try adding the user to the various groups “pulse”, as I have done:
    > redfox@fedora[192.168.1.2]:~$ id uid=500(redfox) gid=500(redfox) groups=87(polkituser),495(pulse-access),496(pulse-rt),497(pulse),499(ccache),500(redfox) > redfox@fedora[192.168.1.2]:~$ 


    Then restart the two commands
    /usr/bin/pulseaudio -k /usr/bin/pulseaudio --daemonize --log-target=stderr -v

    and see if you have sound ...; and above all let us know how you test the sound, thanks.

    <EDIT :

    Another solution to read carefully:

    http://forum.ubuntu-fr.org/viewtopic.php?id=315388

    EDIT>

    --
    a penguin on the iceberg!
    0
  18. bob031 Posted messages 8228 Status Member 473
     
    Well, I think the solution can surely be found in the link mentioned above and repeated here:

    http://forum.ubuntu-fr.org/viewtopic.php?pid=2724014#p2724014

    You need to read it carefully because the information overlaps with this:

    Method C Confirmed with kernel 2.6.22-14: * does work: Dell D830, HP Pavillion dv6000

    https://wiki.ubuntu.com/Gutsy_Intel_HD_Audio_Controller

    <EDIT :

    a "surprising" lead with KDE and pulseaudio:

    https://www.mail-archive.com/debian-user-french@lists.debian.org/msg165319.html

    EDIT>

    --
    a penguin on the ice floe!
    0
  19. Zoneiphone Posted messages 20 Registration date   Status Member Last intervention  
     
    Nothing works, it's quite despairing, and for your link Bob, I couldn't do anything with the command because the cited files apparently aren't present as the command states.
    0
  • 1
  • 2