Re: [Alsa-user] alsamixer does not save settings

2009-04-18 Thread John Haxby
Geoffrey Leach wrote:
>
> FWIW, it appears that this (1.0.19) is the problem:
>
> function stop() {
>   #
>   # store driver settings
>   #
>   if [ -x $alsactl ]; then
> $alsactl -f $asoundcfg store
>
> The file as installed from the source distribution, does not have 
> executable permissions. Or perhaps the '-x' was not intended?
>
>   
On my system (Fedora 10) /usr/sbin/alsactl is a symbolic link to 
/sbin/alsactl and that is executable.

Are you saying that whatever $alsactl refers to is not executable?   
That's clearly where the mistake is then -- it should be.  Just typing 
"/sbin/alsactl" (or /usr/sbin/alsactl) should say something like 
"alsactl: Specify command..." and not "bash: /sbin/alsactl: Permission 
denied".

If you change the test to, say, -f, then you'll just get a failing script.

jch

--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] Fix Skype on headphones sound only on one ear

2009-04-18 Thread Christian Asseburg
Dear ALSA users list -

I'm using Skype for Linux on a laptop, with the laptop soundcard (card 0)  
the default and a USB headset for Skype calls (card 1). Everything is  
working fine, except that the sound during Skype conversations is heard on  
one ear only. I would like to hear (the same) sound on both ears. Please  
point me in the right direction on how to fix this, thank you!

. . . Christian

PS Apologies if this is a double post, I didn't know that I need to  
receive a list confirmation after subscription.

--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Fix Skype on headphones sound only on one ear

2009-04-18 Thread Christian Asseburg
Dear HoverHell, thanks for the idea.

I don't have .asoundrc in my home directory. Do you think I can just  
create it and the system will find it?

Also, I'm not sure how I would specify the device. I'm using hw:default,0  
for the Skype sound output, it is not the default device. (Which sounds  
stupid, seeing that it's called "hw:default", but when I do not specify a  
device I get the laptop soundcard, not this one.)

Could you have a look at the attached information and confirm how I have  
to clarify in .asoundrc that I mean the hw:default,0 device? Thank you!

With best wishes -

. . . Christian

--- Forwarded message ---
From: HoverHell
To: "Christian Asseburg" 
Cc:
Subject: Re: [Alsa-user] Fix Skype on headphones sound only on one ear
Date: Sat, 18 Apr 2009 14:49:32 +0200

Christian Asseburg wrote:
> Dear ALSA users list -
>
> I'm using Skype for Linux on a laptop, with the laptop soundcard (card 0)
> the default and a USB headset for Skype calls (card 1). Everything is
> working fine, except that the sound during Skype conversations is heard  
> on
> one ear only. I would like to hear (the same) sound on both ears. Please
> point me in the right direction on how to fix this, thank you!
>
> . . . Christian
>

In asoudrc examples there's a way to solve that problem (which i didn't
encounter lately though):

# skype and ekiga are only mono, so route left channel to the right channel
pcm.mono_playback {
  type route
  slave.pcm "default"
  slave.channels 2
  # Send Skype channel 0 to the L and R speakers at full volume
  ttable.0.01
  ttable.0.11
}

e.g. it routes left (AFAIR) channel on 'mono_playback' device to left
and right of 'default' device.

--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Fix Skype on headphones sound only on one ear

2009-04-18 Thread Christian Asseburg

Forgot the attachment, sorry

--- Forwarded message ---
From: "Christian Asseburg" 
To: "alsa-user@lists.sourceforge.net" 
Cc:
Subject: Re: [Alsa-user] Fix Skype on headphones sound only on one ear
Date: Sat, 18 Apr 2009 14:56:56 +0200

Dear HoverHell, thanks for the idea.

I don't have .asoundrc in my home directory. Do you think I can just
create it and the system will find it?

Also, I'm not sure how I would specify the device. I'm using hw:default,0
for the Skype sound output, it is not the default device. (Which sounds
stupid, seeing that it's called "hw:default", but when I do not specify a
device I get the laptop soundcard, not this one.)

Could you have a look at the attached information and confirm how I have
to clarify in .asoundrc that I mean the hw:default,0 device? Thank you!

With best wishes -

. . . Christian

--- Forwarded message ---
From: HoverHell
To: "Christian Asseburg" 
Cc:
Subject: Re: [Alsa-user] Fix Skype on headphones sound only on one ear
Date: Sat, 18 Apr 2009 14:49:32 +0200

Christian Asseburg wrote:

Dear ALSA users list -

I'm using Skype for Linux on a laptop, with the laptop soundcard (card 0)
the default and a USB headset for Skype calls (card 1). Everything is
working fine, except that the sound during Skype conversations is heard  
on

one ear only. I would like to hear (the same) sound on both ears. Please
point me in the right direction on how to fix this, thank you!

. . . Christian



In asoudrc examples there's a way to solve that problem (which i didn't
encounter lately though):

# skype and ekiga are only mono, so route left channel to the right channel
pcm.mono_playback {
   type route
   slave.pcm "default"
   slave.channels 2
   # Send Skype channel 0 to the L and R speakers at full volume
   ttable.0.01
   ttable.0.11
}

e.g. it routes left (AFAIR) channel on 'mono_playback' device to left
and right of 'default' device.c...@home ~ $ cat /proc/asound/cards
 0 [SB ]: HDA-Intel - HDA ATI SB
  HDA ATI SB at 0xc000 irq 11
 1 [default]: USB-Audio - C-Media USB Headphone Set  
  C-Media USB Headphone Set   at usb-:00:13.0-2, full 
speed
c...@home ~ $ aplay -L
default:CARD=SB
HDA ATI SB, ALC861 Analog
Default Audio Device
front:CARD=SB,DEV=0
HDA ATI SB, ALC861 Analog
Front speakers
surround40:CARD=SB,DEV=0
HDA ATI SB, ALC861 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=SB,DEV=0
HDA ATI SB, ALC861 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=SB,DEV=0
HDA ATI SB, ALC861 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=SB,DEV=0
HDA ATI SB, ALC861 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=SB,DEV=0
HDA ATI SB, ALC861 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
null
Discard all samples (playback) or generate zero samples (capture)
default:CARD=default
C-Media USB Headphone Set  , USB Audio
Default Audio Device
front:CARD=default,DEV=0
C-Media USB Headphone Set  , USB Audio
Front speakers
surround40:CARD=default,DEV=0
C-Media USB Headphone Set  , USB Audio
4.0 Surround output to Front and Rear speakers
surround41:CARD=default,DEV=0
C-Media USB Headphone Set  , USB Audio
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=default,DEV=0
C-Media USB Headphone Set  , USB Audio
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=default,DEV=0
C-Media USB Headphone Set  , USB Audio
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=default,DEV=0
C-Media USB Headphone Set  , USB Audio
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=default,DEV=0
C-Media USB Headphone Set  , USB Audio
IEC958 (S/PDIF) Digital Audio Output
c...@home ~ $ 

--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] Speakers and Headphone Play Together with HDA Intel on Fujitsu S6520

2009-04-18 Thread Willey Chen
Hi,

I'm using Arch Linux on Fujitsu LifeBook S6520 laptop. The audio device was
recognized by snd-hda-intel module as ALC269, which includes six models at
present (pick from
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=Documentation/sound/alsa/HD-Audio-Models.txt
).

80 ALC269
81 ==
82   basic Basic preset
83   quantaQuanta FL1
84   eeepc-p703ASUS Eeepc P703 P900A
85   eeepc-p901ASUS Eeepc P901 S101
86   fujitsu   FSC Amilo
87   auto  auto-config reading BIOS (default)

I tried the fujitsu model above, but in the dmesg I found:
hda_codec: Unknown model for ALC269, trying auto-probe from BIOS...

So I used the auto model. (it's using the basic model in fact)  However, I
got simultaneous sound from speakers and headphone. It must because the auto
model does not *fully support* this kind of device at present. I'm seeking
your help. Would you please add fujitsu lifebook to the fujitsu model listed
above?

I've run the alsa-info.sh script and get My ALSA information:
http://www.alsa-project.org/db/?f=fe50ed11407c6d791438e2403d7480576c9a0325

Thanks.
--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user