Linux bluetooth development
 help / color / mirror / Atom feed
From: "zhu yong" <zhuyong0003@gmail.com>
To: bluez-users <bluez-users@lists.sourceforge.net>
Subject: [Bluez-users] Re: Re: Help me! hciattach have no error msg, but hciconfig don't find the device.
Date: Thu, 2 Mar 2006 23:08:56 +0800	[thread overview]
Message-ID: <f64f4e8a0603020708l52623141x5d77d53f90825801@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2390 bytes --]

Hi,Erwin
my board use Samsung 44B0x chip of ATM7TDMI. I use bluez-utils-2.24 and
bluez-libs-2.24.
Do I need patchs for non-mmu systems?
Is 'startup script'  /etc/hcid.conf?
I have no ides how to change the file, I use default config.
hcid.conf content As follows:

#
# HCI daemon configuration file.
#

# 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 /usr/bin/bluepin;

 # D-Bus PIN helper
 #dbus_pin_helper;
}

# Default settings for HCI devices
device {
 # Local device name
 #   %d - device id
 #   %h - host name
 name "BlueZ (%d)";

 # Local device class
 class 0x3e0100;

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

 # Default link policy
 #   none    - no specific policy
 #   rswitch - allow role switch
 #   hold    - allow hold mode
 #   sniff   - allow sniff mode
 #   park    - allow park mode
 lp rswitch,hold,sniff,park;

 # Authentication and Encryption (Security Mode 3)
 #auth enable;
 #encrypt enable;
}


 Regards
yong Zhu


> Hi,
> is it the AT91M40800 that you are using? Which version of hcitools do
> you use? There are a few patches required for non-mmu systems. How does
> your startup script look like?

> Regards,
> Erwin

Am Dienstag, den 28.02.2006, 23:51 +0800 schrieb zhu yong:
> Hi, everyone
>   I use one uare bluetooth device on my arm board. operation system is
> uclinux, kernel is linux-2.4.24.
>   I use hciattach cmd. There have no error msg.but I use hciconfig to
> display devices, there have no devices info.
>   I don't know why don't find device, any advice will help me!
>
>   In addition, I use the same hciattach cmd on my pc, hciconfig can
> find the device.
>

[-- Attachment #2: Type: text/html, Size: 3342 bytes --]

             reply	other threads:[~2006-03-02 15:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-02 15:08 zhu yong [this message]
2006-03-02 16:19 ` [Bluez-users] Re: Re: Help me! hciattach have no error msg, but hciconfig don't find the device Erwin Authried

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=f64f4e8a0603020708l52623141x5d77d53f90825801@mail.gmail.com \
    --to=zhuyong0003@gmail.com \
    --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