[OpenWrt-Devel] [PATCH] [packages] kernel: kmod-w1 - missing netlink support

Daniel Wiegert daniel at thewiegerts.com
Thu Jan 1 18:39:46 EST 2015


- updated kernel options to include netlink support. Without netlink
support kmod-w1 wont work with owfs / owserver with --w1 flag (
kernel-managed bus masters ) kmod-w1 should really have netlink support!
I've sent this patch one year ago - patchwork.openwrt.org/patch/4679/ still
waiting for it.

diff --git a/package/kernel/linux/
modules/w1.mk b/package/kernel/linux/modules/w1.mk
index c2fc649..dba1fed 100644
--- a/package/kernel/linux/modules/w1.mk
+++ b/package/kernel/linux/modules/w1.mk
@@ -1,5 +1,5 @@
#
-# Copyright (C) 2008-2010 OpenWrt.org
+# Copyright (C) 2008-2013 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@@ -12,8 +12,13 @@ W1_SLAVES_DIR:=$(LINUX_DIR)/drivers/w1/slaves
define KernelPackage/w1
SUBMENU:=$(W1_MENU)
TITLE:=Dallas's 1-wire support
- KCONFIG:=CONFIG_W1
- FILES:=$(LINUX_DIR)/drivers/w1/wire.ko
+ KCONFIG:= \
+ CONFIG_W1 \
+ CONFIG_W1_CON=y \
+ CONFIG_CONNECTOR
+ FILES:= \
+ $(LINUX_DIR)/drivers/w1/wire.ko \
+ $(LINUX_DIR)/drivers/connector/cn.ko
endef

define KernelPackage/w1/description
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20150102/ddb39b6c/attachment.htm>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list