2015年10月2日 星期五

How to install firmware package for wireless and bluetooth card (Debian)

Question: Sometime not find  Wireless and Bluetooth firmware, error message following:
firmware: failed to load rtlwifi/rtl8821aefw.bin (-2) => wireless issue
firmware: failed to load ar3k/AthrBT_0x11020000.dfu (-2) => bluetooth issue


1) Add "non-free" to /etc/apt/sources.list
deb http://ftp.debian.org/debian/ jessie main non-free
deb-src http://ftp.debian.org/debian/ jessie main non-free

deb http://ftp.debian.org/debian/ jessie-updates main contrib non-free
deb-src http://ftp.debian.org/debian/ jessie-updates main contrib non-free


2) update
# apt-get update

3) search keyword "firmware-" package
# apt-cache search firmware-

dns323-firmware-tools - build and manipulate firmware images for a range of NAS devices
expeyes-firmware-dev - hardware & software framework for developing science experiments
firmware-linux-free - Binary firmware for various drivers in the Linux kernel
grub-firmware-qemu - GRUB firmware image for QEMU
linux-wlan-ng - utilities for wireless prism2 cards
sigrok-firmware-fx2lafw - Firmware for Cypress FX2(LP) based logic analyzers
dahdi-firmware-nonfree - DAHDI non-free firmware
firmware-crystalhd - Crystal HD Video Decoder (firmware)
firmware-adi - Binary firmware for Analog Devices Inc. DSL modem chips
firmware-atheros - Binary firmware for Atheros wireless cards
firmware-bnx2 - Binary firmware for Broadcom NetXtremeII
firmware-bnx2x - Binary firmware for Broadcom NetXtreme II 10Gb
firmware-brcm80211 - Binary firmware for Broadcom 802.11 wireless cards
firmware-intelwimax - Binary firmware for Intel WiMAX Connection
firmware-ipw2x00 - Binary firmware for Intel Pro Wireless 2100, 2200 and 2915
firmware-ivtv - Binary firmware for iTVC15-family MPEG codecs (ivtv and pvrusb2 drivers)
firmware-iwlwifi - Binary firmware for Intel Wireless cards
firmware-libertas - Binary firmware for Marvell Libertas 8xxx wireless cards
firmware-linux - Binary firmware for various drivers in the Linux kernel (meta-package)
firmware-linux-nonfree - Binary firmware for various drivers in the Linux kernel
firmware-myricom - Binary firmware for Myri-10G Ethernet adapters
firmware-netxen - Binary firmware for QLogic Intelligent Ethernet (3000 and 3100 Series)
firmware-qlogic - Binary firmware for QLogic IBA7220, QLA1xxx, ISP2xxx and SP2x2
firmware-ralink - Binary firmware for Ralink wireless cards
firmware-realtek - Binary firmware for Realtek wired and wireless network adapters
firmware-samsung - Binary firmware for Samsung MFC video codecs
firmware-ti-connectivity - Binary firmware for TI Connectivity wireless network adapters
libertas-firmware - Firmware for Marvell's libertas wireless chip series (dummy package)
firmware-zd1211 - binary firmware for the zd1211rw wireless driver
zd1211-firmware - transitional dummy package for firmware-zd1211

4) install firmware package
# apt-get install firmware-realtek firmware-atheros

5) reboot



2015年10月1日 星期四

How to Bluetooth Headset to work on Debian (A2DP)

1) Install the following packages
apt-get install gnome-bluetooth pulseaudio pulseaudio-module-bluetooth pavucontrol blueman bluetooth bluez 

2) Create the file ~/.asoundrc
pcm.!default plug:pulse 
pcm.pulse { 
type pulse 


3) Edit /etc/default/bluetooth to enable the following 
#HID2HCI_ENABLED=0
#HID2HCI_UNDO=0
HID2HCI_ENABLED=1 
HID2HCI_UNDO=1 

4) Reboot

5) You can check audio setting it created Headset device.