Hi Nick,
I have been a silent observer of this group till now, but now I am
kinda stuck. I am able to run hciattach, hciconfig, hcitool, etc. but
while running hcid I get this error message:
"
bash-3.2# hcid
hcid[1155]: Bluetooth HCI daemon
hcid[1155]: Create and Bind socket
hcid[1155]: Can't open HCI socket: Operation not permitted (1)
hcid[1155]: Cant open HCI socket: Bad file number (9
"
Can you tell me how to avoid this? I can run hcid (start hcid) with
"bluetooth" user, but I guess since hcid is not running in root user
mode, I am facing this error. The relevant hcid entry in init.rc file
is:
service hcid /system/bin/logwrapper /system/bin/hcid -d -s -n -f
system/etc/hcid.conf
socket bluetooth stream 660 bluetooth bluetooth
socket dbus_bluetooth stream 660 bluetooth bluetooth
# init.rc does not yet support applying capabilities, so run as
root and
# let hcid drop uid to bluetooth with the right linux capabilities
group bluetooth net_bt_admin misc
user root
group bluetooth net_bt_admin misc
# disabled
oneshot
Still, when I do a ps, I cannot see hcid running.
Thanks,
Sidharth
> > Pavan- Hide quoted text -
>
> - Show quoted text -