Skip to contentSkip to conversation

Help for bluez-bluefw-1.0.

DISCUSSION Zhikui Chen 2 participants 8 messages Jul 1, 2004 6 messages not in the archive Bluetooth drivers

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): 1088685238.4540.190.camel@pegasus

#2 lore raw

Thanks. Whats bluez modules will be needed for 2.6.7?

Bluetooth I will use is USB dongle ePox and the courrent kernel is 2.6.7.
I configured 2.6.7 kernel and built it. and built bluez stuffs: hcidump, hciemu, libs2.7, pan1.1, utils2.7 And I modified /etc/modules.conf by adding lines:
alias bt-proto-0 l2cap
alias net-pf-31 bluez
alias bt-proto-2 sco
alias bt-proto-3 rfcomm
alias bt-proto-4 bnep
alais char-major-10-250 hci_uhci

BUT:
For my redhat 8 (my notebook PCG 2600TEK only can be installed redhat 8, redhat 9 and mandrake 9.2 could not be install), hciconfig could not be found, and using locate hciconfig, there is output. Marcel could tell me the reason and how should I do? For my redhat 9 (my PC), hciconfig reports that Can't open HCI socket, Address family not surport by protocol, but for 2.4.25, it is ok. Would you like to tell me, whta sould I do? I want to build a bluetooth connection betweent my pc and my notebook. The both bluetooth drivers are BT-DG03 (USB ePOX).

Thanks a lot.

Zhikui

Quoted 19 lines · Marcel Holtmann

Hi Zhikui,

Quoted 3 lines

I have download bluez-bluefw-1.0 source code for Redhat 8 and 9, and extracted the gziped file. But ./configure outputs "configure error : Linux kernel source not found in /usr/src/linux", who can tell me why and how to the next step? And tried to install bluez-bluefw-1.0.rpm, I was told cannot open packages database in /var/lib/rpm and I am sure I am root login.

for what driver do you need bluefw? If you use a 2.6.7 kernel then there is no need to use bluefw.

Regards

Marcel

maintainer
#3 lore raw

Hi Zhikui,

Quoted 13 lines

Thanks. Whats bluez modules will be needed for 2.6.7?

Bluetooth I will use is USB dongle ePox and the courrent kernel is 2.6.7.
I configured 2.6.7 kernel and built it. and built bluez stuffs: hcidump, hciemu, libs2.7, pan1.1, utils2.7
And I modified /etc/modules.conf by adding lines:
alias bt-proto-0 l2cap
alias net-pf-31 bluez
alias bt-proto-2 sco
alias bt-proto-3 rfcomm
alias bt-proto-4 bnep
alais char-major-10-250 hci_uhci

Quoted 10 lines

BUT:
For my redhat 8 (my notebook PCG 2600TEK only can be installed redhat 8, redhat 9 and mandrake 9.2 could not be install), hciconfig could not be found, and using locate hciconfig, there is output. Marcel could tell me the reason and how should I do?
For my redhat 9 (my PC), hciconfig reports that Can't open HCI socket, Address family not surport by protocol, but for 2.4.25, it is ok. Would you like to tell me, whta sould I do? I want to build a bluetooth connection betweent my pc and my notebook. The both bluetooth drivers are BT-DG03 (USB ePOX).

the EPoX dongles are CSR based and so not bluefw is needed. Load the hci_usb driver and everything should work.

Regards

Marcel

-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Bluez-users mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

A message that is not in the archive (sent off-list or not yet received): [email protected]

maintainer
#5 lore raw

Hi Zhikui,

Quoted 21 lines

Thanks for your kindness.

I installed the hci_usb modules, hciconfig still has no output:

My PC reports:

bnep                   16000  0
crc32                   4608  1 bnep
l2cap                  23680  1 bnep
hci_usb                13312  0
bluetooth              47332  3 bnep,l2cap,hci_usb
autofs                 15616  0
ds                     20100  2
yenta_socket           21248  0
pcmcia_core            67076  2 ds,yenta_socket
3c59x                  39720  0
ohci1394               34560  0
ieee1394              318352  1 ohci1394
parport_pc             25120  0
parport                40128  1 parport_pc
usbcore               109780  2 hci_usb
Quoted 4 lines

[root@localhost root]# hciconfig
[root@localhost root]#

Could you tell me what mistake I made?

you must a least load one USB host controller driver.

Regards

Marcel

-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Bluez-users mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

A message that is not in the archive (sent off-list or not yet received): [email protected]

maintainer
#7 lore raw

Hi Zhikui,

Quoted 1 line

I have loaded USB drivers for computers.

I don't think so, because I don't saw uhci_hcd or ohci_hcd.

Regards

Marcel

-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Bluez-users mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

A message that is not in the archive (sent off-list or not yet received): [email protected]

maintainer
#9 lore raw

Hi Zhikui,

Quoted 5 lines

After I loaded uhci_hcd, I got:
[root@localhost root]# hciconfig -a
hci0: Type: USB
BD Address: 00:00:00:00:00:00 ACL MTU: 0:0 SCO MTU: 0:0 DOWN

Quoted 8 lines

RX bytes:0 acl:0 sco:0 events:0 errors:0
TX bytes:0 acl:0 sco:0 commands:0 errors:0
Features: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 Packet type: DM1 DH1 HV1
Link policy:
Link mode: SLAVE ACCEPT
Normally, the report should have a non-zero value for some parameters, the module uhci_hcd is not correct choice? or ehci_hcd or ohci_hcd?

use "hciconfig hci0 up" and follow the newbie howtos from my site.

Regards

Marcel

-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Bluez-users mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

A message that is not in the archive (sent off-list or not yet received): [email protected]

maintainer
#11 lore raw

Hi Zhikui,

Quoted 7 lines

So now hciconfig can display the drivers' addresses.
My PC BD address is 00:04:61:81:AD:36
My notebopok BD is 00:04:61:81:AC:5B
I use hcitool scan, but no output report.
l2ping 00:04:61:81:AC:5B from 00:04:61:81:AD:36, report is "Can't connect .; host is down",

Quoted 5 lines

BUT my notebook scanned an other computer's bluetooth driver and can l2ping to it. What's wrong of my PC? My PC has four USB ports, two of them are from PCIcard. I have tried all ports, My PC can not scan other bluetooth drivers or l2ping to an other. Using hcitool inq also can not found my PC bluetooth drivers.

start hcid. This is easier and don't have to guide you through all the steps.

Regards

Marcel

-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Bluez-users mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#12 lore raw

Hi, Marcel,

Thanks for your help.

Now it's ok after I change a new USB driver.

Could you tell me how to enable BNEP/BNEP0? I want to transfer IP packets over bluetooth.

Best regards,

Zhikui

Quoted 11 lines

start hcid. This is easier and don't have to guide you through all the steps.

Regards

Marcel

maintainer
#13 lore raw

Hi Zhikui,

Quoted 6 lines

Thanks for your help.

Now it's ok after I change a new USB driver.

Could you tell me how to enable BNEP/BNEP0? I want to transfer IP packets over bluetooth.

as I said before, look at the howtos. Look for the kernel module bnep.ko and the userspace tool pand.

Regards

Marcel

-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Bluez-users mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users