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

Re: USB sound device present but visible in ‘alsamixer’



Nicholas Geovanis <nickgeovanis@gmail.com> writes:

>> I am trying to make it work; so here is the update.
>>
>> I tried to experiment with my machine and found that if I plug-out and
>> plug-in the USB sound card again, it is not shown by "aplay -l" command
>> as normal user. But when I do "sudo aplay -l" it lists the USB
>> device. But I am part of "audio" group. "groups" command output:
>>
>> --8<---------------cut here---------------start------------->8---
>> ankaj@anant:~$ groups
>> pankaj cdrom floppy sudo audio dip video plugdev netdev bluetooth scanner
>> docker
>> --8<---------------cut here---------------end--------------->8---
>>
>> I don’t know what other configuration is required to list my card using
>> "aplay -l" as a normal user?
>
>
> You may need to give normal users added privileges. Or it may be that you
> need to set your running group or user identity to something else in order
> to use aplay effectively. Could that be the group named audio?
>
> See help for the newgrp command. Or just as you have done, try to craft the
> right sudo command to invoke it the way you want. Then you could add a
> shorthand to it in sudoers or create a shell alias accordingly.
>
> Or, not recommended, you could change the aplay executable or front-end to
> it in order to make it a set[ug]id executable.
>

It just upgraded my kernel using "make deb-pkg" in the upstream kernel
and installed it. The sound problem is gone.



Reply to: