Re: [Alsa-user] Changed from Fedora 33 + ALSA to Fedora 34 + Wayland + ALSA + Pipewire

2021-09-17 Thread Philip Rhoades via Alsa-user

Extra info below:


On 2021-09-18 03:12, Philip Rhoades wrote:

People,

With my .asoundrc attached hereunder I used to be able to have inputs
and outputs from various sources without having to worry about using
things like Jack etc, but after the change in the Subject:

- I can record online here:

  https://online-voice-recorder.com



Using FireFox.



happily while I use Jitsi



in Brave:



(which can record to my DropBox account) but
when I do this CLI command as well:

  arecord -D hw:0,0 -f S32_LE -c 2 ttt.wav

I get this result:

  arecord: main:831: audio open error: Device or resource busy

Is some kind ALSA guru able to tell me if there is a change I can make
to my .asoundrc file that will allow me to have the convenience of my
previous setup of being able to have multiple source and destination
devices without needing to use extra software?

Thanks,

Phil.

.asoundrc:

pcm.!default {
type plug
slave.pcm "asymed"
}

# This is the audio output:
pcm.dmixer {
type dmix
ipc_key 1024
slave {
pcm "hw:0,0"
period_time 0
period_size 1024
buffer_size 4096
rate 44100
}
bindings {
0 0
1 1
}
}

ctl.dmixer {
type hw
card 0
}

# This is the microphone
pcm.dsnooped {
ipc_key 1027
type dsnoop
slave.pcm "hw:0,0"
}

# This makes both channels work together.
pcm.asymed {
type asym
playback.pcm "dmixer"
    capture.pcm "dsnooped"
}


--
Philip Rhoades

PO Box 896
Cowra  NSW  2794
Australia
E-mail:  p...@pricom.com.au


___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] Changed from Fedora 33 + ALSA to Fedora 34 + Wayland + ALSA + Pipewire

2021-09-17 Thread Philip Rhoades via Alsa-user

People,

With my .asoundrc attached hereunder I used to be able to have inputs 
and outputs from various sources without having to worry about using 
things like Jack etc, but after the change in the Subject:


- I can record online here:

  https://online-voice-recorder.com

happily while I use Jitsi (which can record to my DropBox account) but 
when I do this CLI command as well:


  arecord -D hw:0,0 -f S32_LE -c 2 ttt.wav

I get this result:

  arecord: main:831: audio open error: Device or resource busy

Is some kind ALSA guru able to tell me if there is a change I can make 
to my .asoundrc file that will allow me to have the convenience of my 
previous setup of being able to have multiple source and destination 
devices without needing to use extra software?


Thanks,

Phil.

.asoundrc:

pcm.!default {
type plug
slave.pcm "asymed"
}

# This is the audio output:
pcm.dmixer {
type dmix
ipc_key 1024
slave {
pcm "hw:0,0"
period_time 0
period_size 1024
buffer_size 4096
rate 44100
}
bindings {
0 0
1 1
}
}

ctl.dmixer {
type hw
card 0
}

# This is the microphone
pcm.dsnooped {
ipc_key 1027
type dsnoop
slave.pcm "hw:0,0"
}

# This makes both channels work together.
pcm.asymed {
type asym
playback.pcm "dmixer"
    capture.pcm "dsnooped"
}


--
Philip Rhoades

PO Box 896
Cowra  NSW  2794
Australia
E-mail:  p...@pricom.com.au


___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] This appears to be the problem I am getting with this list - and now other lists - DMARC / DKIM / SPF

2020-08-04 Thread Philip Rhoades

lists,


On 2020-08-04 16:41, lists wrote:

I just logged into my yahoo account and used the dkimvalidator. It
passes SPF and DKIM perfectly.



So does mine . .



I really doubted the claim that they
don't pass DMARC since they helped set the standard.



Well that is an old article but it looks so much like my problem I 
figured it must be related . .




As an aside, Google is happy with either passing SPF or DKIM.



Right.



From a
spam viewpoint, if you pass SPF then you are authorized to send email
from that server. There is a slight chance that the domain got
spoofed, and that would make it trivial to spoof the SPF.



Well, as I said before, despite passing the above checking site - I get 
reports like the attached which reports fails more often than not for 
DKIM less so for SPF . .




DKIM is another story. It involves public and private keys. For
postfix to sign the message with DKIM, you need the private key on the
server. The public key is in the DNS so that links it to the domain.
So if you own the domain and the private key, you must be legit. Mind
you I have simplified DKIM slightly since it isn't worth me spewing a
half dozen more paragraphs.



See previous response.



Try your account with the dkimvalidator:
https://dkimvalidator.com/



I did when I had set up this stuff originally (as I said above - 
everything passed OK then and still does now) - something has recently 
changed - I am getting dozens of stupid Yahoo messages every time I mail 
to this list now . .




The website creates an email address. You send a message to that email
address. Don't leave the subject line or message block blank if you
want a valid spam assassination score.

Wait a minute or two, then click on the check results box. The output
is a bit wordly, but you will see verification for spf and dkim.

This is the website I use when setting up email servers.



Yes, I had forgotten that I had also used it originally.



Technically I have only proved SPF and DKIM work. That should be all
that a mailing list requires.



Apparently not anymore . .



DMARC is a bit more complicated to
explain, but it isn't worth talking about unless you fail SPF or DKIM.
The email system administrator in theory processes reports from other
email servers in order to see if any accounts on their server have
been spoofed. I say in theory because there is no way to tell if the
administrator reads the DMARC reports.



Anyway, now that this problem appears to be greater than this list - I 
should pursue problem-solving in a more appropriate place!  Thanks.



On the bright side, I have had no ALSA problems in my latest opensuse 
upgrade!



Great! - although am a Fedora person myself . .

Regards,

Phil.




  Original Message  


From: p...@pricom.com.au
Sent: August 3, 2020 10:52 PM
To: alsa-user@lists.sourceforge.net; us...@lists.roundcube.net
Reply-to: p...@pricom.com.au
Subject: [Alsa-user] This appears to be the problem I am getting with
this list - and now other lists - DMARC / DKIM / SPF


People,

FYI, this seems to explain (most of) my hassles mailing to this list:

   Yahoo breaks every mailing list in the world including the IETF's
  
https://mailarchive.ietf.org/arch/msg/ietf/J-IsfA0Lb-6T_NeMD1ENKZyb9tA/

Phil.
--
Philip Rhoades

PO Box 896
Cowra  NSW  2794
Australia
E-mail:  p...@pricom.com.au


___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


--
Philip Rhoades

PO Box 896
Cowra  NSW  2794
Australia
E-mail:  p...@pricom.com.au

comcast.net!pricom.com.au!1596412800!1596499200.xml.gz
Description: GNU Zip compressed data
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] This appears to be the problem I am getting with this list - and now other lists - DMARC / DKIM / SPF

2020-08-03 Thread Philip Rhoades

People,

FYI, this seems to explain (most of) my hassles mailing to this list:

  Yahoo breaks every mailing list in the world including the IETF's
  
https://mailarchive.ietf.org/arch/msg/ietf/J-IsfA0Lb-6T_NeMD1ENKZyb9tA/


Phil.
--
Philip Rhoades

PO Box 896
Cowra  NSW  2794
Australia
E-mail:  p...@pricom.com.au


___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Problem with sending a reply to the list - previous replies were OK . .

2020-08-03 Thread Philip Rhoades

lists,


On 2020-08-03 17:13, lists wrote:
I run my own email server. I use this to verify my server is working 
properly.


https://dkimvalidator.com/



Thanks - I will have a look.



I haven't been following this thread. If you aren't running your own
email server, I don't see how you can effect SPF or DKIM.



Yes I do run my own email server (IndiMail - an updated version of 
QMail) - the problem is that of the reports I get daily about my setup, 
only roughly 50% pass DKIM - it is better for SPF.  I don't understand 
why it is not 0% or 100% . .




SPF means your email comes from an IP address that is allowed to send
email from your domain.



Yes.



This is handled by your DNS. DKIM is
substantially more difficult to explain. It is a way to
cryptographically sign your message. If you pass DKIM then the message
has not been altered.



How could my DKIM setup not be either 0% or 100% ?



One way to fail SPF is to use a remailer.



Well I don't have that problem . .

Thanks for the info!

Phil.





  Original Message  


From: p...@pricom.com.au
Sent: August 2, 2020 11:45 PM
To: alan01...@gmail.com
Reply-to: p...@pricom.com.au
Cc: alsa-user@lists.sourceforge.net
Subject: Re: [Alsa-user] Problem with sending a reply to the list -
previous replies were OK . .


Alan,


On 2020-08-03 01:43, Alan Corey wrote:

I don''t remember the exact error message, it was something like
"unable to establish secure connection to ...".  I spent a lot of time
digging into it and the simple fix was just to reboot the router which
hadn't been done in months.  My router then was a cell phone with
battery and charger so it was mostly always up.  It was affecting SSL
connections to some web sites but not all.



As expected, rebooting my modem did not help - I still get the DKIM
error messages when I post to this list - I will just have to spend 
more

time on it yet again to try and work out why some sites are failing . .
it would be nice if there are some DKIM / DMARC / SPF gurus here who
could help me . .

Thanks,

Phil.




On 8/2/20, Philip Rhoades  wrote:

Alan,


On 2020-07-30 14:44, Alan Corey wrote:

When was the last time you rebooted your router?  I've seen that
solve
weird things.



Just did that now before sending this reply . . but I bet I will get
this stupid DMARC / DKIM problem again . .

Thanks,

P.



On 7/30/20, Philip Rhoades  wrote:

Alan,


On 2020-07-29 23:58, Alan Corey wrote:

Could it be because you changed the subject line?  It wouldn't
surprise me if something does a hash of the subject.  I don't know
a
lot about secure email with SSL and all that.



I don't think so - posting this note also caused me to receive
similar
error messages - even though in both cases the email made it onto
the
list . . must be some sort of DKIM problem I think . .

Thanks,

Phil.



On 7/29/20, Philip Rhoades  wrote:

People,

I tried to reply to my previous thread with a slightly modified
Subject:

    SOLVED: Re: Anybody got Google Meet going on Linux (Fedora)
with
just
ALSA (ie not with PulseAudio)?

and received a response:

This is an authentication failure report for an email message
received
from pricom.com.au on Wed Jul 29 10:43:32 UTC 2020
Received-SPF: pass (domain of lists.sourceforge.net designates
216.105.38.7 as permitted sender)
Authentication-Results: atlas201.free.mail.ir2.yahoo.com;
   dkim=perm_fail header.i=@sourceforge.net header.s=x;
   dkim=perm_fail header.i=@sf.net header.s=x;
   dkim=perm_fail header.i=@pricom.com.au header.s=phr1;
   spf=pass smtp.mailfrom=lists.sourceforge.net;
   dmarc=success(p=NONE,sp=NONE) header.from=pricom.com.au;
.
.

How can I fix this?

Thanks,

Phil.
--
Philip Rhoades

PO Box 896
Cowra  NSW  2794
Australia
E-mail:  p...@pricom.com.au


___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user



--
Philip Rhoades

PO Box 896
Cowra  NSW  2794
Australia
E-mail:  p...@pricom.com.au



--
Philip Rhoades

PO Box 896
Cowra  NSW  2794
Australia
E-mail:  p...@pricom.com.au



--
Philip Rhoades

PO Box 896
Cowra  NSW  2794
Australia
E-mail:  p...@pricom.com.au


___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


--
Philip Rhoades

PO Box 896
Cowra  NSW  2794
Australia
E-mail:  p...@pricom.com.au


___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Problem with sending a reply to the list - previous replies were OK . .

2020-08-03 Thread Philip Rhoades

Alan,


On 2020-08-03 01:43, Alan Corey wrote:

I don''t remember the exact error message, it was something like
"unable to establish secure connection to ...".  I spent a lot of time
digging into it and the simple fix was just to reboot the router which
hadn't been done in months.  My router then was a cell phone with
battery and charger so it was mostly always up.  It was affecting SSL
connections to some web sites but not all.



As expected, rebooting my modem did not help - I still get the DKIM 
error messages when I post to this list - I will just have to spend more 
time on it yet again to try and work out why some sites are failing . . 
it would be nice if there are some DKIM / DMARC / SPF gurus here who 
could help me . .


Thanks,

Phil.




On 8/2/20, Philip Rhoades  wrote:

Alan,


On 2020-07-30 14:44, Alan Corey wrote:
When was the last time you rebooted your router?  I've seen that 
solve

weird things.



Just did that now before sending this reply . . but I bet I will get
this stupid DMARC / DKIM problem again . .

Thanks,

P.



On 7/30/20, Philip Rhoades  wrote:

Alan,


On 2020-07-29 23:58, Alan Corey wrote:

Could it be because you changed the subject line?  It wouldn't
surprise me if something does a hash of the subject.  I don't know 
a

lot about secure email with SSL and all that.



I don't think so - posting this note also caused me to receive 
similar
error messages - even though in both cases the email made it onto 
the

list . . must be some sort of DKIM problem I think . .

Thanks,

Phil.



On 7/29/20, Philip Rhoades  wrote:

People,

I tried to reply to my previous thread with a slightly modified
Subject:

   SOLVED: Re: Anybody got Google Meet going on Linux (Fedora) 
with

just
ALSA (ie not with PulseAudio)?

and received a response:

This is an authentication failure report for an email message
received
from pricom.com.au on Wed Jul 29 10:43:32 UTC 2020
Received-SPF: pass (domain of lists.sourceforge.net designates
216.105.38.7 as permitted sender)
Authentication-Results: atlas201.free.mail.ir2.yahoo.com;
  dkim=perm_fail header.i=@sourceforge.net header.s=x;
  dkim=perm_fail header.i=@sf.net header.s=x;
  dkim=perm_fail header.i=@pricom.com.au header.s=phr1;
  spf=pass smtp.mailfrom=lists.sourceforge.net;
  dmarc=success(p=NONE,sp=NONE) header.from=pricom.com.au;
.
.

How can I fix this?

Thanks,

Phil.
--
Philip Rhoades

PO Box 896
Cowra  NSW  2794
Australia
E-mail:  p...@pricom.com.au


___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user



--
Philip Rhoades

PO Box 896
Cowra  NSW  2794
Australia
E-mail:  p...@pricom.com.au



--
Philip Rhoades

PO Box 896
Cowra  NSW  2794
Australia
E-mail:  p...@pricom.com.au



--
Philip Rhoades

PO Box 896
Cowra  NSW  2794
Australia
E-mail:  p...@pricom.com.au


___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Problem with sending a reply to the list - previous replies were OK . .

2020-08-02 Thread Philip Rhoades

Alan,


On 2020-07-30 14:44, Alan Corey wrote:

When was the last time you rebooted your router?  I've seen that solve
weird things.



Just did that now before sending this reply . . but I bet I will get 
this stupid DMARC / DKIM problem again . .


Thanks,

P.



On 7/30/20, Philip Rhoades  wrote:

Alan,


On 2020-07-29 23:58, Alan Corey wrote:

Could it be because you changed the subject line?  It wouldn't
surprise me if something does a hash of the subject.  I don't know a
lot about secure email with SSL and all that.



I don't think so - posting this note also caused me to receive similar
error messages - even though in both cases the email made it onto the
list . . must be some sort of DKIM problem I think . .

Thanks,

Phil.



On 7/29/20, Philip Rhoades  wrote:

People,

I tried to reply to my previous thread with a slightly modified
Subject:

   SOLVED: Re: Anybody got Google Meet going on Linux (Fedora) with
just
ALSA (ie not with PulseAudio)?

and received a response:

This is an authentication failure report for an email message 
received

from pricom.com.au on Wed Jul 29 10:43:32 UTC 2020
Received-SPF: pass (domain of lists.sourceforge.net designates
216.105.38.7 as permitted sender)
Authentication-Results: atlas201.free.mail.ir2.yahoo.com;
  dkim=perm_fail header.i=@sourceforge.net header.s=x;
  dkim=perm_fail header.i=@sf.net header.s=x;
  dkim=perm_fail header.i=@pricom.com.au header.s=phr1;
  spf=pass smtp.mailfrom=lists.sourceforge.net;
  dmarc=success(p=NONE,sp=NONE) header.from=pricom.com.au;
.
.

How can I fix this?

Thanks,

Phil.
--
Philip Rhoades

PO Box 896
Cowra  NSW  2794
Australia
E-mail:  p...@pricom.com.au


___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user



--
Philip Rhoades

PO Box 896
Cowra  NSW  2794
Australia
E-mail:  p...@pricom.com.au



--
Philip Rhoades

PO Box 896
Cowra  NSW  2794
Australia
E-mail:  p...@pricom.com.au


___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Problem with sending a reply to the list - previous replies were OK . .

2020-07-29 Thread Philip Rhoades

Alan,


On 2020-07-29 23:58, Alan Corey wrote:

Could it be because you changed the subject line?  It wouldn't
surprise me if something does a hash of the subject.  I don't know a
lot about secure email with SSL and all that.



I don't think so - posting this note also caused me to receive similar 
error messages - even though in both cases the email made it onto the 
list . . must be some sort of DKIM problem I think . .


Thanks,

Phil.



On 7/29/20, Philip Rhoades  wrote:

People,

I tried to reply to my previous thread with a slightly modified 
Subject:


   SOLVED: Re: Anybody got Google Meet going on Linux (Fedora) with 
just

ALSA (ie not with PulseAudio)?

and received a response:

This is an authentication failure report for an email message received
from pricom.com.au on Wed Jul 29 10:43:32 UTC 2020
Received-SPF: pass (domain of lists.sourceforge.net designates
216.105.38.7 as permitted sender)
Authentication-Results: atlas201.free.mail.ir2.yahoo.com;
  dkim=perm_fail header.i=@sourceforge.net header.s=x;
  dkim=perm_fail header.i=@sf.net header.s=x;
  dkim=perm_fail header.i=@pricom.com.au header.s=phr1;
  spf=pass smtp.mailfrom=lists.sourceforge.net;
  dmarc=success(p=NONE,sp=NONE) header.from=pricom.com.au;
.
.

How can I fix this?

Thanks,

Phil.
--
Philip Rhoades

PO Box 896
Cowra  NSW  2794
Australia
E-mail:  p...@pricom.com.au


___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user



--
Philip Rhoades

PO Box 896
Cowra  NSW  2794
Australia
E-mail:  p...@pricom.com.au


___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] Problem with sending a reply to the list - previous replies were OK . .

2020-07-29 Thread Philip Rhoades

People,

I tried to reply to my previous thread with a slightly modified Subject:

  SOLVED: Re: Anybody got Google Meet going on Linux (Fedora) with just 
ALSA (ie not with PulseAudio)?


and received a response:

This is an authentication failure report for an email message received 
from pricom.com.au on Wed Jul 29 10:43:32 UTC 2020
Received-SPF: pass (domain of lists.sourceforge.net designates 
216.105.38.7 as permitted sender)

Authentication-Results: atlas201.free.mail.ir2.yahoo.com;
 dkim=perm_fail header.i=@sourceforge.net header.s=x;
 dkim=perm_fail header.i=@sf.net header.s=x;
 dkim=perm_fail header.i=@pricom.com.au header.s=phr1;
 spf=pass smtp.mailfrom=lists.sourceforge.net;
 dmarc=success(p=NONE,sp=NONE) header.from=pricom.com.au;
.
.

How can I fix this?

Thanks,

Phil.
--
Philip Rhoades

PO Box 896
Cowra  NSW  2794
Australia
E-mail:  p...@pricom.com.au


___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] SOLVED: Re: Anybody got Google Meet going on Linux (Fedora) with just ALSA (ie not with PulseAudio)?

2020-07-29 Thread Philip Rhoades

People,

I eventually narrowed down what the problem was:

- a new test user on the same workstation worked fine

- a different profile (attached to the non-working user) worked fine

- using the Chrome reset account facility fixed the problem

- reinstalling some Chrome extensions caused the problem again

I have narrowed it down to either a YouTube video speed controller or an 
extension for preventing automatic playing of YT videos . . somehow one 
or other of these extensions, for Google Meet and Jitsi prevents the 
speakers from working at all and the mic needs to be changed from 
Default to Analog . . weird . .


So now I have work-arounds anyway . . a somewhat interesting exercise I 
guess . .


Thanks,

Phil.


On 2020-07-26 17:43, Philip Rhoades wrote:

People,

I am not sure what is going on - I seem to have had increased sound
problems on recent versions of Fedora (30-31).  I have been routinely
uninstalling PA for some years and haven't had more than the usual
number of problems with audio in that time.  Currently:

alsa-lib-1.2.1.2-4.fc31.i686
alsa-lib-1.2.1.2-4.fc31.x86_64
alsa-ucm-1.2.1.2-4.fc31.noarch
alsa-utils-1.2.1-3.fc31.x86_64
alsamixergui-0.9.0-0.29.rc2.fc31.x86_64
qemu-audio-alsa-4.1.1-1.fc31.x86_64
wine-alsa-5.0-1.fc31.i686
wine-alsa-5.0-1.fc31.x86_64

http://alsa-project.org/db/?f=0da7d0299aadfe9dc87c66a526ee14c7806776c7

If I use the analog rear mic instead of "Default" on GoogleMeet people
can hear me but I can't hear them - but the "Speakers" option can't be
changed from "Default".

Playing YT videos is fine and I can record from my mic here:

  https://online-voice-recorder.com

Any suggestions about debugging would be greatly appreciated.

Regards,

Phil.


--
Philip Rhoades

PO Box 896
Cowra  NSW  2794
Australia
E-mail:  p...@pricom.com.au


___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Anybody got Google Meet going on Linux (Fedora) with just ALSA (ie not with PulseAudio)?

2020-07-26 Thread Philip Rhoades

Robert,


On 2020-07-27 04:55, rm.ric...@jacob21819.net wrote:

Have you experimented with different content in your .asoundrc
file?



Not in recent years . .



I don't know about Google Meet and Chromium specifically,
but other setup (the old Firefox Hello, for example) required a
specific .asoundrc to make it work.  IIRC, this is it:

defaults.pcm.card 0
defaults.ctl.card 0



Tried creating a new .asoundrc with those lines in it - no improvement . 
.


Thanks,

Phil.



HTH

Robert




Date: Sun, 26 Jul 2020 17:43:12 +1000
From: Philip Rhoades 
To: ALSA user 
Reply-To: p...@pricom.com.au

People,

I am not sure what is going on - I seem to have had increased sound
problems on recent versions of Fedora (30-31).  I have been routinely
uninstalling PA for some years and haven't had more than the usual
number of problems with audio in that time.  Currently:

alsa-lib-1.2.1.2-4.fc31.i686
alsa-lib-1.2.1.2-4.fc31.x86_64
alsa-ucm-1.2.1.2-4.fc31.noarch
alsa-utils-1.2.1-3.fc31.x86_64
alsamixergui-0.9.0-0.29.rc2.fc31.x86_64
qemu-audio-alsa-4.1.1-1.fc31.x86_64
wine-alsa-5.0-1.fc31.i686
wine-alsa-5.0-1.fc31.x86_64

http://alsa-project.org/db/?f=0da7d0299aadfe9dc87c66a526ee14c7806776c7

If I use the analog rear mic instead of "Default" on GoogleMeet people
can hear me but I can't hear them - but the "Speakers" option can't be
changed from "Default".

Playing YT videos is fine and I can record from my mic here:

   https://online-voice-recorder.com

Any suggestions about debugging would be greatly appreciated.

Regards,

Phil.
--
Philip Rhoades

PO Box 896
Cowra  NSW  2794
Australia
E-mail:  p...@pricom.com.au


___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


--
Philip Rhoades

PO Box 896
Cowra  NSW  2794
Australia
E-mail:  p...@pricom.com.au


___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Anybody got Google Meet going on Linux (Fedora) with just ALSA (ie not with PulseAudio)?

2020-07-26 Thread Philip Rhoades

Geordon,


On 2020-07-27 04:20, 3DTechnics wrote:

Peter,

I switched to apulse from PA in gentoo.works well.



Although I am using Fedora I installed OpenSuse's apulse (which should 
be OK I think):


  apulse-0.1.12-lp152.1.3.x86_64.rpm

- now I get:

  "No microphone found"

and for "Speakers", as well as "Default", I now also have:

  "default and only sync"

but neither of those work with the speaker test still.

I see at CLI:

apulse google-chrome-stable
/bin/apulse:10: DeprecationWarning: The SafeConfigParser class has been 
renamed to ConfigParser in Python 3.2. This alias will be removed in 
future versions. Use ConfigParser directly instead.

  conf_parser = configparser.SafeConfigParser()
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to open i915 (search paths /usr/lib64/dri)
failed to load driver: i915
MESA-LOADER: failed to open kms_swrast (search paths /usr/lib64/dri)
failed to load driver: kms_swrast
MESA-LOADER: failed to open swrast (search paths /usr/lib64/dri)
failed to load swrast driver

and when I try to test the speakers I get:

[437680:437680:0727/121043.555607:ERROR:gles2_cmd_decoder.cc(3601)] 
ContextResult::kFatalFailure: fail_if_major_perf_caveat + swiftshader


So I guess I could try building apulse from source for Fedora but I 
suspect that is not going to improve things . .


Thanks,

Phil.



Geordon



Peter,


On 2020-07-26 21:18, Philip Rhoades wrote:

Peter,


On 2020-07-26 19:39, Peter P. wrote:

* Philip Rhoades  [2020-07-26 10:11]:

People,

I am not sure what is going on - I seem to have had increased sound
problems
on recent versions of Fedora (30-31).  I have been routinely
uninstalling PA
for some years and haven't had more than the usual number of 
problems

with
audio in that time.  Currently:

alsa-lib-1.2.1.2-4.fc31.i686
alsa-lib-1.2.1.2-4.fc31.x86_64
alsa-ucm-1.2.1.2-4.fc31.noarch
alsa-utils-1.2.1-3.fc31.x86_64
alsamixergui-0.9.0-0.29.rc2.fc31.x86_64
qemu-audio-alsa-4.1.1-1.fc31.x86_64
wine-alsa-5.0-1.fc31.i686
wine-alsa-5.0-1.fc31.x86_64

http://alsa-project.org/db/?f=0da7d0299aadfe9dc87c66a526ee14c7806776c7

If I use the analog rear mic instead of "Default" on GoogleMeet
people can
hear me but I can't hear them - but the "Speakers" option can't be
changed
from "Default".

Playing YT videos is fine and I can record from my mic here:

  https://online-voice-recorder.com

Any suggestions about debugging would be greatly appreciated.


Which browser ist this



google-chrome-stable-83.0.4103.61-1.x86_64



and have you tried the apulse package (at least
that's what it's called on Debian



Doesn't that mean I would have to reinstall PA?



Doesn't appear to exist for Fedora anyway . .

Thanks,

Phil.
--
Philip Rhoades

PO Box 896
Cowra  NSW  2794
Australia
E-mail:  p...@pricom.com.au


___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user






___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


--
Philip Rhoades

PO Box 896
Cowra  NSW  2794
Australia
E-mail:  p...@pricom.com.au


___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Anybody got Google Meet going on Linux (Fedora) with just ALSA (ie not with PulseAudio)?

2020-07-26 Thread Philip Rhoades

Peter,


On 2020-07-26 21:18, Philip Rhoades wrote:

Peter,


On 2020-07-26 19:39, Peter P. wrote:

* Philip Rhoades  [2020-07-26 10:11]:

People,

I am not sure what is going on - I seem to have had increased sound 
problems
on recent versions of Fedora (30-31).  I have been routinely 
uninstalling PA
for some years and haven't had more than the usual number of problems 
with

audio in that time.  Currently:

alsa-lib-1.2.1.2-4.fc31.i686
alsa-lib-1.2.1.2-4.fc31.x86_64
alsa-ucm-1.2.1.2-4.fc31.noarch
alsa-utils-1.2.1-3.fc31.x86_64
alsamixergui-0.9.0-0.29.rc2.fc31.x86_64
qemu-audio-alsa-4.1.1-1.fc31.x86_64
wine-alsa-5.0-1.fc31.i686
wine-alsa-5.0-1.fc31.x86_64

http://alsa-project.org/db/?f=0da7d0299aadfe9dc87c66a526ee14c7806776c7

If I use the analog rear mic instead of "Default" on GoogleMeet 
people can
hear me but I can't hear them - but the "Speakers" option can't be 
changed

from "Default".

Playing YT videos is fine and I can record from my mic here:

  https://online-voice-recorder.com

Any suggestions about debugging would be greatly appreciated.


Which browser ist this



google-chrome-stable-83.0.4103.61-1.x86_64



and have you tried the apulse package (at least
that's what it's called on Debian



Doesn't that mean I would have to reinstall PA?



Doesn't appear to exist for Fedora anyway . .

Thanks,

Phil.
--
Philip Rhoades

PO Box 896
Cowra  NSW  2794
Australia
E-mail:  p...@pricom.com.au


___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Anybody got Google Meet going on Linux (Fedora) with just ALSA (ie not with PulseAudio)?

2020-07-26 Thread Philip Rhoades

Peter,


On 2020-07-26 19:39, Peter P. wrote:

* Philip Rhoades  [2020-07-26 10:11]:

People,

I am not sure what is going on - I seem to have had increased sound 
problems
on recent versions of Fedora (30-31).  I have been routinely 
uninstalling PA
for some years and haven't had more than the usual number of problems 
with

audio in that time.  Currently:

alsa-lib-1.2.1.2-4.fc31.i686
alsa-lib-1.2.1.2-4.fc31.x86_64
alsa-ucm-1.2.1.2-4.fc31.noarch
alsa-utils-1.2.1-3.fc31.x86_64
alsamixergui-0.9.0-0.29.rc2.fc31.x86_64
qemu-audio-alsa-4.1.1-1.fc31.x86_64
wine-alsa-5.0-1.fc31.i686
wine-alsa-5.0-1.fc31.x86_64

http://alsa-project.org/db/?f=0da7d0299aadfe9dc87c66a526ee14c7806776c7

If I use the analog rear mic instead of "Default" on GoogleMeet people 
can
hear me but I can't hear them - but the "Speakers" option can't be 
changed

from "Default".

Playing YT videos is fine and I can record from my mic here:

  https://online-voice-recorder.com

Any suggestions about debugging would be greatly appreciated.


Which browser ist this



google-chrome-stable-83.0.4103.61-1.x86_64



and have you tried the apulse package (at least
that's what it's called on Debian



Doesn't that mean I would have to reinstall PA?

Thanks,

Phil.
--
Philip Rhoades

PO Box 896
Cowra  NSW  2794
Australia
E-mail:  p...@pricom.com.au


___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] Anybody got Google Meet going on Linux (Fedora) with just ALSA (ie not with PulseAudio)?

2020-07-26 Thread Philip Rhoades

People,

I am not sure what is going on - I seem to have had increased sound 
problems on recent versions of Fedora (30-31).  I have been routinely 
uninstalling PA for some years and haven't had more than the usual 
number of problems with audio in that time.  Currently:


alsa-lib-1.2.1.2-4.fc31.i686
alsa-lib-1.2.1.2-4.fc31.x86_64
alsa-ucm-1.2.1.2-4.fc31.noarch
alsa-utils-1.2.1-3.fc31.x86_64
alsamixergui-0.9.0-0.29.rc2.fc31.x86_64
qemu-audio-alsa-4.1.1-1.fc31.x86_64
wine-alsa-5.0-1.fc31.i686
wine-alsa-5.0-1.fc31.x86_64

http://alsa-project.org/db/?f=0da7d0299aadfe9dc87c66a526ee14c7806776c7

If I use the analog rear mic instead of "Default" on GoogleMeet people 
can hear me but I can't hear them - but the "Speakers" option can't be 
changed from "Default".


Playing YT videos is fine and I can record from my mic here:

  https://online-voice-recorder.com

Any suggestions about debugging would be greatly appreciated.

Regards,

Phil.
--
Philip Rhoades

PO Box 896
Cowra  NSW  2794
Australia
E-mail:  p...@pricom.com.au


___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] aplay weirdness

2018-08-30 Thread Philip Rhoades

Jay,


On 2018-08-31 01:42, Jay Foster wrote:

What version of aplay?



alsa-utils-1.1.6-1.fc28.x86_64



If it is version 1.1.6, you might be running
into this issue:
From: Takashi Iwai 
Subject: [PATCH] aplay: Fix invalid file size check for non-regular
files



Looks like you nailed it - so I will have to build my own I guess . .

Thanks!

P.



aplay tries to check the file size via fstat() at parsing the format
headers and avoids parsing when the size is shorter than the given
size.  This works fine for regular files, but when a special file like
pipe is passed, it fails, eventually leading to the fallback mode
wrongly.

A proper fix is to do this sanity check only for a regular file.

Reported-by: Jay Foster 
Signed-off-by: Takashi Iwai 
---
 aplay/aplay.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/aplay/aplay.c b/aplay/aplay.c
index bbd7fffa04fc..63ec9efbebc1 100644
--- a/aplay/aplay.c
+++ b/aplay/aplay.c
@@ -2821,7 +2821,8 @@ static int read_header(int *loaded, int
header_size)

 /* don't be adventurous, get out if file size is smaller than
  * requested header size */
-if (buf.st_size < header_size)
+if ((buf.st_mode & S_IFMT) == S_IFREG &&
+buf.st_size < header_size)
 return -1;

 if (*loaded < header_size) {

Jay

On 8/30/2018 2:50 AM, Philip Rhoades wrote:


People,

This produces a crashing static sound:

espeak --stdout 'words to speak' | aplay

but this works as expected:

espeak --stdout 'words to speak' > ./t
aplay ./t

What is wrong with the first command?

Thanks,

Phil.

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


--
Philip Rhoades

PO Box 896
Cowra  NSW  2794
Australia
E-mail:  p...@pricom.com.au

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] aplay weirdness

2018-08-30 Thread Philip Rhoades

Clemens,


On 2018-08-30 20:29, Clemens Ladisch via Alsa-user wrote:

Philip Rhoades wrote:

This produces a crashing static sound:

  espeak --stdout 'words to speak' | aplay

but this works as expected:

  espeak --stdout 'words to speak' > ./t
  aplay ./t


Is there a difference in the output of "hexdump -C -n48 ./t" and
"espeak --stdout 'words to speak' | hexdump -C -n48"?



hexdump -C -n48 ./t
  52 49 46 46 24 f0 ff 7f  57 41 56 45 66 6d 74 20  
|RIFF$...WAVEfmt |
0010  10 00 00 00 01 00 01 00  22 56 00 00 44 ac 00 00  
|"V..D...|
0020  02 00 10 00 64 61 74 61  00 f0 ff 7f 00 00 00 00  
|data|

0030

espeak --stdout 'words to speak' | hexdump -C -n48
  52 49 46 46 24 f0 ff 7f  57 41 56 45 66 6d 74 20  
|RIFF$...WAVEfmt |
0010  10 00 00 00 01 00 01 00  22 56 00 00 44 ac 00 00  
|"V..D...|
0020  02 00 10 00 64 61 74 61  00 f0 ff 7f e7 ff cd ff  
|data|

0030

Hmm . . four bytes at the end . .

P.



Regards,
Clemens

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


--
Philip Rhoades

PO Box 896
Cowra  NSW  2794
Australia
E-mail:  p...@pricom.com.au

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] aplay weirdness

2018-08-30 Thread Philip Rhoades

People,

This produces a crashing static sound:

  espeak --stdout 'words to speak' | aplay

but this works as expected:

  espeak --stdout 'words to speak' > ./t
  aplay ./t

What is wrong with the first command?

Thanks,

Phil.
--
Philip Rhoades

PO Box 896
Cowra  NSW  2794
Australia
E-mail:  p...@pricom.com.au

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] Fedora 28 x86_64; Pulseaudio removed - using "recordmydesktop" to record sound from mic AND the computer (eg from YouTube)

2018-08-23 Thread Philip Rhoades

People,

Is this possible?  My current .asoundrc is below.

Thanks!

Phil.


pcm.!default {
type plug
slave.pcm "asymed"
}

# This is the audio output:
pcm.dmixer {
type dmix
ipc_key 1024
slave {
pcm "hw:0,0"
period_time 0
period_size 1024
buffer_size 4096
rate 44100
}
bindings {
0 0
1 1
}
}

ctl.dmixer {
type hw
card 0
}

# This is the microphone
pcm.dsnooped {
ipc_key 1027
type dsnoop
slave.pcm "hw:0,0"
}

# This makes both channels work together.
pcm.asymed {
type asym
playback.pcm "dmixer"
    capture.pcm "dsnooped"
}


--
Philip Rhoades

PO Box 896
Cowra  NSW  2794
Australia
E-mail:  p...@pricom.com.au

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Fedora 23 x86_64; Pulseaudio removed; playing from multiple sources serially - a little progress . . UPDATE

2017-09-03 Thread Philip Rhoades

Ralf,


On 2017-09-04 14:57, Philip Rhoades wrote:

Ralf,


On 2017-09-04 02:01, Ralf Mardorf wrote:

On Mon, 04 Sep 2017 00:50:24 +1000, Philip Rhoades wrote:
I now want to use "recordmydesktop" which is working fine with the 
mic

but not recording sound from videos that are playing eg from YouTube
or local mpv etc - hopefully an alsa guru will have a solution for 
me?


Sorry, I can't help, but perhaps one of the following software is
helpful:

https://github.com/i-rinat/apulse
https://github.com/vkohaupt/vokoscreen

I don't know if

  vokoscreen



With "Pulse" selected as audio input does not work . . although at
least it was good to compare recordmydesktop to vokoscreen  .



or

  apulse vokoscreen



Does not work either . .



does work, at least

  apulse firefox

works.



Which doesn't  help my situation unfortunately . .



As an exercise I tried this:

  apulse google-chrome

but it didn't work either.

Thanks,

Phil.



Anyone on the list who sees this and needs to see my .asoundrc file
should see my previous post.

Thanks anyway,

Phil.
--
Philip Rhoades

PO Box 896
Cowra  NSW  2794
Australia
E-mail:  p...@pricom.com.au

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


--
Philip Rhoades

PO Box 896
Cowra  NSW  2794
Australia
E-mail:  p...@pricom.com.au

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Fedora 23 x86_64; Pulseaudio removed; playing from multiple sources serially - a little progress . . UPDATE

2017-09-03 Thread Philip Rhoades

Ralf,


On 2017-09-04 02:01, Ralf Mardorf wrote:

On Mon, 04 Sep 2017 00:50:24 +1000, Philip Rhoades wrote:

I now want to use "recordmydesktop" which is working fine with the mic
but not recording sound from videos that are playing eg from YouTube
or local mpv etc - hopefully an alsa guru will have a solution for me?


Sorry, I can't help, but perhaps one of the following software is
helpful:

https://github.com/i-rinat/apulse
https://github.com/vkohaupt/vokoscreen

I don't know if

  vokoscreen



With "Pulse" selected as audio input does not work . . although at least 
it was good to compare recordmydesktop to vokoscreen  .




or

  apulse vokoscreen



Does not work either . .



does work, at least

  apulse firefox

works.



Which doesn't  help my situation unfortunately . .

Anyone on the list who sees this and needs to see my .asoundrc file 
should see my previous post.


Thanks anyway,

Phil.
--
Philip Rhoades

PO Box 896
Cowra  NSW  2794
Australia
E-mail:  p...@pricom.com.au

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] A long shot I know: recording from a POTS phone for voicemail

2016-02-23 Thread Philip Rhoades
Guys,


On 2016-02-24 11:28, chris hermansen wrote:
> Doug, Philip, list;
> 
> On Tue, Feb 23, 2016 at 4:06 PM, doug <dmcgarr...@optonline.net>
> wrote:
> 
>> On 02/23/2016 03:10 PM, Philip Rhoades wrote:
>>> People,
>>> 
>>> I know this is a bit of a long shot but does anyone here have any
>>> experience setting up a voicemail recording system for a POTS
>> phone?  I
>>> thought it should be simpler than using say using Asterisk to set
>> up a
>>> whole PABX but maybe it isn't . .
>>> 
>>> Yhanks,
>>> 
>>> Phil.
>> It depends on what you are trying to do. If you just want to record
>> the
>> audio on a telephone line, the easiest way is
>> a small audio transformer and a capacitor. Say a 1 Ohm 1:1 audio
>> transformer and about a 0.1 microfarad capacitor
>> rated at 100 volts DC or better in series with the transformer on
>> the
>> phone line side. Connect the secondary to the recorder
>> or computer line input.
>> 
>> If you're trying to run voice in both directions from, say, a
>> computer
>> to the phone line, you need a telephone modem, which
>> is explicitly designed to do that job.


The main reason is to simply replace my answering machine with my 
computer - I don't need to make calls out or record my conversations or 
anything like that - the setup justs needs to answer the phone when I am 
not around and record a message as a WAV file or something . .


> Most older laptops include a modem.  Or if you don't have one of those
> you can buy a cheapo modem
> 
> Here is a reference you might find useful
> http://www.linuxtoys.org/answer/answering_machine.html
> 
> Here is another http://frank.harvard.edu/~coldwell/answering_machine/
> 
> Another
> http://askubuntu.com/questions/513004/telephone-call-answering-machine-software
> 
> Another
> http://unix.stackexchange.com/questions/44624/is-there-a-way-for-linux-to-pick-up-the-phone
> 
> You may also be able to do the job with vgetty
> http://linux.die.net/man/8/vgetty


I will have a look at all that - thanks!

Regards,

Phil.
-- 
Philip Rhoades

PO Box 896
Cowra  NSW  2794
Australia
E-mail:  p...@pricom.com.au

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] A long shot I know: recording from a POTS phone for voicemail

2016-02-23 Thread Philip Rhoades
People,

I know this is a bit of a long shot but does anyone here have any 
experience setting up a voicemail recording system for a POTS phone?  I 
thought it should be simpler than using say using Asterisk to set up a 
whole PABX but maybe it isn't . .

Yhanks,

Phil.
-- 
Philip Rhoades

PO Box 896
Cowra  NSW  2794
Australia
E-mail:  p...@pricom.com.au

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Fedora 23 x86_64; Pulseaudio removed; playing from multiple sources serially - a little progress . .

2015-12-10 Thread Philip Rhoades
People,


On 2015-10-08 18:16, Clemens Ladisch wrote:
> Paolo Bolzoni wrote:
>> "Dmix is enabled by default for soundcards which don't support 
>> hardware mixing."
>> 
>> In my experience, this is a lie.
> 
> It is enabled in the ALSA device named "default".  That doesn't help
> with programs that hardcode a device name like "hw:0".
> 
> 
> You could try something like the following to find any programs that
> still try to use "hw":
> 
> pcm.my_hw {
>   @args [ CARD DEV ]
>   @args.CARD {
> type string
> default 1
>   }
>   @args.DEV {
> type integer
> default 0
>   }
>   type hw
>   card $CARD
>   device $DEV
>   subdevice -1
> }
> 
> pcm.dmixer {
>   slave.pcm "my_hw:1"
>   ...
> }
> 
> pcm.!hw = blow_up
> 
> 
> (You could also redefine "hw" to another valid device, but it would be
> a better idea to adjust the configuration of the respective program to
> use the correct device.)


This version has been rock-solid for a couple of months now:


pcm.!default {
  type plug
  slave.pcm "asymed"
}

# This is the audio output:
pcm.dmixer {
  type dmix
  ipc_key 1024
  slave {
pcm "hw:1,0"
period_time 0
period_size 1024
buffer_size 4096
rate 44100
  }
  bindings {
0 0
1 1
  }
}

ctl.dmixer {
  type hw
  card 0
}

# This is the microphone
pcm.dsnooped {
  ipc_key 1027
  type dsnoop
  slave.pcm "hw:1,0"
}

# This makes both channels work together.
pcm.asymed {
  type asym
  playback.pcm "dmixer"
  capture.pcm "dsnooped"
}


I am very happy now!  Thanks for all your help!

Regards,

Phil.
-- 
Philip Rhoades

PO Box 896
Cowra  NSW  2794
Australia
E-mail:  p...@pricom.com.au

--
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Fedora 23 x86_64; Pulseaudio removed; playing from multiple sources serially - a little progress . .

2015-10-07 Thread Philip Rhoades
Paolo, Anders,


On 2015-10-07 02:44, Paolo Bolzoni wrote:
> I use this default. It allows to select any pcm via environment 
> variable
> pcm.!default {
>   type plug
>   slave.pcm {
> @func getenv
> vars [ ALSAPCM ]
> default "pcm.PCH"
>   }
> }
> 
> As you can see the default is pcm.PCH I told you before. But it is
> useful to be able to change the sound pcm with ease because some
> programs do not like speak with dmix and want to speak with the
> hardware directly. (e.g., wine)
> 
> So, for that programs I use ALSAPCM=hw:PCH.
> 
> But, once again, names are probably different on your system.


OK, once I saw your comments about dmix I started to try and get that to 
work - what I have found so far:

1. With NO .asoundrc file - only ONE mplayer instance works

2. Using this .asoundrc:

pcm.!default {
   type plug
   slave.pcm "dmixer"
}

pcm.dmixer  {
   type dmix
   ipc_key 1024
   slave {
   pcm "hw:1,0"
   period_time 0
   period_size 1024
   buffer_size 4096
   rate 44100
   }
   bindings {
   0 0
   1 1
   }
}

ctl.dmixer {
   type hw
# card 0
   card 1
   device 0
}

I can get TWO mplayers going at the same time.

3. Using the .asoundrc above prevents Mumble and YouTube in Chrome 
working

4. With NO .asoundrc file and xfce4-mixer and alsamixer settings for 
Front Mike, Front Mike Boost, Rear Mike and Rear Mike Boost ALL muted, 
Mumble still works fine! - it looks like it is bypassing ALSA and 
talking directly to the port or something?

5. It looks like dmix setups can get quite complex - more reading is 
required I think . .

6. I found this: "NOTE: For ALSA 1.0.9rc2 and higher you don't need to 
setup dmix for analogue output. Dmix is enabled by default for 
soundcards which don't support hardware mixing. You still need to set it 
up for digital outputs." here:

   http://alsa.opensrc.org/Dmix

- so I'm not sure what that means for me - I am only using analogue 
output . .

7. It looks like with some correct dmix parameters for custom pcms for 
Mumble and Chrome/YouTube, I should be able to get those to work?

8. There is stuff about snd-aloop and asym that also might be relevant 
but I am a bit lost now . .

9. It looks like these problems go back a while:

   https://bugzilla.redhat.com/show_bug.cgi?id=130593

but my problems seems like they should be soluble by now at least - even 
if I have to set up a custom pcm for each input source . .

Thanks,

Phil.
-- 
Philip Rhoades

PO Box 896
Cowra  NSW  2794
Australia
E-mail:  p...@pricom.com.au

--
Full-scale, agent-less Infrastructure Monitoring from a single dashboard
Integrate with 40+ ManageEngine ITSM Solutions for complete visibility
Physical-Virtual-Cloud Infrastructure monitoring from one console
Real user monitoring with APM Insights and performance trend reports 
Learn More http://pubads.g.doubleclick.net/gampad/clk?id=247754911=/4140
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Fedora 23 x86_64; Pulseaudio removed; playing from multiple sources serially

2015-10-06 Thread Philip Rhoades
Paolo,


On 2015-10-06 22:12, Paolo Bolzoni wrote:
> Sorry, my bad. I understood you needed to use a program that needed
> pulse audio without it; in this case apulse could help
> 
> However, if your problem is allowing to use the sound output to
> multiple programs at the same time. I had a similar problem and I
> solved it using dmix.
> 
> In my .asoundrc I had this pcm:
> pcm.PCH {
>   type asym
>   playback.pcm {
> type plug
> slave {
>   pcm {
> type dmix
> ipc_key 9175930
> ipc_key_add_uid true
> slave {
>   pcm "hw:PCH"
> }
>   }
>   }
>   }
>   capture.pcm "hw:PCH"
> }


I replaced my simple .asoundrc:

pcm.!default {
 type hw
 card 1
 device 0
}


with yours but with no improvement (I even rebooted to be sure - I have 
had so much problem with audio in the past):

- mplayer works fine in isolation

- YouTube works in isolation

- Mumble works in isolation

- If I have Mumble open, mplayer does not work

- If I have YT running, mplayer does not work

etc

It would be nice to pause whatever I am using ie NOT have to exit the 
program, and use another audio app and then come back to where I left 
off with the first app . .

Thanks,

Phil.


> On Tue, Oct 6, 2015 at 12:38 PM, Philip Rhoades <p...@pricom.com.au> 
> wrote:
>> Paolo,
>> 
>> 
>> On 2015-10-06 21:34, Paolo Bolzoni wrote:
>>> 
>>> It is meant to use skype without pulse audio, but it might help you?
>>> https://github.com/i-rinat/apulse
>> 
>> 
>> 
>> I am not sure how Skype came into the discussion - I don't use it . .
>> 
>> Thanks,
>> 
>> Phil.
>> 
>> 
>> 
>> 
>>> On Tue, Oct 6, 2015 at 12:28 PM, Philip Rhoades <p...@pricom.com.au>
>>> wrote:
>>>> 
>>>> Chris,
>>>> 
>>>> 
>>>> On 2015-09-27 00:23, chris hermansen Sat wrote:
>>>>> 
>>>>> Phil and list,
>>>>> 
>>>>> On Sep 26, 2015 03:21, "Philip Rhoades" <p...@pricom.com.au> wrote:
>>>>>> 
>>>>>> 
>>>>>> People,
>>>>>> 
>>>>>> Years ago when I needed to simplify things to solve audio hardware
>>>>>> problems, I had to remove PA - and for every new version ever 
>>>>>> since I
>>>>>> have automatically uninstalled it to continue to keep things as 
>>>>>> simple
>>>>>> as possible - which generally works well for me.  Mostly I play 
>>>>>> audio
>>>>>> and video stuff from the CLI with mplayer but on odd occasions, 
>>>>>> like
>>>>>> when I want to listen to a long audio book, it is more convenient 
>>>>>> to
>>>>>> use
>>>>>> QuodLibet which remembers where I am up to on the MP3.  However I 
>>>>>> have
>>>>>> found that if I forget to exit QL, then mplayer does not work . . 
>>>>>> I
>>>>>> guess there is no solution to having multiple players open at the 
>>>>>> same
>>>>>> time - but not playing at the same time - and being able to switch
>>>>>> between them without reinstalling PA?
>>>>>> 
>>>>>> I also quite frequently have problems with audio on Chrome...
>>>>> 
>>>>> 
>>>>> Phil, my environment and use of it is somewhat different than 
>>>>> yours.
>>>>> 
>>>>> I use Ubuntu; leave Pulse in place; use the standard video 
>>>>> application
>>>>> (totem, I think) for video and Guayadeque for audio rather than 
>>>>> mplayer
>>>>> and
>>>>> QuodLibet, talking directly to Alsa and to an external DAC;
>>>> 
>>>> 
>>>> 
>>>> But I prefer the CLI . .
>>>> 
>>>> 
>>>>> use Firefox for
>>>>> the web in general and for YouTube and Vimeo (though not much) and 
>>>>> use
>>>>> Chrome only for Netflix.
>>>> 
>>>> 
>>>> 
>>>> That doesn't really suit me . .
>>>> 
>>>> 
>>>>> Given those differences, my experience with Pulse in the last 
>>>>> several
>>>>> releases has been problem-free. In particular, no problems of the 
>>>&

Re: [Alsa-user] Fedora 23 x86_64; Pulseaudio removed; playing from multiple sources serially

2015-10-06 Thread Philip Rhoades
Chris,


On 2015-09-27 00:23, chris hermansen Sat wrote:
> Phil and list,
> 
> On Sep 26, 2015 03:21, "Philip Rhoades" <p...@pricom.com.au> wrote:
>> 
>> People,
>> 
>> Years ago when I needed to simplify things to solve audio hardware
>> problems, I had to remove PA - and for every new version ever since I
>> have automatically uninstalled it to continue to keep things as simple
>> as possible - which generally works well for me.  Mostly I play audio
>> and video stuff from the CLI with mplayer but on odd occasions, like
>> when I want to listen to a long audio book, it is more convenient to 
>> use
>> QuodLibet which remembers where I am up to on the MP3.  However I have
>> found that if I forget to exit QL, then mplayer does not work . . I
>> guess there is no solution to having multiple players open at the same
>> time - but not playing at the same time - and being able to switch
>> between them without reinstalling PA?
>> 
>> I also quite frequently have problems with audio on Chrome...
> 
> Phil, my environment and use of it is somewhat different than yours.
> 
> I use Ubuntu; leave Pulse in place; use the standard video application
> (totem, I think) for video and Guayadeque for audio rather than mplayer 
> and
> QuodLibet, talking directly to Alsa and to an external DAC;


But I prefer the CLI . .


> use Firefox for
> the web in general and for YouTube and Vimeo (though not much) and use
> Chrome only for Netflix.


That doesn't really suit me . .


> Given those differences, my experience with Pulse in the last several
> releases has been problem-free. In particular, no problems of the type 
> you
> describe.
> 
> So my advice to you would be to try Pulse out again.


Maybe I should at least try reinstalling Pulse and see how it goes but I 
don't like that it introduces another layer of complexity when it might 
not be necessary . . I was hoping some ALSA guru here could tell me how 
to conveniently allow multiple sound sources without PA . .

Thanks,

Phil.
-- 
Philip Rhoades

PO Box 896
Cowra  NSW  2794
Australia
E-mail:  p...@pricom.com.au

--
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Fedora 23 x86_64; Pulseaudio removed; playing from multiple sources serially

2015-10-06 Thread Philip Rhoades
Paolo,


On 2015-10-06 21:34, Paolo Bolzoni wrote:
> It is meant to use skype without pulse audio, but it might help you?
> https://github.com/i-rinat/apulse


I am not sure how Skype came into the discussion - I don't use it . .

Thanks,

Phil.



> On Tue, Oct 6, 2015 at 12:28 PM, Philip Rhoades <p...@pricom.com.au> 
> wrote:
>> Chris,
>> 
>> 
>> On 2015-09-27 00:23, chris hermansen Sat wrote:
>>> Phil and list,
>>> 
>>> On Sep 26, 2015 03:21, "Philip Rhoades" <p...@pricom.com.au> wrote:
>>>> 
>>>> People,
>>>> 
>>>> Years ago when I needed to simplify things to solve audio hardware
>>>> problems, I had to remove PA - and for every new version ever since 
>>>> I
>>>> have automatically uninstalled it to continue to keep things as 
>>>> simple
>>>> as possible - which generally works well for me.  Mostly I play 
>>>> audio
>>>> and video stuff from the CLI with mplayer but on odd occasions, like
>>>> when I want to listen to a long audio book, it is more convenient to
>>>> use
>>>> QuodLibet which remembers where I am up to on the MP3.  However I 
>>>> have
>>>> found that if I forget to exit QL, then mplayer does not work . . I
>>>> guess there is no solution to having multiple players open at the 
>>>> same
>>>> time - but not playing at the same time - and being able to switch
>>>> between them without reinstalling PA?
>>>> 
>>>> I also quite frequently have problems with audio on Chrome...
>>> 
>>> Phil, my environment and use of it is somewhat different than yours.
>>> 
>>> I use Ubuntu; leave Pulse in place; use the standard video 
>>> application
>>> (totem, I think) for video and Guayadeque for audio rather than 
>>> mplayer
>>> and
>>> QuodLibet, talking directly to Alsa and to an external DAC;
>> 
>> 
>> But I prefer the CLI . .
>> 
>> 
>>> use Firefox for
>>> the web in general and for YouTube and Vimeo (though not much) and 
>>> use
>>> Chrome only for Netflix.
>> 
>> 
>> That doesn't really suit me . .
>> 
>> 
>>> Given those differences, my experience with Pulse in the last several
>>> releases has been problem-free. In particular, no problems of the 
>>> type
>>> you
>>> describe.
>>> 
>>> So my advice to you would be to try Pulse out again.
>> 
>> 
>> Maybe I should at least try reinstalling Pulse and see how it goes but 
>> I
>> don't like that it introduces another layer of complexity when it 
>> might
>> not be necessary . . I was hoping some ALSA guru here could tell me 
>> how
>> to conveniently allow multiple sound sources without PA . .
>> 
>> Thanks,
>> 
>> Phil.
>> --
>> Philip Rhoades
>> 
>> PO Box 896
>> Cowra  NSW  2794
>> Australia
>> E-mail:  p...@pricom.com.au
>> 
>> --
>> ___
>> Alsa-user mailing list
>> Alsa-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/alsa-user

-- 
Philip Rhoades

PO Box 896
Cowra  NSW  2794
Australia
E-mail:  p...@pricom.com.au

--
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] Fedora 23 x86_64; Pulseaudio removed; playing from multiple sources serially

2015-09-26 Thread Philip Rhoades
People,

Years ago when I needed to simplify things to solve audio hardware 
problems, I had to remove PA - and for every new version ever since I 
have automatically uninstalled it to continue to keep things as simple 
as possible - which generally works well for me.  Mostly I play audio 
and video stuff from the CLI with mplayer but on odd occasions, like 
when I want to listen to a long audio book, it is more convenient to use 
QuodLibet which remembers where I am up to on the MP3.  However I have 
found that if I forget to exit QL, then mplayer does not work . . I 
guess there is no solution to having multiple players open at the same 
time - but not playing at the same time - and being able to switch 
between them without reinstalling PA?

I also quite frequently have problems with audio on Chrome but because I 
can't reliably reproduce the problem - in order I do:

- refresh tab

- exit and restart Chrome

- reboot

in order to get audio going again on Chrome - I am presuming this is a 
Chrome issue more than an ALSA issue . .

Thanks,

Phil.
-- 
Philip Rhoades

PO Box 896
Cowra  NSW  2794
Australia
E-mail:  p...@pricom.com.au

--
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] MB with long-standing problem but I really just want to understand what is going on . .

2015-05-12 Thread Philip Rhoades
People,

I have been using this MotherBoard for years (it is probably the most 
reliable one I have ever had):

   http://www.intel.com/p/en_US/support/highlights/dsktpboards/dg45id

but from the beginning I had trouble with ALSA and the Line In port - 
documented here:

   
http://mailman.alsa-project.org/pipermail/alsa-devel/2009-February/014825.html

Mostly this has not been a problem since I only use the Line In port on 
infrequent occasions but it is annoying that when I do need to use it, 
sometimes, the method I have found to activate the port does not work 
and now using it seems to have permanently messed up the configuration 
for Back Mic for normal use somehow.  I have installed Fedora 22 on a 
new drive (currently using 21) and booting on the new disk cures the 
introduced problem so it appears not to be permanent sound card damage 
at all and just some sort of caching or other issue.  My procedure for 
getting the Line In port used to be this (although it didn't work this 
time and just caused a problem with the Back Mic):

- uninstall PulseAudio (or rename /usr/bin/pulseaudio)

- stop all apps auto starting that use ALSA

- reboot

- systemctl stop alsa-state.service

- echo 0x0c 0x01813021  /sys/class/sound/hwC0D2/user_pin_configs

- echo 1  /sys/class/sound/hwC0D2/reconfig

- chmod -R 777 /dev/snd

- systemctl start alsa-state.service

Going through this procedure showed up new controls in xfce4-mixer and 
everything worked fine for what I wanted to do - a reboot restored the 
original setup (it could also be done with echoing the original values). 
  It has been some years since I used this technique but now I can't get 
it to work and some of the new controls that show up in xfce4-mixer 
(Capture 1, Input Source 1)
don't disappear with a reboot - even if I:

   rm .config/xfce4/xfconf/xfce-perchannel-xml/xfce4-mixer.xml

!?  Also, from Audacity I can now no longer select Default for the 
microphone and I can't get any of the other options to record . .

Is anybody able to tell me what is going on?  I can just starting using 
F22 on the new drive and forget about using this procedure in the future 
but I don't like not knowing why things don't work reliably . .

Any useful information would be appreciated!

Regards,

Phil.
-- 
Philip Rhoades

PO Box 896
Cowra  NSW  2794
Australia
E-mail:  p...@pricom.com.au

--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] Staticky built-in mike on Gateway Product Name: LT30

2010-05-09 Thread Philip Rhoades
People,

I have uninstalled pulseaudio and am using:

Linux 2.6.33.3-79.fc13.i686

The built in mike is working but with very bad sound and I can't get the
external mikes working.  alsa-info output is at:

http://www.alsa-project.org/db/?f=822b709ba5cbc783a762d5229613cd81d5c53b43

Any help would be appreciated!

Thanks,

Phil.
-- 
Philip Rhoades

Pricom Pty Limited  (ACN 003 252 275  ABN 91 003 252 275)
GPO Box 3411
Sydney NSW  2001
Australia
E-mail:  p...@pricom.com.au


--

___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user