[Bug 211013] Cannot find ath3k bluetooth controller attached on USB

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.kernel.org/show_bug.cgi?id=211013

--- Comment #1 from Tianhao Chai (cth451@xxxxxxxxx) ---
Apparently this ver_rom 0x11020000 has never been recorded in
qca_devices_table[] defined in btusb.c.

Before 5.10 (i.e. 5.9.x and possibly earlier), the function btusb_setup_qca()
will short circuit and return 0 before querying the device table (the following
from 5.9.16, btusb.c:3627):

        ver_rom = le32_to_cpu(ver.rom_version);
        /* Don't care about high ROM versions */
        if (ver_rom & ~0xffffU)
                return 0;

Since this check is removed in 5.10.x due to added support of WCN6855 (which
has a high ROM version), the driver would return -ENODEV as this 0x11020000
doesn't exist in qca_devices_table in the first place.

I am not sure how this should be resolved. We could check whether ver_rom ==
0x11020000 and directly return 0 (and the card would work after that), but I
think this is a very dirty approach.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux