Re: [gentoo-user] USB sound card not recognized as capture device

2020-01-23 Thread Wols Lists
On 23/01/20 13:59, Mick wrote:
>> Where can I post this problem? I've been using Linux for 20 years, but
>> > this is my first problem with the kernel. I found these forums:
>> > 
>> > https://forum.linuxfoundation.org/categories/drivers
>> > https://www.linuxquestions.org/questions/linux-kernel-70/
>> > 
>> > And of course the kernel mailing list, but seems to be for developers.
> I would start with BGO in the first instance:
> 
> https://bugs.gentoo.org/
> 
> providing info on the affected hardware, the errors you've identified and the 
> files you suspect containing the changes in the code.

Look in the kernel for the maintainers file, and see if you can see who
is responsible for the code.

Given that the drivers have stopped working, this is a regression, and
it's actually quite a serious bug (or at least, seen as such).

If you know who it is - or especially if it's a mailing list! - try
pinging them, with a diff of the changes you had to make to get it working.

IFF you get a response from that, then there's hopefully a good chance
you'll get asked to help fix it, and the problem will go away :-)

Cheers,
Wol




Re: [gentoo-user] USB sound card not recognized as capture device

2020-01-23 Thread Mick
On Thursday, 23 January 2020 13:50:59 GMT edes wrote:
> el 2020-01-19 a las 16:49 Mick escribió:
> > You could compare the dmesg output of working and non-working kernels
> > and see what differences are present, then google for bugs/solutions on
> > that basis.
> 
> [...]
> 
> > You could also diff the two different kernel tree versions and see what
> > drivers have changed.
> 
> Hello, thanks for your suggestions.
> 
> I'm not a programmer and I know nothing about C or kernel development, but
> I found that, beginning with 5.4.11, several changes were introduced in
> drivers/usb/core/config.c, that seem to be consistent with the message
> that appears now when I connect my card:
> 
> [  129.153850] usb 3-10.3: config 1 interface 2 altsetting 1 has a
> duplicate endpoint with address 0x85, skipping
> [  129.153854] usb 3-10.3: config 1 interface 2 altsetting 2 has a
> duplicate endpoint with address 0x85, skipping

I've suffered from a similar problem, changes in a number of files in some 
previous version stopped my WiFi NIC from working and pegged the CPU to 100%.  
The way I went about it was to comment out the offending lines in these files 
and recompile the kernel.  It is a bit of pain, since I have to perform this 
manual editing with each kernel so far.

You could try to comment out the lines which break your card for now and see 
if this fixes the problem.


> Where can I post this problem? I've been using Linux for 20 years, but
> this is my first problem with the kernel. I found these forums:
> 
> https://forum.linuxfoundation.org/categories/drivers
> https://www.linuxquestions.org/questions/linux-kernel-70/
> 
> And of course the kernel mailing list, but seems to be for developers.

I would start with BGO in the first instance:

https://bugs.gentoo.org/

providing info on the affected hardware, the errors you've identified and the 
files you suspect containing the changes in the code.
-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] USB sound card not recognized as capture device

2020-01-23 Thread edes


el 2020-01-19 a las 16:49 Mick escribió:

> You could compare the dmesg output of working and non-working kernels
> and see what differences are present, then google for bugs/solutions on
> that basis.

[...]
 
> You could also diff the two different kernel tree versions and see what 
> drivers have changed.

Hello, thanks for your suggestions. 

I'm not a programmer and I know nothing about C or kernel development, but
I found that, beginning with 5.4.11, several changes were introduced in
drivers/usb/core/config.c, that seem to be consistent with the message
that appears now when I connect my card:

[  129.153850] usb 3-10.3: config 1 interface 2 altsetting 1 has a
duplicate endpoint with address 0x85, skipping
[  129.153854] usb 3-10.3: config 1 interface 2 altsetting 2 has a
duplicate endpoint with address 0x85, skipping

Where can I post this problem? I've been using Linux for 20 years, but
this is my first problem with the kernel. I found these forums:

https://forum.linuxfoundation.org/categories/drivers
https://www.linuxquestions.org/questions/linux-kernel-70/

And of course the kernel mailing list, but seems to be for developers.


-