Skip to contentSkip to conversation

Can't understand

Bluez-users Hedin 4 participants 6 messages May 12, 2004 1 message not in the archive Bluetooth drivers

lore
Share & tools
lore

Hedin

author
#0 lore raw

I have Redhat 9.0 with 2.6.6-mh1 patched kernel and all modules compiled. I have Tecom BT3030 Dongle.

I compiled bluez-libs-2.7 and bluez-utils-2.7. After some effort (big effort!) I managed to compile bluez-pin (why is it needed - no word anywhere...).

I also installed all other modules without problems, except bluez-bluefw. It gives following errors:

# make

... SOME INFO...

source='bluefw.c' object='bluefw.o' libtool=no \
depfile='.deps/bluefw.Po' tmpdepfile='.deps/bluefw.TPo' \
depmode=gcc3 /bin/sh ./depcomp \
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"bluez-bluefw\" -DVERSION=\"1.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DBT3C_SUPPORT=1 -I.
-I. -I/usr/src/linux/include -Wall -g -O2 -c `test -f 'bluefw.c' || echo
'./'`bluefw.c
In file included from usblib.h:30,

                 from bluefw.c:39:

/usr/src/linux/include/linux/usbdevice_fs.h:49: variable or field `__user' declared void
/usr/src/linux/include/linux/usbdevice_fs.h:49: warning: no semicolon at end of struct or union /usr/src/linux/include/linux/usbdevice_fs.h:49: parse error before '*' token /usr/src/linux/include/linux/usbdevice_fs.h:56: variable or field `__user' declared void
/usr/src/linux/include/linux/usbdevice_fs.h:56: warning: no semicolon at end of struct or union /usr/src/linux/include/linux/usbdevice_fs.h:56: parse error before '*' token /usr/src/linux/include/linux/usbdevice_fs.h:100: variable or field `__user' declared void
/usr/src/linux/include/linux/usbdevice_fs.h:100: warning: no semicolon at end of struct or union /usr/src/linux/include/linux/usbdevice_fs.h:100: parse error before '*' token /usr/src/linux/include/linux/usbdevice_fs.h:109: parse error before '}' token /usr/src/linux/include/linux/usbdevice_fs.h:116: variable or field `__user' declared void
/usr/src/linux/include/linux/usbdevice_fs.h:116: warning: no semicolon at end of struct or union /usr/src/linux/include/linux/usbdevice_fs.h:116: parse error before '*' token

... BAILS OUT...

/usr/src/linux is pointing to valid current kernel sources. Whats wrong with them? Problems with kernel?

Ok. I try to search for devices. When I do hcitool dev it gives no devices, when I do hcitool inq it gives:
Inquiring ...
Inquiry failed.: No such device

When I do `/usr/sbin/hciconfig hci0 up"
It gives: Can't get device info: No such device

The kernel sees the dongle (just as USB device).

At last, here is lsmod:

hci_usb                11264  0
l2cap                  23680  0
bluetooth              44900  2 hci_usb,l2cap

Are that all necessary modules, I guess?

What is the problem? Thx in advance.

-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#1 lore raw

This dongle needs firmware load to get it to work

Michal

Quoted 76 lines · Hedin

I have Redhat 9.0 with 2.6.6-mh1 patched kernel and all modules compiled. I have Tecom BT3030 Dongle.

I compiled bluez-libs-2.7 and bluez-utils-2.7. After some effort (big effort!) I managed to compile bluez-pin (why is it needed - no word anywhere...).

I also installed all other modules without problems, except bluez-bluefw. It gives following errors:

# make

... SOME INFO...

source='bluefw.c' object='bluefw.o' libtool=no \
depfile='.deps/bluefw.Po' tmpdepfile='.deps/bluefw.TPo' \
depmode=gcc3 /bin/sh ./depcomp \
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"

(quoted diff) +0 -5
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"bluez-bluefw\"
-DVERSION=\"1.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DBT3C_SUPPORT=1 
-I. -I. -I/usr/src/linux/include    -Wall -g -O2 -c `test -f 'bluefw.c' ||

echo './'`bluefw.c
In file included from usblib.h:30,

                 from bluefw.c:39:

/usr/src/linux/include/linux/usbdevice_fs.h:49: variable or field `__user' declared void
/usr/src/linux/include/linux/usbdevice_fs.h:49: warning: no semicolon at end of struct or union /usr/src/linux/include/linux/usbdevice_fs.h:49: parse error before '*' token /usr/src/linux/include/linux/usbdevice_fs.h:56: variable or field `__user' declared void /usr/src/linux/include/linux/usbdevice_fs.h:56: warning: no semicolon at end of struct or union /usr/src/linux/include/linux/usbdevice_fs.h:56: parse error before '*' token /usr/src/linux/include/linux/usbdevice_fs.h:100: variable or field `__user' declared void /usr/src/linux/include/linux/usbdevice_fs.h:100: warning: no semicolon at end of struct or union /usr/src/linux/include/linux/usbdevice_fs.h:100: parse error before '*' token /usr/src/linux/include/linux/usbdevice_fs.h:109: parse error before '}' token /usr/src/linux/include/linux/usbdevice_fs.h:116: variable or field `__user' declared void /usr/src/linux/include/linux/usbdevice_fs.h:116: warning: no semicolon at end of struct or union /usr/src/linux/include/linux/usbdevice_fs.h:116: parse error before '*' token

... BAILS OUT...

/usr/src/linux is pointing to valid current kernel sources. Whats wrong with them? Problems with kernel?

Ok. I try to search for devices. When I do hcitool dev it gives no devices, when I do hcitool inq it gives:
Inquiring ...
Inquiry failed.: No such device

When I do `/usr/sbin/hciconfig hci0 up"
It gives: Can't get device info: No such device

The kernel sees the dongle (just as USB device).

At last, here is lsmod:

hci_usb                11264  0
l2cap                  23680  0
bluetooth              44900  2 hci_usb,l2cap

Are that all necessary modules, I guess?

What is the problem? Thx in advance.

Quoted 9 lines

-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Bluez-users mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

maintainer
#2 lore raw
In reply to Hedin

Hi Hedin,

Quoted 8 lines

I have Redhat 9.0 with 2.6.6-mh1 patched kernel and all modules compiled. I have Tecom BT3030 Dongle.

I compiled bluez-libs-2.7 and bluez-utils-2.7. After some effort (big effort!) I managed to compile bluez-pin (why is it needed - no word anywhere...).

I also installed all other modules without problems, except bluez-bluefw. It gives following errors:

the bluez-bluefw was never ported to work on 2.6 systems. You can use the bcm203x firmware loader driver instead. For some more information take a look here http://www.bluez.org/drivers.html

Regards

Marcel

-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

maintainer
#4 lore raw
In reply to a message not in the archive

Hi Hedin,

is it too hard to press the "Reply to All" button?

Quoted 6 lines
Quoted 3 lines

the bluez-bluefw was never ported to work on 2.6 systems. You can use the bcm203x firmware loader driver instead. For some more information take a look here http://www.bluez.org/drivers.html

Hm, I tried the bcm203x kernel module. Nothing changed at all. Any ideas? My dongle is not supported ?

My idea is that you start looking at the logfiles and dmesg for example and see what it tells you. Saying that nothing changed isn't helpful. If you think your dongle is not supported then show us the content of /proc/bus/usb/devices.

Regards

Marcel

-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#5 lore raw
In reply to Marcel Holtmann
Quoted 8 lines · Marcel Holtmann

Hi Hedin,

Quoted 6 lines

I have Redhat 9.0 with 2.6.6-mh1 patched kernel and all modules compiled. I have Tecom BT3030 Dongle.

I compiled bluez-libs-2.7 and bluez-utils-2.7. After some effort (big effort!) I managed to compile bluez-pin (why is it needed - no word anywhere...).

Quoted 6 lines
Quoted 2 lines

I also installed all other modules without problems, except bluez-bluefw. It gives following errors:

the bluez-bluefw was never ported to work on 2.6 systems. You can use the bcm203x firmware loader driver instead. For some more information take a look here http://www.bluez.org/drivers.html

FWIW: I had a short intermezzo with SuSE 9.1 (kernel 2.6.4) some hours ago and I had to install bluez-bluefw pkg to get the AVM USB stick working (the pkg contained blubase.frm) Maybe SuSE just added the firmware file, maybe they did more.

Achim

Quoted 19 lines

Regards

Marcel

-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

Signature · 15 lines
  To me vi is Zen.  To use vi is to practice zen. Every command is
  a koan. Profound to the user, unintelligible to the uninitiated.
  You discover truth everytime you use it.
                                      -- [email protected]


-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
maintainer
#6 lore raw

Hi Achim,

Quoted 4 lines

FWIW: I had a short intermezzo with SuSE 9.1 (kernel 2.6.4) some hours ago and I had to install bluez-bluefw pkg to get the AVM USB stick working (the pkg contained blubase.frm) Maybe SuSE just added the firmware file, maybe they did more.

it is only the firmware file that matters. This is a relict from SuSE 9.0 and they should actually fix it, because the bfusb driver never depended on bluez-bluefw.

Regards

Marcel

-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users