You are not logged in.

#1 2012-09-20 16:55:33

Giniu
Trusted User (TU)
From: Wrocław/Poland
Registered: 2007-04-02
Posts: 61
Website

[SOLVED UPSTREAM] USB sound cards were mute with kernel 3.5.4

I found out (on my own skin), that one of change that got into 3.5.4 causes my USB sound card - M-Audio Fast Track Pro - to go mute. It seems to work like it should, driver is loaded, streams are started and accept data - just there is no sound. Because this change does not touch code specific to this model, other cards might be broken as well, although probably not all cards.

If you have USB sound card and experience similar issues, currently only know solution is downgrading to 3.5.3, or rebuilding sound module with one change removed - http://git.kernel.org/?p=linux/kernel/g … 4d5c3cc342

I reported this (few minutes ago) to linux-kernel mailing list and lets see what will happen next.

Last edited by Giniu (2012-10-06 16:15:40)


My GPG fingerprint: 7170 26A9 D477 9FC5 3940  7266 40F5 57B7 3149 6106

Offline

#2 2012-09-21 14:17:18

ObsidianParis
Member
Registered: 2012-09-21
Posts: 4

Re: [SOLVED UPSTREAM] USB sound cards were mute with kernel 3.5.4

I'm currently experiencing the same problem after switching to Fedora 17 these last two days (Linux 3.5.4 too), then apply the first updates. It worked at the very beginning, with the initial 3.5.3 kernel, but once the updates are done, I was not able to get the sound back even booting on the former kernel. GNOME 3 is using pulseaudio and ALSA with the "alsa-plugins-pulseaudio" package. Symptoms seem to be the same : everything seems to work fine, every player is doing is job, and the Pulseaudio Volume Meter is moving according to them.

I wasn't able to perform better switching to runlevel 3 and directly using ALSA players not relying on Pulseaudio.

Thanks a lot for the tip. I'll grab the last kernel source and try to apply your suggestions. I'll tell you if it helps.

Offline

#3 2012-09-21 14:27:34

Giniu
Trusted User (TU)
From: Wrocław/Poland
Registered: 2007-04-02
Posts: 61
Website

Re: [SOLVED UPSTREAM] USB sound cards were mute with kernel 3.5.4

Be sure to check Custom Kernel Compilation with ABS wiki page, then download offending change in patch format, save it as some file, like sound.patch and in PKGBUILD apply using

patch -p1 -R < ../sound.patch

to remove the change from code (the option -R means "revert").


My GPG fingerprint: 7170 26A9 D477 9FC5 3940  7266 40F5 57B7 3149 6106

Offline

#4 2012-09-22 00:04:17

ObsidianParis
Member
Registered: 2012-09-21
Posts: 4

Re: [SOLVED UPSTREAM] USB sound cards were mute with kernel 3.5.4

I followed your instructions but, unfortunately, it doesn't help. I'll take a deserved rest and take a closer look at all of this tomorrow morning. Thanks a lot for your help.

Offline

#5 2012-09-22 08:34:27

Giniu
Trusted User (TU)
From: Wrocław/Poland
Registered: 2007-04-02
Posts: 61
Website

Re: [SOLVED UPSTREAM] USB sound cards were mute with kernel 3.5.4

Have you restarted, or removed the module snd-usb-audio? First, stop all apps that use it, then remove module:

modprobe -r snd-usb-audio

then power off or unplug your sound card and plug it in again. Without this procedure (or restart smile) new module won't be loaded/initiated, and the bug seems to occur during initialization of device.

Edit:

btw, what sound card model do you have?

Last edited by Giniu (2012-09-22 08:34:49)


My GPG fingerprint: 7170 26A9 D477 9FC5 3940  7266 40F5 57B7 3149 6106

Offline

#6 2012-09-22 09:03:49

ObsidianParis
Member
Registered: 2012-09-21
Posts: 4

Re: [SOLVED UPSTREAM] USB sound cards were mute with kernel 3.5.4

Good morning ! Actually I tried again this morning and it works ! Many thanks and congratulations for the tip !

It seems that, in addition to this patch, I also had to mute/unmute again the device to make it work, which is another known issue.
The sound system is an Altec Lansing FX5051. It's a 5.1 sound system that can be driven both in analogic and USB modes. I currently only use USB.

$ lsusb -s 005:002
Bus 005 Device 002: ID 04d2:5051 Altec Lansing Technologies

Offline

#7 2012-09-22 09:15:39

Giniu
Trusted User (TU)
From: Wrocław/Poland
Registered: 2007-04-02
Posts: 61
Website

Re: [SOLVED UPSTREAM] USB sound cards were mute with kernel 3.5.4

I've sent follow-up to linux-kernel with your model of card and info that there are now two affected devices. I've also made quick source package with this package included so you can just makepkg it: https://github.com/downloads/aginiewicz … src.tar.gz


My GPG fingerprint: 7170 26A9 D477 9FC5 3940  7266 40F5 57B7 3149 6106

Offline

#8 2012-09-22 09:22:55

ObsidianParis
Member
Registered: 2012-09-21
Posts: 4

Re: [SOLVED UPSTREAM] USB sound cards were mute with kernel 3.5.4

That's great ! I'll check it all out now.
Do you need me to send you additional hardware info or any other report ?

Offline

#9 2012-09-22 09:32:16

Giniu
Trusted User (TU)
From: Wrocław/Poland
Registered: 2007-04-02
Posts: 61
Website

Re: [SOLVED UPSTREAM] USB sound cards were mute with kernel 3.5.4

ObsidianParis wrote:

Do you need me to send you additional hardware info or any other report ?

I don't think it will be needed. I do not know how to debug/proceed with that one (if there was some error report I'd have something to start with). It has to be done by someone who knows the architecture of USB Sound Driver, so we have to rely on help from mailing list. I myself have affected card, so if they ask for something I will try to provide more information based on that. For now, we wait for upstream.

Last edited by Giniu (2012-09-22 09:33:17)


My GPG fingerprint: 7170 26A9 D477 9FC5 3940  7266 40F5 57B7 3149 6106

Offline

#10 2012-09-24 12:50:12

Kaso_Da_Zmok
Member
Registered: 2007-11-01
Posts: 19

Re: [SOLVED UPSTREAM] USB sound cards were mute with kernel 3.5.4

Same issue here. have noticed some 10 days ago when 3.5.4 was stable. tried to run 3.6-rc6 without positive result. Downgraded to 3.5.3 and scanning forums since then.
Found you now.
My hw:
ID 041e:3040 Creative Technology, Ltd SoundBlaster Live! 24-bit External SB0490

Offline

#11 2012-09-24 13:09:05

Giniu
Trusted User (TU)
From: Wrocław/Poland
Registered: 2007-04-02
Posts: 61
Website

Re: [SOLVED UPSTREAM] USB sound cards were mute with kernel 3.5.4

Thanks for info, I've sent one more mail to linux-kernel with your model, this time CC-ed people who signed commit in question. If we don't get answer seems we will just have to wait. Meanwhile, I proposed to remove this commit from our build of kernel, it's https://bugs.archlinux.org/task/31646


My GPG fingerprint: 7170 26A9 D477 9FC5 3940  7266 40F5 57B7 3149 6106

Offline

#12 2012-09-24 19:34:08

Jacala
Member
Registered: 2012-09-24
Posts: 1

Re: [SOLVED UPSTREAM] USB sound cards were mute with kernel 3.5.4

wish I had found this post before upgrading.
Same issue here.
Thanks to your package I can hear again.

My hardware
ID 046d:c22e Logitech, Inc. G510 Gaming Keyboard onboard audio

Last edited by Jacala (2012-09-24 19:34:26)

Offline

#13 2012-09-27 20:27:02

VirtualTam
Member
From: Oslo
Registered: 2012-09-27
Posts: 9

Re: [SOLVED UPSTREAM] USB sound cards were mute with kernel 3.5.4

Thanks a lot Giniu for this patch ! cool
I have a Fast Track Pro as well, the internal soundcard worked well but I could get no sound from the FTP...
A bit off-topic question: do you use the FTP only as an output device, or did you manage to use it for Pro Audio applications under Arch ?

Offline

#14 2012-09-27 21:35:29

Giniu
Trusted User (TU)
From: Wrocław/Poland
Registered: 2007-04-02
Posts: 61
Website

Re: [SOLVED UPSTREAM] USB sound cards were mute with kernel 3.5.4

VirtualTam wrote:

A bit off-topic question: do you use the FTP only as an output device, or did you manage to use it for Pro Audio applications under Arch ?

Well, I managed to use capture, but I did not bother to set up real-time kernel, priorities or stuff - some time ago I added configuration info to, that's all I did with it wiki


My GPG fingerprint: 7170 26A9 D477 9FC5 3940  7266 40F5 57B7 3149 6106

Offline

#15 2012-09-29 15:14:05

apaige
Member
Registered: 2008-06-15
Posts: 96

Re: [SOLVED UPSTREAM] USB sound cards were mute with kernel 3.5.4

With linux-3.5.4-1, I get loud clicks with my USB DAC (O2/ODAC) when starting playback or switching tracks in deadbeef. I get stuff like this in dmesg: "delay: estimated 353, actual 705".
Downgrading to linux-3.5.3-1 fixes it.

Offline

#16 2012-09-29 15:17:42

Giniu
Trusted User (TU)
From: Wrocław/Poland
Registered: 2007-04-02
Posts: 61
Website

Re: [SOLVED UPSTREAM] USB sound cards were mute with kernel 3.5.4

apaige wrote:

I get stuff like this in dmesg: "delay: estimated 353, actual 705".

That's different issue, but I remember seeing this and believe it is already fixed in 3.5.5.


My GPG fingerprint: 7170 26A9 D477 9FC5 3940  7266 40F5 57B7 3149 6106

Offline

#17 2012-09-29 20:25:27

talleres
Member
From: Cordoba
Registered: 2011-11-01
Posts: 12

Re: [SOLVED UPSTREAM] USB sound cards were mute with kernel 3.5.4

Hello, I have the following card:

ID 041e: 3040 Creative Technology, Ltd SoundBlaster Live! 24-bit External SB0490

I have the same problem, everything seems ok but there is no sound. How should I apply the patch to work?

Currently I have:

3.5.4-1-ARCH

Thank you.


Yo T vi salir campeón InTrnacional, yo T di la vuelta en la cara y vi como lloraste y T paraste a aplaudirme. Eso jamas se T va a olvidar.

Offline

#18 2012-09-30 07:21:52

Giniu
Trusted User (TU)
From: Wrocław/Poland
Registered: 2007-04-02
Posts: 61
Website

Re: [SOLVED UPSTREAM] USB sound cards were mute with kernel 3.5.4

talleres wrote:

I have the same problem, everything seems ok but there is no sound. How should I apply the patch to work?

First download source tarball, unpack it and change dir to there:

tar -xzf linux-3.5.4-1.src.tar.gz && cd linux

Also make sure you have base-devel group installed

 pacman -S base-devel

and if it is installed/updated, just run

makepkg

and you should get package, that you can install with

pacman -U ...

command. Please check Custom Kernel Compilation with ABS and Makepkg wiki pages.


My GPG fingerprint: 7170 26A9 D477 9FC5 3940  7266 40F5 57B7 3149 6106

Offline

#19 2012-09-30 19:36:00

ilkyest
Member
From: Brazil
Registered: 2010-02-13
Posts: 261

Re: [SOLVED UPSTREAM] USB sound cards were mute with kernel 3.5.4

I'm using the kernel -ck (3.5.4-1-ck) and also my soundcard is muted. It's a sound blaster audigy sb0092. The procedure above are applied to my isue?

Offline

#20 2012-09-30 20:04:14

Giniu
Trusted User (TU)
From: Wrocław/Poland
Registered: 2007-04-02
Posts: 61
Website

Re: [SOLVED UPSTREAM] USB sound cards were mute with kernel 3.5.4

ilkyest wrote:

I'm using the kernel -ck (3.5.4-1-ck) and also my soundcard is muted. It's a sound blaster audigy sb0092. The procedure above are applied to my isue?

Almost, but you need to modify linux-ck package from AUR, because I provided only modified linux package. To do this, download linux-ck sources and patch that causes issues. Name it sound.patch and add to sources array in PKGBUILD. Generate MD5SUM with makepkg -g and add it to md5sum array. Then inside build function add

patch -Np1 -R -i "${srcdir}/sound.patch"

To reverse-apply the offending change. Sorry, but right now I don't have time to make source tarball for it, so if it doesn't work you will have to wait few days or ask linux-ck maintainer.

Btw, the issue is now tracked at bugzilla.kernel.org #48051.


My GPG fingerprint: 7170 26A9 D477 9FC5 3940  7266 40F5 57B7 3149 6106

Offline

#21 2012-09-30 22:20:16

ilkyest
Member
From: Brazil
Registered: 2010-02-13
Posts: 261

Re: [SOLVED UPSTREAM] USB sound cards were mute with kernel 3.5.4

well. I think I'll let it by now. Every times I tryed patch kernel, this no more boots.....

I think in a week this would be solved. The same time I need to firmware issue in the last kernel

Offline

#22 2012-10-06 16:14:26

Giniu
Trusted User (TU)
From: Wrocław/Poland
Registered: 2007-04-02
Posts: 61
Website

Re: [SOLVED UPSTREAM] USB sound cards were mute with kernel 3.5.4

Both issues talked about in this thread, muted sound cards and "delay: estimated 353, actual 705" - were fixed in 3.5.5:

Muted sound cards were fixed by ALSA: snd-usb: fix next_packet_size calls for pause case, second issue by ALSA: usb-audio: Fix bogus error messages for delay accounting.


My GPG fingerprint: 7170 26A9 D477 9FC5 3940  7266 40F5 57B7 3149 6106

Offline

Board footer

Powered by FluxBB