LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-10-2006, 12:11 PM   #1
mvo
Member
 
Registered: Apr 2005
Location: Delhi, India
Distribution: Mostly Fedora
Posts: 42

Rep: Reputation: 15
Bluetooth


Hello,

on FC4 I want to use my USB MSI bluetooth dongle.
I have gnome-bluetooth and kde bluez installed.
When I insert the dongle, I can't see it in gnome-bluetooth.
I enabled bluetooth and kudzu with chkconfig...
I see in dmesg:

Dmesg says:
Bluetooth: Core ver 2.7
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP ver 2.7
Bluetooth: L2CAP socket layer initialized
Bluetooth: RFCOMM ver 1.5
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM TTY layer initialized
but this is also in dmesg without connecting the dongle.

after connecting it adds:
usb 2-1: new full speed USB device using uhci_hcd and address 2
Bluetooth: HCI USB driver ver 2.9
usbcore: registered new driver hci_usb

Where in my linux-system can I find clues about whether the dongle works and how to detect it?

Any help would be very appreciated.

Cheers, Marcel
 
Old 01-11-2006, 06:32 AM   #2
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
That dmesg output is just the kernel initialising the Bluetooth subsystem, nothing to do with your dongle as you've obviously figured out

Run this, it'll tell you if your dongle is recognised or not:
Code:
hcitool dev
hciconfig <- will give you more info re: networking side of it
If they both look okay then search for devices with this command:
Code:
hcitool scan
If all that works fine then you just need to configure whatever GUI system you wish to use. I can't help you with that sorry, I use CLI stuff with Bluetooth along with some bash and python scripts.
 
Old 01-11-2006, 01:45 PM   #3
mvo
Member
 
Registered: Apr 2005
Location: Delhi, India
Distribution: Mostly Fedora
Posts: 42

Original Poster
Rep: Reputation: 15
Hey!

Thank you so much for your help. That means a lot to me.
I did the commands and this is the output
[root@laptoppie marcel]# hcitool dev
Devices: hci0 00:02:72:C2:C1:C9
[root@laptoppie marcel]# hcitool scan
Scanning ...
[root@laptoppie marcel]#
hciconfig didn't work...(?) with command not found error, also not in /sbin (i use FC4)
And as can be seen 'hcitool scan' doesnt return more output than 'Scanning...'
The USB bluetooth is 'MSI' and a v1.2 version

Is there a way to get it working?

Marcel
 
Old 01-11-2006, 05:11 PM   #4
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
It looks like it is being recognised okay, do you have any Bluetooth devices in range that are enabled for the dongle to find? Something like a laptop could easily have it's Bluetooth profile setup not to be found but if you have a phone or something it definitely shouldn't have much security enabled.

Can you 'locate hciconfig' and see if it's anywhere on your system? If it's not there, install all the bluez packages with yum. All you need to do now is confirm the computer can actually find devices and then once it's found them, ping their address to make sure it can open a connection okay
 
Old 01-11-2006, 06:21 PM   #5
mvo
Member
 
Registered: Apr 2005
Location: Delhi, India
Distribution: Mostly Fedora
Posts: 42

Original Poster
Rep: Reputation: 15
Things are looking indeed good, seems to be well recognized (the dongle) as I have following output:
[root@laptoppie marcel]# /usr/sbin/hciconfig
hci0: Type: USB
BD Address: 00:02:72:C2:C1:C9 ACL MTU: 377:10 SCO MTU: 16:0
UP RUNNING PSCAN ISCAN
RX bytes:1435 acl:0 sco:0 events:74 errors:0
TX bytes:377 acl:0 sco:0 commands:22 errors:0

[root@laptoppie marcel]# hcitool scan
Scanning ...
00:0A:94:9F:05:C7 BT Headset-F
Now the remaining challenge is to connect to the headset (for voip / skype) so I thought of
[root@laptoppie marcel]# hcitool cc 00:0A:94:9F:05:C7
Can't create connection: Connection timed out
[root@laptoppie marcel]# hcitool auth 00:0A:94:9F:05:C7
Not connected
Perhaps important matter: the headset needs a PIN identification. Can or need I to include this in the hcitool connect command (cc?) or will hcitool prompt for it?
As you can see, not yet operational/working, what is the catch?
How do I ping the headset to open a connection?
btw: I installed with yum libbluetooth-dev and other blue-packages...

Hope someone can help me out with this last step.

Thanks! Marcel

Last edited by mvo; 01-11-2006 at 06:25 PM.
 
Old 01-11-2006, 06:52 PM   #6
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
Looks great so far! You won't use hcitool to connect to the headset, being an audio device you'll need some special software. Here is a link to get you started, best of luck Post back if you have any problems.
 
Old 02-10-2006, 08:27 AM   #7
anil_iyengar
LQ Newbie
 
Registered: Oct 2005
Location: Guildford,Surrey,UK
Posts: 5

Rep: Reputation: 0
Bluetooth

Quote:
Originally Posted by cs-cam
That dmesg output is just the kernel initialising the Bluetooth subsystem, nothing to do with your dongle as you've obviously figured out

Run this, it'll tell you if your dongle is recognised or not:
Code:
hcitool dev
hciconfig <- will give you more info re: networking side of it
If they both look okay then search for devices with this command:
Code:
hcitool scan
If all that works fine then you just need to configure whatever GUI system you wish to use. I can't help you with that sorry, I use CLI stuff with Bluetooth along with some bash and python scripts.
Hi i have problem when i try to connect my mobile phone to the laptop.but after the scan it does show me the mobile phone with the address and even my phone shows as a unknow device on its bluetooth list....now on my phone it askes for a pass key i enter the passkey as "0000"...and i press ok and the laptop doesnt respond...

Can you tell me if m doin the rite thing?????????

Thanks....
 
Old 02-10-2006, 05:51 PM   #8
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
You need to set the pin for the laptop in /etc/bluetooth/pin and then restart the Bluetooth service. Some distrobutions ship with an app that will popup when a device is trying to pair with the machine but not all. Once the pin is set to 0000 in the pin file then pairing shouldn't be a problem
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
bluetooth stimpsonjcat Debian 1 05-11-2005 11:30 PM
Help me with Bluetooth d4d4n9 Mandriva 1 03-02-2005 03:49 AM
Help with bluetooth pablowablo Linux - Newbie 4 02-12-2005 09:12 PM
BlueTooth??? peachy Linux - Hardware 0 08-26-2004 07:53 AM
Bluetooth are Linux - Hardware 0 06-18-2004 07:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration