public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Pavel Ruzicka <pavouk@pavouk.org>
To: bluez-users@lists.sourceforge.net
Subject: Re: [Bluez-users] Ambicom BT2000E card, can't get hciattach to work
Date: Thu, 22 Apr 2004 00:27:02 +0200	[thread overview]
Message-ID: <200404220027.02236.pavouk@pavouk.org> (raw)
In-Reply-To: <4086DDFC.5000107@over-here.org>

Hello,

> I can get an RFCOMM to work, but when trying to work with hci I fail:
> 1) on /etc/init.d/bluetooth I have a line that does hciattach:
> root@thumper:/etc/pcmcia# /usr/sbin/hciattach /dev/ttyS3 bcsp 57600
> Can't get port settings: Input/output error
> Can't initialize device: Input/output error

I have this card (Pretec BT2000E) with Sharp Zaurus SL-C860 with Cacko rom.
For this card exists now 3 drivers.

1. bt950_cs
This driver is probably from Marcel Holtmann and is part of BlueZ.
hciattach is not needed for this driver.
http://www.holtmann.org/linux/bluetooth/

2. bt2000e_cs
I use mometally this driver, because it works for me and it is part of Cacko
rom installation. There are some fixes with suspend/resume problems
and uart speed.
hciattach is not needed for this driver too.
http://www.iral.com/~albertr/linux/bt2000e/

3. serial_cs
This path is preferred, but I can't find right parameters for hciattach.
I've tried many combinations like this:
hciattach /dev/ttyS3 ericsson 460800
But all without success.
If somebody run card with this driver please write to the list!

> 2) hcitool scan and cc <phone> works, but hci lq fails:
> root@thumper:/etc/pcmcia# hcitool lq 00:80:37:D6:93:D5
> HCI get_link_quality cmd failed (0x01)

If this works, you must have corretly runned hciattach...
What shows "hciconfig"?

> root@thumper:/etc/pcmcia# cardctl ident
> Socket 0:
>   product info: "AmbiCom,Inc", "BT2000E", "Bluetooth PC/CF Card"
>   manfid: 0x022d, 0x2000
>   function: 2 (serial)

This is my cardctl ident:
Socket 0:
  product info: "Pretec", "BT2000E", "Bluetooth PC/CF Card"
  manfid: 0x022d, 0x2000
  function: 2 (serial)

> dmesg of bluez drivers doesn't show anything special, And before I
> installed bluetooth drivers the card showed as serial device on /dev/ttyS3.

Yes card is identified as UART.

I have this config file: /etc/pcmcia/bt2000e.conf
-----------------------------------------------------------------------------
device "bt2000e_cs"
  class "bluetooth" module "bt2000e_cs"

card "AmbiCom BT2000E Bluetooth Card"
  version "AmbiCom,Inc", "BT2000E"
  bind "bt2000e_cs"

card "Pretec BT2000E Bluetooth Card"
  version "Pretec", "BT2000E"
  bind "bt2000e_cs"
------------------------------------------------------------------------------

This card works good for me.

Best regards,

Pavel Ruzicka


-------------------------------------------------------
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

  reply	other threads:[~2004-04-21 22:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-21 20:47 [Bluez-users] Ambicom BT2000E card, can't get hciattach to work Eran
2004-04-21 22:27 ` Pavel Ruzicka [this message]
2004-04-21 23:12   ` Eran
2004-04-22  9:24     ` Pavel Ruzicka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200404220027.02236.pavouk@pavouk.org \
    --to=pavouk@pavouk.org \
    --cc=bluez-users@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox