All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick <patbert@patbert.com>
To: bluez-users@lists.sourceforge.net
Subject: Re: [Bluez-users] Apple bluetooth keyboard fun...
Date: Sun, 08 Aug 2004 13:55:57 -0400	[thread overview]
Message-ID: <4116692D.1060003@patbert.com> (raw)
In-Reply-To: <1091985064.2773.36.camel@pegasus>

Ah! Now I am getting somewhere...

In my log there were such obvious errors as....

Aug  8 13:38:53 Kawaii64 hcid[7695]: Bluetooth HCI daemon
Aug  8 13:38:53 Kawaii64 hcid[7695]: Can not open /etc/bluetooth/hcid.conf
Aug  8 13:38:53 Kawaii64 hcid[7695]: Config load failed
Aug  8 13:38:53 Kawaii64 hcid[7695]: Can't open PIN file 
/etc/bluetooth/pin. No such file or directory(2)

When bluez installed it made all those files in /usr/etc/bluetooth/ but 
I guess it wasn't looking there so I copied it all over to 
/etc/bluetooth and things are looking up...

So then I was getting things such as:

 > HCI Event: Link Key Request (0x17) plen 6
   E4 63 3A 95 0A 00
< HCI Command: Link Key Request Negative Reply (0x01|0x000c) plen 6
   E4 63 3A 95 0A 00

hidd said:

Can't create HID control channel: Invalid exchange

So I replaced /etc/bluetooth/pin and /usr/bin/bluepin with the echo 
"PIN:0000" and now it doesnt seem to complain in hcidump:

 > HCI Event: PIN Code Request (0x16) plen 6
   E4 63 3A 95 0A 00
< HCI Command: PIN Code Request Reply (0x01|0x000d) plen 23
   E4 63 3A 95 0A 00 04 30 30 30 30 00 00 00 00 00 00 00 00 00
   00 00 00
 > HCI Event: Command Complete (0x0e) plen 10
   01 0D 04 00 E4 63 3A 95 0A 00

But hidd says:

Can't create HID control channel: Permission denied

So close...

Marcel Holtmann wrote:
> Hi Patrick,
> 
> 
>>I have been typing in "0000 enter" and "1234 enter" to see if I can get 
>>anything to work but no dice. I didn't have to do this on my old machine 
>>though, or is it something you have to do just once and I've since 
>>forgotten having to do it?
>>
>>I uninstalled 2.7 before installing 2.9. I did save the init script 
>>though and I am still using it... you can view it here:
>>
>>http://www.gentoo.org/cgi-bin/viewcvs.cgi/*checkout*/net-wireless/bluez-utils/files/bluetooth.rc?rev=HEAD&content-type=text/plain
>>
>>Anyhow...when I start the script and then do hidd --connect 
>>00:0A:95:3A:63:E4 I just get the connection timed out error after a few 
>>moments. hcidump says:
>>
>>HCIDump - HCI packet analyzer ver 1.10
>>device: hci0 snap_len: 1028 filter: 0xffffffffffffffff
>> > HCI Event: Connect Complete (0x03) plen 11
>>   10 29 00 E4 63 3A 95 0A 00 01 00
>>< HCI Command: Create Connection (0x01|0x0005) plen 13
>>   E4 63 3A 95 0A 00 18 CC 02 00 00 00 01
>> > HCI Event: Command Status (0x0f) plen 4
>>   00 01 05 04
>> > HCI Event: Link Key Request (0x17) plen 6
>>   E4 63 3A 95 0A 00
>> > HCI Event: Connect Complete (0x03) plen 11
>>   10 29 00 E4 63 3A 95 0A 00 01 00
> 
> 
> this actually means that hcid is not running. Check your logfiles.
> 
> Regards
> 
> Marcel
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by OSTG. Have you noticed the changes on
> Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
> one more big change to announce. We are now OSTG- Open Source Technology
> Group. Come see the changes on the new OSTG site. www.ostg.com
> _______________________________________________
> Bluez-users mailing list
> Bluez-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-users


-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

  reply	other threads:[~2004-08-08 17:55 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-08  4:02 [Bluez-users] Apple bluetooth keyboard fun Patrick
2004-08-08  6:30 ` Patrick
2004-08-08  9:21 ` Bc. Michal Semler
2004-08-08 10:13   ` Marcel Holtmann
2004-08-08 10:11 ` Marcel Holtmann
2004-08-08 15:42   ` Patrick
2004-08-08 15:54     ` Marcel Holtmann
2004-08-08 16:54       ` Patrick
2004-08-08 17:11         ` Marcel Holtmann
2004-08-08 17:55           ` Patrick [this message]
2004-08-08 22:53             ` Marcel Holtmann
2004-08-08 20:06           ` Patrick

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=4116692D.1060003@patbert.com \
    --to=patbert@patbert.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.