hi

I have a question, not directly related to BLFS building, but hoping
people here might have some clues to the issue. Short story: I have a
usb bluetooth dongle I manage to get working on x86_64 and i686
(pairing with nokia phone), but failed on ibook (ppc). Later I managed
to change one line of code in python to fix the problem (simply an
endianness issue). Like this:

if platform.machine() == "ppc":
  channel=int("0x0a000000", 0)
else:
  channel=10 # OBEX File Transfer

Now the question: which package or library is responsible for
endianness conversion?
Right now, the stack looks like this (only in my imagination):
kernel <-> libc <-> dbus <-> (libusb?) <-> bluez <-> (dbus-glib?) <->
Python <-> pybluez <-> PyOBEX <-> Application Code

If this is considered a endianness bug, which package is responsible?
Uness, of course, one could argue it is ultimately application's
responsibility.
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to