Developing a ti-pcm1863 (adc) codec driver
Hello Mr. Brown,
I have a soundcard which doesnt have a linux driver. Quick information it has a pcm1863 adc and a pcm5142 dac on it.
I began with the sample dt-overlay and edited it to get the playback working. No problem at all using the pcm512x.c codec driver.
After that I began with the development of the codec driver, i2c driver and a dt-overlay with 2 sound links as I need the record and playback functionality.
Right now the i2c driver seems to work since I get the hardware into the used state "UU" when executing the i2cdetect command and dmesg says "mapping okay". My codec driver has the codec driver and dai definitions and some more functions (here I am stuck). I know that I need the hw_params and some set functions to have the minimal functionality.
1. Question would be towards the dapm_widgets and dapm_routes definitions. When defining the dapm_adc widget do I put there the Capture stream or do I seperate it with "NULL" and then adding the dapm_routes definitions? Which one is correct since I have seen both possibilities (which ad-/disadventages do I have?)
2. Question in my layout plan I need to set the ADC to VIN4 l/r because only this one is connected to the microphone port. I have put it into the sound controls but how would I make this switch from the command line (arecord) or in the players (like vlc)
3. It seems that I have a bug in the code since I cant execute arecord right now it says file doesnt exist.
Furthermore I would really be interested in gaining more knowledge about the accesses and routines from e.g. the vlc player using alsa (?) and then the accesses to the hardware? Also the whole registering process in which order are which files executed to get into the state where the os knows my soundcard. Since in a stracktrace I dont see this high level functions executed. I have found some diagramms on a chinese blog which look not bad but it would be a lot better to find it out myself with the os if possible. Here is an example of this kind of diagramm: http://img.blog.csdn.net/20160127104235066?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center
This is knowledge is right now optional but would be very helpful for the understanding.
I will attach the codec driver, codec driver-header, i2c driver, dt-overlay and a strack trace (ltrace just hangs up) so it would be possible to find out what is causing the problem right now. Please note that this is my first driver development and the code is work in progress :)
Thanks a lot for Your time and Your help! If an information is missing please ask for it and if possible I will try to provide it :)
Sanj3k
#ifndef _SND_SOC_PCM1863
#define _SND_SOC_PCM1863
#include <linux/pm.h>
#include <linux/regmap.h>
//Register Addresses
#define PCM1863_ADC1_INPUT_SEL_L 0x06
#define PCM1863_ADC1_INPUT_SEL_R 0x07
#define PCM1863_FMT_REG 0x0B
#define PCM1863_CLK_SRC 0x20
#define PCM1863_SCK_DIV 0x26
#define PCM1863_POWER 0x70
#define PCM1863_FLT_MUTE 0x71
#define PCM1863_FS_CUR 0x73
#define PCM1863_STAT 0x75
//ADC INPUT Reg Left (6/0x06)
#define PCM1863_SEL_L (1 << 0)
#define PCM1863_SEL_L_SHIFT 0
#define PCM1863_SEL_L_VIN4 (8 << 0)
//ADC INPUT Reg Right (7/0x07)
#define PCM1863_SEL_R (1 << 0)
#define PCM1863_SEL_R_SHIFT 0
#define PCM1863_SEL_R_VIN4 (8 << 0)
//Format Register (11/0x0B)
#define PCM1863_RX_WLEN (1 << 6)
#define PCM1863_RX_WLEN_SHIFT 6
#define PCM1863_RX_WLEN_24 (1 << 6)
#define PCM1863_RX_WLEN_20 (2 << 6)
#define PCM1863_RX_WLEN_16 (3 << 6)
#define PCM1863_TX_WLEN (1 << 2)
#define PCM1863_TX_WLEN_SHIFT 2
#define PCM1863_TX_WLEN_24 (1 << 2)
#define PCM1863_TX_WLEN_20 (2 << 2)
#define PCM1863_TX_WLEN_16 (3 << 2)
#define PCM1863_FMT (0 << 0)
#define PCM1863_FMT_SHIFT 0
#define PCM1863_FMT_I2S (0 << 0)
#define PCM1863_FMT_LTJ (1 << 0)
#define PCM1863_FMT_RTJ (2 << 0)
// Clock Source Register (32/0x20)
#define PCM1863_CLKDET_EN (1 << 0)
#define PCM1863_CLKDET_EN_SHIFT 0
#define PCM1863_CLKDET_EN_ENABLE (1 << 0)
#define PCM1863_CLKDET_EN_DISABLE (0 << 0)
#define PCM1863_ADC_CLK_SRC (0 << 3)
#define PCM1863_ADC_CLK_SRC_SHIFT 3
#define PCM1863_ADC_CLK_SRC_SCK (0 << 3)
#define PCM1863_ADC_CLK_SRC_PLL (1 << 3)
#define PCM1863_MST_MODE (0 << 4)
#define PCM1863_MST_MODE_SHIFT 4
#define PCM1863_MST_MODE_SLAVE (0 << 4)
#define PCM1863_MST_MODE_MASTER (1 << 4)
#define PCM1863_MST_SCK_SRC (0 << 5)
#define PCM1863_MST_SCK_SRC_SHIFT 5
#define PCM1863_MST_SCK_SRC_SCK_XI (0 << 5)
#define PCM1863_MST_SCK_SRC_BCK (1 << 5)
#define PCM1863_SCK_XI_SEL (0 << 6)
#define PCM1863_SCK_XI_SEL_SHIFT 6
#define PCM1863_SCK_XI_SEL_SCK_XTAL (0 << 6)
#define PCM1863_SCK_XI_SEL_SCK (1 << 6)
#define PCM1863_SCK_XI_SEL_XTAL (2 << 6)
//SCK Divider Register (38/0x26)
#define PCM1863_DIV_NUM (7 << 0)
#define PCM1863_DIV_NUM_SHIFT 0
#define PCM1863_DIV_NUM_18 (7 << 0)
#define PCM1863_DIV_NUM_14 (3 << 0)
#define PCM1863_DIV_NUM_12 (1 << 0)
//Power Register (112/0x70)
#define PCM1863_STANDBY (0 << 0)
#define PCM1863_STANDBY_SHIFT 0
#define PCM1863_STANDBY_RUN (0 << 0)
#define PCM1863_STANDBY_STANDBY (1 << 0)
//Sound Control Register (113/0x71)
#define PCM1863_MUTE_CH1_L (0 << 0)
#define PCM1863_MUTE_CH1_L_SHIFT 0
#define PCM1863_MUTE_CH1_L_UNMUTE (0 << 0)
#define PCM1863_MUTE_CH1_L_MUTE (1 << 0)
#define PCM1863_MUTE_CH1_R (0 << 1)
#define PCM1863_MUTE_CH1_R_SHIFT 1
#define PCM1863_MUTE_CH1_R_UNMUTE (0 << 1)
#define PCM1863_MUTE_CH1_R_MUTE (1 << 1)
#define PCM1863_MUTE_CH2_L (0 << 2)
#define PCM1863_MUTE_CH2_L_SHIFT 2
#define PCM1863_MUTE_CH2_L_UNMUTE (0 << 2)
#define PCM1863_MUTE_CH2_L_MUTE (1 << 2)
#define PCM1863_MUTE_CH2_R (0 << 3)
#define PCM1863_MUTE_CH2_R_SHIFT 3
#define PCM1863_MUTE_CH2_R_UNMUTE (0 << 3)
#define PCM1863_MUTE_CH2_R_MUTE (1 << 3)
#define PCM1863_HPF_EN (1 << 4)
#define PCM1863_HPF_EN_SHIFT 4
#define PCM1863_HPF_EN_ENABLE (1 << 4)
#define PCM1863_HPF_EN_DISBALE (0 << 4)
extern const struct regmap_config pcm1863_regmap;
int pcm1863_probe(struct device *dev, struct regmap *regmap); void pcm1863_remove(struct device *dev);
#endif
#include <linux/init.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/device.h>
#include <linux/regmap.h>
#include <linux/init.h>
#include <sound/soc.h>
#include <sound/soc-dapm.h>
#include <sound/tlv.h>
#include <sound/initval.h>
#include <sound/pcm.h>
#include <sound/pcm_params.h>
#include <sound/core.h>
#include "pcm1863.h"
struct pcm1863_priv {
struct regmap *regmap;
int rate;
int fmt;
};static const struct snd_kcontrol_new pcm1863_controls[] = {
SOC_SINGLE("ADC MUX VIN4L", PCM1863_ADC1_INPUT_SEL_L, //not possible with SOC_DOUBLE since
PCM1863_SEL_L_VIN4, 1, 0), //two different register?
SOC_SINGLE("ADC MUX VIN4R", PCM1863_ADC1_INPUT_SEL_R,
PCM1863_SEL_R_VIN4, 1, 0),
};static const struct snd_soc_dapm_widget pcm1863_dapm_widgets[] = {
SND_SOC_DAPM_ADC("ADC1", NULL, SND_SOC_NOPM, 0, 0), // ("ADC1", "Capture", SND_SOC_NOPM, 0, 0) another possibility?
SND_SOC_DAPM_INPUT("SE_IN_L"),
SND_SOC_DAPM_INPUT("SE_IN_R"),
};static const struct snd_soc_dapm_route pcm1863_dapm_routes[] = {
{ "ADC1", NULL, "SE_IN_L" },
{ "ADC1", NULL, "SE_IN_R" },
{ "SE_IN_L", NULL, "Capture" }, //this would be obsolete if Capture stream
{ "SE_IN_R", NULL, "Capture" }, //could be in the adc definition
};static struct snd_soc_codec_driver soc_codec_dev_pcm1863 = {
.component_driver = {
.controls = pcm1863_controls,
.num_controls = ARRAY_SIZE(pcm1863_controls),
.dapm_widgets = pcm1863_dapm_widgets,
.num_dapm_widgets = ARRAY_SIZE(pcm1863_dapm_widgets),
.dapm_routes = pcm1863_dapm_routes,
.num_dapm_routes = ARRAY_SIZE(pcm1863_dapm_routes),
},
};static int pcm1863_set_fmt(struct snd_soc_dai *dai, unsigned int fmt)
{
struct snd_soc_codec *codec = dai->codec;
struct pcm1863_priv *priv = snd_soc_codec_get_drvdata(codec);
priv->fmt = fmt;
return 0;
}static int pcm1863_hw_params(struct snd_pcm_substream *substream,
struct snd_pcm_hw_params *params, struct snd_soc_dai *dai)
{
struct snd_soc_codec *codec = dai->codec;
struct pcm1863_priv *pcm1863 = snd_soc_codec_get_drvdata(codec);
int rxlen;
int txlen;
int divider;
int ret;
dev_dbg(codec->dev, "hw_params %u Hz, %u channels\n",
params_rate(params),
params_channels(params));
switch (params_width(params)) {
case 16:
rxlen = PCM1863_RX_WLEN_16;
txlen = PCM1863_TX_WLEN_16;
break;
case 20:
rxlen = PCM1863_RX_WLEN_20;
txlen = PCM1863_TX_WLEN_20;
break;
case 24:
rxlen = PCM1863_RX_WLEN_24;
txlen = PCM1863_TX_WLEN_24;
break;
default:
dev_err(codec->dev, "Bad frame size: %d\n",
params_width(params));
return -EINVAL;
}
switch (pcm1863->fmt & SND_SOC_DAIFMT_MASTER_MASK) {
case SND_SOC_DAIFMT_CBS_CFS: //maybe not possible because it seems like the bck is only an output
ret = regmap_update_bits(pcm1863->regmap,
PCM1863_CLK_SRC,
PCM1863_MST_MODE,
0);
ret = regmap_update_bits(pcm1863->regmap,
PCM1863_CLK_SRC,
PCM1863_MST_SCK_SRC,
1);
if (ret != 0) {
dev_err(codec->dev,
"Failed to enable slave mode: %d\n", ret);
return ret;
}
ret = regmap_update_bits(pcm1863->regmap, PCM1863_CLK_SRC,
PCM1863_CLKDET_EN, 1);
if (ret != 0) {
dev_err(codec->dev,
"Failed to enable clock divider autoset: %d\n",
ret);
return ret;
}
case SND_SOC_DAIFMT_CBM_CFM:
ret = regmap_update_bits(pcm1863->regmap,
PCM1863_CLK_SRC,
PCM1863_MST_MODE,
1);
ret = regmap_update_bits(pcm1863->regmap,
PCM1863_CLK_SRC,
PCM1863_MST_SCK_SRC,
0);
if (ret != 0) {
dev_err(codec->dev,
"Failed to enable master mode: %d\n", ret);
return ret;
}
default:
return -EINVAL;
}
ret = regmap_update_bits(pcm1863->regmap, PCM1863_FMT_REG,
PCM1863_RX_WLEN, rxlen);
ret = regmap_update_bits(pcm1863->regmap, PCM1863_FMT_REG,
PCM1863_TX_WLEN, txlen);
switch (pcm1863->rate) {
case 44100:
case 48000:
divider = PCM1863_DIV_NUM_18;
case 88200:
case 96000:
divider = PCM1863_DIV_NUM_14;
case 192000:
divider = PCM1863_DIV_NUM_12;
default:
return -EINVAL;
}
ret = regmap_update_bits(pcm1863->regmap, PCM1863_SCK_DIV,
PCM1863_DIV_NUM, divider);
return 0;
} static const struct snd_soc_dai_ops pcm1863_dai_ops = {
.hw_params = pcm1863_hw_params,
.set_fmt = pcm1863_set_fmt,
};static struct snd_soc_dai_driver pcm1863_dai = {
.name = "pcm1863",
.capture = {
.stream_name = "Capture",
.channels_min = 2,
.channels_max = 2,
.rates = SNDRV_PCM_RATE_CONTINUOUS,
.rate_min = 8000,
.rate_max = 384000,
.formats = SNDRV_PCM_FMTBIT_S16_LE |
SNDRV_PCM_FMTBIT_S24_LE
},
.ops = &pcm1863_dai_ops,
};static const struct regmap_range_cfg pcm1863_range = {
.name = "Pages", .range_min = 0x000,
.range_max = 0xFD00,
.selector_reg = 0,
.selector_mask = 0xff,
.window_start = 0, .window_len = 0x100,
};const struct regmap_config pcm1863_regmap = {
.reg_bits = 8,
.val_bits = 8,
.ranges = &pcm1863_range,
.num_ranges = 1,
.max_register = 0xFD00,
.cache_type = REGCACHE_RBTREE,
};EXPORT_SYMBOL_GPL(pcm1863_regmap);
int pcm1863_probe(struct device *dev, struct regmap *regmap)
{
int ret;
struct pcm1863_priv *pcm1863;
if (IS_ERR(regmap))
return PTR_ERR(regmap);
pcm1863 = devm_kzalloc(dev, sizeof(*pcm1863), GFP_KERNEL);
if (pcm1863 == NULL)
return -ENOMEM;
pcm1863->regmap = regmap;
dev_set_drvdata(dev, pcm1863);
ret = snd_soc_register_codec(dev, &soc_codec_dev_pcm1863,
&pcm1863_dai, 1);
return ret;
}EXPORT_SYMBOL_GPL(pcm1863_probe);
void pcm1863_remove(struct device *dev)
{
snd_soc_unregister_codec(dev); }
EXPORT_SYMBOL_GPL(pcm1863_remove);
MODULE_DESCRIPTION("ASoC pcm1863 driver");MODULE_AUTHOR("Dummy Name <[email protected]>");MODULE_LICENSE("GPL v2");
#include <linux/init.h>
#include <linux/module.h>
#include <linux/i2c.h>
#include "pcm1863.h"
static int pcm1863_i2c_probe(struct i2c_client *i2c,
const struct i2c_device_id *id)
{
struct regmap *regmap;
struct regmap_config config = pcm1863_regmap;
config.read_flag_mask = 0x80;
config.write_flag_mask = 0x80;
regmap = devm_regmap_init_i2c(i2c, &config);
if (IS_ERR(regmap))
return PTR_ERR(regmap);
return pcm1863_probe(&i2c->dev, regmap);
}static int pcm1863_i2c_remove(struct i2c_client *i2c)
{
pcm1863_remove(&i2c->dev);
return 0;
}static const struct i2c_device_id pcm1863_i2c_id[] = {
{ "pcm1863", },
{ }
};MODULE_DEVICE_TABLE(i2c, pcm1863_i2c_id);
static const struct of_device_id pcm1863_of_match[] = {
{ .compatible = "ti,pcm1863", },
{ }
};MODULE_DEVICE_TABLE(of, pcm1863_of_match);
static struct i2c_driver pcm1863_i2c_driver = {
.probe = pcm1863_i2c_probe,
.remove = pcm1863_i2c_remove,
.id_table = pcm1863_i2c_id,
.driver = {
.name = "pcm1863",
.of_match_table = pcm1863_of_match,
.pm = &pcm1863_pm_ops,
},
};module_i2c_driver(pcm1863_i2c_driver);
MODULE_DESCRIPTION("ASoC pcm1863 codec driver - I2C"); MODULE_AUTHOR("Dummy Name <[email protected]>"); MODULE_LICENSE("GPL v2");
/dts-v1/;
/plugin/;
/ {
compatible = "brcm,bcm2708";
fragment@0 {
target = <&i2s>;
__overlay__ {
status = "okay";
};
};
fragment@1 {
target = <&i2c1>;
__overlay__ {
status = "okay";
#address-cells =<1>;
#size-cells =<0>;
pcm1863: pcm1863@4a {
#sound-dai-cells = <0>;
compatible = "ti,pcm1863";
reg = <0x4a>;
status = "okay";
};
pcm5142: pcm5142@4c {
#sound-dai-cells = <0>;
compatible = "ti,pcm5142";
reg = <0x4c>;
status = "okay";
};
};
};
fragment@2 {
target = <&sound>;
__overlay__ {
compatible = "simple-audio-card";
simple-audio-card,name = "MYSNDCARD";
status="okay";
capture_link: simple-audio-card,dai-link@0 {
format = "i2s";
r_cpu_dai: cpu {
sound-dai = <&i2s>;
};
r_codec_dai: codec {
sound-dai = <&pcm1863>;
};
};
playback_link: simple-audio-card,dai-link@1 {
format = "i2s";
p_cpu_dai: cpu {
sound-dai = <&i2s>;
};
p_codec_dai: codec {
sound-dai = <&pcm5142>;
};
};
};
};
};execve("/usr/bin/arecord", ["arecord", "output.wav"], [/* 40 vars */]) = 0
brk(0) = 0xe2f000uname({sys="Linux", node="raspberrypi", ...}) = 0access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x76 f89000access("/etc/ld.so.preload", R_OK) = 0open("/etc/ld.so.preload", O_RDONLY|O_CLOEXEC) = 3fstat64(3, {st_mode=S_IFREG|0644, st_size=42, ...}) = 0 mmap2(NULL, 42, PROT_READ|PROT_WRITE, MAP_PRIVATE, 3, 0) = 0x76f88000
close(3) = 0open("/usr/lib/arm-linux-gnueabihf/libarmmem.so", O_RDONLY|O_CLOEXEC) = 3
read(3, "177ELF1113(1h5004"..., 512 ) = 512lseek(3, 17960, SEEK_SET) = 17960
read(3, ""..., 9 60) = 960lseek(3, 17696, SEEK_SET) = 17696read(3, "A.aeabi1$05666101t1n3f122424"..., 47) = 47fstat64(3, {st_mode=S_IFREG|0644, st_size=18920, ...}) = 0mmap2(NULL, 83236, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x76f 47000mprotect(0x76f4c000, 61440, PROT_NONE) = 0
mmap2(0x76f5b000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRIT E, 3, 0x4000) = 0x76f5b000mprotect(0x7e99e000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC|PROT_GROWSDOWN) = 0
close(3) = 0munmap(0x76f88000, 42) = 0open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3fstat64(3, {st_mode=S_IFREG|0644, st_size=83029, ...}) = 0 mmap2(NULL, 83029, PROT_READ, MAP_PRIVATE, 3, 0) = 0x76f32000
close(3) = 0access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)open("/lib/arm-linux-gnueabihf/librt.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "177ELF11133(100030004"..., 512) = 512lseek(3, 25352, SEEK_SET) = 25352
read(3, ""..., 1 320) = 1320lseek(3, 24964, SEEK_SET) = 24964read(3, "A0aeabi1&05666101t1n222423124"..., 49) = 49fstat64(3, {st_mode=S_IFREG|0644, st_size=26672, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x76 f88000 mmap2(NULL, 90684, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x76f 1b000
mprotect(0x76f21000, 61440, PROT_NONE) = 0
mmap2(0x76f30000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRIT E, 3, 0x5000) = 0x76f30000
close(3) = 0access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)open("/usr/lib/arm-linux-gnueabihf/libasound.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "177ELF1113(1H3451004"..., 5 12) = 512lseek(3, 826876, SEEK_SET) = 826876
read(3, ""..., 1 160) = 1160lseek(3, 826508, SEEK_SET) = 826508read(3, "A.aeabi1$05666101t1n222424125"..., 47) = 47fstat64(3, {st_mode=S_IFREG|0644, st_size=828036, ...}) = 0mmap2(NULL, 892416, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x76 e41000mprotect(0x76f07000, 65536, PROT_NONE) = 0
mmap2(0x76f17000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRI TE, 3, 0xc6000) = 0x76f17000
close(3) = 0access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)open("/lib/arm-linux-gnueabihf/libm.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "177ELF1113(1p<004"..., 512) = 512lseek(3, 434644, SEEK_SET) = 434644
read(3, ""..., 1 160) = 1160lseek(3, 434312, SEEK_SET) = 434312read(3, "A0aeabi1&05666101t1n222423124"..., 49) = 49fstat64(3, {st_mode=S_IFREG|0644, st_size=435804, ...}) = 0mmap2(NULL, 499856, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x76 dc6000mprotect(0x76e2f000, 65536, PROT_NONE) = 0
mmap2(0x76e3f000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRIT E, 3, 0x69000) = 0x76e3f000
close(3) = 0access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)open("/lib/arm-linux-gnueabihf/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "177ELF1113(1220t004"..., 512) = 512lseek(3, 8660, SEEK_SET) = 8660
read(3, ""..., 1 160) = 1160lseek(3, 8328, SEEK_SET) = 8328read(3, "A0aeabi1&05666101t1n222423124"..., 49) = 49fstat64(3, {st_mode=S_IFREG|0644, st_size=9820, ...}) = 0mmap2(NULL, 73912, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x76d b3000mprotect(0x76db5000, 61440, PROT_NONE) = 0
mmap2(0x76dc4000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRIT E, 3, 0x1000) = 0x76dc4000
close(3) = 0access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)open("/lib/arm-linux-gnueabihf/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "177ELF1113(1lY004"..., 512) = 512lseek(3, 120788, SEEK_SET) = 120788
read(3, ""..., 1 520) = 1520lseek(3, 86420, SEEK_SET) = 86420read(3, "A0aeabi1&05666101t1n222423124"..., 49) = 49fstat64(3, {st_mode=S_IFREG|0755, st_size=122308, ...}) = 0mmap2(NULL, 160316, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x76 d8b000mprotect(0x76d9f000, 65536, PROT_NONE) = 0
mmap2(0x76daf000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRIT E, 3, 0x14000) = 0x76daf000 mmap2(0x76db1000, 4668, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOU S, -1, 0) = 0x76db1000
close(3) = 0access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)open("/lib/arm-linux-gnueabihf/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "177ELF1113(1L2041004"..., 5 12) = 512lseek(3, 1239936, SEEK_SET) = 1239936
read(3, ""..., 2 840) = 2840lseek(3, 1236500, SEEK_SET) = 1236500read(3, "A.aeabi1$05666101t1n222423124"..., 47) = 47fstat64(3, {st_mode=S_IFREG|0755, st_size=1242776, ...}) = 0mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x76 f87000mmap2(NULL, 1312152, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7 6c4a000mprotect(0x76d75000, 65536, PROT_NONE) = 0
mmap2(0x76d85000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRI TE, 3, 0x12b000) = 0x76d85000
mmap2(0x76d88000, 9624, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOU S, -1, 0) = 0x76d88000
close(3) = 0mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x76 f86000set_tls(0x76f864c0, 0x76f86ba8, 0x76f8c050, 0x76f864c0, 0x76f8c050) = 0
mprotect(0x76d85000, 8192, PROT_READ) = 0 mprotect(0x76daf000, 4096, PROT_READ) = 0 mprotect(0x76dc4000, 4096, PROT_READ) = 0 mprotect(0x76e3f000, 4096, PROT_READ) = 0 mprotect(0x76f30000, 4096, PROT_READ) = 0 mprotect(0x76f17000, 12288, PROT_READ) = 0 mprotect(0x76f47000, 20480, PROT_READ|PROT_WRITE) = 0 mprotect(0x76f47000, 20480, PROT_READ|PROT_EXEC) = 0 cacheflush(0x76f47000, 0x76f4c000, 0, 0x15, 0x7e99df10) = 0 mprotect(0x1d000, 4096, PROT_READ) = 0 mprotect(0x76f8b000, 4096, PROT_READ) = 0 munmap(0x76f32000, 83029) = 0 set_tid_address(0x76f86068) = 17563 set_robust_list(0x76f86070, 12) = 0
rt_sigaction(SIGRTMIN, {0x76d90434, [], SA_RESTORER|SA_SIGINFO, 0x76c791a0}, NUL L, 8) = 0
rt_sigaction(SIGRT_1, {0x76d902d8, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x76c7 91a0}, NULL, 8) = 0rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
brk(0) = 0xe2f000
brk(0xe50000) = 0xe50000open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=1607760, ...}) = 0 mmap2(NULL, 1607760, PROT_READ, MAP_PRIVATE, 3, 0) = 0x76ac1000
close(3) = 0
ioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0futex(0x76f1acac, FUTEX_WAKE_PRIVATE, 2147483647) = 0stat64("/usr/share/alsa/alsa.conf", {st_mode=S_IFREG|0644, st_size=9316, ...}) = 0open("/usr/share/alsa/alsa.conf", O_RDONLY) = 3fstat64(3, {st_mode=S_IFREG|0644, st_size=9316, ...}) = 0mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x76 f85000read(3, "#n# ALSA library configuration "..., 4096) = 4096 read(3, "unc referntttname defaults.nameh"..., 4096) = 4096 read(3, "aults.hwdep.devicenttt}ntt}nt}nt"..., 4096) = 1124
read(3, "", 4096) = 0 read(3, "", 4096) = 0 close(3) = 0 munmap(0x76f85000, 4096) = 0
futex(0x76dc50ac, FUTEX_WAKE_PRIVATE, 2147483647) = 0 access("/usr/share/alsa/alsa.conf.d/", R_OK) = 0
stat64("/usr/share/alsa/alsa.conf.d/", {st_mode=S_IFDIR|0755, st_size=4096, ...} ) = 0
openat(AT_FDCWD, "/usr/share/alsa/alsa.conf.d/", O_RDONLY|O_NONBLOCK|O_LARGEFILE |O_DIRECTORY|O_CLOEXEC) = 3
fcntl64(3, F_GETFD) = 0x1 (flags FD_CLOEXEC) getdents(3, /* 6 entries */, 32768) = 156 getdents(3, /* 0 entries */, 32768) = 0 close(3) = 0
open("/usr/share/alsa/alsa.conf.d//50-pulseaudio.conf", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=216, ...}) = 0mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x76 f85000read(3, "# Add a specific named PulseAudi"..., 4096) = 216
read(3, "", 4096) = 0 read(3, "", 4096) = 0 close(3) = 0 munmap(0x76f85000, 4096) = 0
open("/usr/share/alsa/alsa.conf.d//pulse.conf", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=376, ...}) = 0mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x76 f85000read(3, "# PulseAudio alsa plugin configu"..., 4096) = 376
read(3, "", 4096) = 0
read(3, "", 4096) = 0
close(3) = 0
munmap(0x76f85000, 4096) = 0
access("/etc/asound.conf", R_OK) = -1 ENOENT (No such file or directory)
access("/home/pi/.asoundrc", R_OK) = -1 ENOENT (No such file or directory)open("/usr/lib/arm-linux-gnueabihf/alsa-lib/libasound_module_conf_pulse.so", O_R DONLY|O_CLOEXEC) = 3
read(3, "177ELF1113(10087004"..., 5 12) = 512lseek(3, 4436, SEEK_SET) = 4436
read(3, ""..., 9 60) = 960lseek(3, 4180, SEEK_SET) = 4180read(3, "A.aeabi1$05666101t1n222424125"..., 47) = 47fstat64(3, {st_mode=S_IFREG|0644, st_size=5396, ...}) = 0mmap2(NULL, 69720, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x76f 35000mprotect(0x76f36000, 61440, PROT_NONE) = 0
mmap2(0x76f45000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRIT E, 3, 0) = 0x76f45000
close(3) = 0open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3fstat64(3, {st_mode=S_IFREG|0644, st_size=83029, ...}) = 0 mmap2(NULL, 83029, PROT_READ, MAP_PRIVATE, 3, 0) = 0x76aac000
close(3) = 0access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)open("/usr/lib/arm-linux-gnueabihf/libpulse.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "177ELF1113(1200217004"... , 512) = 512lseek(3, 285016, SEEK_SET) = 285016
read(3, ""..., 1 360) = 1360lseek(3, 284124, SEEK_SET) = 284124read(3, "A.aeabi1$05666101t1n222424125"..., 47) = 47fstat64(3, {st_mode=S_IFREG|0644, st_size=286376, ...}) = 0mmap2(NULL, 349688, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x76 a56000mprotect(0x76a9a000, 65536, PROT_NONE) = 0
mmap2(0x76aaa000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRIT E, 3, 0x44000) = 0x76aaa000
close(3) = 0
open("/usr/lib/arm-linux-gnueabihf/pulseaudio/tls/v7l/neon/vfp/libjson-c.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)stat64("/usr/lib/arm-linux-gnueabihf/pulseaudio/tls/v7l/neon/vfp", 0x7e99d398) = -1 ENOENT (No such file or directory)
open("/usr/lib/arm-linux-gnueabihf/pulseaudio/tls/v7l/neon/libjson-c.so.2", O_RD ONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/arm-linux-gnueabihf/pulseaudio/tls/v7l/neon", 0x7e99d398) = -1 ENOENT (No such file or directory)
open("/usr/lib/arm-linux-gnueabihf/pulseaudio/tls/v7l/vfp/libjson-c.so.2", O_RDO NLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/arm-linux-gnueabihf/pulseaudio/tls/v7l/vfp", 0x7e99d398) = -1 E NOENT (No such file or directory)
open("/usr/lib/arm-linux-gnueabihf/pulseaudio/tls/v7l/libjson-c.so.2", O_RDONLY| O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/arm-linux-gnueabihf/pulseaudio/tls/v7l", 0x7e99d398) = -1 ENOEN T (No such file or directory)
open("/usr/lib/arm-linux-gnueabihf/pulseaudio/tls/neon/vfp/libjson-c.so.2", O_RD ONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/arm-linux-gnueabihf/pulseaudio/tls/neon/vfp", 0x7e99d398) = -1 ENOENT (No such file or directory)
open("/usr/lib/arm-linux-gnueabihf/pulseaudio/tls/neon/libjson-c.so.2", O_RDONLY |O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/arm-linux-gnueabihf/pulseaudio/tls/neon", 0x7e99d398) = -1 ENOE NT (No such file or directory)
open("/usr/lib/arm-linux-gnueabihf/pulseaudio/tls/vfp/libjson-c.so.2", O_RDONLY| O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/arm-linux-gnueabihf/pulseaudio/tls/vfp", 0x7e99d398) = -1 ENOEN T (No such file or directory)
open("/usr/lib/arm-linux-gnueabihf/pulseaudio/tls/libjson-c.so.2", O_RDONLY|O_CL OEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/arm-linux-gnueabihf/pulseaudio/tls", 0x7e99d398) = -1 ENOENT (N o such file or directory)
open("/usr/lib/arm-linux-gnueabihf/pulseaudio/v7l/neon/vfp/libjson-c.so.2", O_RD ONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/arm-linux-gnueabihf/pulseaudio/v7l/neon/vfp", 0x7e99d398) = -1 ENOENT (No such file or directory)
open("/usr/lib/arm-linux-gnueabihf/pulseaudio/v7l/neon/libjson-c.so.2", O_RDONLY |O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/arm-linux-gnueabihf/pulseaudio/v7l/neon", 0x7e99d398) = -1 ENOE NT (No such file or directory)
open("/usr/lib/arm-linux-gnueabihf/pulseaudio/v7l/vfp/libjson-c.so.2", O_RDONLY| O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/arm-linux-gnueabihf/pulseaudio/v7l/vfp", 0x7e99d398) = -1 ENOEN T (No such file or directory)
open("/usr/lib/arm-linux-gnueabihf/pulseaudio/v7l/libjson-c.so.2", O_RDONLY|O_CL OEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/arm-linux-gnueabihf/pulseaudio/v7l", 0x7e99d398) = -1 ENOENT (N o such file or directory)
open("/usr/lib/arm-linux-gnueabihf/pulseaudio/neon/vfp/libjson-c.so.2", O_RDONLY |O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/arm-linux-gnueabihf/pulseaudio/neon/vfp", 0x7e99d398) = -1 ENOE NT (No such file or directory)
open("/usr/lib/arm-linux-gnueabihf/pulseaudio/neon/libjson-c.so.2", O_RDONLY|O_C LOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/arm-linux-gnueabihf/pulseaudio/neon", 0x7e99d398) = -1 ENOENT ( No such file or directory)
open("/usr/lib/arm-linux-gnueabihf/pulseaudio/vfp/libjson-c.so.2", O_RDONLY|O_CL OEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/arm-linux-gnueabihf/pulseaudio/vfp", 0x7e99d398) = -1 ENOENT (N o such file or directory)
open("/usr/lib/arm-linux-gnueabihf/pulseaudio/libjson-c.so.2", O_RDONLY|O_CLOEXE C) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/arm-linux-gnueabihf/pulseaudio", {st_mode=S_IFDIR|0755, st_size =4096, ...}) = 0access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)open("/lib/arm-linux-gnueabihf/libjson-c.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "177ELF1113(1008"004"..., 5 12) = 512lseek(3, 33612, SEEK_SET) = 33612
read(3, ""..., 1 040) = 1040lseek(3, 33276, SEEK_SET) = 33276read(3, "A.aeabi1$05666101t1n222424125"..., 47) = 47fstat64(3, {st_mode=S_IFREG|0644, st_size=34652, ...}) = 0mmap2(NULL, 66064, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x76a 45000mprotect(0x76a4d000, 28672, PROT_NONE) = 0
mmap2(0x76a54000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRIT E, 3, 0x7000) = 0x76a54000
close(3) = 0
open("/usr/lib/arm-linux-gnueabihf/pulseaudio/libpulsecommon-5.0.so", O_RDONLY|O _CLOEXEC) = 3
read(3, "177ELF1113(1220362004"... , 512) = 512lseek(3, 421296, SEEK_SET) = 421296
read(3, ""..., 1 080) = 1080lseek(3, 420948, SEEK_SET) = 420948read(3, "A0aeabi1&05666101t1n222423124"..., 49) = 49fstat64(3, {st_mode=S_IFREG|0644, st_size=422376, ...}) = 0mmap2(NULL, 486816, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x76 9ce000mprotect(0x76a34000, 61440, PROT_NONE) = 0
mmap2(0x76a43000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRIT E, 3, 0x65000) = 0x76a43000
close(3) = 0
open("/usr/lib/arm-linux-gnueabihf/pulseaudio/libdbus-1.so.3", O_RDONLY|O_CLOEXE C) = -1 ENOENT (No such file or directory)access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)open("/lib/arm-linux-gnueabihf/libdbus-1.so.3", O_RDONLY|O_CLOEXEC) = 3
read(3, "177ELF1113(1370U004"..., 5 12) = 512lseek(3, 243080, SEEK_SET) = 243080
read(3, ""..., 1 040) = 1040lseek(3, 242744, SEEK_SET) = 242744read(3, "A.aeabi1$05666101t1n222424125"..., 47) = 47fstat64(3, {st_mode=S_IFREG|0644, st_size=244120, ...}) = 0mmap2(NULL, 308524, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x76 982000mprotect(0x769bd000, 61440, PROT_NONE) = 0
mmap2(0x769cc000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRIT E, 3, 0x3a000) = 0x769cc000
close(3) = 0open("/usr/lib/arm-linux-gnueabihf/pulseaudio/libcap.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)open("/lib/arm-linux-gnueabihf/libcap.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "177ELF1113(1417004"..., 5 12) = 512lseek(3, 12928, SEEK_SET) = 12928
read(3, ""..., 1 000) = 1000lseek(3, 12604, SEEK_SET) = 12604read(3, "A.aeabi1$05666101t1n222424125"..., 47) = 47fstat64(3, {st_mode=S_IFREG|0644, st_size=13928, ...}) = 0mmap2(NULL, 78144, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x769 6e000mprotect(0x76971000, 61440, PROT_NONE) = 0
mmap2(0x76980000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRIT E, 3, 0x2000) = 0x76980000
close(3) = 0
open("/usr/lib/arm-linux-gnueabihf/pulseaudio/libX11-xcb.so.1", O_RDONLY|O_CLOEX EC) = -1 ENOENT (No such file or directory)access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)open("/usr/lib/arm-linux-gnueabihf/libX11-xcb.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "177ELF1113(1x4004"..., 512 ) = 512lseek(3, 4428, SEEK_SET) = 4428
read(3, ""..., 9 60) = 960lseek(3, 4140, SEEK_SET) = 4140read(3, "A.aeabi1$05666101t1n222424125"..., 47) = 47fstat64(3, {st_mode=S_IFREG|0644, st_size=5388, ...}) = 0mmap2(NULL, 36912, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x76f 7c000mprotect(0x76f7d000, 28672, PROT_NONE) = 0
mmap2(0x76f84000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRIT E, 3, 0) = 0x76f84000
close(3) = 0open("/usr/lib/arm-linux-gnueabihf/pulseaudio/libX11.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)open("/usr/lib/arm-linux-gnueabihf/libX11.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "177ELF1113(1008:1004"..., 51 2) = 512lseek(3, 1103548, SEEK_SET) = 1103548
read(3, ""..., 1 040) = 1040lseek(3, 1103244, SEEK_SET) = 1103244read(3, "A.aeabi1$05666101t1n222424125"..., 47) = 47fstat64(3, {st_mode=S_IFREG|0644, st_size=1104588, ...}) = 0mmap2(NULL, 1137152, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7 6858000mprotect(0x76963000, 28672, PROT_NONE) = 0
mmap2(0x7696a000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRI TE, 3, 0x10a000) = 0x7696a000
close(3) = 0open("/usr/lib/arm-linux-gnueabihf/pulseaudio/libxcb.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)open("/usr/lib/arm-linux-gnueabihf/libxcb.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "177ELF1113(1254200004"... , 512) = 512lseek(3, 90904, SEEK_SET) = 90904
read(3, ""..., 1 040) = 1040lseek(3, 90568, SEEK_SET) = 90568read(3, "A.aeabi1$05666101t1n222424125"..., 47) = 47fstat64(3, {st_mode=S_IFREG|0644, st_size=91944, ...}) = 0mmap2(NULL, 123404, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x76 839000mprotect(0x7684f000, 28672, PROT_NONE) = 0
mmap2(0x76856000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRIT E, 3, 0x15000) = 0x76856000
close(3) = 0open("/usr/lib/arm-linux-gnueabihf/pulseaudio/libICE.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)open("/usr/lib/arm-linux-gnueabihf/libICE.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "177ELF1113(1l4004"..., 512) = 512lseek(3, 79312, SEEK_SET) = 79312
read(3, ""..., 1 040) = 1040lseek(3, 78976, SEEK_SET) = 78976read(3, "A.aeabi1$05666101t1n222424125"..., 47) = 47fstat64(3, {st_mode=S_IFREG|0644, st_size=80352, ...}) = 0mmap2(NULL, 119304, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x76 81b000mprotect(0x7682e000, 28672, PROT_NONE) = 0
mmap2(0x76835000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRIT E, 3, 0x12000) = 0x76835000 mmap2(0x76837000, 4616, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOU S, -1, 0) = 0x76837000
close(3) = 0open("/usr/lib/arm-linux-gnueabihf/pulseaudio/libSM.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)open("/usr/lib/arm-linux-gnueabihf/libSM.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "177ELF1113(120424004"..., 512) = 512lseek(3, 25160, SEEK_SET) = 25160
read(3, ""..., 1 000) = 1000lseek(3, 24836, SEEK_SET) = 24836read(3, "A.aeabi1$05666101t1n222424125"..., 47) = 47fstat64(3, {st_mode=S_IFREG|0644, st_size=26160, ...}) = 0mmap2(NULL, 57624, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x768 0c000mprotect(0x76812000, 28672, PROT_NONE) = 0
mmap2(0x76819000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRIT E, 3, 0x5000) = 0x76819000
close(3) = 0open("/usr/lib/arm-linux-gnueabihf/pulseaudio/libXtst.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)open("/usr/lib/arm-linux-gnueabihf/libXtst.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "177ELF1113(1T21004"..., 51 2) = 512lseek(3, 16928, SEEK_SET) = 16928
read(3, ""..., 1 040) = 1040lseek(3, 16632, SEEK_SET) = 16632read(3, "A.aeabi1$05666101t1n222424125"..., 47) = 47fstat64(3, {st_mode=S_IFREG|0644, st_size=17968, ...}) = 0mmap2(NULL, 49432, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x767 ff000mprotect(0x76803000, 28672, PROT_NONE) = 0
mmap2(0x7680a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRIT E, 3, 0x3000) = 0x7680a000
close(3) = 0
open("/usr/lib/arm-linux-gnueabihf/pulseaudio/libsystemd.so.0", O_RDONLY|O_CLOEX EC) = -1 ENOENT (No such file or directory)access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)open("/lib/arm-linux-gnueabihf/libsystemd.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "177ELF1113(12502004"..., 5 12) = 512lseek(3, 131460, SEEK_SET) = 131460
read(3, ""..., 1 160) = 1160lseek(3, 131088, SEEK_SET) = 131088read(3, "A0aeabi1&05666101t1n222423124"..., 49) = 49fstat64(3, {st_mode=S_IFREG|0644, st_size=132620, ...}) = 0mmap2(NULL, 198720, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x76 7ce000mprotect(0x767ed000, 65536, PROT_NONE) = 0
mmap2(0x767fd000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRIT E, 3, 0x1f000) = 0x767fd000
close(3) = 0open("/usr/lib/arm-linux-gnueabihf/pulseaudio/libwrap.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)open("/lib/arm-linux-gnueabihf/libwrap.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "177ELF1113(123035004"..., 512) = 512lseek(3, 26164, SEEK_SET) = 26164
read(3, ""..., 9 60) = 960lseek(3, 25908, SEEK_SET) = 25908read(3, "A.aeabi1$05666101t1n222424125"..., 47) = 47fstat64(3, {st_mode=S_IFREG|0644, st_size=27124, ...}) = 0mmap2(NULL, 61120, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x767 bf000mprotect(0x767c5000, 32768, PROT_NONE) = 0
mmap2(0x767cd000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRIT E, 3, 0x6000) = 0x767cd000
close(3) = 0
open("/usr/lib/arm-linux-gnueabihf/pulseaudio/libsndfile.so.1", O_RDONLY|O_CLOEX EC) = -1 ENOENT (No such file or directory)access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)open("/usr/lib/arm-linux-gnueabihf/libsndfile.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "177ELF1113(12303004"..., 5 12) = 512lseek(3, 353912, SEEK_SET) = 353912
read(3, ""..., 1 120) = 1120lseek(3, 353572, SEEK_SET) = 353572read(3, "A.aeabi1$05666101t1n222424125"..., 47) = 47fstat64(3, {st_mode=S_IFREG|0644, st_size=355032, ...}) = 0mmap2(NULL, 436872, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x76 754000mprotect(0x767a9000, 65536, PROT_NONE) = 0
mmap2(0x767b9000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRIT E, 3, 0x55000) = 0x767b9000
mmap2(0x767bb000, 14984, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMO US, -1, 0) = 0x767bb000
close(3) = 0
open("/usr/lib/arm-linux-gnueabihf/pulseaudio/libasyncns.so.0", O_RDONLY|O_CLOEX EC) = -1 ENOENT (No such file or directory)access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)open("/usr/lib/arm-linux-gnueabihf/libasyncns.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "177ELF1113(116004"..., 5 12) = 512lseek(3, 16820, SEEK_SET) = 16820
read(3, ""..., 9 60) = 960lseek(3, 16564, SEEK_SET) = 16564read(3, "A.aeabi1$05666101t1n222424125"..., 47) = 47fstat64(3, {st_mode=S_IFREG|0644, st_size=17780, ...}) = 0mmap2(NULL, 49336, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x767 47000mprotect(0x7674b000, 28672, PROT_NONE) = 0
mmap2(0x76752000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRIT E, 3, 0x3000) = 0x76752000
close(3) = 0open("/usr/lib/arm-linux-gnueabihf/pulseaudio/libattr.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)open("/lib/arm-linux-gnueabihf/libattr.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "177ELF1113(121016004"..., 512) = 512lseek(3, 16868, SEEK_SET) = 16868
read(3, ""..., 1 000) = 1000lseek(3, 16596, SEEK_SET) = 16596read(3, "A.aeabi1$05666101t1n222424125"..., 47) = 47fstat64(3, {st_mode=S_IFREG|0644, st_size=17868, ...}) = 0mmap2(NULL, 82140, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x767 32000mprotect(0x76736000, 61440, PROT_NONE) = 0
mmap2(0x76745000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRIT E, 3, 0x3000) = 0x76745000
close(3) = 0open("/usr/lib/arm-linux-gnueabihf/pulseaudio/libXau.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)open("/usr/lib/arm-linux-gnueabihf/libXau.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "177ELF1113(1|v004"..., 512 ) = 512lseek(3, 8644, SEEK_SET) = 8644
read(3, ""..., 1 040) = 1040lseek(3, 8348, SEEK_SET) = 8348
read(3, "A2aeabi1(05666101t1n222423124"..., 51) = 51fstat64(3, {st_mode=S_IFREG|0644, st_size=9684, ...}) = 0mmap2(NULL, 41132, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x767 27000mprotect(0x76729000, 28672, PROT_NONE) = 0
mmap2(0x76730000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRIT E, 3, 0x1000) = 0x76730000
close(3) = 0
open("/usr/lib/arm-linux-gnueabihf/pulseaudio/libXdmcp.so.6", O_RDONLY|O_CLOEXEC ) = -1 ENOENT (No such file or directory)access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)open("/usr/lib/arm-linux-gnueabihf/libXdmcp.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "177ELF1113(1l17004"..., 51 2) = 512lseek(3, 14360, SEEK_SET) = 14360
read(3, ""..., 1 040) = 1040lseek(3, 14064, SEEK_SET) = 14064read(3, "A0aeabi1&05666101t1n222424125"..., 49) = 49fstat64(3, {st_mode=S_IFREG|0644, st_size=15400, ...}) = 0mmap2(NULL, 46836, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x767 1b000mprotect(0x7671f000, 28672, PROT_NONE) = 0
mmap2(0x76726000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRIT E, 3, 0x3000) = 0x76726000
close(3) = 0open("/usr/lib/arm-linux-gnueabihf/pulseaudio/libuuid.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)open("/lib/arm-linux-gnueabihf/libuuid.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "177ELF1113(1417004"..., 5 12) = 512lseek(3, 12836, SEEK_SET) = 12836
read(3, ""..., 1 160) = 1160lseek(3, 12528, SEEK_SET) = 12528read(3, "A.aeabi1$05666101t1n222424125"..., 47) = 47fstat64(3, {st_mode=S_IFREG|0644, st_size=13996, ...}) = 0mmap2(NULL, 78080, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x767 07000mprotect(0x7670a000, 61440, PROT_NONE) = 0
mmap2(0x76719000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRIT E, 3, 0x2000) = 0x76719000
close(3) = 0open("/usr/lib/arm-linux-gnueabihf/pulseaudio/libXext.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)open("/usr/lib/arm-linux-gnueabihf/libXext.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "177ELF1113(1200(004"..., 5 12) = 512lseek(3, 58548, SEEK_SET) = 58548
read(3, ""..., 1 040) = 1040lseek(3, 58240, SEEK_SET) = 58240read(3, "A.aeabi1$05666101t1n222424125"..., 47) = 47fstat64(3, {st_mode=S_IFREG|0644, st_size=59588, ...}) = 0mmap2(NULL, 124060, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x76 6e8000mprotect(0x766f6000, 61440, PROT_NONE) = 0
mmap2(0x76705000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRIT E, 3, 0xd000) = 0x76705000
close(3) = 0open("/usr/lib/arm-linux-gnueabihf/pulseaudio/libXi.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)open("/usr/lib/arm-linux-gnueabihf/libXi.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "177ELF1113(127031004"..., 512) = 512lseek(3, 49688, SEEK_SET) = 49688
read(3, ""..., 1 040) = 1040lseek(3, 49384, SEEK_SET) = 49384read(3, "A.aeabi1$05666101t1n222424125"..., 47) = 47fstat64(3, {st_mode=S_IFREG|0644, st_size=50728, ...}) = 0mmap2(NULL, 82256, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x766 d3000mprotect(0x766df000, 28672, PROT_NONE) = 0
mmap2(0x766e6000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRIT E, 3, 0xb000) = 0x766e6000
close(3) = 0open("/usr/lib/arm-linux-gnueabihf/pulseaudio/liblzma.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)open("/lib/arm-linux-gnueabihf/liblzma.so.5", O_RDONLY|O_CLOEXEC) = 3
read(3, "177ELF1113(1H37004"..., 51 2) = 512lseek(3, 123512, SEEK_SET) = 123512
read(3, ""..., 1 080) = 1080lseek(3, 123224, SEEK_SET) = 123224read(3, "A0aeabi1&05666101t1n222424125"..., 49) = 49fstat64(3, {st_mode=S_IFREG|0644, st_size=124592, ...}) = 0mmap2(NULL, 155996, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x76 6ac000mprotect(0x766ca000, 28672, PROT_NONE) = 0
mmap2(0x766d1000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRIT E, 3, 0x1d000) = 0x766d1000
close(3) = 0
open("/usr/lib/arm-linux-gnueabihf/pulseaudio/libgcrypt.so.20", O_RDONLY|O_CLOEX EC) = -1 ENOENT (No such file or directory)access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)open("/lib/arm-linux-gnueabihf/libgcrypt.so.20", O_RDONLY|O_CLOEXEC) = 3
read(3, "177ELF1113(1O004"..., 512 ) = 512lseek(3, 598204, SEEK_SET) = 598204
read(3, ""..., 1 120) = 1120lseek(3, 597844, SEEK_SET) = 597844read(3, "A,aeabi1"05666101t1n222424125"..., 45) = 45fstat64(3, {st_mode=S_IFREG|0644, st_size=599324, ...}) = 0mmap2(NULL, 664140, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x76 609000mprotect(0x76697000, 61440, PROT_NONE) = 0
mmap2(0x766a6000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRI TE, 3, 0x8d000) = 0x766a6000
mmap2(0x766ab000, 588, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS , -1, 0) = 0x766ab000
close(3) = 0
open("/usr/lib/arm-linux-gnueabihf/pulseaudio/libresolv.so.2", O_RDONLY|O_CLOEXE C) = -1 ENOENT (No such file or directory)access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)open("/lib/arm-linux-gnueabihf/libresolv.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "177ELF1113(1@%004"..., 512) = 512lseek(3, 74444, SEEK_SET) = 74444
read(3, ""..., 1 200) = 1200lseek(3, 74096, SEEK_SET) = 74096read(3, "A0aeabi1&05666101t1n222423124"..., 49) = 49fstat64(3, {st_mode=S_IFREG|0644, st_size=75644, ...}) = 0mmap2(NULL, 149428, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x76 5e4000mprotect(0x765f6000, 61440, PROT_NONE) = 0
mmap2(0x76605000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRIT E, 3, 0x11000) = 0x76605000 mmap2(0x76607000, 6068, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOU S, -1, 0) = 0x76607000
close(3) = 0open("/usr/lib/arm-linux-gnueabihf/pulseaudio/libnsl.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)open("/lib/arm-linux-gnueabihf/libnsl.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "177ELF1113(1@/004"..., 512) = 512lseek(3, 70468, SEEK_SET) = 70468
read(3, ""..., 1 160) = 1160lseek(3, 70136, SEEK_SET) = 70136read(3, "A0aeabi1&05666101t1n222423124"..., 49) = 49fstat64(3, {st_mode=S_IFREG|0644, st_size=71628, ...}) = 0mmap2(NULL, 145152, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x76 5c0000mprotect(0x765d1000, 61440, PROT_NONE) = 0
mmap2(0x765e0000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRIT E, 3, 0x10000) = 0x765e0000 mmap2(0x765e2000, 5888, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOU S, -1, 0) = 0x765e2000
close(3) = 0open("/usr/lib/arm-linux-gnueabihf/pulseaudio/libFLAC.so.8", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)open("/usr/lib/arm-linux-gnueabihf/libFLAC.so.8", O_RDONLY|O_CLOEXEC) = 3
read(3, "177ELF1113(1250j004"..., 5 12) = 512lseek(3, 177388, SEEK_SET) = 177388
read(3, ""..., 1 040) = 1040lseek(3, 177108, SEEK_SET) = 177108read(3, "A.aeabi1$05666101t1n222424125"..., 47) = 47fstat64(3, {st_mode=S_IFREG|0644, st_size=178428, ...}) = 0mmap2(NULL, 242648, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x76 584000mprotect(0x765af000, 61440, PROT_NONE) = 0
mmap2(0x765be000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRIT E, 3, 0x2a000) = 0x765be000
close(3) = 0
open("/usr/lib/arm-linux-gnueabihf/pulseaudio/libvorbisenc.so.2", O_RDONLY|O_CLO EXEC) = -1 ENOENT (No such file or directory)access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)open("/usr/lib/arm-linux-gnueabihf/libvorbisenc.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "177ELF1113(1@m004"..., 512) = 512lseek(3, 528836, SEEK_SET) = 528836
read(3, ""..., 1 040) = 1040lseek(3, 528500, SEEK_SET) = 528500read(3, "A.aeabi1$05666101t1n222424125"..., 47) = 47fstat64(3, {st_mode=S_IFREG|0644, st_size=529876, ...}) = 0mmap2(NULL, 594040, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x76 4f2000mprotect(0x76567000, 65536, PROT_NONE) = 0
mmap2(0x76577000, 53248, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRI TE, 3, 0x75000) = 0x76577000
close(3) = 0
open("/usr/lib/arm-linux-gnueabihf/pulseaudio/libgpg-error.so.0", O_RDONLY|O_CLO EXEC) = -1 ENOENT (No such file or directory)access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)open("/lib/arm-linux-gnueabihf/libgpg-error.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "177ELF1113(134034004"..., 512) = 512lseek(3, 53840, SEEK_SET) = 53840
read(3, ""..., 1 080) = 1080lseek(3, 53544, SEEK_SET) = 53544read(3, "A0aeabi1&05666101t1n222423124"..., 49) = 49fstat64(3, {st_mode=S_IFREG|0644, st_size=54920, ...}) = 0mmap2(NULL, 119120, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x76 4d4000mprotect(0x764e1000, 61440, PROT_NONE) = 0
mmap2(0x764f0000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRIT E, 3, 0xc000) = 0x764f0000
close(3) = 0open("/usr/lib/arm-linux-gnueabihf/pulseaudio/libogg.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)open("/usr/lib/arm-linux-gnueabihf/libogg.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "177ELF1113(1(24004"..., 51 2) = 512lseek(3, 20776, SEEK_SET) = 20776
read(3, ""..., 1 000) = 1000lseek(3, 20484, SEEK_SET) = 20484read(3, "A.aeabi1$05666101t1n222424125"..., 47) = 47fstat64(3, {st_mode=S_IFREG|0644, st_size=21776, ...}) = 0mmap2(NULL, 53256, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x764 c6000mprotect(0x764cb000, 28672, PROT_NONE) = 0
mmap2(0x764d2000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRIT E, 3, 0x4000) = 0x764d2000
close(3) = 0
open("/usr/lib/arm-linux-gnueabihf/pulseaudio/libvorbis.so.0", O_RDONLY|O_CLOEXE C) = -1 ENOENT (No such file or directory)access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)open("/usr/lib/arm-linux-gnueabihf/libvorbis.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "177ELF1113(120'004"..., 51 2) = 512lseek(3, 160540, SEEK_SET) = 160540
read(3, ""..., 1 040) = 1040lseek(3, 160204, SEEK_SET) = 160204read(3, "A.aeabi1$05666101t1n222424125"..., 47) = 47fstat64(3, {st_mode=S_IFREG|0644, st_size=161580, ...}) = 0mmap2(NULL, 225744, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x76 48e000mprotect(0x764b5000, 61440, PROT_NONE) = 0
mmap2(0x764c4000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRIT E, 3, 0x26000) = 0x764c4000
close(3) = 0 mprotect(0x764d2000, 4096, PROT_READ) = 0 mprotect(0x764c4000, 4096, PROT_READ) = 0 mprotect(0x764f0000, 4096, PROT_READ) = 0 mprotect(0x76577000, 49152, PROT_READ) = 0 mprotect(0x765be000, 4096, PROT_READ) = 0 mprotect(0x765e0000, 4096, PROT_READ) = 0 mprotect(0x76605000, 4096, PROT_READ) = 0 mprotect(0x766a6000, 4096, PROT_READ) = 0 mprotect(0x766d1000, 4096, PROT_READ) = 0 mprotect(0x76730000, 4096, PROT_READ) = 0 mprotect(0x76856000, 4096, PROT_READ) = 0 mprotect(0x7696a000, 4096, PROT_READ) = 0 mprotect(0x76705000, 4096, PROT_READ) = 0 mprotect(0x766e6000, 4096, PROT_READ) = 0 mprotect(0x76719000, 4096, PROT_READ) = 0 mprotect(0x76745000, 4096, PROT_READ) = 0 mprotect(0x76752000, 4096, PROT_READ) = 0 mprotect(0x767b9000, 4096, PROT_READ) = 0 mprotect(0x767fd000, 4096, PROT_READ) = 0 mprotect(0x7680a000, 4096, PROT_READ) = 0 mprotect(0x76835000, 4096, PROT_READ) = 0 mprotect(0x76819000, 4096, PROT_READ) = 0 mprotect(0x76f84000, 4096, PROT_READ) = 0 mprotect(0x76980000, 4096, PROT_READ) = 0 mprotect(0x769cc000, 4096, PROT_READ) = 0 mprotect(0x76a54000, 4096, PROT_READ) = 0 mprotect(0x76a43000, 4096, PROT_READ) = 0 mprotect(0x76aaa000, 4096, PROT_READ) = 0 mprotect(0x76f45000, 4096, PROT_READ) = 0 munmap(0x76aac000, 83029) = 0 pipe2([3, 4], O_CLOEXEC) = 0 fcntl64(3, F_GETFD) = 0x1 (flags FD_CLOEXEC) fcntl64(4, F_GETFD) = 0x1 (flags FD_CLOEXEC) fcntl64(3, F_GETFL) = 0 (flags O_RDONLY)
fcntl64(3, F_SETFL, O_RDONLY|O_NONBLOCK) = 0fcntl64(4, F_GETFL) = 0x1 (flags O_WRONLY)fcntl64(4, F_SETFL, O_WRONLY|O_NONBLOCK) = 0open("/home/pi/.pulse/client.conf", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)open("/home/pi/.config/pulse/client.conf", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 5fcntl64(5, F_GETFD) = 0x1 (flags FD_CLOEXEC)fstat64(5, {st_mode=S_IFREG|0644, st_size=42, ...}) = 0mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x76 f34000read(5, "autospawn = nondaemon-binary = /"..., 4096) = 42read(5, "", 4096) = 0open("/home/pi/.config/pulse/cookie", O_RDONLY|O_NOCTTY|O_LARGEFILE|O_CLOEXEC) = 6fcntl64(6, F_GETFD) = 0x1 (flags FD_CLOEXEC)
fcntl64(6, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}, 0x7e99dc a8) = -1 EBADF (Bad file descriptor)
fcntl64(6, F_SETLKW64, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}, 0x7e99dc a8) = 0
read(6, "2353603461?268204U334k25611322y_260;3665247~zd17312322 263326367327"..., 256) = 256
fcntl64(6, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}, 0x7e99dc a8) = 0
close(6) = 0 close(5) = 0 munmap(0x76f34000, 4096) = 0 openat(AT_FDCWD, "/dev/shm/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOE XEC) = 5 getdents64(5, /* 2 entries */, 32768) = 48 getdents64(5, /* 0 entries */, 32768) = 0 close(5) = 0
open("/dev/urandom", O_RDONLY|O_NOCTTY|O_LARGEFILE|O_CLOEXEC) = 5fcntl64(5, F_GETFD) = 0x1 (flags FD_CLOEXEC)read(5, "C271k27", 4) = 4
close(5) = 0
statfs("/dev/shm/", {f_type=0x1021994, f_bsize=4096, f_blocks=118189, f_bfree=11 8189, f_bavail=118189, f_files=118189, f_ffree=118188, f_fsid={0, 0}, f_namelen= 255, f_frsize=4096}) = 0futex(0x76f311e8, FUTEX_WAKE_PRIVATE, 2147483647) = 0
open("/dev/shm/pulse-shm-392935747", O_RDWR|O_CREAT|O_EXCL|O_NOFOLLOW|O_CLOEXEC, 0700) = 5fcntl64(5, F_GETFD) = 0x1 (flags FD_CLOEXEC)ftruncate64(5, 67108904) = 0mmap2(NULL, 67112960, PROT_READ|PROT_WRITE, MAP_SHARED|MAP_NORESERVE, 5, 0) = 0x 7248d000
close(5) = 0open("/usr/share/locale/locale.alias", O_RDONLY|O_CLOEXEC) = 5 fstat64(5, {st_mode=S_IFREG|0644, st_size=2492, ...}) = 0mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x76 f34000read(5, "# Locale name alias data base.n#"..., 4096) = 2492
read(5, "", 4096) = 0
close(5) = 0
munmap(0x76f34000, 4096) = 0
open("/usr/share/locale/en_GB.UTF-8/LC_MESSAGES/pulseaudio.mo", O_RDONLY) = -1 E NOENT (No such file or directory)
open("/usr/share/locale/en_GB.utf8/LC_MESSAGES/pulseaudio.mo", O_RDONLY) = -1 EN OENT (No such file or directory)
open("/usr/share/locale/en_GB/LC_MESSAGES/pulseaudio.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en.UTF-8/LC_MESSAGES/pulseaudio.mo", O_RDONLY) = -1 ENOE NT (No such file or directory)
open("/usr/share/locale/en.utf8/LC_MESSAGES/pulseaudio.mo", O_RDONLY) = -1 ENOEN T (No such file or directory)open("/usr/share/locale/en/LC_MESSAGES/pulseaudio.mo", O_RDONLY) = -1 ENOENT (No such file or directory)readlink("/proc/self/exe", "/usr/bin/aplay", 99) = 14 open("/usr/lib/arm-linux-gnueabihf/gconv/gconv-modules.cache", O_RDONLY) = 5 fstat64(5, {st_mode=S_IFREG|0644, st_size=26262, ...}) = 0 mmap2(NULL, 26262, PROT_READ, MAP_SHARED, 5, 0) = 0x76aba000
close(5) = 0futex(0x76d87ef4, FUTEX_WAKE_PRIVATE, 2147483647) = 0
umask(077) = 022
mkdir("/run/user/1000/pulse", 0700) = -1 EEXIST (File exists)
umask(022) = 077
open("/run/user/1000/pulse", O_RDONLY|O_NOCTTY|O_LARGEFILE|O_NOFOLLOW|O_CLOEXEC) = 5
fstat64(5, {st_mode=S_IFDIR|0700, st_size=40, ...}) = 0
getuid32() = 1000
getgid32() = 1000
fchown32(5, 1000, 1000) = 0
fchmod(5, 0700) = 0
close(5) = 0lstat64("/run/user/1000/pulse", {st_mode=S_IFDIR|0700, st_size=40, ...}) = 0 lstat64("/run", {st_mode=S_IFDIR|0755, st_size=800, ...}) = 0 lstat64("/run/user", {st_mode=S_IFDIR|0755, st_size=60, ...}) = 0 lstat64("/run/user/1000", {st_mode=S_IFDIR|0700, st_size=100, ...}) = 0 lstat64("/run/user/1000/pulse", {st_mode=S_IFDIR|0700, st_size=40, ...}) = 0 socket(PF_LOCAL, SOCK_STREAM|SOCK_CLOEXEC, 0) = 5fcntl64(5, F_GETFD) = 0x1 (flags FD_CLOEXEC)setsockopt(5, SOL_SOCKET, SO_PRIORITY, [6], 4) = 0fcntl64(5, F_GETFL) = 0x2 (flags O_RDWR)fcntl64(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
connect(5, {sa_family=AF_LOCAL, sun_path="/run/user/1000/pulse/native"}, 110) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_GB.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_GB.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT ( No such file or directory)open("/usr/share/locale/en_GB/LC_MESSAGES/libc.mo", O_RDONLY) = 6 fstat64(6, {st_mode=S_IFREG|0644, st_size=1474, ...}) = 0 mmap2(NULL, 1474, PROT_READ, MAP_PRIVATE, 6, 0) = 0x76f34000
close(6) = 0open("/usr/share/locale/en.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)open("/usr/share/locale/en.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)open("/usr/share/locale/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
close(5) = 0socket(PF_LOCAL, SOCK_STREAM|SOCK_CLOEXEC, 0) = 5fcntl64(5, F_GETFD) = 0x1 (flags FD_CLOEXEC)setsockopt(5, SOL_SOCKET, SO_PRIORITY, [6], 4) = 0fcntl64(5, F_GETFL) = 0x2 (flags O_RDWR)fcntl64(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0connect(5, {sa_family=AF_LOCAL, sun_path="/var/run/pulse/native"}, 110) = -1 ENO ENT (No such file or directory)
close(5) = 0
munmap(0x7248d000, 67112960) = 0
unlink("/dev/shm/pulse-shm-392935747") = 0
close(3) = 0
close(4) = 0
munmap(0x76f35000, 69720) = 0stat64("/usr/share/alsa/cards/aliases.conf", {st_mode=S_IFREG|0644, st_size=1405 , ...}) = 0open("/usr/share/alsa/cards/aliases.conf", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=1405, ...}) = 0mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x76 f46000read(3, "#n# Define aliases for various "..., 4096) = 1405 open("/usr/share/alsa/pcm/default.conf", O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=762, ...}) = 0mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x76 f45000read(4, "#n# Default outputn#nnpcm.!defau"..., 4096) = 762
read(4, "", 4096) = 0 close(4) = 0 munmap(0x76f45000, 4096) = 0
open("/usr/share/alsa/pcm/dmix.conf", O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=1517, ...}) = 0mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x76 f45000read(4, "#n# dmix outputn#nnpcm.!dmix {nt"..., 4096) = 1517
read(4, "", 4096) = 0 close(4) = 0 munmap(0x76f45000, 4096) = 0
open("/usr/share/alsa/pcm/dsnoop.conf", O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=1532, ...}) = 0mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x76 f45000read(4, "#n# dsnoopn#nnpcm.!dsnoop {nt@ar"..., 4096) = 1532
read(4, "", 4096) = 0 close(4) = 0 munmap(0x76f45000, 4096) = 0 read(3, "", 4096) = 0 read(3, "", 4096) = 0 close(3) = 0 munmap(0x76f46000, 4096) = 0
open("/dev/snd/controlC0", O_RDONLY|O_CLOEXEC) = 3fcntl64(3, F_SETFD, FD_CLOEXEC) = 0ioctl(3, SNDRV_CTL_IOCTL_CARD_INFO or UI_DEV_CREATE, 0x7e99dce4) = 0
close(3) = 0stat64("/usr/share/alsa/alsa.conf", {st_mode=S_IFREG|0644, st_size=9316, ...}) = 0open("/dev/snd/controlC0", O_RDONLY|O_CLOEXEC) = 3fcntl64(3, F_SETFD, FD_CLOEXEC) = 0ioctl(3, SNDRV_CTL_IOCTL_CARD_INFO or UI_DEV_CREATE, 0x7e99da2c) = 0
close(3) = 0open("/dev/snd/controlC0", O_RDWR|O_CLOEXEC) = 3fcntl64(3, F_SETFD, FD_CLOEXEC) = 0ioctl(3, SNDRV_CTL_IOCTL_PVERSION or USBDEVFS_CONTROL, 0x7e99dd64) = 0 ioctl(3, SNDRV_CTL_IOCTL_CARD_INFO or UI_DEV_CREATE, 0x7e99dd38) = 0
close(3) = 0access("/usr/share/alsa/cards/HAWSNDCARD.conf", R_OK) = -1 ENOENT (No such file or directory)open("/dev/snd/controlC1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or dire ctory)open("/dev/aloadC1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)open("/dev/snd/controlC2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or dire ctory)open("/dev/aloadC2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)open("/dev/snd/controlC3", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or dire ctory)open("/dev/aloadC3", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)open("/dev/snd/controlC4", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or dire ctory)open("/dev/aloadC4", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)open("/dev/snd/controlC5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or dire ctory)open("/dev/aloadC5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)open("/dev/snd/controlC6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or dire ctory)open("/dev/aloadC6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)open("/dev/snd/controlC7", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or dire ctory)open("/dev/aloadC7", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)open("/dev/snd/controlC8", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or dire ctory)open("/dev/aloadC8", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)open("/dev/snd/controlC9", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or dire ctory)open("/dev/aloadC9", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/dev/snd/controlC10", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or dir ectory)
open("/dev/aloadC10", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory )
open("/dev/snd/controlC11", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or dir ectory)
open("/dev/aloadC11", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory )
open("/dev/snd/controlC12", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or dir ectory)
open("/dev/aloadC12", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory )
open("/dev/snd/controlC13", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or dir ectory)
open("/dev/aloadC13", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory )
open("/dev/snd/controlC14", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or dir ectory)
open("/dev/aloadC14", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory )
open("/dev/snd/controlC15", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or dir ectory)
open("/dev/aloadC15", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory )
open("/dev/snd/controlC16", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or dir ectory)
open("/dev/aloadC16", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory )
open("/dev/snd/controlC17", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or dir ectory)
open("/dev/aloadC17", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory )
open("/dev/snd/controlC18", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or dir ectory)
open("/dev/aloadC18", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory )
open("/dev/snd/controlC19", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or dir ectory)
open("/dev/aloadC19", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory )
open("/dev/snd/controlC20", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or dir ectory)
open("/dev/aloadC20", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory )
open("/dev/snd/controlC21", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or dir ectory)
open("/dev/aloadC21", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory )
open("/dev/snd/controlC22", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or dir ectory)
open("/dev/aloadC22", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory )
open("/dev/snd/controlC23", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or dir ectory)
open("/dev/aloadC23", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory )
open("/dev/snd/controlC24", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or dir ectory)
open("/dev/aloadC24", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory )
open("/dev/snd/controlC25", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or dir ectory)
open("/dev/aloadC25", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory )
open("/dev/snd/controlC26", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or dir ectory)
open("/dev/aloadC26", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory )
open("/dev/snd/controlC27", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or dir ectory)
open("/dev/aloadC27", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory )
open("/dev/snd/controlC28", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or dir ectory)
open("/dev/aloadC28", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory )
open("/dev/snd/controlC29", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or dir ectory)
open("/dev/aloadC29", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory )
open("/dev/snd/controlC30", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or dir ectory)
open("/dev/aloadC30", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory )
open("/dev/snd/controlC31", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or dir ectory)
open("/dev/aloadC31", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory )open("/dev/snd/controlC0", O_RDONLY|O_CLOEXEC) = 3fcntl64(3, F_SETFD, FD_CLOEXEC) = 0ioctl(3, SNDRV_CTL_IOCTL_CARD_INFO or UI_DEV_CREATE, 0x7e99d844) = 0
close(3) = 0stat64("/usr/share/alsa/alsa.conf", {st_mode=S_IFREG|0644, st_size=9316, ...}) = 0open("/dev/snd/controlC0", O_RDONLY|O_CLOEXEC) = 3fcntl64(3, F_SETFD, FD_CLOEXEC) = 0ioctl(3, SNDRV_CTL_IOCTL_CARD_INFO or UI_DEV_CREATE, 0x7e99d70c) = 0
close(3) = 0open("/dev/snd/controlC0", O_RDWR|O_CLOEXEC) = 3fcntl64(3, F_SETFD, FD_CLOEXEC) = 0ioctl(3, SNDRV_CTL_IOCTL_PVERSION or USBDEVFS_CONTROL, 0x7e99da44) = 0 ioctl(3, SNDRV_CTL_IOCTL_CARD_INFO or UI_DEV_CREATE, 0x7e99da18) = 0
close(3) = 0open("/dev/snd/controlC0", O_RDONLY|O_CLOEXEC) = 3fcntl64(3, F_SETFD, FD_CLOEXEC) = 0ioctl(3, SNDRV_CTL_IOCTL_CARD_INFO or UI_DEV_CREATE, 0x7e99d97c) = 0
close(3) = 0open("/dev/snd/controlC0", O_RDWR|O_CLOEXEC) = 3fcntl64(3, F_SETFD, FD_CLOEXEC) = 0ioctl(3, SNDRV_CTL_IOCTL_PVERSION or USBDEVFS_CONTROL, 0x7e99db24) = 0 ioctl(3, SNDRV_CTL_IOCTL_PCM_PREFER_SUBDEVICE, 0x7e99db64) = 0open("/dev/snd/pcmC0D0c", O_RDWR|O_NONBLOCK|O_CLOEXEC) = -1 ENOENT (No such file or directory)
close(3) = 0write(2, "arecord: main:722: ", 19arecord: main:722: ) = 19
open("/usr/share/locale/en_GB.UTF-8/LC_MESSAGES/alsa-utils.mo", O_RDONLY) = -1 E NOENT (No such file or directory)
open("/usr/share/locale/en_GB.utf8/LC_MESSAGES/alsa-utils.mo", O_RDONLY) = -1 EN OENT (No such file or directory)
open("/usr/share/locale/en_GB/LC_MESSAGES/alsa-utils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en.UTF-8/LC_MESSAGES/alsa-utils.mo", O_RDONLY) = -1 ENOE NT (No such file or directory)
open("/usr/share/locale/en.utf8/LC_MESSAGES/alsa-utils.mo", O_RDONLY) = -1 ENOEN T (No such file or directory)open("/usr/share/locale/en/LC_MESSAGES/alsa-utils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
write(2, "audio open error: No such file o"..., 43audio open error: No such file or directory) = 43
write(2, "n", 1
) = 1exit_group(1) = ?
+++ exited with 1 +++
Quoted 4 lines · Oleksandr Müller
Hello Mr. Brown,
I have a soundcard which doesnt have a linux driver. Quick information it has a pcm1863 adc and a pcm5142 dac on it.
This looks like you've got most of a driver here, probably the easiest thing to do is submit it using the process outlined in SubmittingPatches. The code looks mostly fine so this shouldn't be too much of an issue.
Quoted 5 lines
1. Question would be towards the
dapm_widgetsanddapm_routesdefinitions. When defining thedapm_adcwidget do I put there the Capture stream or do I seperate it with "NULL" and then adding thedapm_routesdefinitions? Which one is correct since I have seen both possibilities (which ad-/disadventages do I have?)
Use a route, that's the more modern way.
Quoted 4 lines
2. Question in my layout plan I need to set the ADC to VIN4 l/r because only this one is connected to the microphone port. I have put it into the sound controls but how would I make this switch from the command line (arecord) or in the players (like vlc)
I'm not sure I understand the question here.
Quoted 5 lines
Furthermore I would really be interested in gaining more knowledge about the accesses and routines from e.g. the vlc player using alsa (?) and then the accesses to the hardware? Also the whole registering process in which order are which files executed to get into the state where the os knows my soundcard. Since in a stracktrace I dont see this high level functions
You can see the card initialization in the code. There's no defined ordering for the device model probing, even if things are currently redicatable on your system you shouldn't rely on anything.
Quoted 1 line
//Register Addresses
Please follow the kernel coding style.
Quoted 3 lines
static const struct
snd_kcontrol_newpcm1863_controls[] = {
SOC_SINGLE("ADC MUX VIN4L",PCM1863_ADC1_INPUT_SEL_L, //not possible withSOC_DOUBLEsince
PCM1863_SEL_L_VIN4, 1, 0), //two different register?
SOC_DOUBLE_R()
Quoted 5 lines
"Failed to enable clock divider autoset: %d\n", ret); return ret; } case SND_SOC_DAIFMT_CBM_CFM:
Missing break;
Quoted 2 lines
MODULE_DESCRIPTION("ASoC pcm1863 driver");MODULE_AUTHOR("Dummy Name <[email protected]>");
Fill it in or omit it.
Quoted 5 lines
static const struct of_device_id pcm1863_of_match[] = { { .compatible = "ti,pcm1863", }, { } };
MODULE_DEVICE_TABLE(of, pcm1863_of_match);
You need a binding document for this.
Hello Mr. Brown,
Quoted 1 line
Use a route, that's the more modern way.
Would then this be correct?
static const struct snd_soc_dapm_widget pcm1863_dapm_widgets[] = {
SND_SOC_DAPM_ADC("ADC1", NULL, SND_SOC_NOPM, 0, 0),
SND_SOC_DAPM_INPUT("SE_IN_L"),
SND_SOC_DAPM_INPUT("SE_IN_R"),
};static const struct snd_soc_dapm_route pcm1863_dapm_routes[] = {
{ "ADC1", NULL, "SE_IN_L" },
{ "ADC1", NULL, "SE_IN_R" },
{ "SE_IN_L", NULL, "Capture" },
{ "SE_IN_R", NULL, "Capture" },
};Quoted 1 line
I'm not sure I understand the question here.
I mean by default the adc takes VIN1 as an input and I need him to take VIN4. If I put my switch under sound controls do I have to trigger it, and if yes how? The corrected line should look like this?
static const struct snd_kcontrol_new pcm1863_controls[] = {
SOC_DOUBLE_R("ADC MUX VIN4", PCM1863_ADC1_INPUT_SEL_L,
PCM1863_ADC1_INPUT_SEL_R, 4, 1, 0),
//I need an 8 viewed from the 0 position so shifting an "1" 4 times
};Quoted 1 line
Please follow the kernel coding style.
Updated codec driver is attached, with a vim plugin it seems that this should be better now. I updated the missing break statements but I get the same error even now. Please take a look again.
Quoted 4 lines
This looks like you've got most of a driver here, probably the easiest thing to do is submit it using the process outlined in SubmittingPatches. The code looks mostly fine so this shouldn't be too much of an issue.
I dont know this process. At first I would want to get it working with my hardware before I would begin with a more detailed development with a lot more functionalities.
Sanj3k
#include <linux/init.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/device.h>
#include <linux/regmap.h>
#include <linux/init.h>
#include <sound/soc.h>
#include <sound/soc-dapm.h>
#include <sound/tlv.h>
#include <sound/initval.h>
#include <sound/pcm.h>
#include <sound/pcm_params.h>
#include <sound/core.h>
#include "pcm1863.h"
struct pcm1863_priv {
struct regmap *regmap;
int rate;
int fmt;
};static const struct snd_kcontrol_new pcm1863_controls[] = {
SOC_DOUBLE_R("ADC MUX VIN4", PCM1863_ADC1_INPUT_SEL_L,
PCM1863_ADC1_INPUT_SEL_R, 4, 1, 0),
//I need an 8 viewed from the 0 position so shifting an "1" 4 times
};static const struct snd_soc_dapm_widget pcm1863_dapm_widgets[] = {
SND_SOC_DAPM_ADC("ADC1", NULL, SND_SOC_NOPM, 0, 0),
SND_SOC_DAPM_INPUT("SE_IN_L"),
SND_SOC_DAPM_INPUT("SE_IN_R"),
};static const struct snd_soc_dapm_route pcm1863_dapm_routes[] = {
{ "ADC1", NULL, "SE_IN_L" },
{ "ADC1", NULL, "SE_IN_R" },
{ "SE_IN_L", NULL, "Capture" },
{ "SE_IN_R", NULL, "Capture" },
};static struct snd_soc_codec_driver soc_codec_dev_pcm1863 = {
.component_driver = {
.controls = pcm1863_controls,
.num_controls = ARRAY_SIZE(pcm1863_controls),
.dapm_widgets = pcm1863_dapm_widgets,
.num_dapm_widgets = ARRAY_SIZE(pcm1863_dapm_widgets),
.dapm_routes = pcm1863_dapm_routes,
.num_dapm_routes = ARRAY_SIZE(pcm1863_dapm_routes),
},
};static int pcm1863_set_fmt(struct snd_soc_dai *dai, unsigned int fmt)
{
struct snd_soc_codec *codec = dai->codec;
struct pcm1863_priv *priv = snd_soc_codec_get_drvdata(codec);
priv->fmt = fmt;
return 0;
}static int pcm1863_hw_params(struct snd_pcm_substream *substream,
struct snd_pcm_hw_params *params, struct snd_soc_dai *dai)
{
struct snd_soc_codec *codec = dai->codec;
struct pcm1863_priv *pcm1863 = snd_soc_codec_get_drvdata(codec);
int rxlen;
int txlen;
int divider;
int ret;
dev_dbg(codec->dev, "hw_params %u Hz, %u channels\n",
params_rate(params),
params_channels(params));
switch (params_width(params)) {
case 16:
rxlen = PCM1863_RX_WLEN_16;
txlen = PCM1863_TX_WLEN_16;
break;
case 20:
rxlen = PCM1863_RX_WLEN_20;
txlen = PCM1863_TX_WLEN_20;
break;
case 24:
rxlen = PCM1863_RX_WLEN_24;
txlen = PCM1863_TX_WLEN_24;
break;
default:
dev_err(codec->dev, "Bad frame size: %d\n",
params_width(params));
return -EINVAL;
}
switch (pcm1863->fmt & SND_SOC_DAIFMT_MASTER_MASK) {
case SND_SOC_DAIFMT_CBS_CFS:
//maybe not possible because it seems like the bck is only an output
ret = regmap_update_bits(pcm1863->regmap,
PCM1863_CLK_SRC,
PCM1863_MST_MODE,
0);
ret = regmap_update_bits(pcm1863->regmap,
PCM1863_CLK_SRC,
PCM1863_MST_SCK_SRC,
1);
if (ret != 0) {
dev_err(codec->dev,
"Failed to enable slave mode: %d\n", ret);
return ret;
}
ret = regmap_update_bits(pcm1863->regmap, PCM1863_CLK_SRC,
PCM1863_CLKDET_EN, 1);
if (ret != 0) {
dev_err(codec->dev,
"Failed to enable clock divider autoset: %d\n",
ret);
return ret;
}
break;
case SND_SOC_DAIFMT_CBM_CFM:
ret = regmap_update_bits(pcm1863->regmap,
PCM1863_CLK_SRC,
PCM1863_MST_MODE,
1);
ret = regmap_update_bits(pcm1863->regmap,
PCM1863_CLK_SRC,
PCM1863_MST_SCK_SRC,
0);
if (ret != 0) {
dev_err(codec->dev,
"Failed to enable master mode: %d\n", ret);
return ret;
}
break;
default:
return -EINVAL;
}
ret = regmap_update_bits(pcm1863->regmap, PCM1863_FMT_REG,
PCM1863_RX_WLEN, rxlen);
ret = regmap_update_bits(pcm1863->regmap, PCM1863_FMT_REG,
PCM1863_TX_WLEN, txlen);
switch (pcm1863->rate) {
case 44100:
case 48000:
divider = PCM1863_DIV_NUM_18;
break;
case 88200:
case 96000:
divider = PCM1863_DIV_NUM_14;
break;
case 192000:
divider = PCM1863_DIV_NUM_12;
break;
default:
return -EINVAL;
}
ret = regmap_update_bits(pcm1863->regmap, PCM1863_SCK_DIV,
PCM1863_DIV_NUM, divider);
return 0;
} static const struct snd_soc_dai_ops pcm1863_dai_ops = {
.hw_params = pcm1863_hw_params,
.set_fmt = pcm1863_set_fmt,
};static struct snd_soc_dai_driver pcm1863_dai = {
.name = "pcm1863",
.capture = {
.stream_name = "Capture",
.channels_min = 2,
.channels_max = 2,
.rates = SNDRV_PCM_RATE_CONTINUOUS,
.rate_min = 8000,
.rate_max = 384000,
.formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE
},
.ops = &pcm1863_dai_ops,
};static const struct regmap_range_cfg pcm1863_range = {
.name = "Pages", .range_min = 0x000,
.range_max = 0xFD00,
.selector_reg = 0,
.selector_mask = 0xff,
.window_start = 0, .window_len = 0x100,
};const struct regmap_config pcm1863_regmap = {
.reg_bits = 8,
.val_bits = 8,
.ranges = &pcm1863_range,
.num_ranges = 1,
.max_register = 0xFD00,
.cache_type = REGCACHE_RBTREE,
};EXPORT_SYMBOL_GPL(pcm1863_regmap);
int pcm1863_probe(struct device *dev, struct regmap *regmap)
{
int ret;
struct pcm1863_priv *pcm1863;
if (IS_ERR(regmap))
return PTR_ERR(regmap);
pcm1863 = devm_kzalloc(dev, sizeof(*pcm1863), GFP_KERNEL);
if (pcm1863 == NULL)
return -ENOMEM;
pcm1863->regmap = regmap;
dev_set_drvdata(dev, pcm1863);
ret = snd_soc_register_codec(dev, &soc_codec_dev_pcm1863,
&pcm1863_dai, 1);
return ret;
}EXPORT_SYMBOL_GPL(pcm1863_probe);
void pcm1863_remove(struct device *dev)
{
snd_soc_unregister_codec(dev);
}EXPORT_SYMBOL_GPL(pcm1863_remove);
MODULE_DESCRIPTION("ASoC pcm1863 driver");MODULE_AUTHOR("Dummy Name <[email protected]>");MODULE_LICENSE("GPL v2");
#include <linux/init.h>
#include <linux/module.h>
#include <linux/i2c.h>
#include "pcm1863.h"
static int pcm1863_i2c_probe(struct i2c_client *i2c,
const struct i2c_device_id *id)
{
struct regmap *regmap;
struct regmap_config config = pcm1863_regmap;
config.read_flag_mask = 0x80;
config.write_flag_mask = 0x80;
regmap = devm_regmap_init_i2c(i2c, &config);
if (IS_ERR(regmap))
return PTR_ERR(regmap);
return pcm1863_probe(&i2c->dev, regmap);
}static int pcm1863_i2c_remove(struct i2c_client *i2c)
{
pcm1863_remove(&i2c->dev);
return 0;
}static const struct i2c_device_id pcm1863_i2c_id[] = {
{ "pcm1863", },
{ }
};MODULE_DEVICE_TABLE(i2c, pcm1863_i2c_id);
/*static const struct of_device_id pcm1863_of_match[] = {
{ .compatible = "ti,pcm1863", },
{ }
};MODULE_DEVICE_TABLE(of, pcm1863_of_match);*/
static struct i2c_driver pcm1863_i2c_driver = {
.probe = pcm1863_i2c_probe,
.remove = pcm1863_i2c_remove,
.id_table = pcm1863_i2c_id,
.driver = {
.name = "pcm1863",
.of_match_table = pcm1863_of_match,
.pm = &pcm1863_pm_ops,
},
};module_i2c_driver(pcm1863_i2c_driver);
MODULE_DESCRIPTION("ASoC pcm1863 codec driver - I2C"); MODULE_AUTHOR("Dummy Name <[email protected]>"); MODULE_LICENSE("GPL v2");
Quoted 2 lines · Oleksandr Müller
Quoted 1 line
Use a route, that's the more modern way.
Would then this be correct?
Yes.
Quoted 5 lines
Quoted 1 line
I'm not sure I understand the question here.
I mean by default the adc takes VIN1 as an input and I need him to take VIN4. If I put my switch under sound controls do I have to trigger it, and if yes how? The corrected line should look like this?
That sounds like a DAPM mux?
Quoted 8 lines
Quoted 4 lines
This looks like you've got most of a driver here, probably the easiest thing to do is submit it using the process outlined in SubmittingPatches. The code looks mostly fine so this shouldn't be too much of an issue.
I dont know this process. At first I would want to get it working with my hardware before I would begin with a more detailed development with a lot more functionalities.
Like I say the process is documented in SubmittingPatches (in the kernel tree).