R: Re: [crisos] bluetooth modules undefined symbols

[ Thread Index | Date Index | More lists.tuxfamily.org/crisos Archives ]



dear claudio,

i've found the problem for compiling the hid module,
it's only a matter of config files:

1- extend 400-Kconfig_source.patch to include `source "drivers/hid/Kconfig"` line inside /arch/cris/Kconfig
2- to add `CONFIG_HID_SUPPORT=y` to `target/linux/etrax/config-2.6.30` and to (but i'm not sure) `target/linux/generic-2.6/config-2.6.30`

now there is a hid.ko module in the build dir

best regards
giorgio

(sorry but i've not tried till now the diff/patch utils and cannot provide one)

----Messaggio originale----
Da: claudyus84@xxxxxxxxx
Data: 10-set-2009 9.00 AM
A: <crisos@xxxxxxxxxxxxxxxxxxx>
Ogg: Re: [crisos] bluetooth modules undefined symbols

2009/9/10 Franchini Ing. Giorgio <giorgio.franchini@xxxxxx>:
>
>  hi to all,
>
>  after some time of inactivity i restarted to develop an old idea for
>  the fox board;
>
>  i enabled bluetooth support and bluez-utils and bluetooth hci dump;
>
>  this is the startup log:
>
> .
> .
> split_squashfs: no squashfs found in "cse0"
>  Adding RAM partition for romfs image:
>   /dev/flash1 at 0x00000000, size 0x00000000
> GPIO port G: in_bits: 0x01FFFF3F out_bits: 0x3200003E val: BDFFFFEF
> GPIO port G: dir: 00000000 changeable: 01FFFF01
> ETRAX 100LX GPIO driver v2.5, (c) 2001-2008 Axis Communications AB
> IRQ 2/gpio poll: IRQF_DISABLED is not guaranteed on shared IRQs
> IRQ 11/gpio PA: IRQF_DISABLED is not guaranteed on shared IRQs
> TCP westwood registered
> NET: Registered protocol family 17
> jffs2_scan_eraseblock(): End of filesystem marker found at 0x1b0000
> jffs2_build_filesystem(): unlocking the mtd device... done.
> jffs2_build_filesystem(): erasing all blocks after the end marker... <6>usb
> 1-1: new full speed USB device using hc-crisv10 and address 2
> usb 1-1: configuration #1 chosen from 1 choice
> usb 1-2: new full speed USB device using hc-crisv10 and address 3
> usb 1-2: configuration #1 chosen from 1 choice
> done.
> VFS: Mounted root (jffs2 filesystem) readonly on device 31:1.
> Freeing unused kernel memory: 48k freed
> Please be patient, while OpenWrt loads ...
> - preinit -
> Press CTRL-C for failsafe
> - init -
> Bluetooth: Core ver 2.15
> NET: Registered protocol family 31
> Bluetooth: HCI device and connection manager initialized
> Bluetooth: HCI socket layer initialized
> Bluetooth: L2CAP ver 2.13
> Bluetooth: L2CAP socket layer initialized
> Bluetooth: SCO (Voice Link) ver 0.6
> Bluetooth: SCO socket layer initialized
> Bluetooth: RFCOMM socket layer initialized
> Bluetooth: RFCOMM TTY layer initialized
> Bluetooth: RFCOMM ver 1.11
> Bluetooth: BNEP (Ethernet Emulation) ver 1.3
> Bluetooth: BNEP filters: protocol multicast
>
> hidp: Unknown symbol hid_output_report
> hidp: Unknown symbol hid_unregister_driver
> hidp: Unknown symbol __hid_register_driver
> hidp: Unknown symbol hidinput_disconnect
> hidp: Unknown symbol hid_allocate_device
> hidp: Unknown symbol hid_destroy_device
> hidp: Unknown symbol hid_input_report
> hidp: Unknown symbol hid_parse_report
> hidp: Unknown symbol hid_add_device
>
> Bluetooth: HCI UART driver ver 2.2
> Bluetooth: HCI H4 protocol initialized
> Bluetooth: HCI BCSP protocol initialized
> Bluetooth: Generic Bluetooth USB driver ver 0.5
>
> the problem is that the module hidp.ko doesn't load inside the kernel
> because of the lack of the module
> hid.ko, but this module is selected automatically by the config system and
> won't compile.
>
> i suppose it's only a matter of some configuration variables that are not
> correctly set but i don't know
> where to check
>
> does anyone can help?
>
Hi
can you test if following patch for openwrt works?
--------------------------------------
diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk
index 3844068..b417c18 100644
--- a/package/kernel/modules/other.mk
+++ b/package/kernel/modules/other.mk
@@ -616,8 +616,8 @@ define KernelPackage/input-core
   TITLE:=Input device core
   DEPENDS:=@LINUX_2_6
   KCONFIG:=CONFIG_INPUT
-  FILES:=$(LINUX_DIR)/drivers/input/input-core.$(LINUX_KMOD_SUFFIX)
-  AUTOLOAD:=$(call AutoLoad,19,input-core)
+  FILES:=$(LINUX_DIR)/drivers/hid/hid-core.$(LINUX_KMOD_SUFFIX)
+  AUTOLOAD:=$(call AutoLoad,19,hid-core)
endef

define KernelPackage/input-core/description
-------------------------------
>
> ps with the latest kernels mmc module crash because of some changes in the
> block devices api
> more details will follow...
>
> pps a similar problem of modules unknown symbols affects wifi related
> modules
> more details will follow...
>
>
> thank you all
>
>
>
>
>
>
>
>

---
CrisOs mailing list
Official multi-language http://www.crisos.org/ mailing list

For unsubscribe send empty mail to: crisos-request@xxxxxxxxxxxxxxxxxxx with subject unsubscribe.





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/