ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Dima Vukolov <dvukol@rosmail.ru>
To: sisyphus@altlinux.ru
Subject: [sisyphus] ALSA 0.9.0rc7 и файлы устройств
Date: Fri, 21 Feb 2003 23:13:50 +0300
Message-ID: <200302212313.50245.dvukol@rosmail.ru> (raw)

После обновления alsa до 0.9.0rc7-alt1 и, может, еще чего-то из Sisyphus 
KDE перестал выводить звук через ALSA (только через OSS), а aplay начал 
выдавать ошибки:
aplay: main:462: audio open error: Permission denied

strace показал следующее:
open("/dev/snd/controlC0", O_RDONLY) = -1 EACCES (Permission denied)
open("/dev/aloadC0", O_RDONLY)    = -1 ENOENT (No such file or 
directory)
open("/dev/snd/controlC0", O_RDWR) = -1 EACCES (Permission denied)
open("/dev/snd/controlC0", O_RDONLY) = -1 EACCES (Permission denied)
open("/dev/aloadC0", O_RDONLY)    = -1 ENOENT (No such file or 
directory)
open("/dev/snd/controlC0", O_RDWR) = -1 EACCES (Permission denied)
write(2, "aplay: main:462: ", 17) = 17
write(2, "audio open error: Permission den"..., 35) = 35
write(2, "\n", 1)                 = 1
_exit(1)                          = ?

Права на /dev/snd/* я исправил через options snd device_mode=0666 в 
/etc/modules.conf. И после создания /dev/aloadC* всё заработало на ура.
Вопрос 1: почему в пакете dev нет /dev/aloadC*, раз они требуются?
Вопрос 2: откуда взялась ошибка с правами на /dev/snd/*? Ведь раньше всё 
прекрасно работало и с device_mode=0660.

-- 
Dima Vukolov



             reply	other threads:[~2003-02-21 20:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-21 20:13 Dima Vukolov [this message]
2003-02-22 10:59 ` Dmitry V. Levin
2003-02-22 14:53   ` Dima Vukolov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200302212313.50245.dvukol@rosmail.ru \
    --to=dvukol@rosmail.ru \
    --cc=sisyphus@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git