Re: Re: [crisos] bluetooth modules undefined symbols |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/crisos Archives
]
hi claudio,
thank you for your quick answer;
the patch you provided seems to not resolve the problem;
i made some test and found more info:
1) hid.ko won't compile because there isn't the module input-core.ko by wich it depends
2) this despite the fact that is listed the corresponding input-core***.ipk package inside compile log
3) the module input-evdev.ko (also needed by hid.ko) is correctly compiled, i can find it inside build_dir/staging_dir
4) i compiled crux and cris sdk enabling identical option with identical kernel; for crux is all ok
5) file other.mk is the same between the two sdk (at least by a first look)
6) the difference are inside the two kernel tree:
for cris the dir (kernel_dir)/drivers/input differs in files: modules.order and for input-evdev.mod.c
ciao
----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.