All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Jorge A. González" <egrojorge@terra.es>
To: Marcel Holtmann <marcel@holtmann.org>
Cc: BlueZ Mailing List <bluez-devel@lists.sourceforge.net>
Subject: Re[2]: [Bluez-devel] uclinux and bluez
Date: Sat, 8 May 2004 15:52:53 +0200	[thread overview]
Message-ID: <143918984.20040508155253@terra.es> (raw)
In-Reply-To: <1083946524.4420.124.camel@pegasus>

Marcel escribió:

M> Hi Jorge,

>> Anyway, I am porting bluez for uClinux, by now it is working hcid (with
>> the option -n, as a daemon doesnt work due to the uclinux fork
>> implementation), hciattach (what a minor modification), hciconfig,
>> hcitool and rfcomm (the last one is not proved) and now I am trying to
>> make sdpd and sdptool to work.

M> send your patches to the list. If they don't break the current behaviour
M> I am going to include them.

Thanks: what I did it is not exactly a patch but I will comment it
just in case it is useful.

I noticed that hciattach doesnt seem to work in uclinux: i could never
get a "up" device ("hciconfig hci0 up" always failed). In Linux it works
perfectly. So I compared the behaviour in both system and realised
that in linux hciattach sends a 0x01x03x10x00 and in uclinux not. I
think that the sentence "ioctl(fd, HCIUARTSETPROTO, u->proto)" is
which send that in linux but no in uclinux (although doesnt fail in
uclinux, simply doesnt send nothing). I was able to see it thanks to a
oscilloscope.
I havent study the bluetooth protocols but I tried to send the
0x01x03x10x00 "by hand", opening the ttySx in 115200 baudrate and
writing to it directly (with an auxiliar program I wrote).

I know it is not an elegant method and maybe this will only work with
my hardware configuration. I have no idea of why "ioctl(fd,
HCIUARTSETPROTO, u->proto)" is not working but I suppossed it was
fault of the uclinux system (it has a 2.4.20 linux kernel).

I am not way an expert on this topics, so sorry if I have said any
stupidity and also for my not very fluent english (I am from Spain).

Best regards!

(And I will appreciate any comment)

Jorge

  reply	other threads:[~2004-05-08 13:52 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-06 14:24 [Bluez-devel] Sdp Jorge González
2004-05-06 21:05 ` Marcel Holtmann
2004-05-07 10:20   ` [Bluez-devel] Sdp (and uclinux) Jorge A. González
2004-05-07 16:15     ` Marcel Holtmann
2004-05-08 13:52       ` Jorge A. González [this message]
2004-05-08 22:09         ` [Bluez-devel] uclinux and bluez Marcel Holtmann
2004-05-09 11:35           ` Re[2]: " Jorge A. González
2004-05-09 11:42             ` 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=143918984.20040508155253@terra.es \
    --to=egrojorge@terra.es \
    --cc=bluez-devel@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.