On 04/07/13 15:34, Raymond wrote:
> use hda-jack-sense-test to find out which nodes corresponding to which 
> headphone jacks
> 

The laptop - Dell XPS m1530 - has two front headphone sockets and
external microphone socket and internal stereo speakers and microphone.

Unfortunately David Henningsson's PPA doesn't publish the snd-hda-tools
package for any series after Oneiric so a simple

$ apt-add-repository  ppa:diwic/ppa
$ apt-get update

W: Failed to fetch 
http://ppa.launchpad.net/diwic/ppa/ubuntu/dists/raring/main/binary-amd64/Packages
  404  Not Found
W: Failed to fetch 
http://ppa.launchpad.net/diwic/ppa/ubuntu/dists/raring/main/binary-i386/Packages
  404  Not Found

... fails on Raring and Saucy.

I installed it via:

$ wget 
http://ppa.launchpad.net/diwic/ppa/ubuntu/pool/main/s/snd-hda-tools/snd-hda-tools_0.20110516~oneiric1_amd64.deb
$ sudo dpkg -i snd-hda-tools_0.20110516~oneiric1_amd64.deb

but it fails with:

$ /usr/bin/hda-jack-sense-test
Traceback (most recent call last):
  File "/usr/bin/hda-jack-sense-test", line 44, in <module>
    codec = HDACodec(cardindex, codecindex)
  File "/usr/share/snd-hda-tools/hda_codec.py", line 908, in __init__
    self.fd = os.open("/dev/snd/hwC%sD%s" % (card, device), os.O_RDWR)
OSError: [Errno 2] No such file or directory: '/dev/snd/hwC0D0'

$ ls -al /dev/snd/
total 0
drwxr-xr-x   3 root root      200 Jul  3 17:33 .
drwxr-xr-x  19 root root     5360 Jul  5 09:38 ..
drwxr-xr-x   2 root root       60 Jul  3 17:33 by-path
crw-rw---T+  1 root audio 116,  6 Jul  3 17:33 controlC0
crw-rw---T+  1 root audio 116,  5 Jul  3 17:33 hwC0D2
crw-rw---T+  1 root audio 116,  4 Jul  3 17:34 pcmC0D0c
crw-rw---T+  1 root audio 116,  3 Jul  5 10:24 pcmC0D0p
crw-rw---T+  1 root audio 116,  2 Jul  3 17:34 pcmC0D1p
crw-rw---T+  1 root audio 116,  1 Jul  3 17:33 seq
crw-rw---T+  1 root audio 116, 33 Jul  3 17:33 timer

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to alsa-driver in Ubuntu.
https://bugs.launchpad.net/bugs/1197290

Title:
  No sound on speakers with HDA Intel, SigmaTel STAC9228, kernel 3.10

Status in “alsa-driver” package in Ubuntu:
  Confirmed

Bug description:
  Ubuntu 13.04 Raring with linux 3.10.0-031000-generic from kernel-ppa.

  Card: HDA Intel
  Chip: SigmaTel STAC9228      

  After booting the 3.10 kernel there was no sound on speakers although
  sound on headphones was fine.

  Using the sound control GUI in Unity I was unable to find any
  combination of options to enable sound to the speakers. Mute and
  volume controls for the Speaker output device were set correctly.

  I tried using "alasamixer" in a terminal and with "View: [All]"
  noticed a mixer control "<Auto-Mute>" which was set to "Enabled". I
  altered that to "Disabled" and speaker sound was enabled correctly.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1197290/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to