LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Are my teeth blue? (https://www.linuxquestions.org/questions/linux-newbie-8/are-my-teeth-blue-698892/)

Isix 01-21-2009 10:23 AM

Are my teeth blue?
 
Here is a not-so-wise question. OK --- Lets say I come to a PC, which runs Linux and I would like to know if the PC has bluetooth capabilities --- what command should I commit in the terminal?

I tried something like:
Code:

lspci | grep bluetooth
Is the above the right thing to see if the teeth are blue?

indienick 01-21-2009 10:53 AM

That might work - I have never had the chance to poke around on a Linux system with a Bluetooth chip in it, but just as a note, grepping for "bluetooth" would limit you to that exact string, keeping in mind that UNIX and Linux are terribly case-sensitive.

Instead, try this:
Code:

$ lspci | grep -i bluetooth
:)

TB0ne 01-21-2009 10:54 AM

Quote:

Originally Posted by Isix (Post 3416255)
Here is a not-so-wise question. OK --- Lets say I come to a PC, which runs Linux and I would like to know if the PC has bluetooth capabilities --- what command should I commit in the terminal?

I tried something like:
Code:

lspci | grep bluetooth
Is the above the right thing to see if the teeth are blue?

What version/distro of Linux? You can type in /etc/init.d/bluetooth status (if you're root), and see what it returns. You can do a "ps -ef | grep blue" to see if the bluez stack is running...look at the KDE/Gnome desktop to see if you've got the bluetooth icon in the systray.

Isix 01-21-2009 03:47 PM

I run Kubuntu 8.10, hence KDE4.2. Regarding checking the status of bluetooth I get:
Code:

delbert@delbert:~$ sudo /etc/init.d/bluetooth status
 * bluetooth is running.
delbert@delbert:~$ bluetooth

I also have:
Code:

delbert@delbert:~$ ps -ef | grep blue
root      5540    1  0 23:22 ?        00:00:00 /usr/sbin/bluetoothd
delbert  6568  6381  0 23:23 ?        00:00:00 /usr/bin/python /usr/bin/kblueplugd
delbert  6756  6508  0 23:24 pts/1    00:00:00 /usr/bin/python /usr/bin/kblueplugd
delbert  6845    1  0 23:26 pts/2    00:00:00 kbluetooth4
delbert  7669  6801  0 23:43 pts/2    00:00:00 grep blue
delbert@delbert:~$

Upon doing "sudo lspci | grep -i bluetooth" I get no response.

Under SYSTEM SETTINGS >> ADVANCE >> HARDWARE, I see BlueZ solely listed as Bluetooth Management Backend.

Despite all these I do not see the icon in the systray. My phone (SAMSUNG E250) cannot even feel the systems bluetooth.

I have installed loads of blue-related software from Synaptic.

Here is my lspci.
Code:

delbert@delbert:~$ lspci
00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 04)
00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 04)
00:02.1 Display controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 04)
00:1b.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 04)
00:1c.1 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 2 (rev 04)
00:1c.2 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 3 (rev 04)
00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 04)
00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 04)
00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 04)
00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 04)
00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 04)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d4)
00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 04)
00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller (rev 04)
00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 04)
06:01.0 CardBus bridge: Texas Instruments PCI1510 PC card Cardbus Controller
06:04.0 Network controller: Intel Corporation PRO/Wireless 2200BG [Calexico2] Network Connection (rev 05)
06:08.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)

Although I am unsuccesful your comments have enlightened me in this regard --- thanks.

TB0ne 01-21-2009 03:51 PM

Quote:

Originally Posted by Isix (Post 3416608)
I run Kubuntu 8.10, hence KDE4.2. Regarding checking the status of bluetooth I get:
Code:

delbert@delbert:~$ sudo /etc/init.d/bluetooth status
 * bluetooth is running.
delbert@delbert:~$ bluetooth

I also have:
Code:

delbert@delbert:~$ ps -ef | grep blue
root      5540    1  0 23:22 ?        00:00:00 /usr/sbin/bluetoothd
delbert  6568  6381  0 23:23 ?        00:00:00 /usr/bin/python /usr/bin/kblueplugd
delbert  6756  6508  0 23:24 pts/1    00:00:00 /usr/bin/python /usr/bin/kblueplugd
delbert  6845    1  0 23:26 pts/2    00:00:00 kbluetooth4
delbert  7669  6801  0 23:43 pts/2    00:00:00 grep blue
delbert@delbert:~$

Upon doing "sudo lspci | grep -i bluetooth" I get no response.

Under SYSTEM SETTINGS >> ADVANCE >> HARDWARE, I see BlueZ solely listed as Bluetooth Management Backend.

Despite all these I do not see the icon in the systray. My phone (SAMSUNG E250) cannot even feel the systems bluetooth.

I have installed loads of blue-related software from Synaptic.

Ok..your bluetooth is running. The LSPCI won't show anything for bluetooth, since that just lists some of your hardware devices. Since you're running KDE, go to the application menu, and type 'blue' in the search-box. Run the KDE Bluetooth Monitor...the icon will appear.

After that, you can pair the phone, and 'feel' it all you'd like...

Isix 01-21-2009 05:32 PM

I could not get KDE Bluetooth Monitor, but instead I got Bluetooth File Transfering, and Kde4bluetooth. The former gave me a icon in the systray, but it only says its purpose when you hover over the icon --- clicking the icon does not help. Kde4bluetooth, I understand has its own issues at the moment, it is non-responsive on my system

So I installed "bluemon" and it runs OK.

Code:

delbert@delbert:~$ sudo /etc/init.d/bluemon start
 * Starting bluemon...                                                                                                [ OK ]
delbert@delbert:~$

I think I share the same problem with:
http://www.linuxquestions.org/questi...wizard-682960/

because of the following error I get:
Code:

delbert@delbert:~$ bluetooth-wizard

(bluetooth-wizard:8277): Gtk-CRITICAL **: gtk_tree_model_filter_set_visible_func: assertion `GTK_IS_TREE_MODEL_FILTER (filter)' failed

(bluetooth-wizard:8277): Gtk-CRITICAL **: gtk_tree_model_sort_new_with_model: assertion `GTK_IS_TREE_MODEL (child_model)' failed

(bluetooth-wizard:8277): Gtk-CRITICAL **: gtk_tree_sortable_set_sort_column_id: assertion `GTK_IS_TREE_SORTABLE (sortable)' failed

(bluetooth-wizard:8277): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(bluetooth-wizard:8277): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
delbert@delbert:~$

I will still search for a real KDE Bluetooth Monitor software.

jeffreyfrog 01-21-2009 09:44 PM

I suggest that you look at the KDE/Gnome desktop to see if you have the bluetooth icon in the systray.


All times are GMT -5. The time now is 07:25 AM.