|
|
Mozy Online Backup: 2GB Free. Automatic. Secure.
Subject: want duplicate inquiry results during a single device inquiry - msg#00147
List: linux.bluez.devel
Hello,
While experimenting with a hp ipaq running a 2.4.19 kernel, I noticed
that during a since device inquiry, multiple EVT_INQUIRY_RESULT events
could be generated from the same remote device. The inquiry was done
using a raw hci socket. On x86 PCs running the same userland code but
with more recent versions of bluez and the linux kernel, the duplicate
events are no longer generated. Instead, during a single inquiry, a
response will be received from a remote device at most once.
I'm assuming that sometime in the recent past, kernel level caching
was implemented to prevent these duplicate inquiry results from
propagating up to user land. Is there a way to turn this off, so that
all inquiry results are passed through?
Thanks!
-albert
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
Was this page helpful?
Thread at a glance:
Previous Message by Date:
click to view message preview
RE: Alignment issue
Hi David,
> I was overriding CFLAGS when I invoked make, because otherwise other
> stuff (like -m32) gets omitted. Can we do this in acinclude.m4?
>
> - CFLAGS="-Wall -O2"
> + if (test "${CFLAGS}" = ""); then
> + CFLAGS="-Wall -O2"
> + fi
> +
I was thinking of something like that, but actually never included it
until now. Fix is in CVS for libs, utils and hcidump.
> OK. I think I'm not supposed to ship a cvs snapshot -- I have to wait
> for 2.10. But I've isolated just the patch in question and added it into
> the bluez-utils-2.9-2 RPM, with the above change to inherit CFLAGS if
> they're already set.
I will use memmove for unaligned access and release libs and utils
tomorrow or the day after tomorrow. I like to test your unaligned code a
little bit more before making a release with it.
> > I did it this way, but there were reports of Sparc platforms where the
> > resulting binary should be run-tested.
>
> Hmmm. Can I revise my original answer.... don't. If the user asks for
> it, do it. Else don't.
>
> Random behavioural changes based on the characteristics of the system we
> _happen_ to build on today are probably a bad thing. Just build as
> configured and don't try to auto-adapt to _anything_ :)
Don't worry. You still have to use --enable-pie to activate it even if
configure finds out that the compile supports it.
Regards
Marcel
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
Next Message by Date:
click to view message preview
Re: CSR firmware question...
On Fri, Aug 13, 2004 at 10:31:17AM +0200, Marcel Holtmann wrote:
> Hi Jean,
>
> > A few questions regarding CSR firmware : what's a commonly
> > available BT USB dongle with a recent CSR firmware.
>
> as I know there are only dongles with HCI 16.14 firmware available.
And...
> > I'm hitting various bugs with the CSR firmware in my D-Link
> > USB dongles (0x1bb), where I can easilly deadlock the dongle. My 3Com
> > dongle, which has a more recent firmware (0x20e), behave much better,
> > but not perfect.
> > D-Link doesn't provide a firmware updater, but, beeing
> > fearless, I tried to firmware upgrade a D-Link dongle and ended up
> > with a dead dongle (can't even put back the original firmware on it).
> > From the release notes, the latest CSR firmwares have zillions
> > of bug fixes. I really wonder how I can enjoy the bug fixes.
>
> The D-Link dongle DBT-120 (Rev B3) can be updated using the Apple
> firmware update file. After that it will be HCI 18.1 with default boot
> mode set to HID.
This is exactly what I did. I have a rev B3, and I used Apple
file.
What do you mean default boot set to HID ? I look similar to
what I'm seeing.
> Maybe other revisions of the D-Link dongle don't work
> and I already put some of dongles to death while playing with firmware
> upgrade.
Yep, seems easy.
> > P.S. : Marcel, do you have a version of btdfu that can write the
> > firmware image to the dongle ? Or some documentation ?
>
> I never announced the new version of the btdfu, but now as you asked for
> it, here it is:
>
> http://www.holtmann.org/linux/bluetooth/btdfu-0.3.tar.gz
>
> Use it at your own risk, because you can kill your dongle !!!
Actually, I realised that I can't even use that, the dongle no
longer has a control pipe. Grrr....
> Read what the CSR guys had written about signed firmware and that it is
> not possible to move firmware from one manufacturer to another !!!
Yep, I read that, I won't comment to stay polite.
> Regards
>
> Marcel
Jean
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
Previous Message by Thread:
click to view message preview
CSR firmware question...
Hi guys,
A few questions regarding CSR firmware : what's a commonly
available BT USB dongle with a recent CSR firmware.
Long story :
I'm hitting various bugs with the CSR firmware in my D-Link
USB dongles (0x1bb), where I can easilly deadlock the dongle. My 3Com
dongle, which has a more recent firmware (0x20e), behave much better,
but not perfect.
D-Link doesn't provide a firmware updater, but, beeing
fearless, I tried to firmware upgrade a D-Link dongle and ended up
with a dead dongle (can't even put back the original firmware on it).
From the release notes, the latest CSR firmwares have zillions
of bug fixes. I really wonder how I can enjoy the bug fixes.
Thanks in advance...
Jean
P.S. : Marcel, do you have a version of btdfu that can write the
firmware image to the dongle ? Or some documentation ?
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
Next Message by Thread:
click to view message preview
Re: want duplicate inquiry results during a single device inquiry
Hi Albert,
> While experimenting with a hp ipaq running a 2.4.19 kernel, I noticed
> that during a since device inquiry, multiple EVT_INQUIRY_RESULT events
> could be generated from the same remote device. The inquiry was done
> using a raw hci socket. On x86 PCs running the same userland code but
> with more recent versions of bluez and the linux kernel, the duplicate
> events are no longer generated. Instead, during a single inquiry, a
> response will be received from a remote device at most once.
>
> I'm assuming that sometime in the recent past, kernel level caching
> was implemented to prevent these duplicate inquiry results from
> propagating up to user land. Is there a way to turn this off, so that
> all inquiry results are passed through?
this is device specific and can be controlled by a HCI command. Show us
the outputs of "hciconfig -a" for both devices.
Regards
Marcel
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
|
|