Skip to contentSkip to conversation

I must be really dense

DISCUSSION Jeremy Hall 3 participants 5 messages Jul 11, 2003 – Jul 14, 2003

lore
Share & tools
lore
#0 lore raw

Hi,

I upgraded from 2.5.68 to 2.5.75 this morning to see if the pcm_multi race had made it into the kernel, it had, and now when I try to run alsactl restore or alsactl store, it whines about snd_ctl_open no such file or directory

This is on another machine than the one I have other alsactl problems. So I am quite confused and am thinking maybe some file from old alsa from years ago is conflicting with some current install and thus something magical never got installed.

Here is my asound.state file, although an asound.conf file seems to be updated periodically too so I'm also confused about that.

_J

state.15 {
control.1 {
comment.access 'read write'
comment.type IEC958
iface PCM
name 'IEC958 Playback Default'
value '0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
}
control.2 {
comment.access 'read write inactive'
comment.type IEC958
iface PCM
name 'IEC958 Playback PCM Stream'
value '0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
}
control.3 {
comment.access read
comment.type IEC958
iface MIXER
name 'IEC958 Playback Con Mask'
value '3b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
}
control.4 {
comment.access read
comment.type IEC958
iface MIXER
name 'IEC958 Playback Pro Mask'
value '1f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
}
control.5 {
comment.access 'read write'
comment.type ENUMERATED
comment.item.0 ADAT1
comment.item.1 Coaxial
comment.item.2 Internal
iface PCM
name 'IEC958 Input Connector'
value Coaxial
}
control.6 {
comment.access 'read write'
comment.type BOOLEAN
iface PCM
name 'IEC958 Output also on ADAT1'
value false
}
control.7 {
comment.access 'read write'
comment.type ENUMERATED
comment.item.0 AutoSync
comment.item.1 Master
comment.item.2 'Word Clock'
iface PCM
name 'Sync Mode'
value Master
}
control.8 {
comment.access 'read write'
comment.type ENUMERATED
comment.item.0 'IEC958 In'
comment.item.1 'ADAT1 In'
comment.item.2 'ADAT2 In'
comment.item.3 'ADAT3 In'
iface PCM
name 'Preferred Sync Source'
value 'ADAT1 In'
}
control.9 {
comment.access 'read write'
comment.type BOOLEAN
iface PCM
name 'Channels Thru'
value.0 false
value.1 false
value.2 false
value.3 false
value.4 false
value.5 false
value.6 false
value.7 false
value.8 false
value.9 false
value.10 false
value.11 false
value.12 false
value.13 false
value.14 false
value.15 false
value.16 false
value.17 false
value.18 false
value.19 false
value.20 false
value.21 false
value.22 false
value.23 false
value.24 false
value.25 false
}
control.10 {
comment.access read
comment.type INTEGER
comment.range '0 - 96000'
iface PCM
name 'IEC958 Sample Rate'
value -1
}
control.11 {
comment.access read
comment.type ENUMERATED
comment.item.0 'No Lock'
comment.item.1 Lock
comment.item.2 'No Lock Sync'
comment.item.3 'Lock Sync'
iface PCM
name 'ADAT1 Sync Check'
value 'Lock Sync'
}
control.12 {
comment.access read
comment.type ENUMERATED
comment.item.0 'No Lock'
comment.item.1 Lock
comment.item.2 'No Lock Sync'
comment.item.3 'Lock Sync'
iface PCM
name 'ADAT2 Sync Check'
value 'Lock Sync'
}
control.13 {
comment.access read
comment.type ENUMERATED
comment.item.0 'No Lock'
comment.item.1 Lock
comment.item.2 'No Lock Sync'
comment.item.3 'Lock Sync'
iface PCM
name 'ADAT3 Sync Check'
value 'Lock Sync'
}
control.14 {
comment.access read
comment.type BOOLEAN
iface PCM
name 'Timecode Valid'
value false
}
control.15 {
comment.access 'read write'
comment.type BOOLEAN
iface PCM
name Passthru
value false
}
control.16 {
comment.access read
comment.type ENUMERATED
comment.item.0 'No Lock'
comment.item.1 Lock
comment.item.2 'No Lock Sync'
comment.item.3 'Lock Sync'
iface PCM
name 'ADAT3 Sync Check'
value 'Lock Sync'
}
control.17 {
comment.access 'read write'
comment.type ENUMERATED
comment.item.0 ADAT1
comment.item.1 Internal
iface PCM
name 'ADAT1 Input Source'
value ADAT1
}
}
state.15_1 {
control.1 {
comment.access 'read write'
comment.type IEC958
iface PCM
name 'IEC958 Playback Default'
value '0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
}
control.2 {
comment.access 'read write inactive'
comment.type IEC958
iface PCM
name 'IEC958 Playback PCM Stream'
value '0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
}
control.3 {
comment.access read
comment.type IEC958
iface MIXER
name 'IEC958 Playback Con Mask'
value '3b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
}
control.4 {
comment.access read
comment.type IEC958
iface MIXER
name 'IEC958 Playback Pro Mask'
value '1f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
}
control.5 {
comment.access 'read write'
comment.type ENUMERATED
comment.item.0 ADAT1
comment.item.1 Coaxial
comment.item.2 Internal
iface PCM
name 'IEC958 Input Connector'
value Coaxial
}
control.6 {
comment.access 'read write'
comment.type BOOLEAN
iface PCM
name 'IEC958 Output also on ADAT1'
value false
}
control.7 {
comment.access 'read write'
comment.type ENUMERATED
comment.item.0 AutoSync
comment.item.1 Master
comment.item.2 'Word Clock'
iface PCM
name 'Sync Mode'
value 'Word Clock'
}
control.8 {
comment.access 'read write'
comment.type ENUMERATED
comment.item.0 'IEC958 In'
comment.item.1 'ADAT1 In'
comment.item.2 'ADAT2 In'
comment.item.3 'ADAT3 In'
iface PCM
name 'Preferred Sync Source'
value 'ADAT1 In'
}
control.9 {
comment.access 'read write'
comment.type BOOLEAN
iface PCM
name 'Channels Thru'
value.0 false
value.1 false
value.2 false
value.3 false
value.4 false
value.5 false
value.6 false
value.7 false
value.8 false
value.9 false
value.10 false
value.11 false
value.12 false
value.13 false
value.14 false
value.15 false
value.16 false
value.17 false
value.18 false
value.19 false
value.20 false
value.21 false
value.22 false
value.23 false
value.24 false
value.25 false
}
control.10 {
comment.access read
comment.type INTEGER
comment.range '0 - 96000'
iface PCM
name 'IEC958 Sample Rate'
value -1
}
control.11 {
comment.access read
comment.type ENUMERATED
comment.item.0 'No Lock'
comment.item.1 Lock
comment.item.2 'No Lock Sync'
comment.item.3 'Lock Sync'
iface PCM
name 'ADAT1 Sync Check'
value 'Lock Sync'
}
control.12 {
comment.access read
comment.type ENUMERATED
comment.item.0 'No Lock'
comment.item.1 Lock
comment.item.2 'No Lock Sync'
comment.item.3 'Lock Sync'
iface PCM
name 'ADAT2 Sync Check'
value 'Lock Sync'
}
control.13 {
comment.access read
comment.type ENUMERATED
comment.item.0 'No Lock'
comment.item.1 Lock
comment.item.2 'No Lock Sync'
comment.item.3 'Lock Sync'
iface PCM
name 'ADAT3 Sync Check'
value 'Lock Sync'
}
control.14 {
comment.access read
comment.type BOOLEAN
iface PCM
name 'Timecode Valid'
value false
}
control.15 {
comment.access 'read write'
comment.type BOOLEAN
iface PCM
name Passthru
value false
}
control.16 {
comment.access read
comment.type ENUMERATED
comment.item.0 'No Lock'
comment.item.1 Lock
comment.item.2 'No Lock Sync'
comment.item.3 'Lock Sync'
iface PCM
name 'ADAT3 Sync Check'
value 'Lock Sync'
}
control.17 {
comment.access 'read write'
comment.type ENUMERATED
comment.item.0 ADAT1
comment.item.1 Internal
iface PCM
name 'ADAT1 Input Source'
value ADAT1
}
}

-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1

#1 lore raw
Quoted 2 lines · Jeremy Hall

when I try to run alsactl restore or alsactl store, it whines about snd_ctl_open no such file or directory

Did you run snddevices?

Quoted 4 lines

state.15 { ...
}
state.15_1 { ...
}

What is the ID of your card? (see /proc/asound/cards) The other state is old and can be deleted.

HTH
Clemens

-------------------------------------------------------
This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1

#2 lore raw

there are two of them

I have to rerun snddevices? it works with older kernel.

_J

Quoted 21 lines · Clemens Ladisch
Quoted 2 lines · Jeremy Hall

when I try to run alsactl restore or alsactl store, it whines about snd_ctl_open no such file or directory

Did you run snddevices?

Quoted 4 lines

state.15 { ...
}
state.15_1 { ...
}

What is the ID of your card? (see /proc/asound/cards) The other state is old and can be deleted.

HTH
Clemens

Quoted 10 lines

-------------------------------------------------------
This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1
_______________________________________________
Alsa-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1

#3 lore raw
In reply to Clemens Ladisch

I reran snddevices and it seems happy, hopefully I can still go back and forth between old and new setups

thanks

_J

Quoted 21 lines · Clemens Ladisch
Quoted 2 lines · Jeremy Hall

when I try to run alsactl restore or alsactl store, it whines about snd_ctl_open no such file or directory

Did you run snddevices?

Quoted 4 lines

state.15 { ...
}
state.15_1 { ...
}

What is the ID of your card? (see /proc/asound/cards) The other state is old and can be deleted.

HTH
Clemens

Quoted 10 lines

-------------------------------------------------------
This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1
_______________________________________________
Alsa-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1

#4 lore raw

At Fri, 11 Jul 2003 11:58:58 -0400 (EDT),

Quoted 3 lines · Jeremy Hall

I reran snddevices and it seems happy, hopefully I can still go back and forth between old and new setups

yeah, somewhere in 2.5.7x the proc device files have been dropped, as it happend to version 0.9.3 alsa-driver release.
so you need the static device files (created via snddevice script) or devfs.

btw, alsactl has -F option. with this option, alsactl will try to load the possible controls even if the number id doesn't match. in most cases, it helps.

Takashi

-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1