Bug 327701 - /sbin/salsa needs arguments.... ?
Summary: /sbin/salsa needs arguments.... ?
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: alsa-utils
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Martin Stransky
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-10-11 14:13 UTC by Tom London
Modified: 2007-11-30 22:12 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2007-10-15 14:18:11 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Tom London 2007-10-11 14:13:22 UTC
Description of problem:
/etc/udev/rules.d/90-alsa.rules looks like:
SUBSYSTEM=="sound", KERNEL=="controlC*" RUN+="/sbin/salsa"
SUBSYSTEM=="sound", KERNEL=="pcm*"      RUN+="/sbin/salsa"

I believe running "salsa" without arguments does not restore the settings.

Wouldn't something like:
SUBSYSTEM=="sound", KERNEL=="controlC*" RUN+="/sbin/salsa -l %n"
SUBSYSTEM=="sound", KERNEL=="pcm*"      RUN+="/sbin/salsa"

be better?

[With the controls messed up, running 'salsa' from root console seems to do
nothing.  Running 'salsa -l 0' does in fact restore the settings.]

Is the second line ("pcm*") needed?

Version-Release number of selected component (if applicable):
alsa-utils-1.0.15-0.4.rc1.fc8

How reproducible:
every time

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Martin Stransky 2007-10-15 13:03:52 UTC
/sbin/salsa w/o argument is specially designed for this purpose. It loads the
card number from ENV (it's set by udev) and loads stored volume from disc.

Comment 2 Martin Stransky 2007-10-15 13:16:48 UTC
If the volume loading doesn't work for you it could be a dupe of Bug 247468.

Comment 3 Tom London 2007-10-15 14:18:11 UTC
Nah, working now.  [Sorry, filed this after running 'salsa' from terminal
without udev's env variables...]

I think this was and issue with SELinux blocking alsa_t access to
/etc/alsa/asound.state, etc.

Closing.

Thanks for looking into this.




Note You need to log in before you can comment on or make changes to this bug.