* [Bluez-users] BlueZ error in cc,cc,dc sequence
@ 2004-04-16 21:39 Michal Semler (volny.cz)
2004-04-16 23:49 ` Marcel Holtmann
0 siblings, 1 reply; 8+ messages in thread
From: Michal Semler (volny.cz) @ 2004-04-16 21:39 UTC (permalink / raw)
To: bluez-users
Hi Marcel,
see this:
notas:/etc/hotplug# hcitool cc 00:0A:D9:FC:EC:51
notas:/etc/hotplug# hcitool cc 00:0A:D9:FC:EC:51
Can't create connection: Input/output error
notas:/etc/hotplug# hcitool cc 00:0A:D9:FC:EC:51
Can't create connection: Input/output error
notas:/etc/hotplug# hcitool cc 00:0A:D9:FC:EC:51
Can't create connection: Input/output error
notas:/etc/hotplug# hcitool dc 00:0A:D9:FC:EC:51
Not connected.
notas:/etc/hotplug# hcitool dc 00:0A:D9:FC:EC:51
Not connected.
notas:/etc/hotplug# hcitool cc 00:0A:D9:FC:EC:51
Can't create connection: Input/output error
notas:/etc/hotplug# hcitool dc 00:0A:D9:FC:EC:51
Not connected.
But device is connected
Michal
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Bluez-users] BlueZ error in cc,cc,dc sequence
2004-04-16 21:39 [Bluez-users] BlueZ error in cc,cc,dc sequence Michal Semler (volny.cz)
@ 2004-04-16 23:49 ` Marcel Holtmann
2004-04-17 7:37 ` Michal Semler (volny.cz)
0 siblings, 1 reply; 8+ messages in thread
From: Marcel Holtmann @ 2004-04-16 23:49 UTC (permalink / raw)
To: cijoml; +Cc: BlueZ Mailing List
Hi Michal,
> notas:/etc/hotplug# hcitool cc 00:0A:D9:FC:EC:51
> notas:/etc/hotplug# hcitool cc 00:0A:D9:FC:EC:51
> Can't create connection: Input/output error
you can't have to ACL links to the same remote device.
> notas:/etc/hotplug# hcitool cc 00:0A:D9:FC:EC:51
> Can't create connection: Input/output error
> notas:/etc/hotplug# hcitool cc 00:0A:D9:FC:EC:51
> Can't create connection: Input/output error
> notas:/etc/hotplug# hcitool dc 00:0A:D9:FC:EC:51
> Not connected.
> notas:/etc/hotplug# hcitool dc 00:0A:D9:FC:EC:51
> Not connected.
> notas:/etc/hotplug# hcitool cc 00:0A:D9:FC:EC:51
> Can't create connection: Input/output error
> notas:/etc/hotplug# hcitool dc 00:0A:D9:FC:EC:51
> Not connected.
>
> But device is connected
Check with "hcitool con" every time, because this is what the kernel
sees and "hcitool dc" only sends the raw HCI_Disconnect command.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Bluez-users] BlueZ error in cc,cc,dc sequence
2004-04-16 23:49 ` Marcel Holtmann
@ 2004-04-17 7:37 ` Michal Semler (volny.cz)
2004-04-17 7:45 ` Marcel Holtmann
0 siblings, 1 reply; 8+ messages in thread
From: Michal Semler (volny.cz) @ 2004-04-17 7:37 UTC (permalink / raw)
To: bluez-users
There is another problem which I in mistake found.
I tried connect to my mobile phone via cc
then I moved console, remembered it and called cc second time.
It told me, that connection is created - which is right.
Then I wanted disconnect later, but I got message that there isn't any
connection, which is bad, coz devices are connected.
when calling cc/dc/cc/dc/cc/dc it works like a charm
but cc/cc/dc makes problems - can't disconnect
Michal
Dne so 17. dubna 2004 01:49 jste napsal(a):
> Hi Michal,
>
> > notas:/etc/hotplug# hcitool cc 00:0A:D9:FC:EC:51
> > notas:/etc/hotplug# hcitool cc 00:0A:D9:FC:EC:51
> > Can't create connection: Input/output error
>
> you can't have to ACL links to the same remote device.
>
> > notas:/etc/hotplug# hcitool cc 00:0A:D9:FC:EC:51
> > Can't create connection: Input/output error
> > notas:/etc/hotplug# hcitool cc 00:0A:D9:FC:EC:51
> > Can't create connection: Input/output error
> > notas:/etc/hotplug# hcitool dc 00:0A:D9:FC:EC:51
> > Not connected.
> > notas:/etc/hotplug# hcitool dc 00:0A:D9:FC:EC:51
> > Not connected.
> > notas:/etc/hotplug# hcitool cc 00:0A:D9:FC:EC:51
> > Can't create connection: Input/output error
> > notas:/etc/hotplug# hcitool dc 00:0A:D9:FC:EC:51
> > Not connected.
> >
> > But device is connected
>
> Check with "hcitool con" every time, because this is what the kernel
> sees and "hcitool dc" only sends the raw HCI_Disconnect command.
>
> Regards
>
> Marcel
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Bluez-users] BlueZ error in cc,cc,dc sequence
2004-04-17 7:37 ` Michal Semler (volny.cz)
@ 2004-04-17 7:45 ` Marcel Holtmann
2004-04-17 7:57 ` Michal Semler (volny.cz)
0 siblings, 1 reply; 8+ messages in thread
From: Marcel Holtmann @ 2004-04-17 7:45 UTC (permalink / raw)
To: cijoml; +Cc: BlueZ Mailing List
Hi Michal,
> when calling cc/dc/cc/dc/cc/dc it works like a charm
> but cc/cc/dc makes problems - can't disconnect
maybe the kernel or your Bluetooth chip don't really likes double
HCI_Create_Connection. If you use higher layers like L2CAP or RFCOMM
this can't happen.
If I don't need the hcitool cc/dc functions for development I had
already removed them ;)
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Bluez-users] BlueZ error in cc,cc,dc sequence
2004-04-17 7:45 ` Marcel Holtmann
@ 2004-04-17 7:57 ` Michal Semler (volny.cz)
2004-04-17 8:07 ` Marcel Holtmann
0 siblings, 1 reply; 8+ messages in thread
From: Michal Semler (volny.cz) @ 2004-04-17 7:57 UTC (permalink / raw)
To: bluez-users
Dne so 17. dubna 2004 09:45 Marcel Holtmann napsal(a):
> Hi Michal,
Hi Marcel,
>
> > when calling cc/dc/cc/dc/cc/dc it works like a charm
> > but cc/cc/dc makes problems - can't disconnect
>
> maybe the kernel or your Bluetooth chip don't really likes double
kernel 2.4.26-mh1 and CSR 16.1.1 - Microsoft wireless transceiver
> HCI_Create_Connection. If you use higher layers like L2CAP or RFCOMM
> this can't happen.
>
> If I don't need the hcitool cc/dc functions for development I had
> already removed them ;)
>
> Regards
>
> Marcel
Michal
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Bluez-users] BlueZ error in cc,cc,dc sequence
2004-04-17 7:57 ` Michal Semler (volny.cz)
@ 2004-04-17 8:07 ` Marcel Holtmann
2004-04-17 8:22 ` Michal Semler (volny.cz)
0 siblings, 1 reply; 8+ messages in thread
From: Marcel Holtmann @ 2004-04-17 8:07 UTC (permalink / raw)
To: cijoml; +Cc: BlueZ Mailing List
Hi Michal,
> > > when calling cc/dc/cc/dc/cc/dc it works like a charm
> > > but cc/cc/dc makes problems - can't disconnect
> >
> > maybe the kernel or your Bluetooth chip don't really likes double
>
> kernel 2.4.26-mh1 and CSR 16.1.1 - Microsoft wireless transceiver
if it is really a kernel problem then it is present in every kernel,
because I never worked on it.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Bluez-users] BlueZ error in cc,cc,dc sequence
2004-04-17 8:07 ` Marcel Holtmann
@ 2004-04-17 8:22 ` Michal Semler (volny.cz)
2004-04-17 9:03 ` Marcel Holtmann
0 siblings, 1 reply; 8+ messages in thread
From: Michal Semler (volny.cz) @ 2004-04-17 8:22 UTC (permalink / raw)
To: bluez-users
Dne so 17. dubna 2004 10:07 Marcel Holtmann napsal(a):
> Hi Michal,
>
> > > > when calling cc/dc/cc/dc/cc/dc it works like a charm
> > > > but cc/cc/dc makes problems - can't disconnect
> > >
> > > maybe the kernel or your Bluetooth chip don't really likes double
> >
> > kernel 2.4.26-mh1 and CSR 16.1.1 - Microsoft wireless transceiver
>
> if it is really a kernel problem then it is present in every kernel,
> because I never worked on it.
>
> Regards
>
> Marcel
So it is good that I found it :)
Michal
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2004-04-17 9:03 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-16 21:39 [Bluez-users] BlueZ error in cc,cc,dc sequence Michal Semler (volny.cz)
2004-04-16 23:49 ` Marcel Holtmann
2004-04-17 7:37 ` Michal Semler (volny.cz)
2004-04-17 7:45 ` Marcel Holtmann
2004-04-17 7:57 ` Michal Semler (volny.cz)
2004-04-17 8:07 ` Marcel Holtmann
2004-04-17 8:22 ` Michal Semler (volny.cz)
2004-04-17 9:03 ` Marcel Holtmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox