This is a static archive of the old Zorin Forum.

The information below may be outdated. Visit the new Zorin Forum here ›

If you have registered on the old forum, you will need to create an account on the new forum.

(SOLVED) No bluetooth with zorin

razedafear

Sun Sep 16, 2012 8:18:49 am

Hi

I ran into an issue with BT. I have enabled it in the task bar. Here is the output of:

Code:
sudo rfkill list all


Code:
  0: hp-wifi: Wireless LAN
   Soft blocked: no
   Hard blocked: no
1: hp-bluetooth: Bluetooth
   Soft blocked: no
   Hard blocked: no
2: phy0: Wireless LAN
   Soft blocked: no
   Hard blocked: no
3: hci0: Bluetooth
   Soft blocked: no
   Hard blocked: no


The option to enable the BT is grayed out. Any idea why?
Check screenshot

bt.jpeg

madvinegar

Sun Sep 16, 2012 11:24:47 am

What if you click on the bt icon on the bar? Do you get an option "enable bluetooth" and "visible"?

Also do you have a key combination to turn it on? Maybe Fn+F2?

Finally try also these commands in terminal:
Code:
sudo service bluetooth start

or
Code:
sudo /etc/init.d/bluetooth start

or
Code:
sudo service bluetooth restart

razedafear

Sun Sep 16, 2012 1:14:52 pm

swarfendor437 wrote:Hi razedafear, do you mean you cannot slide either of those switches to 'ON'?


Exactly, thats whats happening, i cant slide them to ON

razedafear

Sun Sep 16, 2012 2:11:42 pm

madvinegar wrote:What if you click on the bt icon on the bar? Do you get an option "enable bluetooth" and "visible"?

Also do you have a key combination to turn it on? Maybe Fn+F2?

Finally try also these commands in terminal:
Code:
sudo service bluetooth start

or
Code:
sudo /etc/init.d/bluetooth start

or
Code:
sudo service bluetooth restart


Code:
umayrz@umayrz-HP-ProBook-4530s:~$ sudo service bluetooth start
[sudo] password for umayrz:
start: Job is already running: bluetooth


Code:
umayrz@umayrz-HP-ProBook-4530s:~$ sudo /etc/init.d/bluetooth start
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service bluetooth start

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the start(8) utility, e.g. start bluetooth


Code:
umayrz@umayrz-HP-ProBook-4530s:~$ sudo service bluetooth restart
[sudo] password for umayrz:
bluetooth stop/waiting
bluetooth start/running, process 3541

Wolfman

Mon Sep 17, 2012 6:00:42 am

Hi,

you can also try installing the packages "bluetooth" (bluetooth support) and " blueman" (bluetooth GUI).

I cannot say whether or not this will help you!!.

Regards Wolfman :D

madvinegar

Mon Sep 17, 2012 6:23:30 am

razedafear wrote:
Code:
umayrz@umayrz-HP-ProBook-4530s:~$ sudo service bluetooth start
[sudo] password for umayrz:
start: Job is already running: bluetooth



It says here that bluetooth is already up and working... :?: :?: After this command did you check if the BT slider has moved to "on".?

Also, you have not answered the below questions
What if you click on the bt icon on the bar? Do you get an option "enable bluetooth" and "visible"?

Also do you have a key combination to turn it on? Maybe Fn+F2?

razedafear

Tue Sep 18, 2012 8:52:17 am

1 - i do get the enable option when i click in the BT icon in the taskbar.
2- i dont have a key combination but a common physical button to turn on BT and wifi.

Good news is that i can send from my PC to mobile (moto defy+) but not the vice versa, both the phone and laptop visibilty is set to ON.

See screenshot for bluetooth settings:-

defy.jpeg

madvinegar

Tue Sep 18, 2012 9:16:21 am

Go to system tools>preferences>"personal file sharing". At the bottom of the box enable "Receive files in downloads folder over bluetooth".

madvinegar

Wed Sep 19, 2012 1:39:55 pm

Glad I helped swarf.

razedafear

Wed Sep 19, 2012 2:32:51 pm

Awsome madvinegar... nailed it... SOLVED.. :)

madvinegar

Wed Sep 19, 2012 2:47:13 pm

Again, glad I helped! 8-)

remav

Fri Oct 05, 2012 6:26:53 am

Hello, I'n new with Linux, I installed Zorin 5.2 from a friend and I like it, but I have a small problem with it, I use a bluetooth mouse at my laptop. I have and bluetooth adapter, Zorin it recognise and work with it. I install the mouse (look for new device, found, pair-with no PIN or automatic) connect it and use. All are OK, but after a restart the mouse is not reconnect automatically, more I have a connect option for it but it does nothing. For work again I need to remove it from bluetooth devices, to add it again and pair again. It's work only for one session, after restart it's gone again. Can anybody tell me how I can solve this? SOrry because I didn't open a new thread.
Thanks.

Wolfman

Fri Oct 05, 2012 6:40:42 am

Hi,

you can also try installing the packages "bluetooth" (bluetooth support) and " blueman" (bluetooth GUI).

Open a terminal and paste this command:

sudo apt-get install bluetooth blueman

You would then need to check under bluetooth in the system settings menu and see what settings are available to you.

What model of mouse is it?.

Make sure your system is up-to-date:

viewtopic.php?f=6&t=2247

I cannot say whether or not this will help you!!.

Regards Wolfman :D

madvinegar

Fri Oct 05, 2012 6:47:54 am

remav wrote:Hello, I'n new with Linux, I installed Zorin 5.2 from a friend and I like it, but I have a small problem with it, I use a bluetooth mouse at my laptop. I have and bluetooth adapter, Zorin it recognise and work with it. I install the mouse (look for new device, found, pair-with no PIN or automatic) connect it and use. All are OK, but after a restart the mouse is not reconnect automatically, more I have a connect option for it but it does nothing. For work again I need to remove it from bluetooth devices, to add it again and pair again. It's work only for one session, after restart it's gone again. Can anybody tell me how I can solve this? SOrry because I didn't open a new thread.
Thanks.


Can you please plug the BT adapter (so as the mouse to work), then open terminal and post back the result of
Code:
lsmod

remav

Fri Oct 05, 2012 9:04:10 am

I discovered a strange thing, if I wait a while after reboot (30 s or 1 min) the mouse is start to work. This is good thing and is not disturbing me so much. I can live with this. Thanks for the help.
Now I ask again for help, on this laptop I have Nvidia grafic card and all the window animations are not working. I have the OS installed on the USB memory stick and I test it on other laptop and there is work just fine all the effects and animations. I saw somewhere on the internet that the Nvidia cards have Noveau driver for linux and I believe that this is the problem for animation issue. I downloaded the Nvidia driver for linux from Nvidia site, but the problem is that I need to close the X server (Noveau driver) from terminal. That I can't. I used sudo /etc/init.d/gdm stop but not working. Nvidia has created /etc/modprobe.d/disable-nouveau.conf file but no effect after restart. My question is, how can I kill the X server to install the Nvidia driver?

Wolfman

Fri Oct 05, 2012 9:17:24 am

remav wrote:I discovered a strange thing, if I wait a while after reboot (30 s or 1 min) the mouse is start to work. This is good thing and is not disturbing me so much. I can live with this. Thanks for the help.
Now I ask again for help, on this laptop I have Nvidia grafic card and all the window animations are not working. I have the OS installed on the USB memory stick and I test it on other laptop and there is work just fine all the effects and animations. I saw somewhere on the internet that the Nvidia cards have Noveau driver for linux and I believe that this is the problem for animation issue. I downloaded the Nvidia driver for linux from Nvidia site, but the problem is that I need to close the X server (Noveau driver) from terminal. That I can't. I used sudo /etc/init.d/gdm stop but not working. Nvidia has created /etc/modprobe.d/disable-nouveau.conf file but no effect after restart. My question is, how can I kill the X server to install the Nvidia driver?

Hi,

For the latest drivers ( version 304.37 as of 21.Aug.2012) please copy and paste the following commands one after the other in a terminal:

sudo apt-add-repository ppa:ubuntu-x-swat/x-updates

sudo apt-get update

sudo apt-get install nvidia-current

Then restart your PC.

See also:

viewtopic.php?f=6&t=2490

Regards Wolfman :D

remav

Fri Oct 05, 2012 9:49:19 am

Thanks a lot for the quick reply. I done the commands and now is running the last one (is downloading the driver). I have a very low speed now at internet connection. I have already the driver downloaded from last night in my comp in Downloads folder. How can I run it from there? I tried to run it in a terminal but it say that I must to close the X server (the old problem). It necessary to wait until the driver will be downloaded again?
PS - they released a new version now from 5 sept, 304.51

madvinegar

Fri Oct 05, 2012 9:54:13 am

On your previous problem about the BT mouse, would you like to try to fix it and make the mouse load immidiatelly at startup?
If yes, please post the result of
Code:
lsmod


Ofcourse your mouse should be plugged in and working before you post this command.

remav

Fri Oct 05, 2012 10:06:46 am

madvinegar wrote:On your previous problem about the BT mouse, would you like to try to fix it and make the mouse load immidiatelly at startup?
If yes, please post the result of
Code:
lsmod


Ofcourse your mouse should be plugged in and working before you post this command.


Code:
Module                  Size  Used by
ppp_deflate            12838  0
bsd_comp               12777  0
ppp_async              17308  1
hidp                   17993  1
hid                    77084  1 hidp
binfmt_misc            13213  1
parport_pc             32111  0
dm_crypt               22463  0
ppdev                  12849  0
zram                   18216  2
rfcomm                 38125  8
snd_hda_codec_idt      60537  1
snd_hda_intel          24113  2
sco                    17827  2
snd_hda_codec          90901  2 snd_hda_codec_idt,snd_hda_intel
bnep                   17785  2
snd_hwdep              13274  1 snd_hda_codec
snd_pcm                80042  2 snd_hda_intel,snd_hda_codec
l2cap                  48656  21 hidp,rfcomm,bnep
snd_seq_midi           13132  0
snd_rawmidi            25269  1 snd_seq_midi
arc4                   12473  2
snd_seq_midi_event     14475  1 snd_seq_midi
joydev                 17322  0
snd_seq                51291  2 snd_seq_midi,snd_seq_midi_event
iwl3945               126017  0
snd_timer              28659  2 snd_pcm,snd_seq
pcmcia                 39671  0
snd_seq_device         14110  3 snd_seq_midi,snd_rawmidi,snd_seq
option                 21045  2
iwlcore               148964  1 iwl3945
yenta_socket           27230  0
usb_wwan               19711  1 option
btusb                  18160  4
usbserial              37116  7 option,usb_wwan
snd                    55295  13 snd_hda_codec_idt,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
mac80211              257001  2 iwl3945,iwlcore
irda                  185091  0
dell_wmi               12601  0
pcmcia_rsrc            18292  1 yenta_socket
soundcore              12600  1 snd
dell_laptop            13515  0
psmouse                73312  0
bluetooth              65493  10 hidp,rfcomm,sco,bnep,l2cap,btusb
cfg80211              156212  3 iwl3945,iwlcore,mac80211
pcmcia_core            21505  3 pcmcia,yenta_socket,pcmcia_rsrc
hw_cdc_driver          37423  0
crc_ccitt              12595  2 ppp_async,irda
snd_page_alloc         14073  2 snd_hda_intel,snd_pcm
sparse_keymap          13666  1 dell_wmi
serio_raw              12990  0
dcdbas                 14054  1 dell_laptop
lp                     13349  0
parport                36746  3 parport_pc,ppdev,lp
squashfs               35973  1
aufs                  159344  6362
nls_iso8859_1          12617  1
nls_cp437              12751  1
vfat                   17335  1
fat                    55505  1 vfat
dm_raid45              88410  0
xor                    21860  1 dm_raid45
btrfs                 527388  0
zlib_deflate           26594  2 ppp_deflate,btrfs
libcrc32c              12543  1 btrfs
usb_storage            43946  1
uas                    17676  0
nouveau               621925  3
ttm                    65184  1 nouveau
firewire_ohci          31504  0
firewire_core          56138  1 firewire_ohci
drm_kms_helper         40971  1 nouveau
drm                   184164  5 nouveau,ttm,drm_kms_helper
tg3                   131476  0
crc_itu_t              12627  1 firewire_core
i2c_algo_bit           13184  1 nouveau
video                  18951  1 nouveau
live@live:~$

madvinegar

Fri Oct 05, 2012 10:34:46 am

Ok, lets try this:

Open terminal and write
Code:
sudo gedit /etc/modules


In the end of that file, on a new line, add the word
Code:
btusb


Save, exit, reboot and see if it worked.

remav

Fri Oct 05, 2012 11:14:46 am

I done that, after restart same behavior, BT mouse is not working. I noticed that if I disable and enable the BT on computer the mouse is working after this.
Regarding the animation, I installed the Nvidia driver, but the windows effects are not workig. I lost now the boot and end logo too, :(.
Any solutions?

madvinegar

Fri Oct 05, 2012 11:47:24 am

remav wrote:I done that, after restart same behavior, BT mouse is not working. I noticed that if I disable and enable the BT on computer the mouse is working after this.


Ok that helps.
Try this before I prepare a simple script for you.
When the mouse is working open terminal and write
Code:
sudo rmmod bluetooth

Does the bluetooth stop working?

Then do
Code:
sudo modprobe bluetooth

Does the bluetooth and the mouse spring to life?

If yes we have two options.
The first one is to follow my previous guide, but replace the word "btsub" with "bluetooth" (without the quotes).

The second method, and probably more effective is to create a script which will load at startup.
Open terminal and write:
Code:
sudo gedit home/yourusername/btmousestart.sh

(replace with your user name).

A file will open. Copy and paste the following text inside
#!/bin/bash
sudo rmmod bluetooth
sudo modprobe bluetooth
exit 0

Save, exit.
Then in terminal again write
Code:
sudo chmod a+x /home/yourusername/btmousestart.sh

By doing this we give executable rights to the file we created.

Then, open startup applications, click on "add", and in the command line type
Code:
/home/yourusername/btmousestart.sh

Give it a name, like "bluetooth usb start", save, exit, reboot and see if that worked.

remav

Fri Oct 05, 2012 12:46:03 pm

I followed the steps, but after first line it says
live@live:~$ sudo rmmod bluetooth
ERROR: Module bluetooth is in use by hidp,rfcomm,sco,bnep,l2cap,btusb
live@live:~$
So, I continued anyway and I created the file with my username. I restarted and same issue, it doesn't start only if I turn off and on the BT module.

madvinegar

Fri Oct 05, 2012 1:05:48 pm

No worries, we just need to find the right module.

So you will try one after the other the following:

sudo rmmod hidp
sudo rmmod rfcomm
sudo rmmod sco
sudo rmmod bnep
sudo rmmod l2cap
sudo rmmod btusb

One of the above commands will turn of your BT.
To get it working again you should run
sudo modprobe <the name of the module that turned off the bluetooth>
i.e. sudo modprobe btusb or sudo modprobe l2cap etc.

After we have established the module that turns on and off the bluetooth, then we can amend my above guide accordingly and more specifically replace the word "bluetooth" with the module we found.
So the script will become
Code:
#!/bin/bash
sudo rmmod btusb
sudo modprobe btusb
exit 0

Let me know how it works.

madvinegar

Fri Oct 05, 2012 1:08:32 pm

Oh wait a minute. Are you running on live USB??? Have you created peristent space? Because if not, no changes will be saved after a restart!

I thought that you have properly installed Zorin in a usb. Not using a live usb.

remav

Fri Oct 05, 2012 1:39:08 pm

I'm running on USB but in persistent mode, always.
I tried all steps what you wrote but for each one I have ERROR: Module ..... is in use , so I can't turn it off because is in use. The rmmod command is not turning off. Can I try in other way?

madvinegar

Fri Oct 05, 2012 1:42:38 pm

After you tried one by one the rmmod commands and you get this error message, does it say that bluetooth is in use by any other module than hidp,rfcomm,sco,bnep,l2cap,btusb ??

remav

Fri Oct 05, 2012 1:52:29 pm

one thing, when I tried to create the btmousestart.sh when I want to save it it says that "Could not find the file " /home/live/home/live/btmousestart.sh." and I push save as, I choosed the name and it works, but I think that is not same thing, maybe the file was not created in the right place.
Now I need to leave the work and I have to do some trip up to my home. I'll try later with trials. Thanks a lot for the help.

madvinegar

Fri Oct 05, 2012 1:58:24 pm

The right path, since you are on a live usb is
/home/live/btmousestart.sh