søndag den 10. februar 2008

libbluetooth blues ;-)

I had trouble getting the obex_test program to work with bluetooth.The fault was that the bluetooth include files and library is located in $(STAGING_DIR)/usr/include and $(STAGING_DIR)/usr/lib. Openobex expects them to be in $(STAGING_DIR)/include and $(STAGING_DIR)/lib. Note to self: Change the destination path (in bluez or in openobex ?).

torsdag den 7. februar 2008

amixer problem + solution

To get amixer to work, libasound needs the alsa.conf configuration file. In the default gumstix buildroot for alsa-lib, the configure option --datadir=$(STAGING_DIR)/usr/share must be changed to ie.: --datadir=/usr/share, otherwise it tries to read the alsa.conf from the staging-dir, which is of cause not present on the gumstix. alsa.conf needs to be copied to /usr/share/alsa.conf.