Bug#925455: alsa volume never saved/restored

2019-04-09 Thread Elimar Riesebieter
* gregor herrmann  [2019-04-09 18:09 +0200]:

> On Sun, 07 Apr 2019 19:39:34 +0200, Elimar Riesebieter wrote:
> 
> > > > Jordi is MIA at the moment. Tried to reach him since a few days. I
> > > > can't upload the fix myself, though...
> > > I pinged him on a different channel, but if he doesn't have time I'm
> > > happy to offer a sponsored upload to fix this bug.
> > Would be nice. Yes, please :-)
> 
> It looks like Jordi is still busy, so I decided to help out and
> uploaded 1.1.8-2 from the git repo. 

Many thanks :-)

Elimar
-- 
.~.
/V\   L   I   N   U   X
   /( )\ >Phear the Penguin<
   ^^-^^


signature.asc
Description: PGP signature


Bug#925455: alsa volume never saved/restored

2019-04-09 Thread gregor herrmann
On Sun, 07 Apr 2019 19:39:34 +0200, Elimar Riesebieter wrote:

> > > Jordi is MIA at the moment. Tried to reach him since a few days. I
> > > can't upload the fix myself, though...
> > I pinged him on a different channel, but if he doesn't have time I'm
> > happy to offer a sponsored upload to fix this bug.
> Would be nice. Yes, please :-)

It looks like Jordi is still busy, so I decided to help out and
uploaded 1.1.8-2 from the git repo. 


Cheers,
gregor

-- 
 .''`.  https://info.comodo.priv.at -- Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
   `-   NP: Kurt Ostbahn & Die Kombo: Wenn der Herbst langsam näherrückt


signature.asc
Description: Digital Signature


Bug#925455: alsa volume never saved/restored

2019-04-08 Thread Hartmut Buhrmester

Looking a bit further it seems that /var/lib/alsa/asound.state doesn't
exist.

That means that we are facing a chicken-egg problem here, the file will
never be created as the service is never started (and then never
stopped).


I don't know, if it helps, but I could manually create a working 
settings file with:


alsactl -f /var/lib/alsa/asound.state init
alsactl -f /var/lib/alsa/asound.state store


In the shell:


root@debian:/var/lib/alsa# alsactl -f /var/lib/alsa/asound.state init
Found hardware: "ICH" "Analog Devices AD1881A" "AC97a:41445348" "0x1043" 
"0x11d4"
Hardware is initialized using a generic method
root@debian:/var/lib/alsa# ls -l
insgesamt 0
root@debian:/var/lib/alsa# alsactl -f /var/lib/alsa/asound.state store
root@debian:/var/lib/alsa# ls -l
insgesamt 8
-rw-r--r-- 1 root root 5680 Apr  7 18:55 asound.state
root@debian:/var/lib/alsa# 



Since then, the sound level was properly saved and restored on restart.

/var/log/syslog on start:


Apr  7 19:41:46 debian systemd[1]: Starting Save/Restore Sound Card State...
Apr  7 19:41:46 debian systemd[1]: Started Save/Restore Sound Card State.
Apr  7 19:41:46 debian systemd[1]: Reached target Sound Card.


/var/log/syslog on shutdown:


Apr  7 19:45:17 debian systemd[1]: Stopped target Sound Card.
Apr  7 19:45:17 debian systemd[1]: Stopping Save/Restore Sound Card State...


I doesn't say "Stopped Save/Restore Sound Card State.", though. So the 
last confirmation seems to be missing. But it still works, as far as I 
can tell...



I think, I always needed to run "alsactl init" at least once since 
Debian 8 Jessie, and this is still mentioned in the Debian Wiki:



Configure alsa by running the command 'alsactl init' as root. Then
reboot and try to test your sound.


-- https://wiki.debian.org/ALSA


Regards,

Hartmut Buhrmester



Bug#925455: alsa volume never saved/restored

2019-04-07 Thread Elimar Riesebieter
* gregor herrmann  [2019-04-07 18:16 +0200]:

> On Sun, 07 Apr 2019 18:05:06 +0200, Elimar Riesebieter wrote:
> 
> > > There is a commit in the packaging repo which claims to fix this bug:
> > > https://salsa.debian.org/alsa-team/alsa-utils/commit/af161676131e94bbaed72f37d0c5d4c6685a119e
> > Jordi is MIA at the moment. Tried to reach him since a few days. I
> > can't upload the fix myself, though...
> 
> I pinged him on a different channel, but if he doesn't have time I'm
> happy to offer a sponsored upload to fix this bug.

Would be nice. Yes, please :-)

-- 
  "Talking much about oneself can also
   be a means to conceal oneself."
 -Friedrich Nietzsche


signature.asc
Description: PGP signature


Bug#925455: alsa volume never saved/restored

2019-04-07 Thread gregor herrmann
On Sun, 07 Apr 2019 18:05:06 +0200, Elimar Riesebieter wrote:

> > There is a commit in the packaging repo which claims to fix this bug:
> > https://salsa.debian.org/alsa-team/alsa-utils/commit/af161676131e94bbaed72f37d0c5d4c6685a119e
> Jordi is MIA at the moment. Tried to reach him since a few days. I
> can't upload the fix myself, though...

I pinged him on a different channel, but if he doesn't have time I'm
happy to offer a sponsored upload to fix this bug.


Cheers,
gregor

-- 
 .''`.  https://info.comodo.priv.at -- Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
   `-   NP: Furry Lewis: Billy lyons & stack o' lee


signature.asc
Description: Digital Signature


Bug#925455: alsa volume never saved/restored

2019-04-07 Thread Elimar Riesebieter
* gregor herrmann  [2019-04-07 17:46 +0200]:

> Control: tag -1 + patch pending
> 
> On Mon, 25 Mar 2019 12:05:36 +0100, Laurent Bigonville wrote:
> 
> > The more obvious solution would of course be to remove the condition in the
> > .service file
> 
> There is a commit in the packaging repo which claims to fix this bug:
> https://salsa.debian.org/alsa-team/alsa-utils/commit/af161676131e94bbaed72f37d0c5d4c6685a119e

Jordi is MIA at the moment. Tried to reach him since a few days. I
can't upload the fix myself, though...

Elimar
-- 
  We all know Linux is great... it does infinite loops in 5 seconds.
-Linus Torvalds


signature.asc
Description: PGP signature


Processed: Re: Bug#925455: alsa volume never saved/restored

2019-04-07 Thread Debian Bug Tracking System
Processing control commands:

> tag -1 + patch pending
Bug #925455 [alsa-utils] alsa volume never saved/restored
Added tag(s) pending and patch.

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



Bug#925455: alsa volume never saved/restored

2019-04-07 Thread gregor herrmann
Control: tag -1 + patch pending

On Mon, 25 Mar 2019 12:05:36 +0100, Laurent Bigonville wrote:

> The more obvious solution would of course be to remove the condition in the
> .service file

There is a commit in the packaging repo which claims to fix this bug:
https://salsa.debian.org/alsa-team/alsa-utils/commit/af161676131e94bbaed72f37d0c5d4c6685a119e


Cheers,
gregor

-- 
 .''`.  https://info.comodo.priv.at -- Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
   `-   NP: Furry Lewis: Billy lyons & stack o' lee


signature.asc
Description: Digital Signature