[linux-audio-user] No state is present for card

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Well I fixed the access problem quite easily last night actually. This might 
be a bit distro dependent since not all of them use the devfs, so ymmv. In 
/etc/devfsd.conf add this:

LOOKUP          snd          MODLOAD ACTION snd
LOOKUP          dsp          MODLOAD
LOOKUP          mixer        MODLOAD
LOOKUP          midi         MODLOAD
REGISTER        sound/.*     PERMISSIONS root.audio 660
REGISTER        snd/.*       PERMISSIONS root.audio 660

Which then gives access to the audio group automatically. Add yourself to 
the audio group and you're done. It didn't seem to work with me at first, 
but I just had to log out of my kde session an login again and then it 
worked.


>From: Patrick Shirkey <pshirkey@xxxxxxxxxxxxxxxxx>
>Reply-To: linux-audio-user@xxxxxxxxxxxxxxxxxx
>To: linux-audio-user@xxxxxxxxxxxxxxxxxx
>Subject: Re: [linux-audio-user] No state is present for card
>Date: Sun, 25 May 2003 15:07:34 +0900
>
>Denis de Leeuw Duarte wrote:
>>
>>>
>>>"State" means the current mixer settings, but the Quattro doesn't have 
>>>any
>>>mixer elements. The message is misleading in this case.
>>
>>
>>Ah thanks! Well it is working now!!!! I've been struggling with this 
>>device for a week. First I had to return it to the store because they gave 
>>me the wrong power supply and probably a defective unit. I'm very glad it 
>>works now. Except for the fact that I can't use the device as a normal 
>>user (and yes I am in the audio group) but this is probably so trivial I 
>>won't bother you with it (yet;-)
>>
>
>I see that too. I'll let the alsa-devel list know. Or Clemens will probably 
>read this.
>
>I get this error while normal user which doesn't occur as root.
>
>aplay -f cd -d 10 -D quattro1 test.wav
>aplay: main:480: audio open error: Permission denied
>
>
>
>
>--
>Patrick Shirkey - Boost Hardware Ltd.
>Http://www.boosthardware.com
>Http://www.djcj.org - The Linux Audio Users guide
>========================================
>
>Being on stage with the band in front of crowds shouting, "Get off! No! We 
>want normal music!", I think that was more like acting than anything I've 
>ever done.
>
>Goldie, 8 Nov, 2002
>The Scotsman
>

_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963



[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux