Linux bluetooth development
 help / color / mirror / Atom feed
* [Bluez-users] Problems with RS232 and BT - Can't init device hci0
@ 2004-03-02 17:01 zubiwat
  2004-03-02 18:37 ` Przemek Hausman
  2004-03-02 19:50 ` Marcel Holtmann
  0 siblings, 2 replies; 4+ messages in thread
From: zubiwat @ 2004-03-02 17:01 UTC (permalink / raw)
  To: bluez-users

I have CSR chip connected to my PC by RS232
When try to use hciattach /dev/ttyS0 any 921600 flow I always get:
hcid[2594]: HCI daemon ver 2.4 started
hcid[2594]: HCI dev 0 registered
hcid[2612]: Can't init device hci0. Connection timed out(110)

When I use hciattach /dev/ttyS0 csr 921600 flow I get:
Initialization timed out.

I also tried to setserial /dev/ttyS0 baud_base 921600

What is the problem because i red almost every howto and mail on mailing list. 
I only get some signals from the device but he can't analize what is it.
Im using bluez-libs 2.5, bluez-utils 2.4  with kernel 2.4.22
Please help me!

Maciej Zubilewicz



-------------------------------------------------------
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] 4+ messages in thread

* Re: [Bluez-users] Problems with RS232 and BT - Can't init device hci0
  2004-03-02 17:01 [Bluez-users] Problems with RS232 and BT - Can't init device hci0 zubiwat
@ 2004-03-02 18:37 ` Przemek Hausman
  2004-03-02 19:50 ` Marcel Holtmann
  1 sibling, 0 replies; 4+ messages in thread
From: Przemek Hausman @ 2004-03-02 18:37 UTC (permalink / raw)
  To: bluez-users

> When try to use hciattach /dev/ttyS0 any 921600 flow I always get:
[...]

try this:
$ strace -eopen hciattach /dev/ttyS0 any 921600

and watch, what's wrong.

Best regards, 
Przemek Hausman

-- 
unsigned int gg = 2627828;


-------------------------------------------------------
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] 4+ messages in thread

* Re: [Bluez-users] Problems with RS232 and BT - Can't init device hci0
  2004-03-02 17:01 [Bluez-users] Problems with RS232 and BT - Can't init device hci0 zubiwat
  2004-03-02 18:37 ` Przemek Hausman
@ 2004-03-02 19:50 ` Marcel Holtmann
       [not found]   ` <200403022357.51574.zubiwat@poczta.onet.pl>
  1 sibling, 1 reply; 4+ messages in thread
From: Marcel Holtmann @ 2004-03-02 19:50 UTC (permalink / raw)
  To: zubiwat; +Cc: BlueZ Mailing List

Hi Maciej,

> I have CSR chip connected to my PC by RS232
> When try to use hciattach /dev/ttyS0 any 921600 flow I always get:
> hcid[2594]: HCI daemon ver 2.4 started
> hcid[2594]: HCI dev 0 registered
> hcid[2612]: Can't init device hci0. Connection timed out(110)
> 
> When I use hciattach /dev/ttyS0 csr 921600 flow I get:
> Initialization timed out.
> 
> I also tried to setserial /dev/ttyS0 baud_base 921600
> 
> What is the problem because i red almost every howto and mail on mailing list. 
> I only get some signals from the device but he can't analize what is it.
> Im using bluez-libs 2.5, bluez-utils 2.4  with kernel 2.4.22
> Please help me!

are you sure that your ttyS0 is capable of more than 115200 baud?

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] 4+ messages in thread

* Re: [Bluez-users] Problems with RS232 and BT - Can't init device hci0
       [not found]   ` <200403022357.51574.zubiwat@poczta.onet.pl>
@ 2004-03-02 23:12     ` Marcel Holtmann
  0 siblings, 0 replies; 4+ messages in thread
From: Marcel Holtmann @ 2004-03-02 23:12 UTC (permalink / raw)
  To: zubiwat; +Cc: BlueZ Mailing List

Hi Maciej

> I think that it is not capable but how to check it?
> I think that this chip default is set to 921600 bauds. How can I cope with it, 
> how to change it to 115200. How could I check what's wrong and why it doesn't 
> want to hciattach. How to make it work with my PC. On the chip it is written 
> sth like this:
> CSR
> BC212
> 015BD
> 345AC
> 
> Please tell me why it doesn't work. I have to connect 2 PC's together to 
> communicate each other with this chip.

try to run "hciattach ttyS0 csr". If your Bluetooth chip really boots
with 921600 baud you have to buy a serial card that is capable of it.

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] 4+ messages in thread

end of thread, other threads:[~2004-03-02 23:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-02 17:01 [Bluez-users] Problems with RS232 and BT - Can't init device hci0 zubiwat
2004-03-02 18:37 ` Przemek Hausman
2004-03-02 19:50 ` Marcel Holtmann
     [not found]   ` <200403022357.51574.zubiwat@poczta.onet.pl>
2004-03-02 23:12     ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox