Author Topic: Double sound output  (Read 4237 times)

Offline yodelu

  • PCLinuxOS Tester
  • Sr. Member
  • *******
  • Posts: 317
Re: Double sound output
« Reply #15 on: March 31, 2012, 12:19:17 PM »
sorry for delay
2AS don't know it's not specified there
Anyway i see there is an update for ALSA to 1.25
http://www.alsa-project.org/main/index.php/Main_Page
A lot of changelog ...

On the other hand i found and installed here this
http://www.linuxant.com/alsa-driver/archive/alsa-driver-linuxant-1.0.23.1/alsa-driver-linuxant-1.0.23.1-1.noarch.rpm.zip
you should be carefull with this because is outside pclos repo

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: Double sound output
« Reply #16 on: March 31, 2012, 12:30:02 PM »
sorry for delay
2AS don't know it's not specified there

I know, it refer to the latest one .. 3.3  ;)


Quote
Anyway i see there is an update for ALSA to 1.25
http://www.alsa-project.org/main/index.php/Main_Page
A lot of changelog ...


Thanks, I'm the guy who packaged alsa-1.0.25  few days ago  ;)

Quote
On the other hand i found and installed here this
http://www.linuxant.com/alsa-driver/archive/alsa-driver-linuxant-1.0.23.1/alsa-driver-linuxant-1.0.23.1-1.noarch.rpm.zip
you should be carefull with this because is outside pclos repo

Exactly, that's why we have a package request section, so our packagers may prepare the package the way PClinuxOS need it.

Also, may be you missed that PCLinuxOS is currently using alsa-1.0.24, alsa-1.0.25 available in testing section, so, while you are of course free to broke your own installation doing whatever you like, I kindly request you to not suggest to the others to do the same, that way their installation automatically would become unsupported here.

AS
« Last Edit: March 31, 2012, 12:35:09 PM by AS »

Offline yodelu

  • PCLinuxOS Tester
  • Sr. Member
  • *******
  • Posts: 317
Re: Double sound output
« Reply #17 on: March 31, 2012, 02:11:33 PM »
thx for update and i hope that will fix rise82 problem
i know the rule .. that was just for testing purpose ..
 :-X




Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: Double sound output
« Reply #18 on: April 01, 2012, 07:39:35 AM »
rise82,

please add here the output of the following two commands:
Code: [Select]
lspci -nn -k -s 00:01.1
lspci -nn -k -s 00:14.2

Offline rise82

  • Jr. Member
  • **
  • Posts: 41
Re: Double sound output
« Reply #19 on: April 01, 2012, 08:24:47 PM »
rise82,

please add here the output of the following two commands:
Code: [Select]
lspci -nn -k -s 00:01.1
lspci -nn -k -s 00:14.2
$ lspci -nn -k -s 00:01.1
00:01.1 Audio device [0403]: ATI Technologies Inc Device [1002:1314]
   Subsystem: Acer Incorporated [ALI] Device [1025:0598]
   Kernel driver in use: HDA Intel
   Kernel modules: snd-hda-intel
$ lspci -nn -k -s 00:14.2
00:14.2 Audio device [0403]: ATI Technologies Inc SBx00 Azalia (Intel HDA) [1002:4383] (rev 40)
   Subsystem: Acer Incorporated [ALI] Device [1025:0598]
   Kernel driver in use: HDA Intel
   Kernel modules: snd-hda-intel

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: Double sound output
« Reply #20 on: April 02, 2012, 09:08:56 AM »
rise82,

please try to revise your /etc/modprobe.conf as follow:

install scsi_hostadapter /sbin/modprobe ahci; /sbin/modprobe ata_piix; /bin/true
install usb-interface /sbin/modprobe ehci_hcd; /sbin/modprobe ohci_hcd; /bin/true
alias eth0 wl0
alias eth1 atl1c
alias pci:v000014E4d00004727sv0000105Bsd0000E042bc02sc80i00 wl
alias pci:v00001969d00002062sv00001025sd00000598bc02sc00i00 atl1c
alias sound-slot-0 snd_hda_intel
options snd-ac97-codec power_save=1
alias sound-slot-1 snd_hda_intel model=acer
options snd-hda-intel model=laptop

Please note that I'm actually unsure about which of the two sound device are really in use, I would suggest to try both, one at once, adding the parameter model=acer to sound-slot-0 first, and if it doesn't work, try to add it to sound-slot-1.
After each change, reboot your system, and run again alsaconf.

AS

Offline rise82

  • Jr. Member
  • **
  • Posts: 41
Re: Double sound output
« Reply #21 on: April 02, 2012, 08:48:29 PM »
1st try alias sound-slot-1 snd_hda_intel model=acer then if still not work try alias sound-slot-0 snd_hda_intel model=acer
already try it... still no improvement, same problem....
this is my modprobe.conf now
$ cat /etc/modprobe.conf
install scsi_hostadapter /sbin/modprobe ahci; /sbin/modprobe ata_piix; /bin/true
install usb-interface /sbin/modprobe ehci_hcd; /sbin/modprobe ohci_hcd; /bin/true
alias eth0 wl0
alias eth1 atl1c
alias pci:v000014E4d00004727sv0000105Bsd0000E042bc02sc80i00 wl
alias pci:v00001969d00002062sv00001025sd00000598bc02sc00i00 atl1c
alias sound-slot-1 snd_hda_intel
alias sound-slot-0 snd_hda_intel model=acer 
options snd-ac97-codec power_save=1

Offline yodelu

  • PCLinuxOS Tester
  • Sr. Member
  • *******
  • Posts: 317
Re: Double sound output
« Reply #22 on: April 03, 2012, 03:21:43 AM »
alias sound-slot-1 it seems to be assigned to HDMI and alias sound-slot-0 to internal speakers. Anyway i guess that 0 means the default one..  
 you can try to switch them :

alias sound-slot-1 snd_hda_intel index=0
alias sound-slot-0 snd_hda_intel index=1
  
or

alias sound-slot-1 snd_hda_intel index=1
alias sound-slot-0 snd_hda_intel index=0

reboot ..

[EDIT]
In case that isn't working you can try to set default audio card in this way
KCC>Hardware>Phonon and here just navigate through all categories and put on the top your preffered audio card
« Last Edit: April 03, 2012, 06:07:57 AM by yodelu »

Offline rise82

  • Jr. Member
  • **
  • Posts: 41
Re: Double sound output
« Reply #23 on: April 03, 2012, 10:42:31 PM »
Already try using index still not working no improvement same problem...
pcc>hardware>sound configuration >> there 3 list : Intel HDA driver (snd_hda_intel [ALSA]) , snd_hda_intel index=1 [ALSA] , unknown. already try those 2 list stil no improvement. If i choose advanced > let me pick any driver >> which driver should i choose from that many list snd_xxx ? theres a to y list....
thanks before...

Offline yodelu

  • PCLinuxOS Tester
  • Sr. Member
  • *******
  • Posts: 317
Re: Double sound output
« Reply #24 on: April 03, 2012, 11:40:49 PM »
KCC (which is Configure Your Desktop icon or systemsettings as command in console) and not in pcc (which is Configure Your Computer icon or drakconf as command)
KCC>Hardware>Multimedia>Phonon

[EDIT]

i've just started a test here with two sound cards  cause AS gives me a clue is this problem : which card is in use by system ?
First i've noticed the settings made in phonon are applicable only for KDE and it's sound applications
In know because i use XMMS as music player and xmms doesn't care about phonon.. and
these are settings found on my system  (again phonon has nothing to say here)
cat /proc/asound/cards
 0 [ICH5           ]: ICH4 - Intel ICH5
                      Intel ICH5 with ALC655 at irq 17
 1 [Headset        ]: USB-Audio - Logitech USB Headset
                      Logitech Logitech USB Headset at usb-0000:00:1d.1-1, full speed
and
[root@localhost ~]# cat /proc/asound/modules
 0 snd_intel8x0
 1 snd_usb_audio

now i have to go in /etc/modprobe.d/snd-options file
there are a lot of options = -2
-2 means in order of loaded module (in this case intel8x0 is first as lsmod says)
so i have to put
options snd-usb-audio index=-1
if i want to change the default card

reboot then check

[root@localhost ~]# cat /proc/asound/cards
 0 [Headset        ]: USB-Audio - Logitech USB Headset
                      Logitech Logitech USB Headset at usb-0000:00:1d.1-1, full speed
 1 [ICH5           ]: ICH4 - Intel ICH5
                      Intel ICH5 with ALC655 at irq 17
[root@localhost ~]# cat /proc/asound/modules
 0 snd_usb_audio
 1 snd_intel8x0

now xmms doesn' t have to be (re)configured

hope that help it this problem too

« Last Edit: April 04, 2012, 02:05:25 AM by yodelu »

Offline rise82

  • Jr. Member
  • **
  • Posts: 41
Re: Double sound output
« Reply #25 on: April 04, 2012, 08:45:35 PM »
wow now that so many different with me... i think i still need guide here, im scare to broke something with so many code here...
cat /proc/asound/cards
 0 [Generic        ]: HDA-Intel - HD-Audio Generic
                      HD-Audio Generic at 0x90444000 irq 40
 1 [SB             ]: HDA-Intel - HDA ATI SB
                      HDA ATI SB at 0x90440000 irq 16
cat /proc/asound/modules
 0 snd_hda_intel
 1 snd_hda_intel

/etc/modprobe.d/snd-options file
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 (i change this with 1) --> already try change to 1 when i reboot n check it, it still same condition with the 1st im running $cat /proc/asound/cards
options snd-usb-caiaq index=-2
options snd-usb-ua101 index=-2
options snd-usb-us122l index=-2
options snd-usb-usx2y index=-2
options snd-cmipci mpu_port=0x330 fm_port=0x388
options snd-pcsp index=-2
options snd-usb-audio index=-2

according to your example then i should change only snd-option file right?
« Last Edit: April 04, 2012, 08:58:21 PM by rise82 »

Offline yodelu

  • PCLinuxOS Tester
  • Sr. Member
  • *******
  • Posts: 317
Re: Double sound output
« Reply #26 on: April 04, 2012, 11:59:01 PM »
yes only snd-option but of course your snd-option
mine was snd-usb-audio, because i used as a second audio card an USB one, and i changed  the value from -2 to -1 ( not 1)
in your case you should add a line
options snd-hda-intel index=-1
or
options snd_hda_intel index=-1

i guess that "your" problem is that you have two different card that use the same module so it is difficult to change the order with this method..
However,  the default card (i mean preffered card by your system) it seems to be assigned to speakers so is good.
Anyway  you may try to add that line and see what's happen' ..

[EDIT]
Better try this
options snd-hda-intel model=laptop

[EDIT2]
or the final try before we catch an alsa update
in modprobe.conf add this line
options snd-hda-intel id=Generic index=0 model=laptop

« Last Edit: April 05, 2012, 03:50:13 PM by yodelu »

Offline rise82

  • Jr. Member
  • **
  • Posts: 41
Re: Double sound output
« Reply #27 on: April 05, 2012, 09:15:34 PM »
wow still no improvement and same problem... this is my snd-option file now...
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-caiaq index=-2
options snd-usb-ua101 index=-2
options snd-usb-us122l index=-2
options snd-usb-usx2y index=-2
options snd-cmipci mpu_port=0x330 fm_port=0x388
options snd-pcsp index=-2
options snd-usb-audio index=-2
options snd-hda-intel id=Generic index=0 model=laptop

already try add options snd-hda-intel index=-1 or options snd-hda-intel model=laptop then reboot, still no improvement...

Online Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10687
  • MLUs Forever!
Re: Double sound output
« Reply #28 on: April 12, 2012, 08:37:21 AM »
According to my reading of the page linked below ......  the laptop has the ability to treat the headphones and speakers separately .....  provided a suitable kernel and alsa versions are installed.

To give user access to the control Pulse Audio & pavucontrol is used (yeah AS I know  :D  )

Have a look at the PA pics under the sound section ......

 http://bernaerts.dyndns.org/linux/202-ubuntu-acer-ao722
MLUs rule the roost!

Linux XPS 3.4.38-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: Double sound output
« Reply #29 on: April 12, 2012, 08:44:13 AM »
According to my reading of the page linked below ......  the laptop has the ability to treat the headphones and speakers separately .....  provided a suitable kernel and alsa versions are installed.


we have both new, in testing right now ...

Quote
To give user access to the control Pulse Audio & pavucontrol is used (yeah AS I know  :D  )

He is already using PA, (from first post)  :D

Quote
Have a look at the PA pics under the sound section ......

 http://bernaerts.dyndns.org/linux/202-another distro-acer-ao722