Permalink
Browse files

bluez-utils: also load the btusb kernel module (refs #2187)

git-svn-id: file:///var/svn/freetz/trunk@11044 149334a1-2f27-0410-a3b9-fc62619ac1e6
  • Loading branch information...
1 parent 629cb7a commit 133718c3a6cfd62b206d73f10354def7dbf9e3de Whoopie committed Sep 29, 2013
Showing with 3 additions and 2 deletions.
  1. +3 −2 make/bluez-utils/files/root/etc/init.d/rc.bluez-utils
@@ -24,8 +24,9 @@ start() {
# /wtc/hotplug/net.pandu set rights
[ -e /tmp/flash/bluez/netpandu ] && chmod 755 /tmp/flash/bluez/netpandu
- # Insert bfusb (bluefritz driver), hci_usb and rfcomm module
+ # Insert bfusb (bluefritz driver), btusb, hci_usb and rfcomm module
modprobe -q bfusb >/dev/null 2>&1
+ modprobe -q btusb >/dev/null 2>&1
modprobe -q hci_usb >/dev/null 2>&1
if [ "$BLUEZ_UTILS_RFCOMM_START" = "yes" ]; then
@@ -95,7 +96,7 @@ stop() {
killall -9 hcid >/dev/null 2>&1
exitval1=$?
- rmmod bnep rfcomm l2cap bluetooth hci_usb >/dev/null 2>&1
+ rmmod bnep rfcomm l2cap bluetooth bfusb btusb hci_usb >/dev/null 2>&1
[ "$exitval1" -eq 0 -a "$exitval2" -eq 0 ] && return 0
}

0 comments on commit 133718c

Please sign in to comment.