* [Bluez-users] rfcomm: permission denied
@ 2004-02-07 21:48 Zbigniew Diaczyszyn (gmx)
2004-02-09 10:13 ` Marcel Holtmann
0 siblings, 1 reply; 18+ messages in thread
From: Zbigniew Diaczyszyn (gmx) @ 2004-02-07 21:48 UTC (permalink / raw)
To: bluez-users
I'm working with Suse 8.2 and a Typhoon Bluetooth modem. I had it =
working - once. Now rfcomm is just saying: permission denied. The =
following lines are a protocol of bluetooth session. I have no idea at =
all in which config-files I should look for a solution. /bin/bluepin =
ist just a < cat /etc/bluetooth/bluepin >. I'm working as root and =
/dev/rfcomm0 ist belonging to root.
Zbigniew Diaczyszyn z.dia@gmx.de
-------------------------------------------------------------------------=
---------
linux:~ # hcid
linux:~ # hciconfig -a
hci0: Type: USB
BD Address: 00:10:60:A6:97:8C ACL MTU: 192:8 SCO MTU: 64:8
UP RUNNING PSCAN ISCAN
RX bytes:129 acl:0 sco:0 events:18 errors:0
TX bytes:569 acl:0 sco:0 commands:18 errors:0
Features: 0xff 0xff 0x0f 0x00
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: HOLD SNIFF PARK
Link mode: SLAVE ACCEPT
Name: 'Typhoon (0)'
Class: 0x000100
Service Classes: Unspecified
Device Class: Computer, Uncategorized
HCI Ver: 1.1 (0x1) HCI Rev: 0x20d LMP Ver: 1.1 (0x1) LMP Subver: =
0x20d
Manufacturer: Cambridge Silicon Radio (10)
linux:~ # rfcomm bind 0 00:10:60:A6:97:8C
linux:~ # rfcomm show
rfcomm0: 00:10:60:A6:97:8C channel 1 clean
linux:~ # hcitool scan
Scanning ...
00:10:60:29:AC:2C BluetoothModem
linux:~ # rfcomm connect 0 00:10:60:29:AC:2C
Can't connect RFCOMM socket: Permission denied
linux:~ # sdptool browse
Inquiring ...
Failed to connect to SDP server on 00:10:60:29:AC:2C
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Bluez-users] rfcomm: permission denied
2004-02-07 21:48 Zbigniew Diaczyszyn (gmx)
@ 2004-02-09 10:13 ` Marcel Holtmann
2004-02-11 23:29 ` Zbigniew Diaczyszyn (gmx)
0 siblings, 1 reply; 18+ messages in thread
From: Marcel Holtmann @ 2004-02-09 10:13 UTC (permalink / raw)
To: Zbigniew Diaczyszyn (gmx); +Cc: BlueZ Mailing List
Hi Zbigniew,
> linux:~ # rfcomm bind 0 00:10:60:A6:97:8C
> linux:~ # rfcomm show
> rfcomm0: 00:10:60:A6:97:8C channel 1 clean
> linux:~ # hcitool scan
> Scanning ...
> 00:10:60:29:AC:2C BluetoothModem
> linux:~ # rfcomm connect 0 00:10:60:29:AC:2C
> Can't connect RFCOMM socket: Permission denied
this can't work. If you bind the device you don't need an additional
connect. You only have to open /dev/rfcomm0 with pppd or any other TTY
related program.
Regards
Marcel
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Bluez-users] rfcomm: permission denied
2004-02-11 23:29 ` Zbigniew Diaczyszyn (gmx)
@ 2004-02-11 23:27 ` Marcel Holtmann
0 siblings, 0 replies; 18+ messages in thread
From: Marcel Holtmann @ 2004-02-11 23:27 UTC (permalink / raw)
To: Zbigniew Diaczyszyn (gmx); +Cc: BlueZ Mailing List
Hi Zbigniew,
> ----- Original Message -----
>
> > > linux:~ # rfcomm connect 0 00:10:60:29:AC:2C
> > > Can't connect RFCOMM socket: Permission denied
> >
> > this can't work. If you bind the device you don't need an additional
> > connect. You only have to open /dev/rfcomm0 with pppd or any other TTY
> > related program.
> --------------------------------------------------------
> Well, having done this (suse 8.2, ppp1 is directed to /dev/rfcomm0) the kinternet protocol tells that there is <no route to host>:
>
> SuSE Meta pppd (smpppd-ifcfg), Version 1.00 on linux.
> trying to connect to smpppd
> connect to smpppd
> We are disconnected.
> We are connecting.
> pppd: Plugin passwordfd.so loaded.
> pppd: Failed to open /dev/rfcomm0: No route to host
> We are disconnected.
> pppd died: Serial port open failed (exit code 7)
>
> the proprietary mask tells: crw-rw---- root dialout /dev/rfcomm0
create a dump file with "hcidump -w <file>".
Regards
Marcel
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Bluez-users] rfcomm: permission denied
2004-02-09 10:13 ` Marcel Holtmann
@ 2004-02-11 23:29 ` Zbigniew Diaczyszyn (gmx)
2004-02-11 23:27 ` Marcel Holtmann
0 siblings, 1 reply; 18+ messages in thread
From: Zbigniew Diaczyszyn (gmx) @ 2004-02-11 23:29 UTC (permalink / raw)
To: Marcel Holtmann; +Cc: bluez-users
Hallo Marcel,
----- Original Message -----=20
> > linux:~ # rfcomm connect 0 00:10:60:29:AC:2C
> > Can't connect RFCOMM socket: Permission denied
>=20
> this can't work. If you bind the device you don't need an additional
> connect. You only have to open /dev/rfcomm0 with pppd or any other TTY
> related program.
--------------------------------------------------------
Well, having done this (suse 8.2, ppp1 is directed to /dev/rfcomm0) the =
kinternet protocol tells that there is <no route to host>:
SuSE Meta pppd (smpppd-ifcfg), Version 1.00 on linux.
trying to connect to smpppd
connect to smpppd
We are disconnected.
We are connecting.
pppd: Plugin passwordfd.so loaded.
pppd: Failed to open /dev/rfcomm0: No route to host
We are disconnected.
pppd died: Serial port open failed (exit code 7)
the proprietary mask tells: crw-rw---- root dialout =
/dev/rfcomm0
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bluez-users] rfcomm: permission denied
@ 2004-02-13 22:03 Zbigniew Diaczyszyn (gmx)
2004-02-13 22:16 ` Marcel Holtmann
0 siblings, 1 reply; 18+ messages in thread
From: Zbigniew Diaczyszyn (gmx) @ 2004-02-13 22:03 UTC (permalink / raw)
To: bluez-users
Hello Marcel,
I have compiled hcidump on my system (suse 8.2), but hcidump seems to =
have crashed down. I had to terminate the process with Ctrl-C:
linux:~ # hcidump -w info.txt
HCIDump - HCI packet analyzer ver 1.5
device: hci0 snap_len: 1028 filter: 0xffffffff
Is this a hardware problem or a wrong compilation of hcidump?
thanks in advance
Zbigniew
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Bluez-users] rfcomm: permission denied
2004-02-13 22:03 [Bluez-users] rfcomm: permission denied Zbigniew Diaczyszyn (gmx)
@ 2004-02-13 22:16 ` Marcel Holtmann
0 siblings, 0 replies; 18+ messages in thread
From: Marcel Holtmann @ 2004-02-13 22:16 UTC (permalink / raw)
To: Zbigniew Diaczyszyn (gmx); +Cc: BlueZ Mailing List
Hi Zbigniew,
> I have compiled hcidump on my system (suse 8.2), but hcidump seems to have crashed down. I had to terminate the process with Ctrl-C:
>
> linux:~ # hcidump -w info.txt
> HCIDump - HCI packet analyzer ver 1.5
> device: hci0 snap_len: 1028 filter: 0xffffffff
>
> Is this a hardware problem or a wrong compilation of hcidump?
no, everything works fine. Terminate it with CTRL-C and send us the
dump.
Regards
Marcel
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bluez-users] rfcomm: permission denied
@ 2004-02-14 21:45 Zbigniew Diaczyszyn (gmx)
2004-02-15 14:34 ` Marcel Holtmann
0 siblings, 1 reply; 18+ messages in thread
From: Zbigniew Diaczyszyn (gmx) @ 2004-02-14 21:45 UTC (permalink / raw)
To: bluez-users
Hi Marcel,
sorry, but the file is empty :-(
Zbigniew
---------------------------------------------------------------
linux:/home/dia # hcidump -w hcidump.log
HCIDump - HCI packet analyzer ver 1.5
device: hci0 snap_len: 1028 filter: 0xffffffff
linux:/home/dia # ls -l hcidump.log
-rw-rws--- 1 root root 0 Feb 13 23:32 hcidump.log
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Bluez-users] rfcomm: permission denied
2004-02-14 21:45 [Bluez-users] rfcomm: permission denied Zbigniew Diaczyszyn (gmx)
@ 2004-02-15 14:34 ` Marcel Holtmann
[not found] ` <000b01c3f599$04aaf520$de4bb850@ULLA>
0 siblings, 1 reply; 18+ messages in thread
From: Marcel Holtmann @ 2004-02-15 14:34 UTC (permalink / raw)
To: Zbigniew Diaczyszyn (gmx); +Cc: BlueZ Mailing List
Hi Zbigniew,
> sorry, but the file is empty :-(
>
> ---------------------------------------------------------------
>
> linux:/home/dia # hcidump -w hcidump.log
> HCIDump - HCI packet analyzer ver 1.5
> device: hci0 snap_len: 1028 filter: 0xffffffff
>
> linux:/home/dia # ls -l hcidump.log
> -rw-rws--- 1 root root 0 Feb 13 23:32 hcidump.log
if this happens then there was no traffic on the HCI layer. Check again,
because this can't be true.
Regards
Marcel
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Bluez-users] hcidump, was: rfcomm: permission denied
[not found] ` <000b01c3f599$04aaf520$de4bb850@ULLA>
@ 2004-02-17 22:54 ` Marcel Holtmann
[not found] ` <003b01c3f65e$371ef400$dc4db850@ULLA>
0 siblings, 1 reply; 18+ messages in thread
From: Marcel Holtmann @ 2004-02-17 22:54 UTC (permalink / raw)
To: Zbigniew Diaczyszyn (gmx); +Cc: BlueZ Mailing List
Hi Zbigniew,
> > > sorry, but the file is empty :-(
>
> > if this happens then there was no traffic on the HCI layer. Check again,
> > because this can't be true.
>
> well; I tried again and waited for more then 5 minutes: apparently there is no traffic...
>
> Any idea how to produce it?
you ran it as root, right?
Regards
Marcel
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Bluez-users] hcidump, was: rfcomm: permission denied
[not found] ` <003b01c3f65e$371ef400$dc4db850@ULLA>
@ 2004-02-18 23:31 ` Marcel Holtmann
2004-02-21 22:24 ` Zbigniew Diaczyszyn (gmx)
0 siblings, 1 reply; 18+ messages in thread
From: Marcel Holtmann @ 2004-02-18 23:31 UTC (permalink / raw)
To: Zbigniew Diaczyszyn (gmx); +Cc: BlueZ Mailing List
Hi Zbigniew,
> Right. After I had started the hcid daemon. The USB dongle is placed in the notebook.
>
> Just for understanding:
> the adress I get from hciconfig is the adress from my USB dongle, and I have to bind it to rfcomm?
yes, hciconfig shows you the local address of your device. For rfcomm
you have to use the remote address.
Regards
Marcel
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Bluez-users] hcidump, was: rfcomm: permission denied
2004-02-18 23:31 ` Marcel Holtmann
@ 2004-02-21 22:24 ` Zbigniew Diaczyszyn (gmx)
2004-02-22 2:09 ` Marcel Holtmann
0 siblings, 1 reply; 18+ messages in thread
From: Zbigniew Diaczyszyn (gmx) @ 2004-02-21 22:24 UTC (permalink / raw)
To: bluez-users
Hi Marcel,
> yes, hciconfig shows you the local address of your device. For rfcomm
> you have to use the remote address.
Well, I tried so once again, but hcidump is silent...
Perhaps the following kernel warning in /var/log/messages can show the =
way to a solution:
Feb 19 22:22:54 linux su: (to root) dia on /dev/pts/1
Feb 19 22:22:54 linux su: pam_unix2: session started for user root, =
service su
Feb 19 22:30:11 linux pppd[3070]: Plugin passwordfd.so loaded.
Feb 19 22:30:11 linux pppd[3070]: pppd 2.4.1 started by root, uid 0
Feb 19 22:30:13 linux hcid[1307]: link_key_request =
(sba=3D8C:97:A6:60:10:00, dba=3D2C:AC:29:60:10:00)
-------------------------------------------------------------------------=
------
Feb 19 22:30:13 linux kernel: Warning: null TTY for (d8:00) in =
tty_fasync
-------------------------------------------------------------------------=
------
Feb 19 22:30:13 linux pppd[3070]: Failed to open /dev/rfcomm0: =
Permission denied
Feb 19 22:30:13 linux pppd[3070]: Exit.
Feb 19 22
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Bluez-users] hcidump, was: rfcomm: permission denied
2004-02-21 22:24 ` Zbigniew Diaczyszyn (gmx)
@ 2004-02-22 2:09 ` Marcel Holtmann
2004-02-22 21:54 ` [Bluez-users] rfcomm socket message: function not implemented Zbigniew Diaczyszyn (gmx)
0 siblings, 1 reply; 18+ messages in thread
From: Marcel Holtmann @ 2004-02-22 2:09 UTC (permalink / raw)
To: Zbigniew Diaczyszyn (gmx); +Cc: BlueZ Mailing List
Hi Zbigniew,
> Perhaps the following kernel warning in /var/log/messages can show the way to a solution:
>
> Feb 19 22:22:54 linux su: (to root) dia on /dev/pts/1
> Feb 19 22:22:54 linux su: pam_unix2: session started for user root, service su
> Feb 19 22:30:11 linux pppd[3070]: Plugin passwordfd.so loaded.
> Feb 19 22:30:11 linux pppd[3070]: pppd 2.4.1 started by root, uid 0
> Feb 19 22:30:13 linux hcid[1307]: link_key_request (sba=8C:97:A6:60:10:00, dba=2C:AC:29:60:10:00)
if you see this, there is something on the HCI layer.
> Feb 19 22:30:13 linux pppd[3070]: Failed to open /dev/rfcomm0: Permission denied
> Feb 19 22:30:13 linux pppd[3070]: Exit.
The Bluetooth authorization failed, but I can tell you only more if you
send me the dump from hcidump.
Regards
Marcel
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Bluez-users] rfcomm socket message: function not implemented
2004-02-22 2:09 ` Marcel Holtmann
@ 2004-02-22 21:54 ` Zbigniew Diaczyszyn (gmx)
2004-02-22 21:55 ` Marcel Holtmann
0 siblings, 1 reply; 18+ messages in thread
From: Zbigniew Diaczyszyn (gmx) @ 2004-02-22 21:54 UTC (permalink / raw)
To: bluez-users
Hi Marcel,
> > Feb 19 22:30:13 linux hcid[1307]: link_key_request =
(sba=3D8C:97:A6:60:10:00, dba=3D2C:AC:29:60:10:00)
>=20
> if you see this, there is something on the HCI layer.
Indeed. I'm now able proudly to present the hcidump-activity. Meanwhile =
I have updated to Suse 9.0 and recompiled hcidump. The error message has =
changed :-)
< HCI Command: Create Connection(0x01|0x0005) plen 13
> HCI Event: Command Status(0x0f) plen 4
> HCI Event: Link Key Request(0x17) plen 6
> HCI Event: Connect Complete(0x03) plen 11
And here is the protocol from kinternet:
------------------------------
SuSE Meta pppd (smpppd-ifcfg), Version 1.06 on linux.
...
Status is: connecting
pppd[0]: Plugin passwordfd.so loaded.
pppd[0]: Failed to open /dev/rfcomm0: Function not implemented
Status is: disconnected
pppd[0] died: Serial port open failed (exit code 7)
---------------------------------------
=20
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Bluez-users] rfcomm socket message: function not implemented
2004-02-22 21:54 ` [Bluez-users] rfcomm socket message: function not implemented Zbigniew Diaczyszyn (gmx)
@ 2004-02-22 21:55 ` Marcel Holtmann
2004-02-23 23:39 ` Zbigniew Diaczyszyn (gmx)
0 siblings, 1 reply; 18+ messages in thread
From: Marcel Holtmann @ 2004-02-22 21:55 UTC (permalink / raw)
To: Zbigniew Diaczyszyn (gmx); +Cc: BlueZ Mailing List
Hi Zbigniew,
> Indeed. I'm now able proudly to present the hcidump-activity. Meanwhile I have updated to Suse 9.0 and recompiled hcidump. The error message has changed :-)
>
> < HCI Command: Create Connection(0x01|0x0005) plen 13
> > HCI Event: Command Status(0x0f) plen 4
> > HCI Event: Link Key Request(0x17) plen 6
> > HCI Event: Connect Complete(0x03) plen 11
write the binary dump to a file with -w, or show us the output with -x.
> And here is the protocol from kinternet:
> ------------------------------
> SuSE Meta pppd (smpppd-ifcfg), Version 1.06 on linux.
> ...
> Status is: connecting
> pppd[0]: Plugin passwordfd.so loaded.
> pppd[0]: Failed to open /dev/rfcomm0: Function not implemented
> Status is: disconnected
> pppd[0] died: Serial port open failed (exit code 7)
> ---------------------------------------
I am pretty sure that you have the same PIN helper problem like many
others do.
Regards
Marcel
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Bluez-users] rfcomm socket message: function not implemented
2004-02-22 21:55 ` Marcel Holtmann
@ 2004-02-23 23:39 ` Zbigniew Diaczyszyn (gmx)
2004-02-23 23:59 ` Marcel Holtmann
0 siblings, 1 reply; 18+ messages in thread
From: Zbigniew Diaczyszyn (gmx) @ 2004-02-23 23:39 UTC (permalink / raw)
To: Marcel Holtmann; +Cc: bluez-users
[-- Attachment #1: Type: text/plain, Size: 331 bytes --]
Hi Marcel,
> I am pretty sure that you have the same PIN helper problem like many
> others do.
So I will not lose hope to get working the BT interface ...
Attached you will find the binary file in hcidump.log and the files for the pinhelper-stuff: bluepin is just an cat-command.
Thanks in advance!
Zbigniew
[-- Attachment #2: hcidump.log --]
[-- Type: application/octet-stream, Size: 95 bytes --]
[-- Attachment #3: bluepin --]
[-- Type: application/octet-stream, Size: 37 bytes --]
#!/bin/bash
cat /etc/bluetooth/pin
[-- Attachment #4: hcid.conf --]
[-- Type: application/octet-stream, Size: 1447 bytes --]
#
# HCI daemon configuration file.
#
# $Id: hcid.conf,v 1.3 2002/07/18 18:12:46 maxk Exp $
#
# HCId options
options {
# Automatically initialize new devices
autoinit yes;
# Security Manager mode
# none - Security manager disabled
# auto - Use local PIN for incoming connections
# user - Always ask user for a PIN
#
# security auto;
# Pairing mode
# none - Pairing disabled
# multi - Allow pairing with already paired devices
# once - Pair once and deny successive attempts
pairing multi;
# PIN helper
pin_helper /bin/bluepin;
}
# Default settings for HCI devices
device {
# Local device name
# %d - device id
# %h - host name
name "Typhoon (%d)";
# Local device class
class 0x100;
# Default packet type
#pkt_type DH1,DM1,HV1;
# Inquiry and Page scan
iscan enable; pscan enable;
# Default link mode
# none - no specific policy
# accept - always accept incoming connections
# master - become master on incoming connections,
# deny role switch on outgoing connections
#
#lm accept,master;
#
lm accept;
# Default link policy
# none - no specific policy
# rswitch - allow role switch
# hold - allow hold mode
# sniff - allow sniff mode
# park - allow park mode
#
#lp hold,sniff;
#
lp hold,sniff,park;
# Authentication and Encryption
#auth enable;
#encrypt enable;
}
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Bluez-users] rfcomm socket message: function not implemented
2004-02-23 23:39 ` Zbigniew Diaczyszyn (gmx)
@ 2004-02-23 23:59 ` Marcel Holtmann
[not found] ` <006c01c3fb29$c2b4b700$184cb850@ULLA>
0 siblings, 1 reply; 18+ messages in thread
From: Marcel Holtmann @ 2004-02-23 23:59 UTC (permalink / raw)
To: Zbigniew Diaczyszyn (gmx); +Cc: BlueZ Mailing List
Hi Zbigniew,
> So I will not lose hope to get working the BT interface ...
>
> Attached you will find the binary file in hcidump.log and the files for the pinhelper-stuff: bluepin is just an cat-command.
the /bin/bluepin script should look like this
#!/bin/sh
echo "PIN:0000"
and you must make sure that the script is executable.
Regards
Marcel
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Bluez-users] rfcomm socket message: function not implemented
[not found] ` <006c01c3fb29$c2b4b700$184cb850@ULLA>
@ 2004-02-24 23:03 ` Marcel Holtmann
2004-02-25 21:53 ` Zbigniew Diaczyszyn (gmx)
0 siblings, 1 reply; 18+ messages in thread
From: Marcel Holtmann @ 2004-02-24 23:03 UTC (permalink / raw)
To: Zbigniew Diaczyszyn (gmx); +Cc: BlueZ Mailing List
Hi Zbigniew,
> > the /bin/bluepin script should look like this
> >
> > #!/bin/sh
> > echo "PIN:0000"
> >
> > and you must make sure that the script is executable.
is the hcid running?
> I did so, but the only reaction was: function not implemented. I got the same result when I typed:
>
> echo "PIN:xxxx" > /dev/rfcomm0
This is wrong and I never said that you should do this.
Regards
Marcel
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Bluez-users] rfcomm socket message: function not implemented
2004-02-24 23:03 ` Marcel Holtmann
@ 2004-02-25 21:53 ` Zbigniew Diaczyszyn (gmx)
0 siblings, 0 replies; 18+ messages in thread
From: Zbigniew Diaczyszyn (gmx) @ 2004-02-25 21:53 UTC (permalink / raw)
To: bluez-users
Hi Marcel,
> is the hcid running?
Yes. (according to ps -ax).
Regards
Zbigniew
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 18+ messages in thread
end of thread, other threads:[~2004-02-25 21:53 UTC | newest]
Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-14 21:45 [Bluez-users] rfcomm: permission denied Zbigniew Diaczyszyn (gmx)
2004-02-15 14:34 ` Marcel Holtmann
[not found] ` <000b01c3f599$04aaf520$de4bb850@ULLA>
2004-02-17 22:54 ` [Bluez-users] hcidump, was: " Marcel Holtmann
[not found] ` <003b01c3f65e$371ef400$dc4db850@ULLA>
2004-02-18 23:31 ` Marcel Holtmann
2004-02-21 22:24 ` Zbigniew Diaczyszyn (gmx)
2004-02-22 2:09 ` Marcel Holtmann
2004-02-22 21:54 ` [Bluez-users] rfcomm socket message: function not implemented Zbigniew Diaczyszyn (gmx)
2004-02-22 21:55 ` Marcel Holtmann
2004-02-23 23:39 ` Zbigniew Diaczyszyn (gmx)
2004-02-23 23:59 ` Marcel Holtmann
[not found] ` <006c01c3fb29$c2b4b700$184cb850@ULLA>
2004-02-24 23:03 ` Marcel Holtmann
2004-02-25 21:53 ` Zbigniew Diaczyszyn (gmx)
-- strict thread matches above, loose matches on Subject: below --
2004-02-13 22:03 [Bluez-users] rfcomm: permission denied Zbigniew Diaczyszyn (gmx)
2004-02-13 22:16 ` Marcel Holtmann
2004-02-07 21:48 Zbigniew Diaczyszyn (gmx)
2004-02-09 10:13 ` Marcel Holtmann
2004-02-11 23:29 ` Zbigniew Diaczyszyn (gmx)
2004-02-11 23:27 ` Marcel Holtmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox