* BockW 4th sound doesn't work on latest linus/master
@ 2014-01-28 7:13 Kuninori Morimoto
2014-01-28 7:51 ` Kuninori Morimoto
0 siblings, 1 reply; 5+ messages in thread
From: Kuninori Morimoto @ 2014-01-28 7:13 UTC (permalink / raw)
To: Simon, Mark Brown
Cc: Morimoto, Magnus, Linux-SH, Kuninori Morimoto, Linux-ALSA
Hi Simon, Mark
I noticed that bockw 4th sound device doesn't work on
latest linus/master.
My git bisect said the trigger is this patch
e14ee5deab24200e4b70fe31a8c806f0acd3d37c
(ARM: shmobile: bockw: Do not enable CONFIG_DEVTMPFS defconfig)
This patch removed below from defconfig
-CONFIG_DEVTMPFS=y
-CONFIG_DEVTMPFS_MOUNT=y
But, why this has relationship to sound ??
#0 - #3 sound device have no problem.
But #4 sound device will be broken by this patch
Do you have any idea ?
--- my kernel log -------
...
ALSA device list:
#0: SSI56-AK4643
#1: SSI3-AK4554(playback)
#2: SSI4-AK4554(capture)
#3: SSI7-AK4554(playback)
#4: SSI8-AK4554(capture)
--- test result of 4th device (bad case) ---
# /home/arecord -c 2 -t wav -d 10 -r 48000 -f S16_LE -D hw:4 /tmp/hoge
ALSA lib pcm_hw.c:1433:(_snd_pcm_hw_open) Invalid value for card
arecord: main:608: audio open error: No such file or directory
--- test result of 4th device (good case) ---
# /home/arecord -c 2 -t wav -d 10 -r 48000 -f S16_LE -D hw:4 /tmp/hoge
Recording WAVE '/tmp/hoge' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: BockW 4th sound doesn't work on latest linus/master
2014-01-28 7:13 BockW 4th sound doesn't work on latest linus/master Kuninori Morimoto
@ 2014-01-28 7:51 ` Kuninori Morimoto
2014-01-29 6:29 ` Simon Horman
0 siblings, 1 reply; 5+ messages in thread
From: Kuninori Morimoto @ 2014-01-28 7:51 UTC (permalink / raw)
To: Kuninori Morimoto
Cc: Simon, Mark Brown, Morimoto, Magnus, Linux-SH, Linux-ALSA
Hi Simon, Mark again
> I noticed that bockw 4th sound device doesn't work on
> latest linus/master.
>
> My git bisect said the trigger is this patch
>
> e14ee5deab24200e4b70fe31a8c806f0acd3d37c
> (ARM: shmobile: bockw: Do not enable CONFIG_DEVTMPFS defconfig)
>
> This patch removed below from defconfig
>
> -CONFIG_DEVTMPFS=y
> -CONFIG_DEVTMPFS_MOUNT=y
>
> But, why this has relationship to sound ??
>
> #0 - #3 sound device have no problem.
> But #4 sound device will be broken by this patch
> Do you have any idea ?
>
> --- my kernel log -------
> ...
> ALSA device list:
> #0: SSI56-AK4643
> #1: SSI3-AK4554(playback)
> #2: SSI4-AK4554(capture)
> #3: SSI7-AK4554(playback)
> #4: SSI8-AK4554(capture)
>
> --- test result of 4th device (bad case) ---
>
> # /home/arecord -c 2 -t wav -d 10 -r 48000 -f S16_LE -D hw:4 /tmp/hoge
> ALSA lib pcm_hw.c:1433:(_snd_pcm_hw_open) Invalid value for card
> arecord: main:608: audio open error: No such file or directory
>
> --- test result of 4th device (good case) ---
>
> # /home/arecord -c 2 -t wav -d 10 -r 48000 -f S16_LE -D hw:4 /tmp/hoge
> Recording WAVE '/tmp/hoge' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
My rootfs with no DEVTMPFS didn't have /dev/snd/controlC4, /dev/snd/pcmC4D0c
It start works if I created these node.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: BockW 4th sound doesn't work on latest linus/master
2014-01-28 7:51 ` Kuninori Morimoto
@ 2014-01-29 6:29 ` Simon Horman
2014-01-29 7:17 ` Kuninori Morimoto
0 siblings, 1 reply; 5+ messages in thread
From: Simon Horman @ 2014-01-29 6:29 UTC (permalink / raw)
To: Kuninori Morimoto; +Cc: Mark Brown, Morimoto, Magnus, Linux-SH, Linux-ALSA
On Mon, Jan 27, 2014 at 11:51:37PM -0800, Kuninori Morimoto wrote:
>
> Hi Simon, Mark again
>
> > I noticed that bockw 4th sound device doesn't work on
> > latest linus/master.
> >
> > My git bisect said the trigger is this patch
> >
> > e14ee5deab24200e4b70fe31a8c806f0acd3d37c
> > (ARM: shmobile: bockw: Do not enable CONFIG_DEVTMPFS defconfig)
> >
> > This patch removed below from defconfig
> >
> > -CONFIG_DEVTMPFS=y
> > -CONFIG_DEVTMPFS_MOUNT=y
> >
> > But, why this has relationship to sound ??
> >
> > #0 - #3 sound device have no problem.
> > But #4 sound device will be broken by this patch
> > Do you have any idea ?
> >
> > --- my kernel log -------
> > ...
> > ALSA device list:
> > #0: SSI56-AK4643
> > #1: SSI3-AK4554(playback)
> > #2: SSI4-AK4554(capture)
> > #3: SSI7-AK4554(playback)
> > #4: SSI8-AK4554(capture)
> >
> > --- test result of 4th device (bad case) ---
> >
> > # /home/arecord -c 2 -t wav -d 10 -r 48000 -f S16_LE -D hw:4 /tmp/hoge
> > ALSA lib pcm_hw.c:1433:(_snd_pcm_hw_open) Invalid value for card
> > arecord: main:608: audio open error: No such file or directory
> >
> > --- test result of 4th device (good case) ---
> >
> > # /home/arecord -c 2 -t wav -d 10 -r 48000 -f S16_LE -D hw:4 /tmp/hoge
> > Recording WAVE '/tmp/hoge' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
>
> My rootfs with no DEVTMPFS didn't have /dev/snd/controlC4, /dev/snd/pcmC4D0c
> It start works if I created these node.
Makes sense.
Could you post a patch to revert the offending defconfig change.
Geert tells me that DEVTMPFS is needed for udev on Debian Jesse
and is also common in other arm defconfigs. So I think it should be
enabled.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: BockW 4th sound doesn't work on latest linus/master
2014-01-29 6:29 ` Simon Horman
@ 2014-01-29 7:17 ` Kuninori Morimoto
2014-01-29 12:38 ` Simon Horman
0 siblings, 1 reply; 5+ messages in thread
From: Kuninori Morimoto @ 2014-01-29 7:17 UTC (permalink / raw)
To: Simon Horman; +Cc: Mark Brown, Morimoto, Magnus, Linux-SH, Linux-ALSA
Hi Simon
> Could you post a patch to revert the offending defconfig change.
>
> Geert tells me that DEVTMPFS is needed for udev on Debian Jesse
> and is also common in other arm defconfigs. So I think it should be
> enabled.
Yes, it is needed for udev.
I can send patch, but, according to git comment,
the defconfig which doesn't have DEVTMPFS is not only BockW.
Do you want "revert patch" ? or "add DEVTMPFS for all board patch" ?
Best regards
---
Kuninori Morimoto
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: BockW 4th sound doesn't work on latest linus/master
2014-01-29 7:17 ` Kuninori Morimoto
@ 2014-01-29 12:38 ` Simon Horman
0 siblings, 0 replies; 5+ messages in thread
From: Simon Horman @ 2014-01-29 12:38 UTC (permalink / raw)
To: Kuninori Morimoto; +Cc: Mark Brown, Morimoto, Magnus, Linux-SH, Linux-ALSA
On Tue, Jan 28, 2014 at 11:17:06PM -0800, Kuninori Morimoto wrote:
>
> Hi Simon
>
> > Could you post a patch to revert the offending defconfig change.
> >
> > Geert tells me that DEVTMPFS is needed for udev on Debian Jesse
> > and is also common in other arm defconfigs. So I think it should be
> > enabled.
>
> Yes, it is needed for udev.
> I can send patch, but, according to git comment,
> the defconfig which doesn't have DEVTMPFS is not only BockW.
> Do you want "revert patch" ? or "add DEVTMPFS for all board patch" ?
I think the second option would be best.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-01-29 12:38 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-28 7:13 BockW 4th sound doesn't work on latest linus/master Kuninori Morimoto
2014-01-28 7:51 ` Kuninori Morimoto
2014-01-29 6:29 ` Simon Horman
2014-01-29 7:17 ` Kuninori Morimoto
2014-01-29 12:38 ` Simon Horman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).