Welcome to WiFi-Forum

Go Back   WiFi-Forum - Wi-Fi Discussion Forum > Bluetooth Discussion Forums > alt.cellular.bluetooth
Reply
 
Thread Tools Display Modes
  #1  
Old 12-05-2005, 07:21 AM
atrent
 
Posts: n/a
Default linux & bluetooth, permissions problem?

strange behaviour...

as a normal user:
$ hcitool info XXXXXXXXXXX
Requesting information ...
Can't create connection: Operation not permitted


as root:
# hcitool info XXXXXXXXXX
Requesting information ...
BD Address: XXXXXXXXXXXXX
Device Name: XXXXX
LMP Version: 1.2 (0x2) LMP Subversion: 0x4db
Manufacturer: Cambridge Silicon Radio (10)
Features: 0xbf 0xee 0x0f 0x40 0x18 0x18 0x00 0x00
<3-slot packets> <5-slot packets> <encryption> <slot
offset>
<timing accuracy> <role switch> <sniff mode> <RSSI>
<channel quality> <SCO link> <HV3 packets> <u-law log>
<A-law log> <CVSD> <paging scheme> <power control>
<transparent SCO> <inquiry with RSSI> <AFH cap. slave>
<AFH class. slave> <AFH cap. master> <AFH class.
master>


/dev/rfcomm* are rw-rw-rw and the user belongs to 'dialout' group

any clues?

thanks

Reply With Quote
  #2  
Old 12-17-2005, 07:21 PM
Henryk Plötz
 
Posts: n/a
Default Re: linux & bluetooth, permissions problem?

Moin,

Am 5 Dec 2005 06:21:51 -0800 schrieb atrent:

> strange behaviour...


It's working as designed, I think. hcitool info uses low-level HCI
commands to create a connection (just like hcitool cc) and that is a
privileged operation (probably because it could interfere with other
users that want to create connections).

Judging from the code: the problem is just with creating the
connection, not with gathering the information. So you could connect any
other way (either hcitool cc as root, or create an L2CAP connection to
any of the services of the remote device, etc.) and then hcitool info
will work.

> /dev/rfcomm* are rw-rw-rw and the user belongs to 'dialout' group


RFCOMM has nothing to do with this.

--
Henryk Plötz
Grüße aus Berlin
~~~~~~~ Un-CDs, nein danke! http://www.heise.de/ct/cd-register/ ~~~~~~~
~ Help Microsoft fight software piracy: Give Linux to a friend today! ~
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Belkin bluetooth problem - 'unable to start the device' matyd13 BlueTooth Forum 1 11-11-2005 12:45 PM
Cell phone bluetooth function problem kr0 Sony Ericsson Forum 0 09-20-2005 02:51 PM
Cell phone bluetooth function problem kr0 General Mobile Forum 0 09-20-2005 02:48 PM
Linux vs. Windows: TCO Comparison Laura DiDio comp.dcom.telecom 0 08-20-2005 11:35 AM
Bluetooth dongle problem - system freezes spoon2001 alt.cellular.bluetooth 0 08-07-2005 07:21 PM




All times are GMT -7. The time now is 06:56 AM.

vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd. All Contents Copyright © Wifi-Forum.com