No sound on Dell Optiplex 380 (ALC269Q, probably new chip)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
alsa-driver (Ubuntu) |
Invalid
|
Medium
|
David Henningsson | ||
linux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bug Description
No sound on Dell Optiplex 380.
=== Current workaround for Lucid ===
https:/
======
There is a corresponding bug #588031 for Dell Optiplex 980.
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: alsa-base 1.0.22.
ProcVersionSign
Uname: Linux 2.6.32-22-generic i686
AlsaVersion:
Advanced Linux Sound Architecture Driver Version 1.0.23.
Compiled on May 17 2010 for kernel 2.6.32-22-generic (SMP).
AplayDevices:
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC259 Analog [ALC259 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
Architecture: i386
ArecordDevices:
**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC259 Analog [ALC259 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
Card0.Amixer.info:
Card hw:0 'Intel'/'HDA Intel at 0xfe6fc000 irq 27'
Mixer name : 'Realtek ALC259'
Components : 'HDA:10ec0269,
Controls : 13
Simple ctrls : 9
CheckboxSubmission: 909058df7c16ca0
CheckboxSystem: 2a6f54df59af338
Date: Tue May 18 08:00:32 2010
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
PackageArchitec
ProcEnviron:
LANGUAGE=
LANG=pt_BR.UTF-8
SHELL=/bin/bash
SelectedCard: 0 Intel HDA-Intel - HDA Intel
SourcePackage: alsa-driver
Symptom: audio
Title: [Realtek ALC259] ALSA test tone not correctly played back
dmi.bios.date: 10/23/2009
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A00
dmi.board.name: 0HN7XN
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 3
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.
dmi.product.name: OptiPlex 380
dmi.sys.vendor: Dell Inc.
---
AlsaVersion:
Advanced Linux Sound Architecture Driver Version 1.0.23.
Compiled on May 21 2010 for kernel 2.6.32-22-generic (SMP).
AplayDevices:
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC259 Analog [ALC259 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
Architecture: i386
ArecordDevices:
**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC259 Analog [ALC259 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
Card0.Amixer.info:
Card hw:0 'Intel'/'HDA Intel at 0xfe6fc000 irq 27'
Mixer name : 'Realtek ALC259'
Components : 'HDA:10ec0269,
Controls : 13
Simple ctrls : 9
DistroRelease: Ubuntu 10.04
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
Package: alsa-driver (not installed)
ProcEnviron:
LANGUAGE=
PATH=(custom, no user)
LANG=pt_BR.UTF-8
SHELL=/bin/bash
ProcVersionSign
Tags: lucid
Uname: Linux 2.6.32-22-generic i686
UserGroups:
dmi.bios.date: 03/11/2010
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A01
dmi.board.name: 0HN7XN
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 3
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.
dmi.product.name: OptiPlex 380
dmi.sys.vendor: Dell Inc.
Marcus Paiva (mpaivac) wrote : | #1 |
- AlsaDevices.txt Edit (410 bytes, text/plain; charset="utf-8")
- BootDmesg.txt Edit (37.5 KiB, text/plain; charset="utf-8")
- Card0.Amixer.values.txt Edit (1.7 KiB, text/plain; charset="utf-8")
- Card0.Codecs.codec.0.txt Edit (8.5 KiB, text/plain; charset="utf-8")
- CurrentDmesg.txt Edit (932 bytes, text/plain; charset="utf-8")
- Dependencies.txt Edit (1.3 KiB, text/plain; charset="utf-8")
- PciMultimedia.txt Edit (595 bytes, text/plain; charset="utf-8")
- ProcCpuinfo.txt Edit (1.6 KiB, text/plain; charset="utf-8")
Daniel T Chen (crimsun) wrote : | #2 |
Changed in alsa-driver (Ubuntu): | |
status: | New → Incomplete |
Marcus Paiva (mpaivac) wrote : | #3 |
$ COLUMNS=200 dpkg -l linux-alsa-
Nenhum pacote encontrado casando com linux-alsa-
(No package found)
pactl stat
Em uso no momento: 1 blocos contendo 64,0 KiB bytes no total.
Alocado por todo o tempo: 209 blocos contendo 5,4 MiB bytes no total.
Tamanho do cache para amostragem: 0 B
Nome do usuário: suporteabl
Nome da máquina: INF01ABL-NEW
Nome do servidor: pulseaudio
Versão do servidor: 0.9.21-
Especificação padrão de amostragem: s16le 2ch 44100Hz
Mapa de canais padrão: front-left,
Destino padrão: alsa_output.
Fonte padrão alsa_input.
Cookie: bc0b4a5a
Daniel T Chen (crimsun) wrote : | #4 |
Ah, so you're using a self-compiled 1.0.23? That's kinda old. Please uninstall it, and install linux-alsa-
Marcus Paiva (mpaivac) wrote : | #5 |
I ve installed it and still no sound.
COLUMNS=200 dpkg -l linux-alsa-
ii linux-alsa-
Ubuntu-supplied Linux modules for version 2.6.32-22-generic ALSA snapshots
do i have to enable module now?
Thimindu (thimindu) wrote : | #6 |
I've got the same problem.
It worked fine in 9.10. Hasn't worked since I upgraded to 10.04.
I do get very faint audio when the volume is increased to maximum through the amplifier.
Note: My PC is not a Dell Optiplex. It's self assembled.
David Henningsson (diwic) wrote : | #7 |
@Thimindu: Please file a separate bug.
sunny (kaliagaurav) wrote : | #8 |
I am facing the same problem. Ubuntu 9.10 was working fine but after Up gradation to 10.04, sound is not working at all.
System: Dell Optiplex 380
jaezcurra (jaezcurra) wrote : | #9 |
Same problem in same type of machine (5 Dell Optiplex 380 at work, all with fresh install of Lucid). Never got sound from the pc (at work we have another 6 Dell Optiplex 380 with Windows XP and sound works out of the box).
COLUMNS=200 dpkg -l linux-alsa-
No se ha encontrado ningún paquete que corresponda con linux-alsa-
merche@pcmerche:~$ pactl stat
Actualmente en uso: 1 bloques conteniendo 64,0 KiB bytes en total.
Ubicados durante a lo largo del tiempo: 85 bloques conteniendo 2,6 MiB bytes en total.
Tamaño de la caché de muestra: 0 B
Nombre de usuario: merche
Nombre del equipo: pcmerche
Nombre del servidor: pulseaudio
Versión del servidor: 0.9.21-
Especificación de muestra predeterminada: s16le 2ch 44100Hz
Mapa de canal predeterminado: front-left,
Destino predeterminado: alsa_output.
Fuente predeterminada: alsa_input.
Cookie: 9279edb1
Pablo El Vagabundo (pablo8itall) wrote : | #10 |
Same problem here, upgraded from xubuntu 9.10 to xubuntu 10.4 and have no sound except for internal system bleeps from the internal speaker. Sound was working fine before.
I have some sort of onboard sound card. I've been checking the forums for a fix and found that some people had to custom compile a kernel to fix the issue. Lots of people having this issue I think.
Alsamixer sees that I have a realtek sound card but the sound applet in the notification area does not have this in its hardware tab.
Pablo El Vagabundo (pablo8itall) wrote : | #11 |
Oh I've installed ubuntu-desktop on my xubuntu install.
xisongda (xisongda) wrote : | #12 |
I installed lucid newly with live CD.
I get the same problem that the computer has no sound at all.
David Henningsson (diwic) wrote : | #13 |
I'm glad that you all show interest in Ubuntu and want the sound to work. And the more testing we can get, the better.
However, users not having exactly the same hardware and software are not guaranteed to suffer from the same bug, and in that case it is better to file a separate bug using "ubuntu-bug audio" or similar tools. Please do that instead of posting "me too" comments, which are not helpful. Thank you!
Rhys (rhys-rhaven) wrote : | #14 |
2 Shiny new Dell 380s here at work (for me and the other SysAdmin) and sound doesn't work. According to this, nobody has gotten it working even when upgrading. http://
@David, You said you don't want "me too" posts. Is there any more debugging information we can provide to help this problem? The other admin hasn't unpacked his yet, so I could probably install ubuntu on it and set up an SSH tunnel for any dev who needs it, as its currently completely clean.
jaezcurra (jaezcurra) wrote : | #15 |
I support Rhys and, as I cannot offer a computer to let the devs work on it through an SSH tunnel, however I am looking forward to doing the tests that could be convenient to achieve the goal of making sound work on a Dell Optiplex 380 running Lucid.
Marcus Paiva (mpaivac) wrote : | #16 |
If it helps, i can enable SSH Internet connection on my Dell Optiplex 380 workstation. So, Devs could work on that.
jaezcurra (jaezcurra) wrote : | #17 |
OK, I am able to offer one of our Lucid Dell Optiplex 380s to the devs to work on it through an SSH tunnel during our spare time (it would be free for them from 3 PM until 7 AM, CET)
jaezcurra (jaezcurra) wrote : | #18 |
If it can help: I tried both Fedora 13 Live CD and Puppy Linux 5.0 (both with a 2.6.33 kernel and AlsaMixer v1.0.22) on a Dell Optiplex 380 and there is no sound at all, either.
David Henningsson (diwic) wrote : | #19 |
Okay, so we can probably conclude that the audio is not working on Dell Optiplex 380.
I'm not an expert on this just yet, but I'm writing down some notes of what I can see:
First; According to Dell's datasheet, the codec chip is "ALC269Q", something I don't see in the Linux sources. Also there is no sign of "dell" on alc269.
So my guess is that Dell Optiplex 380 is a relatively new computer, whose audio has never worked on any Linux distro. Is this correct or has the same computer audio working on earlier Ubuntu releases?
Looking at dmesg, I find this row: ALC269: SKU not ready 0x411111f0. I'm not sure what SKU means, @Daniel T Chen, do you know? Anyway, it seems to look at a specific widget node, which is probably a different node for this chip, but I'm not sure what alc_auto_
Also, if I look at the codec proc file through codecgraph, I see that it looks terribly misconfigured. One should take hda-analyzer and tweak some settings to see if that actually makes things work.
Changed in alsa-driver (Ubuntu): | |
status: | Incomplete → Confirmed |
summary: |
- [Realtek ALC259] ALSA test tone not correctly played back + No sound on Dell Optiplex 380 (ALC269Q, probably new chip) |
David Henningsson (diwic) wrote : | #20 |
Also; I assume that playback and recording appears - from the computer side - to be working - but only silence is recorded and only silence is heard, right?
Anyway; here's what it looks like you need to do to get some playback (if we're lucky! This is likely a new model and might require additional code) :
1) Download and start hda-analyzer, see http://
2) Go to pin 0x1A (should be "headphone out"), and make sure the mixer 0x0C is active in the connection list.
3) Go to pin 0x1B (should be "line out"), and make sure the mixer 0x0C is active in the connection list.
Close hda-analyzer and retry playback. The first one of you who does this (and has Dell Optiplex 380, of course!), please report back whether it worked or not, and regardless of whether it worked or not, also run "apport-collect 582199".
Assuming this works, we can then go on trying to get the mic up and running as well, and then try to get the new feature into the Linux kernel.
Thanks in advance.
jaezcurra (jaezcurra) wrote : | #21 |
Hi David, IT WORKS!!!!!!!
To have pin 0x1a and pin 0x1b with mixer 0x0c as active, I had first to set it active, revert, open HDAAnalyzer again, set it active again and close it without revert.
Now I am going to run "apport-collect 582199"
jaezcurra (jaezcurra) wrote : | #22 |
Hi David, the changes are not persistent and they have to be done each time you restart the computer. But IT definitely WORKS!!!
BTW, I ran "apport-collect 582199" and got a message rejecting me as not being an authorized person to do so.
David Henningsson (diwic) wrote : | #23 |
@jaezcurra: Cool! :-) Once we have the best configuration up and running, we'll work on making the changes more persistent. So the next step would be to verify recording, both from mic, line, and possibly other sources. I'll get back to you with more HDA-analyzer stuff for that later (can't check it right now).
Until then, please file a separate bug using "ubuntu-bug alsa-driver" and mark that bug as a duplicate of this one (or just point me there). This is just to verify that you have exactly the same hardware as the original reporter of this bug. Thanks!
Marcus Paiva (mpaivac) wrote : | #24 |
It Works !
Marcus Paiva (mpaivac) wrote : AlsaDevices.txt | #25 |
tags: | added: apport-collected |
description: | updated |
Marcus Paiva (mpaivac) wrote : BootDmesg.txt | #26 |
Marcus Paiva (mpaivac) wrote : Card0.Amixer.values.txt | #27 |
Marcus Paiva (mpaivac) wrote : Card0.Codecs.codec.0.txt | #28 |
Marcus Paiva (mpaivac) wrote : CurrentDmesg.txt | #29 |
Marcus Paiva (mpaivac) wrote : PciMultimedia.txt | #30 |
Marcus Paiva (mpaivac) wrote : ProcCpuinfo.txt | #31 |
jaezcurra (jaezcurra) wrote : | #32 |
@ David, I filed a new bug: https:/
BTW, I will be out of reach until next Monday morning (CET). Have a nice weekend and ... lots of luck!
David Henningsson (diwic) wrote : | #33 |
- optiplex-380-patch.snd-hda-intel.fw Edit (99 bytes, text/plain)
Next step: Trying a patch file.
I'm attaching a patch file, please put the file in the /lib/firmware directory. After that, add this line to /etc/modprobe.
options snd-hda-intel patch=optiplex-
(If there is already a line starting with "options snd-hda-intel", add "patch=
Then reboot. The card should now be functioning from start without having to use hda-analyzer.
In addition, I think that BIOS has mislabeled Line In as an additional Mic input. In the patch file, there is a command that tries to override this mislabeling. Could you please confirm that
1) You have "Line in" and "Front mic in" to choose from as input
2) Recording from both line in and front mic work as expected.
Thank you!
Changed in alsa-driver (Ubuntu): | |
assignee: | nobody → David Henningsson (diwic) |
importance: | Undecided → Medium |
status: | Confirmed → In Progress |
jaezcurra (jaezcurra) wrote : Re: [Bug 582199] Re: No sound on Dell Optiplex 380 (ALC269Q, probably new chip) | #34 |
Hi David,
Thank you for your email
Will try tomorrow and let you know.
Best regards.
Jose-Angel Ezcurra
On Sun, May 30, 2010 at 1:13 PM, David Henningsson <
<email address hidden>> wrote:
> Next step: Trying a patch file.
>
> I'm attaching a patch file, please put the file in the /lib/firmware
> directory. After that, add this line to /etc/modprobe.
> options snd-hda-intel patch=optiplex-
>
> (If there is already a line starting with "options snd-hda-intel", add
> "patch=
> having two separate lines.)
>
> Then reboot. The card should now be functioning from start without
> having to use hda-analyzer.
>
> In addition, I think that BIOS has mislabeled Line In as an additional Mic
> input. In the patch file, there is a command that tries to override this
> mislabeling. Could you please confirm that
> 1) You have "Line in" and "Front mic in" to choose from as input
> 2) Recording from both line in and front mic work as expected.
>
> Thank you!
>
> ** Attachment added: "optiplex-
>
> http://
>
> ** Changed in: alsa-driver (Ubuntu)
> Importance: Undecided => Medium
>
> ** Changed in: alsa-driver (Ubuntu)
> Status: Confirmed => In Progress
>
> ** Changed in: alsa-driver (Ubuntu)
> Assignee: (unassigned) => David Henningsson (diwic)
>
> --
> No sound on Dell Optiplex 380 (ALC269Q, probably new chip)
> https:/
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “alsa-driver” package in Ubuntu: In Progress
>
> Bug description:
> No sound on Dell Optiplex 380.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 10.04
> Package: alsa-base 1.0.22.
> ProcVersionSign
> Uname: Linux 2.6.32-22-generic i686
> AlsaVersion:
> Advanced Linux Sound Architecture Driver Version 1.0.23.
> Compiled on May 17 2010 for kernel 2.6.32-22-generic (SMP).
> AplayDevices:
> **** List of PLAYBACK Hardware Devices ****
> card 0: Intel [HDA Intel], device 0: ALC259 Analog [ALC259 Analog]
> Subdevices: 1/1
> Subdevice #0: subdevice #0
> Architecture: i386
> ArecordDevices:
> **** List of CAPTURE Hardware Devices ****
> card 0: Intel [HDA Intel], device 0: ALC259 Analog [ALC259 Analog]
> Subdevices: 1/1
> Subdevice #0: subdevice #0
> AudioDevicesInUse:
> USER PID ACCESS COMMAND
> /dev/snd/controlC0: LASALLE\
> Card0.Amixer.info:
> Card hw:0 'Intel'/'HDA Intel at 0xfe6fc000 irq 27'
> Mixer name : 'Realtek ALC259'
> Components : 'HDA:10ec0269,
> Controls : 13
> Simple ctrls : 9
> CheckboxSubmission: 909058df7c16ca0
> CheckboxSystem: 2a6f54df59af338
> Date: Tue May 18 08:00:32 2010
> InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
> PackageArchitec
> ProcEnviron:
> LANGUAGE=
> LANG=pt_BR.UTF-8
> SHELL=/bin/bash
> SelectedCard: 0 Intel HDA-Intel - HDA I...
lordmayo (mayomayomayo) wrote : | #35 |
hi David you're a life-saver with the hda-analyzer solution - i'd buy you a yacht if i had the cash.
installed the ".fw" patch in /lib/firmware, modified last line of alsa-base.conf, all to no effect. i'm running lucid lynx on optiplex 380.
Forrest Yu (forrest) wrote : | #36 |
hi David, your hda-analyzer solution works, but the ".fw" patch doesn't. I have a work-around:
1. download hda-verb-0.3.tar.gz from ftp://ftp.
2. add two lines in /etc/rc.local
3. reboot, and you can hear the sound from GDM
I admit this is ugly, but it makes sound work automatically.
Hopefully it is helpful when the ".fw" patch fails.
Forrest Yu (forrest) wrote : | #37 |
(sorry the post above looks bad, so I re-post it)
hi David, your hda-analyzer solution works, but the ".fw" patch doesn't. I have a work-around:
1. goto ftp://ftp.
download hda-verb-0.3.tar.gz and compile it
2. add two lines in /etc/rc.local
/path/
/path/
3. reboot, done.
I admit this is ugly, but it makes sound work automatically.
Hopefully it is helpful when the ".fw" patch fails.
David Henningsson (diwic) wrote : | #38 |
Thanks for the feedback, it shows that the verbs are correct, but probably the fw file is never loaded. It is the first time I write such a patch file, so I'm still learning. I'll do more research and get back to you.
Marcus Paiva (mpaivac) wrote : | #39 |
hi.
only hda-analyser works for me.
Forrest Yu solution doesn't work.
Marcus Paiva (mpaivac) wrote : | #40 |
sory, my fault;
Yu solution works !
i had put path /opt/hda-verb and not /opt/hda-
Thank you.
jaezcurra (jaezcurra) wrote : | #41 |
Hi all, I hate to say that I don't know how to compile, but I have to. Any hints to compile hda-verb-
I would like to try Forrest Yu's solution on my Lucid Dell Optiplex 380.
Forrest Yu (forrest) wrote : | #42 |
hi David, the fw patch's not working confuses me. It seems weird.
I believe the fw file must have been loaded.
Evidence 1:
$ dmesg
...
[ 9.210061] ALSA hda_intel.c:2650: Applying patch firmware 'optiplex-
[ 9.210123] HDA Intel 0000:00:1b.0: firmware: requesting optiplex-
...
Evidence 2:
$ cat /sys/class/
...
0x1a 0x701 0x0000
0x1b 0x701 0x0000
...
These lines can also been found in alsa-info.sh result.
I don't get it: everything seems ok but no sound. There must be something important I ignored ...
David Henningsson (diwic) wrote : | #43 |
@Forrest Yu: Thanks for the pointers. I think it could be that the init verbs are applied, but then the driver in its infinite wisdom reverts the changes by doing other verbs. Which means that the "patch" solution is not working, at least not the verb part. How about recording with and without the patch? Do you choose between "mic" and "line in", or between "mic" and "front mic", or something else?
@jaezcurra: Try this:
1) Make sure the package "build-essentials" is installed
2) Unpack the downloaded file and cd into that directory
3) run "./configure", and if successful, run "make"
4) you now have a "hda-verb" executable. you can either copy to the place of your liking, or run "sudo make install" to have it copied for you.
If step 3) fails, you're likely missing a package ending with "-dev" and hopefully you'll get an error message indicating which one.
As a side note, on my "things to do when I have some time and priority"-list there is: "take hda-verb, hda-analyzer, hda-emu and codecgraph, package them as one package and build into a PPA". Unfortunately I don't have a time estimate for when that will happen.
Forrest Yu (forrest) wrote : | #44 |
@David:
I tried 4 cases: with and without fw patch, with and without running hda-verb. Recording works in all these cases.
In "Sound Preferences > Input", I can see two items in the "Connector" drop-down list: "Microphone 1" and "Microphone 2". There's no "line in" option. After testing, I found "Microphone 1" and "Microphone 2" correspond the back and front mic hole respectively. There seems no "line in" hole in my OPTIPLEX 380 box.
@jaezcurra:
There is no "configure" file in the hda-verb pack, just "make" will work. Since you are not familiar with the compiling job, let me give a revision of David's instructions:
1) Make sure the package "build-essentials" is installed
2) In your terminal:
$ wget -c ftp://ftp.
$ tar vxzf hda-verb-0.3.tar.gz
$ cd hda-verb-0.3/
$ ls # have a glance at the files in the pack, note that there is a "Makefile"
ChangeLog COPYING hda_hwdep.h hda-verb.c Makefile README
$ make # this command will use "Makefile"
gcc -Wall -O2 -g -c -o hda-verb.o hda-verb.c
gcc -o hda-verb hda-verb.o
$ ls # you can find an executable file "hda-verb" appears: that's what we want
ChangeLog COPYING hda_hwdep.h hda-verb hda-verb.c hda-verb.o Makefile README
3) run your "hda-verb":
$ ./hda-verb /dev/snd/hwC0D0 0x1a 0x701 0
$ ./hda-verb /dev/snd/hwC0D0 0x1b 0x701 0
if you're lucky, your system can play sound now
4) add two lines in /etc/rc.local, so that they'll be automatically applied when booting:
/path/
/path/
Remember to replace "/path/to/hda-verb" with the actual full path of your "hda-verb".
David Henningsson (diwic) wrote : | #45 |
@Forrest Yu: According to Dell's docs on their home page, Optiplex 380 has a "Line in" at the back, not a "Mic". (http://
Is that not consistent with your view, i e at the back the input is actually a mic?
David Henningsson (diwic) wrote : | #46 |
@Forrest Yu, jaezcurra: Just to verify that your hardware is identical, could you please attach alsa-info.sh output to this bug? Name the file with your names (e g alsa-info-forrest, alsa-info-
If you're unfamiliar with alsa-info, just run this script: http://
Thanks!
jaezcurra (jaezcurra) wrote : | #47 |
I have tried Yu's solution on our 5 Dell Optiplex 380 running Lucid and it works 100%: the changes are now persistent and you can turn on/reboot the pc and sound works
jaezcurra (jaezcurra) wrote : | #48 |
Sorry, but trying running the script, I failed: "sh: Can't open http://
sunny (kaliagaurav) wrote : | #49 |
Thanks Forrest Yu
Your solution worked for me straight.
Cheers !!
David Henningsson (diwic) wrote : | #50 |
@jaezcurra: You need to download the file before running it. You might also need to make it into an executable, e g with the "chmod +x" command.
jaezcurra (jaezcurra) wrote : | #51 |
@David, I am not currently at work, but I'll try tomorrow. You made me open
my eyes and find the script within http://
the light :-)
On Tue, Jun 1, 2010 at 6:52 PM, David Henningsson <
<email address hidden>> wrote:
> @jaezcurra: You need to download the file before running it. You might
> also need to make it into an executable, e g with the "chmod +x"
> command.
>
> --
> No sound on Dell Optiplex 380 (ALC269Q, probably new chip)
> https:/
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “alsa-driver” package in Ubuntu: In Progress
>
> Bug description:
> No sound on Dell Optiplex 380.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 10.04
> Package: alsa-base 1.0.22.
> ProcVersionSign
> Uname: Linux 2.6.32-22-generic i686
> AlsaVersion:
> Advanced Linux Sound Architecture Driver Version 1.0.23.
> Compiled on May 17 2010 for kernel 2.6.32-22-generic (SMP).
> AplayDevices:
> **** List of PLAYBACK Hardware Devices ****
> card 0: Intel [HDA Intel], device 0: ALC259 Analog [ALC259 Analog]
> Subdevices: 1/1
> Subdevice #0: subdevice #0
> Architecture: i386
> ArecordDevices:
> **** List of CAPTURE Hardware Devices ****
> card 0: Intel [HDA Intel], device 0: ALC259 Analog [ALC259 Analog]
> Subdevices: 1/1
> Subdevice #0: subdevice #0
> AudioDevicesInUse:
> USER PID ACCESS COMMAND
> /dev/snd/controlC0: LASALLE\
> Card0.Amixer.info:
> Card hw:0 'Intel'/'HDA Intel at 0xfe6fc000 irq 27'
> Mixer name : 'Realtek ALC259'
> Components : 'HDA:10ec0269,
> Controls : 13
> Simple ctrls : 9
> CheckboxSubmission: 909058df7c16ca0
> CheckboxSystem: 2a6f54df59af338
> Date: Tue May 18 08:00:32 2010
> InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
> PackageArchitec
> ProcEnviron:
> LANGUAGE=
> LANG=pt_BR.UTF-8
> SHELL=/bin/bash
> SelectedCard: 0 Intel HDA-Intel - HDA Intel
> SourcePackage: alsa-driver
> Symptom: audio
> Title: [Realtek ALC259] ALSA test tone not correctly played back
> dmi.bios.date: 10/23/2009
> dmi.bios.vendor: Dell Inc.
> dmi.bios.version: A00
> dmi.board.name: 0HN7XN
> dmi.board.vendor: Dell Inc.
> dmi.board.version: A00
> dmi.chassis.type: 3
> dmi.chassis.vendor: Dell Inc.
> dmi.modalias:
> dmi:bvnDellInc.
> dmi.product.name: OptiPlex 380
> dmi.sys.vendor: Dell Inc.
> ---
> AlsaVersion:
> Advanced Linux Sound Architecture Driver Version 1.0.23.
> Compiled on May 21 2010 for kernel 2.6.32-22-generic (SMP).
> AplayDevices:
> **** List of PLAYBACK Hardware Devices ****
> card 0: Intel [HDA Intel], device 0: ALC259 Analog [ALC259 Analog]
> Subdevices: 1/1
> Subdevice #0: subdevice #0
> Architecture: i386
> ArecordDevices:
> **** List of CAPTURE Hardware Devices ****
> card 0: Intel [HDA Intel], device 0: ALC259 Analog [ALC259 Analog]
> Subdevices: 1/1
> Subdevice #0: subd...
Forrest Yu (forrest) wrote : | #52 |
- Forrest OPTIPLEX 380 alsa-info Edit (20.3 KiB, text/plain)
@David:
What I can see is exactly the same with the picture in page 4 of the tech guide: a green connector on the left and a blue/pink connector on the right. I see a microphone icon at the right-bottom corner so I call it a "mic hole", but I do not know what it really is. I guess it is a microphone-linein combination connector because there are two colors and two icons in the background rectangle. Could you tell me how to tell if a connector is a "mic" or a "line in"?
Attachment is my alsa-info.
jaezcurra (jaezcurra) wrote : | #53 |
- alsa-info-jaezcurra Edit (11.1 KiB, application/octet-stream; name=alsa-info-jaezcurra)
@David, I am attaching the result of the script. Good luck.
On Tue, Jun 1, 2010 at 2:04 PM, David Henningsson <
<email address hidden>> wrote:
> @Forrest Yu, jaezcurra: Just to verify that your hardware is identical,
> could you please attach alsa-info.sh output to this bug? Name the file
> with your names (e g alsa-info-forrest, alsa-info-
> separate them.
>
> If you're unfamiliar with alsa-info, just run this script: http://
> .alsa-project.
>
> Thanks!
>
> --
> No sound on Dell Optiplex 380 (ALC269Q, probably new chip)
> https:/
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “alsa-driver” package in Ubuntu: In Progress
>
> Bug description:
> No sound on Dell Optiplex 380.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 10.04
> Package: alsa-base 1.0.22.
> ProcVersionSign
> Uname: Linux 2.6.32-22-generic i686
> AlsaVersion:
> Advanced Linux Sound Architecture Driver Version 1.0.23.
> Compiled on May 17 2010 for kernel 2.6.32-22-generic (SMP).
> AplayDevices:
> **** List of PLAYBACK Hardware Devices ****
> card 0: Intel [HDA Intel], device 0: ALC259 Analog [ALC259 Analog]
> Subdevices: 1/1
> Subdevice #0: subdevice #0
> Architecture: i386
> ArecordDevices:
> **** List of CAPTURE Hardware Devices ****
> card 0: Intel [HDA Intel], device 0: ALC259 Analog [ALC259 Analog]
> Subdevices: 1/1
> Subdevice #0: subdevice #0
> AudioDevicesInUse:
> USER PID ACCESS COMMAND
> /dev/snd/controlC0: LASALLE\
> Card0.Amixer.info:
> Card hw:0 'Intel'/'HDA Intel at 0xfe6fc000 irq 27'
> Mixer name : 'Realtek ALC259'
> Components : 'HDA:10ec0269,
> Controls : 13
> Simple ctrls : 9
> CheckboxSubmission: 909058df7c16ca0
> CheckboxSystem: 2a6f54df59af338
> Date: Tue May 18 08:00:32 2010
> InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
> PackageArchitec
> ProcEnviron:
> LANGUAGE=
> LANG=pt_BR.UTF-8
> SHELL=/bin/bash
> SelectedCard: 0 Intel HDA-Intel - HDA Intel
> SourcePackage: alsa-driver
> Symptom: audio
> Title: [Realtek ALC259] ALSA test tone not correctly played back
> dmi.bios.date: 10/23/2009
> dmi.bios.vendor: Dell Inc.
> dmi.bios.version: A00
> dmi.board.name: 0HN7XN
> dmi.board.vendor: Dell Inc.
> dmi.board.version: A00
> dmi.chassis.type: 3
> dmi.chassis.vendor: Dell Inc.
> dmi.modalias:
> dmi:bvnDellInc.
> dmi.product.name: OptiPlex 380
> dmi.sys.vendor: Dell Inc.
> ---
> AlsaVersion:
> Advanced Linux Sound Architecture Driver Version 1.0.23.
> Compiled on May 21 2010 for kernel 2.6.32-22-generic (SMP).
> AplayDevices:
> **** List of PLAYBACK Hardware Devices ****
> card 0: Intel [HDA Intel], device 0: ALC259 Analog [ALC259 Analog]
> Subdevices: 1/1
> Subdevice #0: subdevice #0
> Architecture: i386
> ArecordDevices:
> **** List of CAPTU...
lordmayo (mayomayomayo) wrote : | #54 |
- alsa-info.sh output Edit (19.6 KiB, text/plain)
@Forrest
@David
Hi Forrest your workaround has survived two reboots - thanks a million!
David thanks for the initial hda solution jeez you're the only guys on the web who figured this thing out. I ran the alsa-info.sh script and attached the output, if you're interested.
Of course I'm running a Dell Optiplex 380.
Cheers!
David Henningsson (diwic) wrote : | #55 |
Thanks for your alsa-infos, it seems you have identical sound hardware. Nice. I'm currently trying to figure out what to do next, see https:/
David Henningsson (diwic) wrote : | #56 |
Update for Lucid users: hda-verb is now packaged in my ppa - install the package snd-hda-tools to get it. You don't have to compile it yourself. https:/
(Snd-hda-tools is work in progress, and I need to fix some lintian warnings etc, before trying to get it into Debian/Ubuntu.)
jaezcurra (jaezcurra) wrote : | #57 |
@David, your #56 hint does not seem to work. Finally, I'm keeping Forrest Yu's solution.
David Henningsson (diwic) wrote : | #58 |
@jaezcurra: The version in the PPA provides you with the hda-verb, so you don't have to compile it. You still have to add those lines to rc.local.
Marcus Paiva (mpaivac) wrote : | #59 |
I ve tested solution #56 and added lines to rc.local.
It works !
Thanks
Luke Yelavich (themuso) wrote : Re: [Bug 582199] Re: No sound on Dell Optiplex 380 (ALC269Q, probably new chip) | #60 |
Hi Forest
Could you please explain where and how you got those values you suggest in your hda-verb lines? Knowing what they represent would likely make it much easier to attempt to code a kernel patch to solve this bug properly.
Thanks.
David Henningsson (diwic) wrote : | #61 |
@Luke: I figured the verbs out from reading the codec proc file (through codecgraph). I will attempt to write the kernel patch you're talking about, and have somewhat started, but I'll gladly accept advice as explained here: https:/
description: | updated |
jaezcurra (jaezcurra) wrote : | #62 |
@David: Yes, it works. Thanks!
description: | updated |
David Henningsson (diwic) wrote : | #63 |
- optiplex-not-finished-yet.patch Edit (4.5 KiB, text/plain)
Some progress today.
If you're bold enough to compile your own kernel, you could try this patch.
I believe that
* Playback is working
* Auto-mute (line out mutes if headphone is plugged in) is working
* Recording from mic is working
* Monitoring mic input in line out/headphones should work, if enabled in alsamixer
* Volume controls should be correct
* Recording from line in is not currently selectable (TODO)
Forrest Yu (forrest) wrote : | #64 |
@Luke: I figured out the commands by reading the source code. I mean hda-analyzer, then hda-verb.
David Henningsson (diwic) wrote : | #65 |
- optiplexmodel.patch Edit (4.8 KiB, text/plain)
Second version of the patch.
Would it be possible for one of you people to try it and see if everything works (without the rc.local workaround)? Thanks!
Changed in alsa-driver (Ubuntu): | |
status: | In Progress → Incomplete |
jaezcurra (jaezcurra) wrote : Re: [Bug 582199] Re: No sound on Dell Optiplex 380 (ALC269Q, probably new chip) | #66 |
@David, the new patch does not seem to work without the rc.local
workaround. Did anyone else try it?
On Wed, Jun 16, 2010 at 8:21 PM, David Henningsson <
<email address hidden>> wrote:
> Second version of the patch.
> Would it be possible for one of you people to try it and see if everything
> works (without the rc.local workaround)? Thanks!
>
> ** Patch added: "optiplexmodel.
> http://
>
> ** Changed in: alsa-driver (Ubuntu)
> Status: In Progress => Incomplete
>
> --
> No sound on Dell Optiplex 380 (ALC269Q, probably new chip)
> https:/
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “alsa-driver” package in Ubuntu: Incomplete
>
> Bug description:
> No sound on Dell Optiplex 380.
>
> === Current workaround for Lucid ===
>
> 1) Install snd-hda-tools from https:/
> 2) Add these lines to /etc/rc.local:
> hda-verb /dev/snd/hwC0D0 0x1a 0x701 0
> hda-verb /dev/snd/hwC0D0 0x1b 0x701 0
> 3) Reboot.
>
> You won't have auto-mute (i e line-out mute when headphones are plugged
> in), but at least basic playback and recording should be working.
>
> ======
> There is a corresponding bug #588031 for Dell Optiplex 980.
>
>
> ProblemType: Bug
> DistroRelease: Ubuntu 10.04
> Package: alsa-base 1.0.22.
> ProcVersionSign
> Uname: Linux 2.6.32-22-generic i686
> AlsaVersion:
> Advanced Linux Sound Architecture Driver Version 1.0.23.
> Compiled on May 17 2010 for kernel 2.6.32-22-generic (SMP).
> AplayDevices:
> **** List of PLAYBACK Hardware Devices ****
> card 0: Intel [HDA Intel], device 0: ALC259 Analog [ALC259 Analog]
> Subdevices: 1/1
> Subdevice #0: subdevice #0
> Architecture: i386
> ArecordDevices:
> **** List of CAPTURE Hardware Devices ****
> card 0: Intel [HDA Intel], device 0: ALC259 Analog [ALC259 Analog]
> Subdevices: 1/1
> Subdevice #0: subdevice #0
> AudioDevicesInUse:
> USER PID ACCESS COMMAND
> /dev/snd/controlC0: LASALLE\
> Card0.Amixer.info:
> Card hw:0 'Intel'/'HDA Intel at 0xfe6fc000 irq 27'
> Mixer name : 'Realtek ALC259'
> Components : 'HDA:10ec0269,
> Controls : 13
> Simple ctrls : 9
> CheckboxSubmission: 909058df7c16ca0
> CheckboxSystem: 2a6f54df59af338
> Date: Tue May 18 08:00:32 2010
> InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
> PackageArchitec
> ProcEnviron:
> LANGUAGE=
> LANG=pt_BR.UTF-8
> SHELL=/bin/bash
> SelectedCard: 0 Intel HDA-Intel - HDA Intel
> SourcePackage: alsa-driver
> Symptom: audio
> Title: [Realtek ALC259] ALSA test tone not correctly played back
> dmi.bios.date: 10/23/2009
> dmi.bios.vendor: Dell Inc.
> dmi.bios.version: A00
> dmi.board.name: 0HN7XN
> dmi.board.vendor: Dell Inc.
> dmi.board.version: A00
> dmi.chassis.type: 3
> dmi.chassis.vendor: Dell Inc.
> dmi.modalias:
> dmi:bvnDellInc.
David Henningsson (diwic) wrote : | #67 |
@jaezcurra: Did you compile your own kernel and made sure it - and in particular, the snd-hda-intel driver modules - were really installed correctly? If your sound card works just as before, chances are something went wrong in the compile/install process.
jaezcurra (jaezcurra) wrote : | #68 |
@David, well, I did not compile the kernel (I wouldn't do it: I just can't :-)).
I just applied your patch and deleted the rc.local lines. It seems that I misunderstood your post.
Somenone with a deeper Linux knowledge than me should try your hint.
David Henningsson (diwic) wrote : | #69 |
@jaezcurra: Applying my patch to something else than a kernel tree does not make any sense :-)
If Brad Figg gets the c-o-d builds up and running for Lucid (I don't have the time to do that myself currently), perhaps I could apply my patch to them and upload my modified version to my ppa. Otherwise, I'm up for suggestions of how I can help you test my kernel patch (which is against Takashi's sound-2.6 tree, btw).
birdflesh (birdflesh) wrote : | #70 |
Another owner of an optiplex 380 affected by this. Currently on Arch linux x86_64.
So far I would get sound on the front headphones output only by setting "options snd-hda-intel model=lifebook" in /etc/modprobe.
The "hda-verb" solution proposed here also works for me.
Anyway, I am willing to assist on testing David's kernel patch as it seems the proper solution for this.
Is there a guide for compiling a custon kernel for Lucid?
Which tool should be used to apply the patch on the sources? (patch?)
I will be using a Kubuntu lucid 32bit fresh installation (sound already tested and not working on livecd)
Thanks to everyone devoting time on this and especially David, hope to hear from you soon with directions on this.
birdflesh (birdflesh) wrote : | #71 |
Also, can't we benefit by the fact that karmik (kernel 2.6.31) used to work out of the box with this software? (detecting it as ALC269 and not Alc259 that lucid does)
David Henningsson (diwic) wrote : | #72 |
Some news; Brad Figg got the c-o-d builds up and running for Lucid again, and so I can build on those to provide you with some modules. Assuming the build in my ppa finishes ok, here's how to do to test it:
1) Make sure you don't have any linux-backports
2) Install linux-alsa-
3) Reboot
4) Check whether it works or not
5) Post the output of "dmesg | grep hda" here.
Thanks!
birdflesh (birdflesh) wrote : | #73 |
It does not work David.
"dmesg | grep hda" returns:
[ 8.762670] hda_codec: ALC269: BIOS auto-probing.
which is the same as before installing your package.
David Henningsson (diwic) wrote : | #74 |
@birdflesh: You are likely having a different model - can you please post your alsa-info, according to comment #46 and comment #50?
birdflesh (birdflesh) wrote : | #75 |
birdflesh (birdflesh) wrote : | #76 |
Please forget message #73 . I was using kernel 2.6.32-23 (from proposed) while testing.
Booting with 2.6.32-22 produces a whole different output for "dmesg | grep hda"
[ 8.855037] ALSA hda_intel.c:2543: chipset global capabilities = 0x4401
[ 8.888014] ALSA hda_intel.c:908: codec_mask = 0x1
[ 8.888088] ALSA hda_intel.c:1346: codec #0 probed OK
[ 9.011733] hda_codec: ALC269: SKU not ready 0x411111f0
[ 9.011810] ALSA hda_codec.c:3517: hda_codec: model 'optiplex' is selected for config 1028:400 (Dell Optiplex 380)
[ 9.013001] hda_codec: cannot build controls for #0 (error -16)
The device now seems totally disabled so there is no sound. Let me know if there is anything else you need to know about it. Thanks for taking your time on this David.
David Henningsson (diwic) wrote : | #77 |
@birdflesh: Thanks for trying the proposed kernel, we need people doing that :-)
It could be that the "dmesg | grep hda" didn't catch everything, could you please see if there is another related message in between of those lines, in particular, can there be something like "control ... is already present"? Thanks!
birdflesh (birdflesh) wrote : | #78 |
~$ dmesg | grep -e hda -e ALSA -e HDA
[ 9.006147] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 9.006337] HDA Intel 0000:00:1b.0: irq 28 for MSI/MSI-X
[ 9.006359] HDA Intel 0000:00:1b.0: setting latency timer to 64
[ 9.006363] ALSA hda_intel.c:2543: chipset global capabilities = 0x4401
[ 9.037319] ALSA hda_intel.c:908: codec_mask = 0x1
[ 9.037853] ALSA hda_intel.c:1346: codec #0 probed OK
[ 9.156417] hda_codec: ALC269: SKU not ready 0x411111f0
[ 9.156477] ALSA hda_codec.c:3517: hda_codec: model 'optiplex' is selected for config 1028:400 (Dell Optiplex 380)
[ 9.156525] input: HDA Digital PCBeep as /devices/
[ 9.157652] ALSA control.c:343: control 2:0:0:Capture Switch:0 is already present
[ 9.157656] hda_codec: cannot build controls for #0 (error -16)
David Henningsson (diwic) wrote : | #79 |
@birdflesh: Thanks. I'm currently busy with another project but I will have a look ASAP on why the Capture Switch is created twice.
David Henningsson (diwic) wrote : | #80 |
Okay, back again.
Hmm...could be that input_mux creates an input mux control, so I don't have to add it myself...strange that this did not show up in hda-emu though.
Anyway, I uploaded a new version of linux-alsa-
birdflesh (birdflesh) wrote : | #81 |
It won't build. "Missing build dependencies: linux-headers-
David Henningsson (diwic) wrote : | #82 |
Okay, new build that should install with the standard kernel (instead of the proposed one), could you please try again?
Thanks!
Marcus Paiva (mpaivac) wrote : | #83 |
It doesn't work for me. Only snd-hda-tools workaround working.
David Henningsson (diwic) wrote : | #84 |
@Marcus Paiva: Thanks, can you reboot and then post the output of the following command?
dmesg | grep -e hda -e ALSA -e HDA
Thanks for bearing with me, I'm still learning this stuff :-)
birdflesh (birdflesh) wrote : | #85 |
- optiplex3 - dmesg output Edit (3.7 KiB, text/plain)
Didn't work. Attached is the relative dmesg output.
PS: I still think that we can benefit from the fact that a kubuntu 9.10 livecd (linux kernel 2.6.31) boots up with a fully functional audio device on this machine.
PS2: David, thank you for working on this. It's your free time after all and you don't even have the hardware to be of that interest to you. Your efforts are much appreciated.
David Henningsson (diwic) wrote : | #86 |
@birdflesh:
1) Okay. I didn't see anything terrible there, could you add an alsa-info as well?
2) Maybe, but that requires someone with the hardware to do a "git bisect", I think. It is also likely that what screwed up this hardware fixed it for something else, so switching back to that might not be an option anyway.
3) Since yesterday, that's not entirely true. I'm now doing this to learn more about the sound driver architecture, and to qualify myself for my new job.
birdflesh (birdflesh) wrote : | #87 |
- alsa-info-birdflesh2.txt Edit (27.6 KiB, text/plain)
alsa-info as requested.
Congrats on that new job :)
Marcus Paiva (mpaivac) wrote : | #88 |
Hi,
marcus.
[ 11.337155] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 16 (level, low) ->
IRQ 16
[ 11.337174] HDA Intel 0000:00:1b.0: setting latency timer to 64
[ 11.414813] hda_codec: ALC269: BIOS auto-probing.
[ 11.415265] input: HDA Digital PCBeep as
/devices/
marcus.
Thanks.
2010/7/20 David Henningsson <email address hidden>
> @Marcus Paiva: Thanks, can you reboot and then post the output of the
> following command?
> dmesg | grep -e hda -e ALSA -e HDA
>
> Thanks for bearing with me, I'm still learning this stuff :-)
>
> --
> No sound on Dell Optiplex 380 (ALC269Q, probably new chip)
> https:/
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “alsa-driver” package in Ubuntu: Incomplete
>
> Bug description:
> No sound on Dell Optiplex 380.
>
> === Current workaround for Lucid ===
>
> 1) Install snd-hda-tools from https:/
> 2) Add these lines to /etc/rc.local:
> hda-verb /dev/snd/hwC0D0 0x1a 0x701 0
> hda-verb /dev/snd/hwC0D0 0x1b 0x701 0
> 3) Reboot.
>
> You won't have auto-mute (i e line-out mute when headphones are plugged
> in), but at least basic playback and recording should be working.
>
> ======
> There is a corresponding bug #588031 for Dell Optiplex 980.
>
>
> ProblemType: Bug
> DistroRelease: Ubuntu 10.04
> Package: alsa-base 1.0.22.
> ProcVersionSign
> Uname: Linux 2.6.32-22-generic i686
> AlsaVersion:
> Advanced Linux Sound Architecture Driver Version 1.0.23.
> Compiled on May 17 2010 for kernel 2.6.32-22-generic (SMP).
> AplayDevices:
> **** List of PLAYBACK Hardware Devices ****
> card 0: Intel [HDA Intel], device 0: ALC259 Analog [ALC259 Analog]
> Subdevices: 1/1
> Subdevice #0: subdevice #0
> Architecture: i386
> ArecordDevices:
> **** List of CAPTURE Hardware Devices ****
> card 0: Intel [HDA Intel], device 0: ALC259 Analog [ALC259 Analog]
> Subdevices: 1/1
> Subdevice #0: subdevice #0
> AudioDevicesInUse:
> USER PID ACCESS COMMAND
> /dev/snd/controlC0: LASALLE\
> Card0.Amixer.info:
> Card hw:0 'Intel'/'HDA Intel at 0xfe6fc000 irq 27'
> Mixer name : 'Realtek ALC259'
> Components : 'HDA:10ec0269,
> Controls : 13
> Simple ctrls : 9
> CheckboxSubmission: 909058df7c16ca0
> CheckboxSystem: 2a6f54df59af338
> Date: Tue May 18 08:00:32 2010
> InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
> PackageArchitec
> ProcEnviron:
> LANGUAGE=
> LANG=pt_BR.UTF-8
> SHELL=/bin/bash
> SelectedCard: 0 Intel HDA-Intel - HDA Intel
> SourcePackage: alsa-driver
> Symptom: audio
> Title: [Realtek ALC259] ALSA test tone not correctly played back
> dmi.bios.date: 10/23/2009
> dmi.bios.vendor: Dell Inc.
> dmi.bios.version: A00
> dmi.board.name: 0HN7XN
> dmi.board.vendor: Dell Inc.
> dmi.board.version: ...
Bill Loucks (biloucks) wrote : | #89 |
- alsa-dmesg.txt Edit (25.4 KiB, text/plain)
Seems to work for my Dell Optiplex 980. dmesg output is attached.
David Henningsson (diwic) wrote : | #90 |
@birdflesh: Could you please try to turn up the volume control "Front" and see if that helps? Do that by starting "alsamixer" in a terminal window.
(It should have been turned on by default though.)
David Henningsson (diwic) wrote : | #91 |
Just a note: If you're seeing "model 'optiplex' is selected for config" in your dmesg, you're trying out my model patch.
If you're seeing "BIOS auto-probing" in your dmesg output, you're *not*.
danilopopeye (danilopopeye) wrote : | #92 |
Hi, i just updated to 10.04 from 9.10 and got the same issue, tried the workaround and no luck.
Then I started to read all the comments and get the hda-analyzer solution that seems to work for some guys,
but the script doesn't work for me. Here's the log:
danilo@ds-r7:/tmp$ sudo python run.py Using temporary directory: /dev/shm/
You may remove this directory when finished or if you like to
download the most recent copy of hda-analyzer tool.
Downloading file hda_analyzer.py
Downloading file hda_guilib.py
Downloading file hda_codec.py
Downloading file hda_proc.py
Downloading file hda_graph.py
Downloading file hda_mixer.py
Downloaded all files, executing hda_analyzer.py
Traceback (most recent call last):
File "/dev/shm/
sys.
File "/dev/shm/
if read_nodes(
File "/dev/shm/
read_
File "/dev/shm/
c.analyze()
File "/dev/shm/
self.nodes[nid] = HDANode(self, nid)
File "/dev/shm/
self.reread()
File "/dev/shm/
self.
File "/dev/shm/
self.reread()
File "/dev/shm/
ccaps.
File "/dev/shm/
ampcaps.nsteps = self.steps
AttributeError: HDAAmpCaps instance has no attribute 'steps'
Any ideas !?
birdflesh (birdflesh) wrote : | #93 |
Nope, definitely not working for me (everything in alsamixer is umuted and set at almost top values). It seems that it works for the 980 guys which is good though. I would like to hear something from someone else with a 380 to be sure.
David Henningsson (diwic) wrote : | #94 |
@birdflesh: Have you tried both line-out and headphones? I can't see anything wrong in your alsa-info except for the front volume being zero.
birdflesh (birdflesh) wrote : | #95 |
Front (and also master, headphones, pcm) is unmuted by default and at a high volume. I'm trying both line out on the back and headphones jack on the front and I get no sound on both. Anyone else to verify on an optiplex 380?
Gary Phillips (tivo-overo) wrote : | #96 |
I've been through this whole thread now. New Optiplex 380, Xubuntu 10.04 installed. The "no sound" reports may not be quite accurate as I find that there is sound but it is coming out of the internal PC speaker. Barely audible even with all volume levels set to max. The sound chip is identified as ALC269Q in dmesg.
I tried the "hda-verb" fix, but it made no difference.
The "HDA-analyzer" fix does turn on the sound to the line out (rear, green) and headphone (front panel) jacks.
What HDA-analyzer shows on startup is that the headphone jack is connected to the second mixer, while the line out is connected to the first. Switching the headphone jack over to the same mixer as the line out seems to be what activates the sound.
I tried running apport-collect as requested but launchpad denied permission to report the results, saying that the problem "is closed." I don't know what's up with that, as it's obviously still open.
Gary Phillips (tivo-overo) wrote : | #97 |
Correction to #96:
The "hda-verb" fix does work. The apparent failure was due to a second issue, where /etc/rc.local does not execute on startup.
That was resolved by removing the "-e" at the top, and adding "/bin/sleep 10" as the first executable command. Now the sound works on both front and rear connectors after "hda-verb" changes the mixer settings.
Bill Loucks (biloucks) wrote : apport information | #98 |
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
AplayDevices:
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC269 Analog [ALC269 Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
Architecture: amd64
ArecordDevices:
**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC269 Analog [ALC269 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/pcmC0D0p: bill 1432 F...m pulseaudio
Card0.Amixer.info:
Card hw:0 'Intel'/'HDA Intel at 0xff87c000 irq 16'
Mixer name : 'Realtek ALC269'
Components : 'HDA:10ec0269,
Controls : 12
Simple ctrls : 8
DistroRelease: Ubuntu 10.04
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100427.1)
NonfreeKernelMo
Package: alsa-driver (not installed)
ProcEnviron:
PATH=(custom, no user)
LANG=en_US.utf8
SHELL=/bin/bash
ProcVersionSign
Tags: lucid
Uname: Linux 2.6.32-24-generic x86_64
UserGroups:
dmi.bios.date: 02/16/2010
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A01
dmi.board.name: 0D441T
dmi.board.vendor: Dell Inc.
dmi.board.version: A01
dmi.chassis.type: 6
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.
dmi.product.name: OptiPlex 980
dmi.sys.vendor: Dell Inc.
Bill Loucks (biloucks) wrote : AlsaDevices.txt | #99 |
Bill Loucks (biloucks) wrote : BootDmesg.txt | #100 |
Bill Loucks (biloucks) wrote : Card0.Amixer.values.txt | #101 |
Bill Loucks (biloucks) wrote : Card0.Codecs.codec.0.txt | #102 |
Bill Loucks (biloucks) wrote : CurrentDmesg.txt | #103 |
Bill Loucks (biloucks) wrote : PciMultimedia.txt | #104 |
Bill Loucks (biloucks) wrote : ProcCpuinfo.txt | #105 |
Martin Lopez (lennon-mexico) wrote : | #106 |
Hi David,
I spent 2 days to find out a solution for this issue, but as other said: You're a lifesaver. I just migrate from windows to linux in my PC office. it's better to work with linux than windows. now the life is beautiful again :D.
Thanks.
David Henningsson (diwic) wrote : | #107 |
Okay, a new one to try for you: Uninstall the others, install http://
tags: | added: alc269 |
Marcus Paiva (mpaivac) wrote : | #108 |
Hi,
solution #107 worked !!!!!
(alsa-intel-
Thank You !
birdflesh (birdflesh) wrote : | #109 |
It works. No auto-muting though.
David Henningsson (diwic) wrote : | #110 |
@birdflesh: According to your BIOS, you have an internal speaker, and that one should get muted, but not the line-out. Looking at the code, this seems like a design decision that if you have both speaker, line-out and hp-out, hp-out only mutes the speaker.
description: | updated |
Changed in alsa-driver (Ubuntu): | |
status: | Incomplete → Fix Committed |
Changed in linux (Ubuntu): | |
status: | New → Fix Committed |
Launchpad Janitor (janitor) wrote : | #111 |
This bug was fixed in the package linux - 2.6.35-14.20
---------------
linux (2.6.35-14.20) maverick; urgency=low
[ Andy Whitcroft ]
* update Vcs-Git to point to maverick repo
* debian -- include the debian packaging in the -source package
- LP: #608674
* select debian source format 1.0
* add support for building selected stages of kernel
- LP: #603087
* cleanup conditional dependancy handling
- LP: #603087
[ Upstream Kernel Changes ]
* ALSA: hda - Handle missing NID 0x1b on ALC259 codec
- LP: #582199, #586418, #588031
* ALSA: hda - Handle pin NID 0x1a on ALC259/269
- LP: #582199, #586418, #588031
* sched: Revert nohz_ratelimit() for now
-- Leann Ogasawara <email address hidden> Tue, 03 Aug 2010 08:46:47 -0700
Changed in linux (Ubuntu): | |
status: | Fix Committed → Fix Released |
description: | updated |
Changed in alsa-driver (Ubuntu): | |
status: | Fix Committed → Fix Released |
Aristotelis Mikropoulos (amikrop) wrote : | #112 |
Please release the fix as an update in Lucid, as the bug renders a DELL OPTIPLEX 380 system with Ubuntu, almost useless. Thanks a lot.
David Henningsson (diwic) wrote : | #113 |
@Aristotelis, it is likely to reach Lucid, but the time frame depends on upstream. If you want Ubuntu to take a shortcut, I think the following two documents might help you do the paperwork:
https:/
https:/
Aristotelis Mikropoulos (amikrop) wrote : | #114 |
@David, thank you.
Martin Smith (martinb3) wrote : | #115 |
This bug report says that the fix has been released for Lucid. I am in my second week of a brand new Optiplex 980, and I'm still having to run 'hda-verb /dev/snd/hwC0D0 0x1b 0x701 0' to get sound working. Am I missing something? I'm totally up to date on packages.
Marcus Paiva (mpaivac) wrote : | #116 |
I ve done an update today: linux-alsa-
I am using this 1st page workaround:
=== Current workaround for Lucid ===
https:/
======
birdflesh (birdflesh) wrote : | #117 |
Can you post the output of "uname -r"
My guess is that you are using 2.6.32-25 which as of now doesn't have a corenponding linux-alsa-driver package yet.
Martin Smith (martinb3) wrote : | #118 |
Here's mine:
Linux orc 2.6.32-24-generic #42-Ubuntu SMP Fri Aug 20 14:21:58 UTC 2010 x86_64 GNU/Linux
Aristotelis Mikropoulos (amikrop) wrote : | #119 |
I have Lucid, too, and even with the latest updates I need to run hda-verb command to get my sound to work.
Marcus Paiva (mpaivac) wrote : | #120 |
Hi,
after kernel update 2.6.32-25-generic, sound stopped working.
I was using
=== Current workaround for Lucid ===
https:/
linux-alsa-
Now, only this solution is working:
David Henningsson wrote on 2010-07-30: #107
Okay, a new one to try for you: Uninstall the others, install http://
David Henningsson (diwic) wrote : | #121 |
@Marcus: The alsa drivers in the ubuntu-audio-dev ppa are currently out of sync with the kernel, unfortunately. Hopefully it is fixed tomorrow.
That said, I was hoping that it would reach Lucid, but the lead time is long. I've just posted a patch to the kernel-team mailing list that I hope will speed it up a bit.
Luke Yelavich (themuso) wrote : Re: [Bug 582199] Re: No sound on Dell Optiplex 380 (ALC269Q, probably new chip) | #122 |
Please also note that kernel 2.6.32-25-generic is a proposed kernel, i.e not a tested and released update. It does not make sense to provide updated alsa driver modules for 2.6.32-25-generic just yet, because there is every chance that the kernel will be pulled from the proposed updates repository.
Luciano Panepucci (lpanebr) wrote : | #123 |
I have a Dell Optiplex 980 and have the same issue with the front jacks not playing audio.
The David Henningsson HDA_Analyzer (setting the Active Audio Mixer to 0x0c) works BUT on PIN 0x21.
0x21 is:
Jack Type: HP Out
Location: Front
After restart the problem persist and I am just afraid to try the Patch File..
What should I do to get a Patch for Dell Optiplex 980?
Luciano Panepucci (lpanebr) wrote : | #124 |
Sorry. Some comments where hidden and just now I found a the same bugreport for the 980.
Changed in alsa-driver (Ubuntu): | |
status: | Fix Released → Fix Committed |
Alina Swietochowska (alina-qa-iq) wrote : | #125 |
NOt having much experience in fighting audio, I'm loosing the track of what's happening... Should I be seeing these dependency issues?
apt-get install pulseaudio/
Reading package lists... Done
Building dependency tree
Reading state information... Done
Selected version '1:0.9.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies.
pulseaudio : Depends: libpulse0 (= 1:0.9.22~
E: Broken packages
Alina Swietochowska (alina-qa-iq) wrote : | #126 |
My apologies. Please disregard comment #125 - posted by mistake in a wrong thread! Sorry!
Robert Hrovat (robi-hipnos) wrote : | #127 |
Will 10.04 LTS get this fixed too? We have those computers at work and I have to be very careful when upgrading kernel that alsa modules are installed too.
David Henningsson (diwic) wrote : | #128 |
There was a lucid-proposed kernel released yesterday. I believe the bug is fixed there, so can you please test the lucid-proposed to verify it? Thanks!
David Henningsson (diwic) wrote : | #129 |
Fixed in "linux", marking "alsa-driver" as invalid.
Changed in alsa-driver (Ubuntu): | |
status: | Fix Committed → Invalid |
What's the output from:
COLUMNS=200 dpkg -l linux-alsa- driver- modules- \*|grep ^ii
pactl stat