bluetooth bluez
Home › Forums › MultiConnect OCG › bluetooth bluez
Tagged: Bluetooth; bluez
- This topic has 4 replies, 2 voices, and was last updated 11 years, 8 months ago by
huabing wang.
-
AuthorPosts
-
August 7, 2013 at 10:02 am #4601
huabing wang
ParticipantOur application needs to get data from a Bluetooth USB Adapter attached to the USB Host port. So my understanding was I need to install a bluetooth driver on the device before I can get access to the bluetooth. So, I was trying to build Bluez on my development machine (ubuntu 11.04, corecdp-2.2.2, and corecdp-base-image has been built successfully). I did the following:
(1) cd corecdp-2.2.2
(2) source env-oe.sh
(3) bitbake bluezThen I got the following warnings and errors. I highlighted the warnings and errors that I am concerned but don’t know understand. Anybody can help me with them or instruct me how I should do to build bluez. Your help will be highly appreciated.
———————————————————–
xxx@ubuntu1104:~/Downloads/corecdp-2.2.2$bitbake bluez
NOTE: Psyco JIT Compiler (http://psyco.sf.net) not available. Install it to increase performance.
Loading cache: 100% |###########################################| ETA: 00:00:00
Loaded 7295 entries from dependency cache.
NOTE: Angstrom DOES NOT support fso-apm because regular apmd is good enough01:46
NOTE: Angstrom DOES NOT support bluez-libs because bluez-libs 3.x has been replaced by bluez4
NOTE: Angstrom DOES NOT support bluez-libs because bluez-libs 3.x has been replaced by bluez4
NOTE: Angstrom DOES NOT support bluez-utils because bluez-utils 3.x has been replaced by bluez4
NOTE: Angstrom DOES NOT support bluez-utils because bluez-utils 3.x has been replaced by bluez4
NOTE: Angstrom DOES NOT support bluez-libs because bluez-libs 3.x has been replaced by bluez4
NOTE: Angstrom DOES NOT support ipkg because ipkg has been superseded by opkg:08
NOTE: Angstrom DOES NOT support libiconv because the glibc builtin iconv replacement is used
NOTE: Angstrom DOES NOT support libiconv because the glibc builtin iconv replacement is used
NOTE: Angstrom DOES NOT support libiconv because the glibc builtin iconv replacement is used
Parsing recipes: 100% |#########################################| Time: 00:00:36
Parsing of 7434 .bb files complete (6632 cached, 802 parsed). 8118 targets, 365 skipped, 2 masked, 0 errors.
WARNING: No bb files matched BBFILE_PATTERN_user ‘/home/clr/Downloads/corecdp-2.2.2/user-layer’Build Configuration:
BB_VERSION = “1.12.0”
METADATA_BRANCH = “<unknown>”
METADATA_REVISION = “56a79a3”
TARGET_ARCH = “arm”
TARGET_OS = “linux-gnueabi”
MACHINE = “mtcdp”
DISTRO = “corecdp”
DISTRO_VERSION = “2.2.2”
TARGET_FPU = “soft”ERROR: Nothing PROVIDES ‘bluez’
ERROR: Command execution failed: Traceback (most recent call last):
File “/home/clr/Downloads/corecdp-2.2.2/bitbake/lib/bb/command.py”, line 102, in runAsyncCommand
commandmethod(self.cmds_async, self, options)
File “/home/clr/Downloads/corecdp-2.2.2/bitbake/lib/bb/command.py”, line 200, in buildTargets
command.cooker.buildTargets(pkgs_to_build, task)
File “/home/clr/Downloads/corecdp-2.2.2/bitbake/lib/bb/cooker.py”, line 753, in buildTargets
taskdata.add_provider(localdata, self.status, k)
File “/home/clr/Downloads/corecdp-2.2.2/bitbake/lib/bb/taskdata.py”, line 353, in add_provider
self.add_provider_internal(cfgData, dataCache, item)
File “/home/clr/Downloads/corecdp-2.2.2/bitbake/lib/bb/taskdata.py”, line 373, in add_provider_internal
raise bb.providers.NoProvider(item)
NoProvider: bluezAugust 7, 2013 at 10:16 am #4602huabing wang
ParticipantI also tried “bitbake bluez4_4.84.bb” (bluez4_4.84.bb can be found at “corecdp-2.2.2/openembedded/recipes/bluez/”). But I got basically same errors.
August 7, 2013 at 10:32 am #4603huabing wang
Participantby the way, my model is MTCDP-H5-GP. Thanks.
August 7, 2013 at 1:33 pm #4604Bryan Tran
ModeratorHi,
Try: bitbake bluez4
Also, if it complained about the MD5sum and SHA256sum mismatch then you need to go /openembedded/recipes/bluez/bluez4_84.bb, commented the old ones and added the new MD5sum/SHA256sum ones.
Regards,
BT
August 8, 2013 at 2:49 pm #4607huabing wang
ParticipantThanks Bryan,
I tried “bitbake bluez4” and it did complained about the MD5sum and SHA256sum. Then I updated them and the build succeeded.
Then, I scp the .ipk file onto the device and use the following to install:
“opkg install bluez4_4.84-r8.0.10_armv5te.ipk”
and then it complained:
“update-rc.d: /etc/init.d/bluetooth: file does not exist”where can I found this file?
Thanks.
-
AuthorPosts
- You must be logged in to reply to this topic.