Skip to contentSkip to conversation

rctest[3790]: Can't set L2CAP link mode

Bluez-users soraberri 2 participants 2 messages Dec 29, 2004 Bluetooth drivers

lore
Share & tools
lore

soraberri

author
#0 lore raw

This is part of my lsmod output:

[soraberri@castejon temp]$ lsmod

Module                  Size  Used by
hci_usb                15041  3
rfcomm                 36701  2
l2cap                  25285  7 rfcomm
bluetooth              46917  11 hci_usb,rfcomm,l2cap

sdpd and hcid are running

I think all the important stuff is there, and then why am I getting the following error?

[soraberri@castejon temp]$rctest -r
rctest[3790]: Can't set L2CAP link mode. Protocol not available(92)

Well it seems that the error is born within the call to setsockopt(s, SOL_RFCOMM, RFCOMM_LM, &opt, sizeof(opt)) in rctest.c

If you could give me a clue, pleease..

thanks for your time.

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

maintainer
#1 lore raw

Hi,

Quoted 9 lines

This is part of my lsmod output:

[soraberri@castejon temp]$ lsmod

Module                  Size  Used by
hci_usb                15041  3
rfcomm                 36701  2
l2cap                  25285  7 rfcomm
bluetooth              46917  11 hci_usb,rfcomm,l2cap
Quoted 7 lines

sdpd and hcid are running

I think all the important stuff is there, and then why am I getting the following error?

[soraberri@castejon temp]$rctest -r
rctest[3790]: Can't set L2CAP link mode. Protocol not available(92)

this error is wrong and I actually fixed it in the CVS now.

Quoted 3 lines

Well it seems that the error is born within the call to setsockopt(s, SOL_RFCOMM, RFCOMM_LM, &opt, sizeof(opt)) in rctest.c

You need a kernel with RFCOMM service level security support. This is not mainline yet.

Regards

Marcel

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users