You are not logged in.

#1 2010-06-18 08:49:59

Chahine
Member
Registered: 2009-11-01
Posts: 13

[Solved] Single audio port for both input/output

Hi all,

I've just bought an Asus X42JV, and it happens to have only one audio port for both input and output.
Under Windows, the driver is so that, whenever I plug something in it, a dialog box asks me what kind of audio device it is (input or output).
But under (arch)linux, nothing happens, and the sound only comes from my laptop speakers, which don't even mute if I plug something in the audio port.

I've found nothing about such case anywhere on the net. Any idea ?
Thanks in advance.

EDIT : "acpi_listen" and "udevadm monitor" don't show anything when I plug external speakers...

Last edited by Chahine (2010-09-16 09:54:12)

Offline

#2 2010-06-23 11:44:39

Chahine
Member
Registered: 2009-11-01
Posts: 13

Re: [Solved] Single audio port for both input/output

Up !

Offline

#3 2010-06-24 12:07:11

eDio
Member
From: Ukraine, Kyiv
Registered: 2008-12-02
Posts: 422

Re: [Solved] Single audio port for both input/output

Try OSS instead of ALSA. It allows to define type of port, if soundcard supports it.

Offline

#4 2010-06-24 13:26:47

randomguy
Member
Registered: 2007-06-19
Posts: 101

Re: [Solved] Single audio port for both input/output

Find out what sound chipset this laptop has then determine the module it uses. Look into the modules docs and if you are lucky the developer has implemented a option for this bad hardware design choice.

Edit:

Have tried alsamixer? Sometimes there are swichtes for sound related features.

Last edited by randomguy (2010-06-24 13:32:41)

Offline

#5 2010-06-25 15:42:12

Chahine
Member
Registered: 2009-11-01
Posts: 13

Re: [Solved] Single audio port for both input/output

According to alsamixer, my chipset is : Intel G45 DEVIBX.
According to lspci, my card is : Intel Corporation 5 Series/3400 Series Chipset High Definition Audio.

I've browsed the web with this information but I've not found any specific module to load for this card.
Some people say that this problem is fixed with alsa 1.0.23, which is the version of alsa available in the extra repository. However, my "/proc/asound/version" contains "Advanced Linux Sound Architecture Driver Version 1.0.22.1"...?!

Offline

#6 2010-06-27 21:37:31

sudokode
Member
Registered: 2010-06-27
Posts: 5

Re: [Solved] Single audio port for both input/output

ohai! I found this, it's not the same model, but it does suggest using snd-hda-intel, but the lenovo driver, since there are several different HDA drivers for the different manufacturers. not sure if the one you're using is a lenovo as well, but it very well could be.

http://vip.asus.com/forum/view.aspx?boa … uage=en-us

Offline

#7 2010-06-28 18:02:28

Chahine
Member
Registered: 2009-11-01
Posts: 13

Re: [Solved] Single audio port for both input/output

Sorry, this doesn't work for me sad . But thank you for your try !

Offline

#8 2010-06-28 19:08:13

kazuo
Member
From: São Paulo/Brazil
Registered: 2008-03-18
Posts: 413
Website

Re: [Solved] Single audio port for both input/output

Chahine wrote:

Some people say that this problem is fixed with alsa 1.0.23, which is the version of alsa available in the extra repository. However, my "/proc/asound/version" contains "Advanced Linux Sound Architecture Driver Version 1.0.22.1"...?!

The alsa-driver is at version 1.0.22.1 the userland utils are at version 1.0.23. The drivers are included in the kernel, so its get updated with the kernel (so probably the git tree of kernel have 1.0.23), but you can easily test a new kernel version.

Do this download the kernel driver from alsa page, and run configure with --with-cards=hda-intel; run make and copy the modules from modules/ dir (or test them with insmod), dont run make install or its gonna mess with your system.

Offline

#9 2010-06-29 08:10:49

Chahine
Member
Registered: 2009-11-01
Posts: 13

Re: [Solved] Single audio port for both input/output

Sounds really good ! Could you just tell me more precisely what to copy and where ?
I've compiled alsa as you said, and in modules/ directory I have only symlinks to files in other directories (pci/hda/ and acore/). I copied each module in the respective directory of the kernel modules tree, I rebooted but snd-hda-intel isn't loaded anymore ; when I try to load it manually, I get the error "snd_hda_codec: Unknown symbol __snd_printk".
Did I do something wrong ?

Offline

#10 2010-07-04 17:58:10

Chahine
Member
Registered: 2009-11-01
Posts: 13

Re: [Solved] Single audio port for both input/output

Up ?

Offline

#11 2010-07-23 17:58:57

Chahine
Member
Registered: 2009-11-01
Posts: 13

Re: [Solved] Single audio port for both input/output

I've installed alsa 1.0.23 as you suggested but still no sound... I think the problem doesn't deal with the sound card driver, but with this dual plug which isn't detected at all.

Offline

#12 2010-09-04 13:30:03

Chahine
Member
Registered: 2009-11-01
Posts: 13

Re: [Solved] Single audio port for both input/output

Since last alsa update from arch, my card is now entitled "Intel IbexPeak HDMI"; but still no sound from headphones...

Offline

#13 2010-09-06 17:34:33

Chahine
Member
Registered: 2009-11-01
Posts: 13

Re: [Solved] Single audio port for both input/output

Ok, I've spent enough time expecting a solution; now, I'd like to report this "bug", but I don't know where and what (kernel ? alsa ? something else ?); could you tell me ?

Offline

#14 2010-09-07 19:06:26

GalacticArachnid
Member
Registered: 2009-01-02
Posts: 155
Website

Re: [Solved] Single audio port for both input/output

Hey Chahine,

Ive had the same problem on my intel audio chipset for close to two years.

Dont hold your breath for updates or a bug fix. This is already a know bug https://wiki.ubuntu.com/Gutsy_Intel_HD_Audio_Controller I believe. To save you opening that link and scrolling down to ubuntu's suggested fix, its to downgrade.



So, three possibles fixes that I can suggests at this time are:


Downgrade arch through ARM (Arch Rollback Machinehttp://wiki.archlinux.org/index.php/Dow … g_Packages) to older kernel and/or userland utils. I have not tried this to confirm, but I do remember that intel audio worked fine on arch with alsa some 2 years back or so ;D


DL and use hda_analyzer (dl here: http://www.alsa-project.org/main/index.php/HDA_Analyzer, run as: sudo python ~/run.py). This will show you all controls and what not for your sound card, play around with some of the top listed switches to see which one toggles line direction. (for what its wirth, its 0x0b on my machine).


Use Debian 5.0  Intel audio works with alsa there.

Edit: forgot #2, layout.

Last edited by GalacticArachnid (2010-09-07 19:15:22)

Offline

#15 2010-09-08 19:30:41

Chahine
Member
Registered: 2009-11-01
Posts: 13

Re: [Solved] Single audio port for both input/output

Man, you're giving me hope back smile ! But this is a pity that this bug has been known for so long and still unresolved !

I'll bet on the hda_analyzer solution, although I have no idea on how to use it. Downgrading my kernel isn't part of my projects, since I'm also trying to make my dual graphic card work with vga switcheroo, only added since 2.6.34 (I'm really unlucky with hardware support); and I like Archlinux too much to give it up !

I'll try to understand hda_analyzer on my own (maybe you'll see me crying here again soon smile ); hopefully this will work.

Offline

#16 2010-09-08 19:49:17

Chahine
Member
Registered: 2009-11-01
Posts: 13

Re: [Solved] Single audio port for both input/output

It works ! Big thanks to you, GalacticArachnid, I've waited for so long, you're great ! I just tried to modify each parameter, and sound finally came out ! How come that such a simple "bugfix" isn't integrated in linux yet ?

Last edited by Chahine (2010-09-08 20:41:37)

Offline

Board footer

Powered by FluxBB