Cc: alsa-ml
On 07/31/2015 07:38 AM, Kuninori Morimoto wrote:
>
> Hi Lars
> Cc Mark
>
> I noticed Analog Devices has adv7511 support on
> http://wiki.analog.com/resources/tools-software/linux-drivers/drm/adv7511
>
> And I tried this driver on my board, and it works.
>
> if my understanding was correct, latest linux kernel doesn't have
> adv7511 "sound" support yet.
> Thus, I would like to have it on linux kernel.
> According to this driver/file, it is under GPL-2, so it is no problem
> from license point of view.
>
> According to git log Signd-off-by, Lars/Mark are listed on this adv7511 sound driver.
> but I wonder why it is not on upstream ? Are there some reason ??
> If you don't mind, I would like to send it to ML.
> This is OK ?
The reason why the driver is not upstream at the moment is that the way it
implements things is definitely not the right way. But there is still a lot
of discussion on what actually is the right way to implement audio support
for HDMI devices. Once that has been sorted out the driver will hopefully go
upstream.
- Lars
--
To unsubscribe from this list: send the line "unsubscribe alsa-devel" in
Hi,
when I try to use the snd-fireworks driver with my AudioFire4 (see the
output of /proc/asound/cardX/firewire/firmware below) on my machine
(kernel 4.1), it doesn't work. I am experiencing exactly the same
problems as Harry with his AudioFire2 [1]; dmesg was reporting
discontinuities.
A few days ago, I saw Takashi Sakamoto's most recent patch for making
the AudioFire2 work in this case [2]. I adapted his patch (see below) to
apply to my situation with the AudioFire4 and now it is working
flawlessly! However, according to the README in Takashi's GitHub
repository [3], he is testing the driver with an AudioFire4 as well, so
I asked him why I need this patch and he does not. He told me he is
using firmware version 5.5 while I'm on 5.7.3. He said he is going to
test his device with different firmware versions soon and write a patch,
if needed.
Finally, he asked me to post this whole issue to this list as well and
that's what I have just done. :)
Best regards,
Johannes
[1]
http://mailman.alsa-project.org/pipermail/alsa-devel/2014-August/080379.html
[2]
http://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/?id=9c68…
[3] https://github.com/takaswie/snd-firewire-improve
/proc/asound/cardX/firewire/firmware:
guid_hi: 0x148604
guid_lo: 0x5BA8D7BF
type: 0xAF4
version: 0x0
vendor_name: Echo Digital Audio
model_name: AudioFire4
dsp_version: 0x0
arm_version: 0x5070300
fpga_version: 0x3000200
flags: 0xE1
max_sample_rate: 0x17700
min_sample_rate: 0x7D00
supported_clock: 0x9
phys out: 0x6
phys in: 0x6
phys in grps: 0x2
phys in grp[0]: type 0x0, count 0x4
phys in grp[1]: type 0x1, count 0x2
phys out grps: 0x2
phys out grps[0]: type 0x0, count 0x4
phys out grps[1]: type 0x1, count 0x2
amdtp rx pcm channels 1x: 0x6
amdtp tx pcm channels 1x: 0x6
amdtp rx pcm channels 2x: 0x6
amdtp tx pcm channels 2x: 0x6
amdtp rx pcm channels 4x: 0x6
amdtp tx pcm channels 4x: 0x6
midi out ports: 0x1
midi in ports: 0x1
mixer playback channels: 0x6
mixer capture channels: 0x6
The patch:
---
sound/firewire/fireworks/fireworks.c | 2 ++
sound/firewire/fireworks/fireworks.h | 1 +
sound/firewire/fireworks/fireworks_stream.c | 4 ++--
3 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/sound/firewire/fireworks/fireworks.c
b/sound/firewire/fireworks/fireworks.c
index c670db4..544bdbf 100644
--- a/sound/firewire/fireworks/fireworks.c
+++ b/sound/firewire/fireworks/fireworks.c
@@ -250,6 +250,8 @@ efw_probe(struct fw_unit *unit,
goto error;
if (entry->model_id == MODEL_ECHO_AUDIOFIRE_2)
efw->is_af2 = true;
+ if (entry->model_id == MODEL_ECHO_AUDIOFIRE_4)
+ efw->is_af4 = true;
if (entry->model_id == MODEL_ECHO_AUDIOFIRE_9)
efw->is_af9 = true;
diff --git a/sound/firewire/fireworks/fireworks.h
b/sound/firewire/fireworks/fireworks.h
index 9493122..9a7dcbb 100644
--- a/sound/firewire/fireworks/fireworks.h
+++ b/sound/firewire/fireworks/fireworks.h
@@ -74,6 +74,7 @@ struct snd_efw {
/* for quirks */
bool is_af2;
+ bool is_af4;
bool is_af9;
u32 firmware_version;
diff --git a/sound/firewire/fireworks/fireworks_stream.c
b/sound/firewire/fireworks/fireworks_stream.c
index a0762dd..182b96f 100644
--- a/sound/firewire/fireworks/fireworks_stream.c
+++ b/sound/firewire/fireworks/fireworks_stream.c
@@ -172,8 +172,8 @@ int snd_efw_stream_init_duplex(struct snd_efw *efw)
efw->tx_stream.flags |= CIP_DBC_IS_END_EVENT;
/* Fireworks reset dbc at bus reset. */
efw->tx_stream.flags |= CIP_SKIP_DBC_ZERO_CHECK;
- /* AudioFire2 starts packets with non-zero dbc. */
- if (efw->is_af2)
+ /* AudioFire2 and AudioFire4 start packets with non-zero dbc. */
+ if (efw->is_af2 || efw->is_af4)
efw->tx_stream.flags |= CIP_SKIP_INIT_DBC_CHECK;
/* AudioFire9 always reports wrong dbs. */
if (efw->is_af9)
--
2.4.6
Hi,
I've just noticed that the internal speaker volume on my laptop is now
controlled by the headphone control in alsamixer. I think this may be a
recent change although I can't be sure. I'm using Arch Linux with kernel
4.1.3-1.
I've uploaded the alsa info here:
http://www.alsa-project.org/db/?f=f04e506dad863823b18f8f9e9d0261fdacd72695
Let me know if I can help.
Kind Regards,
Dang.