View | Details | Raw Unified | Return to bug 233889 | Differences between
and this patch

Collapse All | Expand All

(-)comms/ath3k-firmware/Makefile (+36 lines)
Line 0 Link Here
1
# Created by: Vladimir Kondratyev <wulf@FreeBSD.org>
2
# $FreeBSD$
3
4
PORTNAME=	ath3k-firmware
5
PORTVERSION=	20161130
6
CATEGORIES=	comms
7
MASTER_SITES=	DEBIAN/pool/non-free/f/firmware-nonfree/
8
DISTNAME=	firmware-atheros_${PORTVERSION}-4_all
9
EXTRACT_SUFX=	.deb
10
11
MAINTAINER=	wulf@FreeBSD.org
12
COMMENT=	Atheros AR3011/AR3012 bluetooth adaptor firmwares used by ath3kfw(8)
13
14
LICENSE=	ATHEROS
15
LICENSE_NAME=	Atheros firmware license
16
LICENSE_FILE=	${WRKDIR}/usr/share/doc/firmware-atheros/copyright
17
LICENSE_PERMS=	dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept
18
19
NO_BUILD=	yes
20
NO_ARCH=	yes
21
22
EXTRACT_CMD=	${AR}
23
EXTRACT_BEFORE_ARGS=	-p
24
EXTRACT_AFTER_ARGS=	data.tar.xz | ${TAR} -xf - ${EXTRACT_FILES}
25
EXTRACT_FILES=	lib/firmware/ar3k \
26
		lib/firmware/ath3k-1.fw \
27
		usr/share/doc/firmware-atheros/copyright
28
29
SUB_FILES=	ath3k.conf
30
31
do-install:
32
	cd ${WRKDIR}/lib/firmware && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
33
	${INSTALL_DATA} \
34
		${WRKDIR}/ath3k.conf ${STAGEDIR}${PREFIX}/etc/devd/ath3k.conf
35
36
.include <bsd.port.mk>
(-)comms/ath3k-firmware/distinfo (+3 lines)
Line 0 Link Here
1
TIMESTAMP = 1544093347
2
SHA256 (firmware-atheros_20161130-4_all.deb) = 1f40b7d4008b0602a2de54aa096995aa3aeeb3426e136a1e0130de7b17bdf523
3
SIZE (firmware-atheros_20161130-4_all.deb) = 3131644
(-)comms/ath3k-firmware/files/ath3k.conf.in (+77 lines)
Line 0 Link Here
1
# Atheros AR3011 with sflash firmware
2
notify 100 {
3
	match "system"		"USB";
4
	match "subsystem"	"DEVICE";
5
	match "type"		"ATTACH";
6
	match "vendor"		"0x0cf3";
7
	match "product"		"0x3000";
8
	action "/usr/sbin/ath3kfw -d $cdev -f %%DATADIR%%";
9
};
10
11
# Atheros AR3012 with sflash firmware
12
notify 100 {
13
	match "system"		"USB";
14
	match "subsystem"	"DEVICE";
15
	match "type"		"ATTACH";
16
	match "vendor"		"0x0489";
17
	match "product"		"(0xe04d|0xe04e|0xe056|0xe057|0xe05f|0xe076|0xe078|0xe095)";
18
	action "/usr/sbin/ath3kfw -d $cdev -f %%DATADIR%%";
19
};
20
notify 100 {
21
	match "system"		"USB";
22
	match "subsystem"	"DEVICE";
23
	match "type"		"ATTACH";
24
	match "vendor"		"0x04c5";
25
	match "product"		"0x1330";
26
	action "/usr/sbin/ath3kfw -d $cdev -f %%DATADIR%%";
27
};
28
notify 100 {
29
	match "system"		"USB";
30
	match "subsystem"	"DEVICE";
31
	match "type"		"ATTACH";
32
	match "vendor"		"0x04ca";
33
	match "product"		"(0x3004|0x3005|0x3006|0x3007|0x3008|0x300b|0x300d|0x300f|0x3010|0x3014|0x3018)";
34
	action "/usr/sbin/ath3kfw -d $cdev -f %%DATADIR%%";
35
};
36
notify 100 {
37
	match "system"		"USB";
38
	match "subsystem"	"DEVICE";
39
	match "type"		"ATTACH";
40
	match "vendor"		"0x0930";
41
	match "product"		"(0x0219|0x021c|0x0220|0x0227)";
42
	action "/usr/sbin/ath3kfw -d $cdev -f %%DATADIR%%";
43
};
44
notify 100 {
45
	match "system"		"USB";
46
	match "subsystem"	"DEVICE";
47
	match "type"		"ATTACH";
48
	match "vendor"		"0x0b05";
49
	match "product"		"0x17d0";
50
	action "/usr/sbin/ath3kfw -d $cdev -f %%DATADIR%%";
51
};
52
notify 100 {
53
	match "system"		"USB";
54
	match "subsystem"	"DEVICE";
55
	match "type"		"ATTACH";
56
	match "vendor"		"0x0cf3";
57
	match "product"		"(0x0036|0x3004|0x3005|0x3008|0x311d|0x311e|0x311f|0x3121|0x817a|0x817b|0xe003|0xe004|0xe005|0xe006)";
58
	action "/usr/sbin/ath3kfw -d $cdev -f %%DATADIR%%";
59
};
60
notify 100 {
61
	match "system"		"USB";
62
	match "subsystem"	"DEVICE";
63
	match "type"		"ATTACH";
64
	match "vendor"		"0x13d3";
65
	match "product"		"(0x3362|0x3375|0x3393|0x3402|0x3408|0x3423|0x3432|0x3472|0x3474|0x3487|0x3490)";
66
	action "/usr/sbin/ath3kfw -d $cdev -f %%DATADIR%%";
67
};
68
69
# Atheros AR5BBU22 with sflash firmware */
70
notify 100 {
71
	match "system"		"USB";
72
	match "subsystem"	"DEVICE";
73
	match "type"		"ATTACH";
74
	match "vendor"		"0x0489";
75
	match "product"		"(0xe036|0xe03c)";
76
	action "/usr/sbin/ath3kfw -d $cdev -f %%DATADIR%%";
77
};
(-)comms/ath3k-firmware/pkg-descr (+4 lines)
Line 0 Link Here
1
Firmware for the Atheros AR3011/AR3012 chip based Bluetooth USB devices.
2
To be downloaded with ath3kfw(8).
3
4
WWW: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
(-)comms/ath3k-firmware/pkg-plist (+20 lines)
Line 0 Link Here
1
etc/devd/ath3k.conf
2
%%DATADIR%%/ar3k/AthrBT_0x01020001.dfu
3
%%DATADIR%%/ar3k/AthrBT_0x01020200.dfu
4
%%DATADIR%%/ar3k/AthrBT_0x01020201.dfu
5
%%DATADIR%%/ar3k/AthrBT_0x11020000.dfu
6
%%DATADIR%%/ar3k/AthrBT_0x11020100.dfu
7
%%DATADIR%%/ar3k/AthrBT_0x31010000.dfu
8
%%DATADIR%%/ar3k/AthrBT_0x31010100.dfu
9
%%DATADIR%%/ar3k/AthrBT_0x41020000.dfu
10
%%DATADIR%%/ar3k/ramps_0x01020001_26.dfu
11
%%DATADIR%%/ar3k/ramps_0x01020200_26.dfu
12
%%DATADIR%%/ar3k/ramps_0x01020200_40.dfu
13
%%DATADIR%%/ar3k/ramps_0x01020201_26.dfu
14
%%DATADIR%%/ar3k/ramps_0x01020201_40.dfu
15
%%DATADIR%%/ar3k/ramps_0x11020000_40.dfu
16
%%DATADIR%%/ar3k/ramps_0x11020100_40.dfu
17
%%DATADIR%%/ar3k/ramps_0x31010000_40.dfu
18
%%DATADIR%%/ar3k/ramps_0x31010100_40.dfu
19
%%DATADIR%%/ar3k/ramps_0x41020000_40.dfu
20
%%DATADIR%%/ath3k-1.fw

Return to bug 233889