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

Re: [Xen-devel] vsnd issue


  • To: "peng.fan@xxxxxxx" <peng.fan@xxxxxxx>, Oleksandr Andrushchenko <Oleksandr_Andrushchenko@xxxxxxxx>
  • From: Artem Mygaiev <Artem_Mygaiev@xxxxxxxx>
  • Date: Mon, 25 Nov 2019 10:40:32 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=epam.com; dmarc=pass action=none header.from=epam.com; dkim=pass header.d=epam.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=vN7CGflH4ULxrYaF3lYmh4k+ScD5wlyYJ8v8/OoUR08=; b=g+Z94PqH/M5U4/aK2+gXglqw5R7iCjJ/edhDTg9HllWOfdV8G2e2oVcZFpgTbqDIteU1kfV3ZHCnFzPPT8m3YJDKVVNO3gPZu3tf7bJjcixyp5Asmi6I/60Q8ceySk+O5MRTlAnsuPlulPb7cVvfHrl40vHWr/E+1wjkruztXRFWPOHE7CdZ7xDVrvMOv07MbuHzqKIb6FahrQ5nRzQ+w54UAe89OMQCfdTkb5ZhDLIW5J1eoOmcvi9MmjYysYQAHk8Z5gZLTIXbhhyAlk+PAvmkB/aG7uq1DczC9gCKmRIHWt047r4fmgnzF37jo9oH6FtWMDvTdG4B4RLcPJu9rg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=H0tABrXyzeBWT7D4mV/7ZdGwijXkBez28n/cd7+6Hagm6aokbCQKTnjDq50cJLLTeSW39YnW6XEqg5NlBuu1sdQOqhV2/R2FxUBMVxSPdub2CTf5h/hprmB2D3RU9AWJd81ABuEnqg0YNc6zrIGTh7GiwWYbUFDPjhhQu7Tfck7sP/5q5E0QyaNZNVbuhyrCNNICaOTnH+yY17sfltbDf46KHpUFpL+DxMyKiby/0c/Ye/bZmj/vJ8zEsB1cqAaKQMr8oVzj4UDPtaDnY1D3V1F8VRUS79K+yAwjSXy4aSUEYvr3cBwD1Y6Ix0eLKqBB6PCA4yJJIQ8FJwqXidKhug==
  • Authentication-results: spf=none (sender IP is ) smtp.mailfrom=Artem_Mygaiev@xxxxxxxx;
  • Cc: "sstabellini@xxxxxxxxxx" <sstabellini@xxxxxxxxxx>, "julien@xxxxxxx" <julien@xxxxxxx>, "xen-devel@xxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxx>
  • Delivery-date: Mon, 25 Nov 2019 10:40:39 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AdWjeYM0mJR1EPMQS6mJNQqqC3DsNQAAQaSAAACRSQA=
  • Thread-topic: [Xen-devel] vsnd issue

Hello Peng Fan

Please contact Oleksandr Andrushchenko (added to this thread) on this
issue.

 -- Artem

On Mon, 2019-11-25 at 10:24 +0000, Julien Grall wrote:
> 
> On 25/11/2019 10:19, Peng Fan wrote:
> > Hi All,
> 
> Hi,
> 
> > I am trying vsnd from xen-troops with xen 4.13 and Linux 5.4, but
> > domu reports:
> 
> xen-troops is not part of Xen Project. Please contact the owner of
> the 
> repo for any help here.
> 
> I have CCed Artem who should be able to point to the author of vsnd.
> 
> Best regards,
> 
> > aplay compl.mp3
> > ALSA lib ../../../alsa-lib-
> > 1.1.9/src/pcm/pcm_direct.c:1156:(snd1_pcm_direct_initialize_slave)
> > slave plugin does not support mmap interleaved or mmap
> > noninterleaved access
> > ALSA lib ../../../alsa-lib-
> > 1.1.9/src/pcm/pcm_dmix.c:1120:(snd_pcm_dmix_open) unable to
> > initialize slave
> > aplay: main:828: audio open error: Invalid argument
> > 
> > When executing aplay in domu, dom0 side log:
> > root@imx8qmmek:~# 13.11.19 08:24:57.484 | XenEvtchn       | DBG -
> > Event received, port: 10
> > 13.11.19 08:24:57.491 | StreamRing      | DBG - Request received,
> > id: alsa<hw:2;0>, cmd:9
> > 13.11.19 08:24:57.500 | CommandHandler  | DBG - Handle command
> > [QUERY_HW_PARAM]
> > 13.11.19 08:24:57.508 | AlsaPcm         | DBG - Query pcm device
> > hw:2,0 for HW parameters
> > 13.11.19 08:24:57.516 | CommandHandler  | DBG - Return status: [0]
> > 13.11.19 08:24:57.523 | XenEvtchn       | DBG - Notify event
> > channel, port: 10
> > 13.11.19 08:24:57.531 | XenEvtchn       | DBG - Event received,
> > port: 10
> > 13.11.19 08:24:57.538 | StreamRing      | DBG - Request received,
> > id: alsa<hw:2;0>, cmd:9
> > 13.11.19 08:24:57.546 | CommandHandler  | DBG - Handle command
> > [QUERY_HW_PARAM]
> > 13.11.19 08:24:57.554 | AlsaPcm         | DBG - Query pcm device
> > hw:2,0 for HW parameters
> > 13.11.19 08:24:57.563 | CommandHandler  | DBG - Return status: [0]
> > 13.11.19 08:24:57.570 | XenEvtchn       | DBG - Notify event
> > channel, port: 10
> > 13.11.19 08:24:57.577 | XenEvtchn       | DBG - Event received,
> > port: 10
> > 13.11.19 08:24:57.584 | StreamRing      | DBG - Request received,
> > id: alsa<hw:2;0>, cmd:9
> > 13.11.19 08:24:57.593 | CommandHandler  | DBG - Handle command
> > [QUERY_HW_PARAM]
> > 13.11.19 08:24:57.601 | AlsaPcm         | DBG - Query pcm device
> > hw:2,0 for HW parameters
> > 13.11.19 08:24:57.610 | CommandHandler  | DBG - Return status: [0]
> > 13.11.19 08:24:57.616 | XenEvtchn       | DBG - Notify event
> > channel, port: 10
> > 13.11.19 08:24:57.624 | XenEvtchn       | DBG - Event received,
> > port: 10
> > 13.11.19 08:24:57.631 | StreamRing      | DBG - Request received,
> > id: alsa<hw:2;0>, cmd:9
> > 13.11.19 08:24:57.640 | CommandHandler  | DBG - Handle command
> > [QUERY_HW_PARAM]
> > 13.11.19 08:24:57.647 | AlsaPcm         | DBG - Query pcm device
> > hw:2,0 for HW parameters
> > 13.11.19 08:24:57.656 | CommandHandler  | DBG - Return status: [0]
> > 13.11.19 08:24:57.663 | XenEvtchn       | DBG - Notify event
> > channel, port: 10
> > 13.11.19 08:24:57.671 | XenEvtchn       | DBG - Event received,
> > port: 10
> > 13.11.19 08:24:57.678 | StreamRing      | DBG - Request received,
> > id: alsa<hw:2;0>, cmd:9
> > 13.11.19 08:24:57.686 | CommandHandler  | DBG - Handle command
> > [QUERY_HW_PARAM]
> > 13.11.19 08:24:57.694 | AlsaPcm         | DBG - Query pcm device
> > hw:2,0 for HW parameters
> > 13.11.19 08:24:57.703 | CommandHandler  | DBG - Return status: [0]
> > 13.11.19 08:24:57.709 | XenEvtchn       | DBG - Notify event
> > channel, port: 10
> > 
> > 
> > My xl.cfg:
> >      vsnd = [
> >          ['CARD, short-name=Main, sample-formats=s16_le;s8;u32_be',
> >              'PCM, name=Main',
> >                  'STREAM, unique-id=alsa<hw:2;0>, type=p',
> >                  'STREAM, unique-id=alsa<hw:2;1>, type=c, channels-
> > max=2'
> >          ],
> >      ]
> > 
> > The audio device on my board:
> > aplay -l
> > **** List of PLAYBACK Hardware Devices ****
> > card 0: imxaudmix [imx-audmix], device 0: HiFi-AUDMIX-FE (*) []
> >    Subdevices: 1/1
> >    Subdevice #0: subdevice #0
> > card 0: imxaudmix [imx-audmix], device 1: HiFi-AUDMIX-FE (*) []
> >    Subdevices: 1/1
> >    Subdevice #0: subdevice #0
> > card 1: cs42888audio [cs42888-audio], device 0: HiFi cs42888-0
> > [HiFi cs42888-0]
> >    Subdevices: 1/1
> >    Subdevice #0: subdevice #0
> > card 1: cs42888audio [cs42888-audio], device 1: HiFi-ASRC-FE (*) []
> >    Subdevices: 1/1
> >    Subdevice #0: subdevice #0
> > card 2: wm8960audio [wm8960-audio], device 0: HiFi wm8960-hifi-0 []
> >    Subdevices: 0/1
> >    Subdevice #0: subdevice #0
> > 
> > Is there something wrong in my configuration?
> > 
> > Thanks,
> > Peng.
> > 
> > _______________________________________________
> > Xen-devel mailing list
> > Xen-devel@xxxxxxxxxxxxxxxxxxxx
> > 
> > https://urldefense.com/v3/__https://lists.xenproject.org/mailman/listinfo/xen-devel__;!K6dmGCEab4ueJg!iTeJON61Y2nUcGMQr_y7-27bR_QlOG8gXqvRMaU8yy8nJuDhzWizylvl_6stD-ILOQ$
> >  
> > 
> 
> 
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.