Hi,

Why do I get this ? I have a set of Vendor Specific commands that hciattach
would send over the hci0 socket interface, I get these when I try and send
them,

I//system/bin/hciattach(  959): Cannot send hci command to socket: Operation
not permitted
I//system/bin/hciattach(  959): Can't initialize device: Operation not
permitted

It had eventually came down to function writev in hci_send_cmd, and the
writev in itself is failing.

I am starting hciattach & hcid from UI, so the user/owner is 'bluetooth'
although I do get the same message when I try and run as 'root.
Here's the ocf/ogf when I get that error,

I//system/bin/hciattach(  959): hci_send_cmd:writing 63, 268
I//system/bin/hciattach(  959): hci_send_cmd: errno: 1


Any ideas ??

regards,
Pavan

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to