Skip to contentSkip to conversation

Appletouch is gone!

DISCUSSION Thomas Meyer 2 participants 3 messages May 3, 2007 – May 6, 2007 USB

lore
Share & tools
lore
#0 lore raw

With current git head from linus' tree
and LOCALVERSION_AUTO [=y] and USB_APPLETOUCH [=m]

find /lib/modules/ -name apple* /lib/modules/2.6.20/kernel/drivers/usb/input/appletouch.ko /lib/modules/2.6.21/kernel/drivers/usb/input/appletouch.ko

uname -a
Linux hotzenplotz 2.6.21-gdc87c398

Any ideas?

#1 lore raw
Quoted 7 lines · Thomas Meyer

With current git head from linus' tree and LOCALVERSION_AUTO [=y] and USB_APPLETOUCH [=m]
find /lib/modules/ -name apple* /lib/modules/2.6.20/kernel/drivers/usb/input/appletouch.ko /lib/modules/2.6.21/kernel/drivers/usb/input/appletouch.ko uname -a
Linux hotzenplotz 2.6.21-gdc87c398

Sorry, I am not able to reproduce it here

$ grep USB_APPLETOUCH .config
CONFIG_USB_APPLETOUCH=m
$ grep LOCALVERSION_AUTO .config
CONFIG_LOCALVERSION_AUTO=y
$ ll /lib/modules/2.6.21-default-gdc87c398-dirty/kernel/drivers/usb/input/appletouch.ko
-rw-r--r-- 1 root root 33482 2007-05-03 11:23 /lib/modules/2.6.21-default-gdc87c398-dirty/kernel/drivers/usb/input/appletouch.ko

Could you please give me your full .config?

Signature · 1 line
Jiri Kosina
#2 lore raw
In reply to Thomas Meyer
Quoted 5 lines · Thomas Meyer

With current git head from linus' tree and LOCALVERSION_AUTO [=y] and USB_APPLETOUCH [=m]
find /lib/modules/ -name apple* /lib/modules/2.6.20/kernel/drivers/usb/input/appletouch.ko /lib/modules/2.6.21/kernel/drivers/usb/input/appletouch.ko

This doesn't seem to be a bug specific to current state of the git tree. You probably previously had .config which selected some other driver from drivers/usb/input and therefore build system correctly descended into it. The patch below should solve your issue.

Greg, could you please take it through your tree? Thanks.

From: Jiri Kosina <[email protected]>

USB: add forgotten values to Makefile

There are several CONFIG_ values related to drivers/usb/input directory that are missing in drivers/usb/Makefile, and therefore they are not sufficient to cause Kbuild to recurse into input/ subdirectory when they are set.

Add missing values.

drivers/usb/Makefile +6 -0
index f5de58a..18ef432 100644
@@ -25,12 +25,18 @@ obj-$(CONFIG_USB)		+= storage/
 
 obj-$(CONFIG_USB_ACECAD)	+= input/
 obj-$(CONFIG_USB_AIPTEK)	+= input/
+obj-$(CONFIG_USB_APPLETOUCH)	+= input/
 obj-$(CONFIG_USB_ATI_REMOTE)	+= input/
+obj-$(CONFIG_USB_ATI_REMOTE2)	+= input/
+obj-$(CONFIG_USB_GTCO)		+= input/
 obj-$(CONFIG_USB_KBTAB)		+= input/
+obj-$(CONFIG_USB_KEYSPAN_REMOTE)	+= input/
 obj-$(CONFIG_USB_MTOUCH)	+= input/
 obj-$(CONFIG_USB_POWERMATE)	+= input/
+obj-$(CONFIG_USB_TOUCHSCREEN)	+= input/
 obj-$(CONFIG_USB_WACOM)		+= input/
 obj-$(CONFIG_USB_XPAD)		+= input/
+obj-$(CONFIG_USB_YEALINK)	+= input/
 
 obj-$(CONFIG_USB_CATC)		+= net/
 obj-$(CONFIG_USB_KAWETH)	+= net/