Return-Path: Message-ID: From: "zhu yong" To: bluez-users MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_7327_18215039.1141312136414" Subject: [Bluez-users] Re: Re: Help me! hciattach have no error msg, but hciconfig don't find the device. Sender: bluez-users-admin@lists.sourceforge.net Errors-To: bluez-users-admin@lists.sourceforge.net Reply-To: bluez-users@lists.sourceforge.net List-Unsubscribe: , List-Id: BlueZ users List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu, 2 Mar 2006 23:08:56 +0800 ------=_Part_7327_18215039.1141312136414 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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. > ------=_Part_7327_18215039.1141312136414 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
Hi,Erwin
my board use Samsung 44B0x chip of ATM7TDMI. I use bluez-utils-2.24 an= d 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 devi= ces
 autoinit yes;

 # Security Manager mode
 #   none - Security man= ager disabled
 #   auto - Use local PIN for incoming conn= ections
 #   user - Always ask user for a PIN
 #<= br> security auto;

 # Pairing mode
 #   none  - Pairing disable= d
 #   multi - Allow pairing with already paired devices<= br> #   once  - Pair once and deny successive attempts<= br> pairing multi;

 # PIN helper
 pin_helper /usr/bin/bluepin;

 # D-Bus PIN helper
 #dbus_pin_helper;
}

# Default settings for HCI devices
device {
 # Local device n= ame
 #   %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 s= pecific policy
 #   accept - always accept incoming conn= ections
 #   master - become master on incoming connectio= ns,
 #          &= nbsp; deny role switch on outgoing connections=20
 lm accept;

 # Default link policy
 #   none   = ; - no specific policy
 #   rswitch - allow role switch #   hold    - allow hold mode
 #&n= bsp;  sniff   - allow sniff mode
 #   park=     - allow park mode
 lp rswitch,hold,sniff,park;= =20

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

 
 
Regards
yong Zhu


> Hi,
> is it the AT91M40800 that you a= re using? Which version of hcitools do
> you use? There are a few pat= ches required for non-mmu systems. How does
> your startup script loo= k like?=20

> Regards,
> Erwin

Am Dienstag, den 28.02.2006, 23:= 51 +0800 schrieb zhu yong:
> Hi, everyone
>   I use one ua= re bluetooth device on my arm board. operation system is
> uclinux, k= ernel is=20 linux-2.4.24.
>   I use hciattach cmd. There have no error msg.b= ut I use hciconfig to
> display devices, there have no devices info.<= br>>   I don't know why don't find device, any advice will help me!=
>=20
>   In addition, I use the same hciattach cmd on my pc, hciconf= ig can
> find the device.
>
 
------=_Part_7327_18215039.1141312136414-- ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users