Re: [Alsa-user] USB audio on riscv64

2021-11-06 Thread Kip Warner
On Sat, 2021-11-06 at 14:50 -0700, chris hermansen wrote: > To allow remote users to use ALSA, you need to add those users to the > audio group, however this is not recommended by default (see note > below). Thanks Chris. For anyone else having a similar problem, adding myself to the audio group,

Re: [Alsa-user] USB audio on riscv64

2021-11-06 Thread chris hermansen
Kip and list, On Sat, Nov 6, 2021 at 2:34 PM Kip Warner wrote: > On Sat, 2021-11-06 at 22:13 +0100, Takashi Iwai wrote: > > It depends rather on your system setup and desktop environment. > > Usually the device file permissions are managed by logind and > > modified dynamically at login via ACL.

Re: [Alsa-user] USB audio on riscv64

2021-11-06 Thread Kip Warner
On Sat, 2021-11-06 at 22:13 +0100, Takashi Iwai wrote: > It depends rather on your system setup and desktop environment. > Usually the device file permissions are managed by logind and > modified dynamically at login via ACL. > > As it's no kernel issue, better to ask your distro. It probably is a

Re: [Alsa-user] USB audio on riscv64

2021-11-06 Thread Takashi Iwai
On Sat, 06 Nov 2021 20:58:59 +0100, Kip Warner wrote: > > On Sat, 2021-11-06 at 08:23 +0100, Takashi Iwai wrote: > > How about to run as root? > > It works as root! > >$ sudo aplay -Dplughw:1 -vv /usr/share/games/lincity-ng/sounds/Water1.wav > > So there appears to be a permission issue. I

Re: [Alsa-user] USB audio on riscv64

2021-11-06 Thread Kip Warner
On Sat, 2021-11-06 at 08:23 +0100, Takashi Iwai wrote: > How about to run as root? It works as root! $ sudo aplay -Dplughw:1 -vv /usr/share/games/lincity-ng/sounds/Water1.wav So there appears to be a permission issue. I wonder why? -- Kip Warner -- Senior Software Engineer OpenPGP signed/en

Re: [Alsa-user] USB audio on riscv64

2021-11-06 Thread Takashi Iwai
On Fri, 05 Nov 2021 23:19:13 +0100, Kip Warner wrote: > > On Fri, 2021-11-05 at 19:58 +0100, Takashi Iwai wrote: > > No, it contains the card entry.  You can see it in alsa-info.sh output > > you attached, which is: > > I thought cards was supposed to be a directory populated with > something, bu

Re: [Alsa-user] USB audio on riscv64

2021-11-05 Thread Kip Warner
On Fri, 2021-11-05 at 19:58 +0100, Takashi Iwai wrote: > No, it contains the card entry.  You can see it in alsa-info.sh output > you attached, which is: I thought cards was supposed to be a directory populated with something, but I see now that its a file containing the aforementioned. > Try to

Re: [Alsa-user] USB audio on riscv64

2021-11-05 Thread Takashi Iwai
On Fri, 05 Nov 2021 19:47:16 +0100, Kip Warner wrote: > > On Fri, 2021-11-05 at 11:17 +0100, Takashi Iwai wrote: > > Check the contents in /proc/asound/cards.  Is that empty as well? > > Thanks for getting back to me, Takashi. Looks like it's empty: No, it contains the card entry. You can see i

Re: [Alsa-user] USB audio on riscv64

2021-11-05 Thread Kip Warner
On Fri, 2021-11-05 at 11:17 +0100, Takashi Iwai wrote: > Check the contents in /proc/asound/cards.  Is that empty as well? Thanks for getting back to me, Takashi. Looks like it's empty: $ sudo tree /proc/asound/ /proc/asound/ ├── Device -> card1 ├── card1 │   ├── id │   ├── pcm0

Re: [Alsa-user] USB audio on riscv64

2021-11-05 Thread Takashi Iwai
On Thu, 04 Nov 2021 22:37:26 +0100, Kip Warner wrote: > > On Thu, 2021-11-04 at 08:40 +, Dmitri Seletski wrote: > > I am just a user. > > Can't help but wonder if usb snd modules were compiled in or loaded? > > Hey Dmitri, > > CC'ing the lists. When I plug in the device, I see the following

Re: [Alsa-user] USB audio on riscv64

2021-11-04 Thread Kip Warner
On Thu, 2021-11-04 at 08:40 +, Dmitri Seletski wrote: > I am just a user. > Can't help but wonder if usb snd modules were compiled in or loaded? Hey Dmitri, CC'ing the lists. When I plug in the device, I see the following on the bus: $ lsusb ... Bus 001 Device 003: ID 1908:2070 GEMB