[elrepo] packaging firmware ar3k
Alan Bartlett
ajb at elrepo.org
Mon Mar 31 20:21:26 EDT 2014
On 31 March 2014 23:51, Leon Fauster <leonfauster at googlemail.com> wrote:
> Hello all,
>
> i noticed that booting
>
> $ rpm -q kernel-ml
> kernel-ml-3.13.7-1.el6.elrepo.x86_64
>
> echos
>
> uetooth: HCI socket layer initialized
> Bluetooth: L2CAP socket layer initialized
> Bluetooth: SCO socket layer initialized
> usbcore: registered new interface driver btusb
> Bluetooth: Patch file not found ar3k/AthrBT_0x11020000.dfu <<<<<<<
> Bluetooth: Loading patch file failed
> ath3k: probe of 1-1.1:1.0 failed with error -2
> usbcore: registered new interface driver ath3k
> media: Linux media interface: v0.10
>
>
> what is the best way to build a package for the AthrBT_0x11020000.dfu file/firmware?
>
> from
>
> http://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/tree/ar3k
>
> commiting a spec file?
Checking in the kernel sources (the drivers/bluetooth/ath3k.c file) I
find that error message originates from the ath3k_load_patch()
function and that, in turn, is called from the ath3k_probe() function.
In reviewing the code I also see references to the required firmware
file, ath3k-1.fw
A quick check of the ath3k.ko module confirms that requirement --
[code]
[Duo2 ~]$ modinfo -F firmware
/lib/modules/3.14.0-1.el6.elrepo.x86_64/kernel/drivers/bluetooth/ath3k.ko
ath3k-1.fw
[Duo2 ~]$
[/code]
So, as a first step, I would recommend that you download the
ath3k-1.fw file from
http://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/tree/
and copy it to your /lib/firmware/ directory and then re-test.
Please see if there is any change in the messages, then displayed.
Alan.
More information about the elrepo
mailing list