All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthew Grant <grantma@anathoth.gen.nz>
To: Marcel Holtmann <marcel@holtmann.org>
Cc: BlueZ Mailing List <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] Re: PROBLEM: Apple powerbook, Apple BT keyboard, keyboard does not reconnect on reboot
Date: Tue, 09 Nov 2004 08:38:53 +1300	[thread overview]
Message-ID: <1099942733.5806.7.camel@localhost> (raw)
In-Reply-To: <1099795084.6896.3.camel@pegasus>

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

Marcel,

Just got debug going.  Going to put printks into hidp_get_connlist to
see what is happening.

Your comment on the big endian bug in the L2CAP you noticed below, and
some of the debug I have seen with the other BT problems make it look
like I am having endianess issues. 

I am going to print the kernel code tonight and read it through as it is
obvious I have to understand the stack if I am get things fixed - you
don't have access to an Apple machine to test things on.  In the past I
was a commercial router programmer, doing OSPF and IPX development.

Any good places to find protocol specs?  I especially need
specifications on the endianess of the incoming BT data so I can audit
and check the debug for that sort of thing.

Cheers,

Matthew Grant

On Sun, 2004-11-07 at 15:38, Marcel Holtmann wrote:
> Hi Matthew,
> 
> > > and what does /proc/bluetooth/l2cap show you?
> > > 
> > 
> > root@sharon:/usr/src/bluetooth/bluez-utils-2.10#
> > # cat /proc/bluetooth/l2cap
> > A7:FF:10:93:0D:00 49:0B:3B:95:0A:00 1 4864 0x0041 0x0041 48 672 0x1
> > A7:FF:10:93:0D:00 49:0B:3B:95:0A:00 1 4352 0x0040 0x0040 48 672 0x1
> > A7:FF:10:93:0D:00 61:DF:16:61:07:00 1 4864 0x0041 0x004d 48 48 0x1
> > A7:FF:10:93:0D:00 61:DF:16:61:07:00 1 4352 0x0040 0x004c 48 48 0x1
> > 00:00:00:00:00:00 00:00:00:00:00:00 4 4864 0x0000 0x0000 48 48 0x1
> > 00:00:00:00:00:00 00:00:00:00:00:00 4 4352 0x0000 0x0000 48 48 0x1
> > 00:00:00:00:00:00 00:00:00:00:00:00 4 256 0x0000 0x0000 672 0 0x0
> > 00:00:00:00:00:00 00:00:00:00:00:00 4 768 0x0000 0x0000 1024 0 0x0
> > 
> > The above bluetooth addresses are all in reverse byte order!!!
> > 
> > Apple Keyboard is 00:0A:95:3B:0B:49
> > Logitech Mx900 Mouse is 00:07:61:16:DF:61
> > computer hci0 is 00:0D:93:10:FF:A7
> 
> the address order is ok, but the column for the PSM has a big endian
> bug. This needs to be fixed.
> 
> However you are connected to the mouse and the keyboard. This is
> actually working fine.
> 
> > > You can enable the DEBUG in the hidp driver or add some printk calls be
> > > yourself to see where the ioctl fails.
> > > 
> > I will give this a go latter on this afternoon.
> 
> Try to find the reason why and where the ioctl fails.
> 
> Regards
> 
> Marcel
> 
-- 
===============================================================================
Matthew Grant        /\  ^/\^   grantma@anathoth.gen.nz      /~~~~\
A Linux Network Guy /~~\^/~~\_/~~~~~\_______/~~~~~~~~~~\____/******\
===GPG KeyID: 2EE20270  FingerPrint: 8C2535E1A11DF3EA5EA19125BA4E790E2EE20270==


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2004-11-08 19:38 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-24 21:45 PROBLEM: Apple powerbook, Apple BT keyboard, keyboard does not reconnect on reboot Matthew Grant
2004-10-24 22:07 ` [Bluez-users] " Matthew Grant
2004-10-25  3:56   ` Marcel Holtmann
2004-10-25  3:55 ` [Bluez-users] " Marcel Holtmann
2004-10-25  8:59   ` Matthew Grant
2004-10-26 10:34     ` [Bluez-users] " Matthew Grant
2004-11-06  6:12   ` Matthew Grant
2004-11-06 12:34     ` Marcel Holtmann
2004-11-06 20:11       ` Matthew Grant
2004-11-06 21:31         ` Marcel Holtmann
     [not found]           ` <1099788984.4543.5.camel@localhost>
2004-11-07  2:38             ` Marcel Holtmann
2004-11-08 19:38               ` Matthew Grant [this message]
2004-11-08 19:53                 ` Marcel Holtmann
2004-11-10 19:34                   ` Matthew Grant
2004-11-13  3:39                   ` Matthew Grant
2004-11-13  6:09                   ` Matthew Grant
2004-11-13 12:53                     ` Marcel Holtmann
2004-11-13 18:52                       ` Matthew Grant
2004-11-13 19:05                         ` Marcel Holtmann
2004-11-13 19:55                           ` Matthew Grant
2004-11-13 20:01                             ` Marcel Holtmann

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=1099942733.5806.7.camel@localhost \
    --to=grantma@anathoth.gen.nz \
    --cc=bluez-users@lists.sourceforge.net \
    --cc=marcel@holtmann.org \
    /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.