Skip to contentSkip to conversation

Bug report - Dell-WD15-Dock not working caused by ucm profile in alsa-lib 1.1.7

DISCUSSION René Santing 2 participants 10 messages Oct 30, 2018 – Nov 2, 2018

lore
Share & tools
lore
#0 lore raw

Hello Alsa developers,

I would like to file a bug report about the Dell-WD15-Dock. This dock stopped working for me on archlinux/kde. The device was not picked up at all by pulse audio after some updates I installed last week. By trial and error I found out it was caused by the ucm profile that was added in alsa-lib 1.1.7.
Running the following restored functionality.

 sudo mv /usr/share/alsa/ucm/Dell-WD15-Dock/Dell-WD15-Dock.conf /usr/share/alsa/ucm/Dell-WD15-Dock/Dell-WD15-Dock.bak pulseaudio -k

I uploaded 3 alsa-info.sh profiles.

1.1.6
http://www.alsa-project.org/db/?f=a9a4c53d1e417c3d2ef304fe0778581c35b7a95e
(working)
1.1.7
http://www.alsa-project.org/db/?f=bb474a687692e25f5e54c475f16f7ce4ef210f7a
(not working)
1.1.7
http://www.alsa-project.org/db/?f=586dd059aaa08e839eb9df5f7b49990a5f4ad1a5
(working but moved the wd15 ucm profile)

https://alsa-project.org/main/index.php/Bug_Tracking pointed me to this mailing list to submit this report. If this is the wrong place or there is more information need could you let me know so I can send it to the proper channels?

Best regards,

René Santing

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#1 lore raw
Quoted 8 lines · On Tue, 30 Oct 2018 10:10:07 +0100, Ren9 Santing wrote:

Hello Alsa developers,

I would like to file a bug report about the Dell-WD15-Dock. This dock stopped working for me on archlinux/kde. The device was not picked up at all by pulse audio after some updates I installed last week. By trial and error I found out it was caused by the ucm profile that was added in alsa-lib 1.1.7.

Could you try the alsa-lib git repo? The fix is already included.

thanks,

Takashi

#2 lore raw

I totally missed that commit sorry for the redundant bug report. Yes it works with the updated conf file.

Thanks,

René Santing

Quoted 9 lines · Takashi Iwai
Quoted 7 lines · On Tue, 30 Oct 2018 10:10:07 +0100, Ren9 Santing wrote:

Hello Alsa developers,

I would like to file a bug report about the Dell-WD15-Dock. This dock stopped working for me on archlinux/kde. The device was not picked up at all by pulse audio after some updates I installed last week. By trial and error I found out it was caused by the ucm profile that was added in alsa-lib 1.1.7.

Quoted 6 lines

Could you try the alsa-lib git repo? The fix is already included.

thanks,

Takashi

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#3 lore raw
Quoted 3 lines · On Tue, 30 Oct 2018 10:41:10 +0100, Ren9 Santing wrote:

I totally missed that commit sorry for the redundant bug report. Yes it works with the updated conf file.

Good to hear, thanks for quick testing!

Jaroslav, what do you think of 1.1.7.1 release addressing regression? IIRC, we had an issue with alsa-plugins as well.

Takashi

Quoted 22 lines

Thanks,

René Santing

Quoted 15 lines · Takashi Iwai
Quoted 7 lines · On Tue, 30 Oct 2018 10:10:07 +0100, Ren9 Santing wrote:

Hello Alsa developers,

I would like to file a bug report about the Dell-WD15-Dock. This dock stopped working for me on archlinux/kde. The device was not picked up at all by pulse audio after some updates I installed last week. By trial and error I found out it was caused by the ucm profile that was added in alsa-lib 1.1.7.

Could you try the alsa-lib git repo? The fix is already included.

thanks,

Takashi

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#4 lore raw
Quoted 11 lines · Takashi Iwai
Quoted 3 lines · On Tue, 30 Oct 2018 10:41:10 +0100, Ren9 Santing wrote:

I totally missed that commit sorry for the redundant bug report. Yes it works with the updated conf file.

Good to hear, thanks for quick testing!

Jaroslav, what do you think of 1.1.7.1 release addressing regression? IIRC, we had an issue with alsa-plugins as well.

Or maybe we should drop this UCM profile.

Since PA seems addressing the issue by itself via its own specific profile, we may leave the things to PA alone.

I hoped that UCM profile support can improve the things in a cleaner way, but PA-UCM integration isn't fully done (e.g. the volume / mute controls seem ignored), and UCM overrides the PA profile, it can be more harm than good as of now.

Takashi

Quoted 26 lines

Takashi

Quoted 22 lines

Thanks,

René Santing

Quoted 15 lines · Takashi Iwai
Quoted 7 lines · On Tue, 30 Oct 2018 10:10:07 +0100, Ren9 Santing wrote:

Hello Alsa developers,

I would like to file a bug report about the Dell-WD15-Dock. This dock stopped working for me on archlinux/kde. The device was not picked up at all by pulse audio after some updates I installed last week. By trial and error I found out it was caused by the ucm profile that was added in alsa-lib 1.1.7.

Could you try the alsa-lib git repo? The fix is already included.

thanks,

Takashi

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#5 lore raw

As a user I do think the ucm profile works as intended with the latest git. Pulseaudio is now able to use the headphone and speaker output of the docking station at the same time and I wasn't able to do that before. Also for me in KDE the volume/mute controls are working as intended. But if the profile gives more issues for other users I can confirm that my normal usecase also works fine without the profile on my setup.

René

Quoted 15 lines · Takashi Iwai
Quoted 8 lines · Takashi Iwai
Quoted 2 lines · On Tue, 30 Oct 2018 10:41:10 +0100, Ren9 Santing wrote:

I totally missed that commit sorry for the redundant bug report. Yes it works with the updated conf file.

Good to hear, thanks for quick testing!

Jaroslav, what do you think of 1.1.7.1 release addressing regression? IIRC, we had an issue with alsa-plugins as well.

Or maybe we should drop this UCM profile.

Since PA seems addressing the issue by itself via its own specific profile, we may leave the things to PA alone.

Quoted 31 lines

I hoped that UCM profile support can improve the things in a cleaner way, but PA-UCM integration isn't fully done (e.g. the volume / mute controls seem ignored), and UCM overrides the PA profile, it can be more harm than good as of now.

Takashi

Quoted 23 lines

Takashi

Quoted 20 lines

Thanks,

René Santing

Quoted 15 lines · Takashi Iwai
Quoted 7 lines · On Tue, 30 Oct 2018 10:10:07 +0100, Ren9 Santing wrote:

Hello Alsa developers,

I would like to file a bug report about the Dell-WD15-Dock. This dock stopped working for me on archlinux/kde. The device was not picked up at all by pulse audio after some updates I installed last week. By trial and error I found out it was caused by the ucm profile that was added in alsa-lib 1.1.7.

Could you try the alsa-lib git repo? The fix is already included.

thanks,

Takashi

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#6 lore raw
Quoted 8 lines · On Tue, 30 Oct 2018 16:55:31 +0100, Ren9 Santing wrote:

As a user I do think the ucm profile works as intended with the latest git. Pulseaudio is now able to use the headphone and speaker output of the docking station at the same time and I wasn't able to do that before. Also for me in KDE the volume/mute controls are working as intended. But if the profile gives more issues for other users I can confirm that my normal usecase also works fine without the profile on my setup.

Thanks, that's interesting. I rethought of dropping the UCM profile just because of some complaints about PA behavior.

Is the volume restored properly by PA? The reporter told that the lack of priority values lead to the failure of the volume-restore behavior. This could be relatively easily fixed in UCM profile side, we may just add the priority values.

Another complaint was about the lack of the keyboard control. It was supposed to be due to the lack of the hardware flag exposed from PA. And, PA UCM parser doesn't seem to take the volume / mute definitions even if defined in UCM profile, so far. This could be fixed in PA side as well.

The last complaint was about the missing icon; this might be tricky, maybe PA could guess the more appropriate icon from the UCM stream name string...

In anyway, I'd be glad if we keep UCM profile as an option, too.

Which version of PA are you using, BTW?

Takashi

Quoted 51 lines

René

Quoted 46 lines · Takashi Iwai
Quoted 8 lines · Takashi Iwai
Quoted 2 lines · On Tue, 30 Oct 2018 10:41:10 +0100, Ren9 Santing wrote:

I totally missed that commit sorry for the redundant bug report. Yes it works with the updated conf file.

Good to hear, thanks for quick testing!

Jaroslav, what do you think of 1.1.7.1 release addressing regression? IIRC, we had an issue with alsa-plugins as well.

Or maybe we should drop this UCM profile.

Since PA seems addressing the issue by itself via its own specific profile, we may leave the things to PA alone.

I hoped that UCM profile support can improve the things in a cleaner way, but PA-UCM integration isn't fully done (e.g. the volume / mute controls seem ignored), and UCM overrides the PA profile, it can be more harm than good as of now.

Takashi

Quoted 23 lines

Takashi

Quoted 20 lines

Thanks,

René Santing

Quoted 15 lines · Takashi Iwai
Quoted 7 lines · On Tue, 30 Oct 2018 10:10:07 +0100, Ren9 Santing wrote:

Hello Alsa developers,

I would like to file a bug report about the Dell-WD15-Dock. This dock stopped working for me on archlinux/kde. The device was not picked up at all by pulse audio after some updates I installed last week. By trial and error I found out it was caused by the ucm profile that was added in alsa-lib 1.1.7.

Could you try the alsa-lib git repo? The fix is already included.

thanks,

Takashi

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#7 lore raw

I haven't found the time to test this yet but I will try to do it tomorrow.

René

Quoted 76 lines · On Wed, 31 Oct 2018, 13:02 Takashi Iwai <[email protected] wrote:
Quoted 8 lines · On Tue, 30 Oct 2018 16:55:31 +0100, Ren9 Santing wrote:

As a user I do think the ucm profile works as intended with the latest git. Pulseaudio is now able to use the headphone and speaker output of the docking station at the same time and I wasn't able to do that before. Also for me in KDE the volume/mute controls are working as intended. But if the profile gives more issues for other users I can confirm that my normal usecase also works fine without the profile on my setup.

Thanks, that's interesting. I rethought of dropping the UCM profile just because of some complaints about PA behavior.

Is the volume restored properly by PA? The reporter told that the lack of priority values lead to the failure of the volume-restore behavior. This could be relatively easily fixed in UCM profile side, we may just add the priority values.

Another complaint was about the lack of the keyboard control. It was supposed to be due to the lack of the hardware flag exposed from PA. And, PA UCM parser doesn't seem to take the volume / mute definitions even if defined in UCM profile, so far. This could be fixed in PA side as well.

The last complaint was about the missing icon; this might be tricky, maybe PA could guess the more appropriate icon from the UCM stream name string...

In anyway, I'd be glad if we keep UCM profile as an option, too.

Which version of PA are you using, BTW?

Takashi

Quoted 9 lines

René

Quoted 5 lines · Takashi Iwai
Quoted 3 lines · Takashi Iwai
Quoted 1 line · On Tue, 30 Oct 2018 10:41:10 +0100, Ren9 Santing wrote:

I totally missed that commit sorry for the redundant bug report. Yes

it

Quoted 30 lines
Quoted 30 lines
Quoted 5 lines
Quoted 1 line

works with the updated conf file.

Good to hear, thanks for quick testing!

Jaroslav, what do you think of 1.1.7.1 release addressing regression? IIRC, we had an issue with alsa-plugins as well.

Or maybe we should drop this UCM profile.

Since PA seems addressing the issue by itself via its own specific profile, we may leave the things to PA alone.

I hoped that UCM profile support can improve the things in a cleaner way, but PA-UCM integration isn't fully done (e.g. the volume / mute controls seem ignored), and UCM overrides the PA profile, it can be more harm than good as of now.

Takashi

Quoted 12 lines

Takashi

Quoted 9 lines

Thanks,

René Santing

Quoted 4 lines · Takashi Iwai
Quoted 2 lines · On Tue, 30 Oct 2018 10:10:07 +0100, Ren9 Santing wrote:

Hello Alsa developers,

Quoted 16 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

I would like to file a bug report about the Dell-WD15-Dock. This

dock

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

stopped working for me on archlinux/kde. The device was not picked

up at

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

all by pulse audio after some updates I installed last week. By trial and error I found out it was caused by the ucm profile

that was

Quoted 8 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 1 line

added in alsa-lib 1.1.7.

Could you try the alsa-lib git repo? The fix is already included.

thanks,

Takashi

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#8 lore raw
In reply to Takashi Iwai

I am running pulseaudio 12.2

For me the volume is properly restored but it does take PA about two seconds to respond to my keyboard control the first time I press them after boot. So keyboard control does have a small regression for me. If these issues are there maybe it would be wise to drop the UCM profile until they are fixed because there weren't and real issues in the old situation. I can test other things if needed so let me know.

René

Quoted 27 lines · Takashi Iwai
Quoted 7 lines · On Tue, 30 Oct 2018 16:55:31 +0100, Ren9 Santing wrote:

As a user I do think the ucm profile works as intended with the latest git. Pulseaudio is now able to use the headphone and speaker output of the docking station at the same time and I wasn't able to do that before. Also for me in KDE the volume/mute controls are working as intended. But if the profile gives more issues for other users I can confirm that my normal usecase also works fine without the profile on my setup.

Thanks, that's interesting. I rethought of dropping the UCM profile just because of some complaints about PA behavior.

Is the volume restored properly by PA? The reporter told that the lack of priority values lead to the failure of the volume-restore behavior. This could be relatively easily fixed in UCM profile side, we may just add the priority values.

Another complaint was about the lack of the keyboard control. It was supposed to be due to the lack of the hardware flag exposed from PA. And, PA UCM parser doesn't seem to take the volume / mute definitions even if defined in UCM profile, so far. This could be fixed in PA side as well.

The last complaint was about the missing icon; this might be tricky, maybe PA could guess the more appropriate icon from the UCM stream name string...

Quoted 55 lines

In anyway, I'd be glad if we keep UCM profile as an option, too.

Which version of PA are you using, BTW?

Takashi

Quoted 48 lines

René

Quoted 45 lines · Takashi Iwai
Quoted 8 lines · Takashi Iwai
Quoted 2 lines · On Tue, 30 Oct 2018 10:41:10 +0100, Ren9 Santing wrote:

I totally missed that commit sorry for the redundant bug report. Yes it works with the updated conf file.

Good to hear, thanks for quick testing!

Jaroslav, what do you think of 1.1.7.1 release addressing regression? IIRC, we had an issue with alsa-plugins as well.

Or maybe we should drop this UCM profile.

Since PA seems addressing the issue by itself via its own specific profile, we may leave the things to PA alone.

I hoped that UCM profile support can improve the things in a cleaner way, but PA-UCM integration isn't fully done (e.g. the volume / mute controls seem ignored), and UCM overrides the PA profile, it can be more harm than good as of now.

Takashi

Quoted 22 lines

Takashi

Quoted 20 lines

Thanks,

René Santing

Quoted 15 lines · Takashi Iwai
Quoted 7 lines · On Tue, 30 Oct 2018 10:10:07 +0100, Ren9 Santing wrote:

Hello Alsa developers,

I would like to file a bug report about the Dell-WD15-Dock. This dock stopped working for me on archlinux/kde. The device was not picked up at all by pulse audio after some updates I installed last week. By trial and error I found out it was caused by the ucm profile that was added in alsa-lib 1.1.7.

Could you try the alsa-lib git repo? The fix is already included.

thanks,

Takashi

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#9 lore raw
Quoted 9 lines · On Fri, 02 Nov 2018 10:58:44 +0100, Ren9 Santing wrote:

I am running pulseaudio 12.2

For me the volume is properly restored but it does take PA about two seconds to respond to my keyboard control the first time I press them after boot. So keyboard control does have a small regression for me. If these issues are there maybe it would be wise to drop the UCM profile until they are fixed because there weren't and real issues in the old situation. I can test other things if needed so let me know.

The two seconds non-response sound like a PA issue, maybe it's been busy for parsing or setup. In anyway, your analysis is convincing enough that we can keep the UCM profile for good, at least for the newer PA version.

Thanks!

Takashi

Quoted 88 lines

René

Quoted 82 lines · Takashi Iwai
Quoted 7 lines · On Tue, 30 Oct 2018 16:55:31 +0100, Ren9 Santing wrote:

As a user I do think the ucm profile works as intended with the latest git. Pulseaudio is now able to use the headphone and speaker output of the docking station at the same time and I wasn't able to do that before. Also for me in KDE the volume/mute controls are working as intended. But if the profile gives more issues for other users I can confirm that my normal usecase also works fine without the profile on my setup.

Thanks, that's interesting. I rethought of dropping the UCM profile just because of some complaints about PA behavior.

Is the volume restored properly by PA? The reporter told that the lack of priority values lead to the failure of the volume-restore behavior. This could be relatively easily fixed in UCM profile side, we may just add the priority values.

Another complaint was about the lack of the keyboard control. It was supposed to be due to the lack of the hardware flag exposed from PA. And, PA UCM parser doesn't seem to take the volume / mute definitions even if defined in UCM profile, so far. This could be fixed in PA side as well.

The last complaint was about the missing icon; this might be tricky, maybe PA could guess the more appropriate icon from the UCM stream name string...

In anyway, I'd be glad if we keep UCM profile as an option, too.

Which version of PA are you using, BTW?

Takashi

Quoted 48 lines

René

Quoted 45 lines · Takashi Iwai
Quoted 8 lines · Takashi Iwai
Quoted 2 lines · On Tue, 30 Oct 2018 10:41:10 +0100, Ren9 Santing wrote:

I totally missed that commit sorry for the redundant bug report. Yes it works with the updated conf file.

Good to hear, thanks for quick testing!

Jaroslav, what do you think of 1.1.7.1 release addressing regression? IIRC, we had an issue with alsa-plugins as well.

Or maybe we should drop this UCM profile.

Since PA seems addressing the issue by itself via its own specific profile, we may leave the things to PA alone.

I hoped that UCM profile support can improve the things in a cleaner way, but PA-UCM integration isn't fully done (e.g. the volume / mute controls seem ignored), and UCM overrides the PA profile, it can be more harm than good as of now.

Takashi

Quoted 22 lines

Takashi

Quoted 20 lines

Thanks,

René Santing

Quoted 15 lines · Takashi Iwai
Quoted 7 lines · On Tue, 30 Oct 2018 10:10:07 +0100, Ren9 Santing wrote:

Hello Alsa developers,

I would like to file a bug report about the Dell-WD15-Dock. This dock stopped working for me on archlinux/kde. The device was not picked up at all by pulse audio after some updates I installed last week. By trial and error I found out it was caused by the ucm profile that was added in alsa-lib 1.1.7.

Could you try the alsa-lib git repo? The fix is already included.

thanks,

Takashi

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel