2004-05-12 11:20:59

by Hedin

[permalink] [raw]
Subject: [Bluez-users] Can't understand

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


2004-05-12 21:39:21

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] Can't understand

Hi Achim,

> 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

2004-05-12 20:38:47

by Achim Bohnet

[permalink] [raw]
Subject: Re: [Bluez-users] Can't understand

On Wednesday 12 May 2004 15:17, Marcel Holtmann wrote:
> Hi 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:
>
> 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
>
> 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
>
>
>

--
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

2004-05-12 13:17:09

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] Can't understand

Hi 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:

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

2004-05-12 11:52:35

by CIJOML

[permalink] [raw]
Subject: Re: [Bluez-users] Can't understand

This dongle needs firmware load to get it to work

Michal

On Wednesday 12 of May 2004 13:20, Hedin wrote:
> 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


-------------------------------------------------------
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