Bug 423621

Summary: bluetooth is there but no one is home
Product: [Fedora] Fedora Reporter: Andrew Cagney <cagney>
Component: bluez-gnomeAssignee: Bastien Nocera <bnocera>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 8CC: bnocera, walovaton
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-09-27 12:20:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
dmesg none

Description Andrew Cagney 2007-12-13 15:50:54 UTC
Dell Latitude|X1, the bluetooth software is recognizing that it has a blue-tooth
device but manipuatling it doesn't seem to work:

- making it visible doesn't show up on a phone
- searching doesn't show up either a phone or ps3

(this was using the gnome interface)

Bluetooth: L2CAP ver 2.8
Bluetooth: L2CAP socket layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM ver 1.8

Comment 1 Andrew Cagney 2007-12-13 15:50:54 UTC
Created attachment 287471 [details]
dmesg

Comment 2 Bastien Nocera 2007-12-13 16:17:35 UTC
I don't see it being recognised anywhere, and it wouldn't show up in dmesg
anyway. I can see that the bluetooth modules are getting loaded though.

Is the bluetooth service running? What's the output of "hciconfig"?

Comment 3 Andrew Cagney 2007-12-13 16:45:53 UTC
$ hciconfig
hci0:   Type: USB
        BD Address: 00:10:C6:63:A8:49 ACL MTU: 384:8 SCO MTU: 64:8
        UP RUNNING PSCAN 
        RX bytes:701 acl:0 sco:0 events:24 errors:0
        TX bytes:345 acl:0 sco:0 commands:23 errors:0



Comment 4 Bastien Nocera 2007-12-13 16:55:16 UTC
(In reply to comment #0)
<snip>
> - making it visible doesn't show up on a phone
> - searching doesn't show up either a phone or ps3

Could it be that your phone is broken instead?

The PS3 won't be visible from your computer though, because it's never visible.

Comment 5 Andrew Cagney 2007-12-13 17:52:12 UTC
If the PS3 three isn't visible, why can my phone see it?
The phone works with other phones.
The phone works with a mac.


Comment 6 Bastien Nocera 2007-12-13 18:23:40 UTC
(In reply to comment #5)
> If the PS3 three isn't visible, why can my phone see it?

If you could tell me how you do that, and what services it exports, I'd be happy.

> The phone works with other phones.
> The phone works with a mac.

Do you see the "device is now discoverable", etc. popups when you switching
discovery on?

What tool did you use to search? Is the antenna for the device actually enabled
in the BIOS? Any error on the command-line when launching bluetooth-properties
by hand?

Comment 7 William Lovaton 2008-09-25 02:32:19 UTC
Mmmm... I'm not sure if my problem is the same.

I just upgraded to Rawhide and I think my bluetooth stopped working.  I don't really use it all that much and I don't have another BT enabled device near me to test.

I have a Dell XPS M1210 with bluetooth built in and when I turn on the switch it would light up the blue indicator in my computer and the bluetooth icon would appear on the notification area.  I am sure it was working with Fedora 9 but not with Rawhide anymore.

I am running the latest updates as of Sept 24:
kernel-2.6.27-0.352.rc7.git1.fc10.i686
bluez-libs-4.6-1.fc10.i386
bluez-alsa-4.6-1.fc10.i386
bluez-4.6-1.fc10.i386
bluez-gnome-1.3-1.fc10.i386
bluez-cups-4.6-1.fc10.i386

The kernel seems to detect it just fine:
kernel: usb 3-1: new full speed USB device using uhci_hcd and address 2
kernel: usb 3-1: configuration #1 chosen from 1 choice
kernel: usb 3-1: New USB device found, idVendor=413c, idProduct=8103
kernel: usb 3-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
kernel: Bluetooth: Core ver 2.13
kernel: NET: Registered protocol family 31
kernel: Bluetooth: HCI device and connection manager initialized
kernel: Bluetooth: HCI socket layer initialized
kernel: Bluetooth: Generic Bluetooth USB driver ver 0.3
kernel: usbcore: registered new interface driver btusb

And lsusb shows the following:
Bus 003 Device 003: ID 413c:8103 Dell Computer Corp. Wireless 350 Bluetooth

The funny thing is that hciconfig shows this:
hci0:	Type: USB
	BD Address: 00:00:00:00:00:00 ACL MTU: 0:0 SCO MTU: 0:0
	DOWN 
	RX bytes:0 acl:0 sco:0 events:0 errors:0
	TX bytes:0 acl:0 sco:0 commands:0 errors:0

The Address and the DOWN thing looks suspicious to me.  I mean, the device is turned on.  Would this mean that my device is broken??

I'll try to test it with Windows Vista or Fedora 9 Live USB and report back.

Cheers.

Comment 8 Bastien Nocera 2008-09-25 03:03:20 UTC
(In reply to comment #7)
> Mmmm... I'm not sure if my problem is the same.
> 
> I just upgraded to Rawhide and I think my bluetooth stopped working.  I don't
> really use it all that much and I don't have another BT enabled device near me
> to test.
<snip>
> The funny thing is that hciconfig shows this:
> hci0: Type: USB
>  BD Address: 00:00:00:00:00:00 ACL MTU: 0:0 SCO MTU: 0:0
>  DOWN 
>  RX bytes:0 acl:0 sco:0 events:0 errors:0
>  TX bytes:0 acl:0 sco:0 commands:0 errors:0
> 
> The Address and the DOWN thing looks suspicious to me.  I mean, the device is
> turned on.  Would this mean that my device is broken??

Try to turn the bluetooth service on. It should be enabled by default though.

File a separate bug if it didn't get enabled by default.

Comment 9 William Lovaton 2008-09-26 00:30:34 UTC
You were right Bastien, the bluetooth service was down.  I don't really know how it got disabled.  It is working fine now.

Now, you said I should file a separate bug... but against what component??

Thanks a lot!.

Comment 10 Bastien Nocera 2008-09-27 12:19:42 UTC
(In reply to comment #9)
> You were right Bastien, the bluetooth service was down.  I don't really know
> how it got disabled.  It is working fine now.
> 
> Now, you said I should file a separate bug... but against what component??

Against bluez to start with. Make sure you use bluez-4.6-4, or newer, as it fixes a crash on resume.

Comment 11 Bastien Nocera 2008-09-27 12:20:24 UTC
The original bug has been needinfo for 9 months, closing.