From: Michael Lauer Date: Fri, 8 Jul 2005 23:37:06 +0000 (+0000) Subject: kernel.bbclass: Add autoload entries for the bluetooth modules 'hidp' and 'rfcomm'. X-Git-Tag: Release-2010-05/1~9453^2~4213^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9310b1b3d0ee0c7d49e7cb0e6a55b2d3c8c42454;p=openembedded.git kernel.bbclass: Add autoload entries for the bluetooth modules 'hidp' and 'rfcomm'. This fixes /etc/init.d/bluetooth starting (on kernels which support 'hidp') the bluetooth subsystem, i.e. hcid. Tested on Sharp C7x0 w/ kernel 2.6.12-mm1. --- diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass index 598380be36..8b2186dec6 100644 --- a/classes/kernel.bbclass +++ b/classes/kernel.bbclass @@ -184,18 +184,21 @@ if [ x"$D" = "x" ]; then fi } -# defaults +# autoload defaults (alphabetically sorted) +module_autoload_hidp = "hidp" module_autoload_ipv6 = "ipv6" module_autoload_ipsec = "ipsec" module_autoload_ircomm-tty = "ircomm-tty" +module_autoload_rfcomm = "rfcomm" module_autoload_sa1100-rtc = "sa1100-rtc" +# alias defaults (alphabetically sorted) module_conf_bluez = "alias net-pf-31 bluez" +module_conf_bnep = "alias bt-proto-4 bnep" +module_conf_hci_uart = "alias tty-ldisc-15 hci_uart" module_conf_l2cap = "alias bt-proto-0 l2cap" module_conf_sco = "alias bt-proto-2 sco" module_conf_rfcomm = "alias bt-proto-3 rfcomm" -module_conf_bnep = "alias bt-proto-4 bnep" -module_conf_hci_uart = "alias tty-ldisc-15 hci_uart" python populate_packages_prepend () { def extract_modinfo(file):