Bug#864829: screen reader stops speaking

2017-08-09 Thread Felipe Sateler
Control: tags -1 - moreinfo
Control: reassign -1 espeakup 1:0.80-5
Control: retitle -1 espeakup is incompatible with default pulseaudio
configuration

On Thu, Jun 15, 2017 at 6:18 PM, Luke Yelavich  wrote:

> On Thu, Jun 15, 2017 at 11:39:35PM AEST, Mika Hanhijärvi wrote:
> > I am using the Gnome desktop.
> > I have espeakup and Orca installed. I would like to use espeakup on
> console and
> > Orca on desktop. I also would like to be able to switch between text mode
> > console and graphical nome desktop without logging out from the desktop.
>
> ESpeakup is running as root, and everything is running as a user. I think
> the
> easiest solution here is to configure Pulse to run system-wide. I know
> there
> is an option in one of the Pulse configuration files to enable this, but I
> don't think Debian ships a startup script or systemd service file to use
> PulseAudio in system mode. Happy to be corrected.
>

If that is so, then espeakup is incompatible with a default pulseaudio
configuration. Maybe this should be documented somewhere.


On Mon, Jul 3, 2017 at 7:52 AM, Scott Leggett  wrote:

> Hi,
>
> I've been able to reproduce this bug. A not-very-helpful workaround is
> to restart espeakup whenever sound goes missing.
>
> I've dug into the issue a bit and found it discussed on
> pulseaudio-discuss back in 2010. The discussion on the thread seems to
> indicate that espeakup and pulseaudio couldn't coexist at the time due
> to espeakup not being multi-seat aware. Lennart summarised what needs to
> be done to get them working together[0].
>
> I'm not sure what the situation is now. Looking briefly at espeakup
> upstream [1], it doesn't seem to be very active, so maybe the situation is
> the same?
>
> [0]
> https://lists.freedesktop.org/archives/pulseaudio-discuss/20
> 10-January/006033.html
> [1] https://github.com/williamh/espeakup


I'm reassigning this bug to espeakup because it should really be modified
to work as non-root as Lennart suggested. AFAICT, the only reasong for
running as root is to access the softsynth device, but that could be
managed via regular uaccess and group mechanism like /dev/snd/* does. We
shouldn't require running pulseaudio as root, as it would be better if
espeakup would run unprivileged.

I'll leave it to the espeakup maintainers to adjust severity.


-- 

Saludos,
Felipe Sateler
___
pkg-pulseaudio-devel mailing list
pkg-pulseaudio-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-pulseaudio-devel

Bug#864829: screen reader stops speaking

2017-07-03 Thread Scott Leggett
Hi,

I've been able to reproduce this bug. A not-very-helpful workaround is
to restart espeakup whenever sound goes missing.

I've dug into the issue a bit and found it discussed on
pulseaudio-discuss back in 2010. The discussion on the thread seems to
indicate that espeakup and pulseaudio couldn't coexist at the time due
to espeakup not being multi-seat aware. Lennart summarised what needs to
be done to get them working together[0].

I'm not sure what the situation is now. Looking briefly at espeakup
upstream [1], it doesn't seem to be very active, so maybe the situation is
the same?

[0]
https://lists.freedesktop.org/archives/pulseaudio-discuss/2010-January/006033.html
[1] https://github.com/williamh/espeakup

-- 
Regards,
Scott.


signature.asc
Description: PGP signature
___
pkg-pulseaudio-devel mailing list
pkg-pulseaudio-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-pulseaudio-devel

Bug#864829: screen reader stops speaking

2017-06-15 Thread Luke Yelavich
On Thu, Jun 15, 2017 at 11:39:35PM AEST, Mika Hanhijärvi wrote:
> I am using the Gnome desktop.
> I have espeakup and Orca installed. I would like to use espeakup on console 
> and
> Orca on desktop. I also would like to be able to switch between text mode
> console and graphical nome desktop without logging out from the desktop.

ESpeakup is running as root, and everything is running as a user. I think the 
easiest solution here is to configure Pulse to run system-wide. I know there 
is an option in one of the Pulse configuration files to enable this, but I 
don't think Debian ships a startup script or systemd service file to use 
PulseAudio in system mode. Happy to be corrected.
-- 
Please check out my Patreon campaign and spread the word.
https://patreon.com/lukefoss

___
pkg-pulseaudio-devel mailing list
pkg-pulseaudio-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-pulseaudio-devel


Bug#864829: screen reader stops speaking

2017-06-15 Thread Felipe Sateler
Control: tags -1 moreinfo

Hi Mika Hanhijärvi,

On Thu, Jun 15, 2017 at 9:39 AM, Mika Hanhijärvi  wrote:

> Package: pulseaudio
> Version: 10.0-1
> Severity: grave
>
> Hi
>
> I am sorry that I repport this so close to release of Stretch.
>
> I am not really sure to which package I should report this bug. I am not
> 100%
> sure if this g is in Pulseaudio, speech-eispatcher or someething else. I
> think
> it might be a problem with Pulseaudio.
>
> I am blind so I have to use computer using the screen reader. So it is
> important for me that screen reader works relealibly.
>

I am very much ignorant about how screen readers work. Could you describe a
bit how the stack works please? In particular, what program is actually
responsible for playing the synthesized speech to speakers, and how does it
run? Also, the audio-related configuration (if any) of these programs would
be useful.


>
> I am using the Gnome desktop.
> I have espeakup and Orca installed. I would like to use espeakup on
> console and
> Orca on desktop. I also would like to be able to switch between text mode
> console and graphical nome desktop without logging out from the desktop.
> Currently that does not work. I have two laptops and both have this
> problem.
> Note that I have not made clean Stretch installation, Ihave upgraded my
> systems
> to Stretch.
>
>
> For some reason if espeakup sppeaks something when the computer is booting
> then
> screen reader does not speak anytging on GDM login screen. If that happens
> then
> screen reader also does not speak at all on desktop. This makes it
> impossible
> for me to login to desktop or use the deshtop. I have noticed that if I go
> to
> text console then eseakup speaks just fin.
>
> If espeakup does not speak anytging then screen reader speaks on GDM login
> screen. If I go to text console then espeakup does not speak at all. If I
> login
> to desktop then Orca screen reader speaks just fine. If I login to desktop
> then
> this also happens: If I switch from desktop to GDM login screen thusing the
> ctrl + alt + f1 then screen reader does not speak on GDM login screen at
> all.
> If I then return to desktop then Orca screen reader on desktop speaks again
> just fine. If I switch form desktop to text console using e.g ctrl + alt +
> f3
> then espeakup does not speak at all on console. If I then switch back to
> desktothen Orca speaks again on desktop just fine.
>
>
> If I logout from desktop to gdm login screen then screen reader speaks on
> gdm
> login screen.


> So it seems that the sc reader works just on one of the following views:
> console, gdm or desktop. It is not possible to switch between those. That
> is
> not good.
>

It sounds like the programs that play the speech to the speakers are
grabbing the sound device and not letting it go - thus making it impossible
for the alternative programs to actually play the sound.

Some information that would be useful:

1. Is your user part of the audio group?
2. Does any of the programs that actually play the sound run as root or a
user that is in the audio group?
3. Please attach the output of `lsof /dev/snd/*` for each of the
problematic states (this should answer question 2).


-- 

Saludos,
Felipe Sateler
___
pkg-pulseaudio-devel mailing list
pkg-pulseaudio-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-pulseaudio-devel

Processed: Re: Bug#864829: screen reader stops speaking

2017-06-15 Thread Debian Bug Tracking System
Processing control commands:

> tags -1 moreinfo
Bug #864829 [pulseaudio] screen reader stops speaking
Added tag(s) moreinfo.

-- 
864829: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=864829
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems

___
pkg-pulseaudio-devel mailing list
pkg-pulseaudio-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-pulseaudio-devel