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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1197290

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

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to