LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 10-27-2008, 07:43 AM   #1
redviper
LQ Newbie
 
Registered: Oct 2008
Location: Tuzla
Distribution: Ubuntu Hardy Heron
Posts: 11

Rep: Reputation: 0
Bluetooth adapter not present


Hello everyone,
This is my first post on this forum.. so please excuse any errors on my part.

I know that this question has been much debated about and even probably solved but after a week or two of googleing the solution I was unable to find it. I only managed to find more people with the same problem...

I own a toshiba sattelite a210-19k laptop and have set it up with Hardy distro + winxp (small partition just for AOE II lan games..).

There is a list of things that I still need to figure out and I decided to start with bluetooth, or rather the lack of it. I know there is a built-in bluetooth but my system does not recognize anything and the forums say that bluetooth works out-of-the-box with Hardy.
I will describe one situation which will I think help with the eventual solution for all of you who can help with this.
After not managing to get anywhere with google i swiched to winxp just to see if the bluetooth was at all working (I thought maybe it a physical malfunction). I succesfully installed and used bluetooth on xp after which I rebooted back to linux and the bluetooth was there. After shutdown and again turn on the bluetooth was gone.

Now (again I'm a newbie) this says to me that there is a way to turn bluetooth on/off and since there is no hardware switch to do so, there has to be a software solution which I've not been able to find so far.

Any help is wellcome. If there are some command outputs you would like to see here please name them and I will post. If you have some tutorials that need reading again I am more than willing to give it a try. I really like what I have learned so far about linux and would like to continue.

Thank you for any answers.
 
Old 10-27-2008, 01:55 PM   #2
elliott678
Member
 
Registered: Mar 2005
Location: North Carolina
Distribution: Arch
Posts: 977

Rep: Reputation: 73
I believe that you should be able to enable bluetooth with ACPI, you should have the toshiba and toshiba_acpi kernel module loaded, check this with 'lsmod|grep toshiba'. Load them if they aren't.

Once those are loaded, check to see if it detects everything correctly, 'ls /proc/acpi/toshiba'.

If you see bluetooth in there, to turn it on, you would change it's value to 1, try 'echo "power:1" > /proc/acpi/toshiba/bluetooth && echo "attach:1 > /proc/acpi/toshiba/bluetooth', you might need root privileges for that.

I don't have a Toshiba laptop, I've never worked with one under Linux either, my Asus and Acer have similar functions though.

Last edited by elliott678; 10-27-2008 at 01:59 PM.
 
Old 10-27-2008, 08:56 PM   #3
Savet
Member
 
Registered: Nov 2004
Distribution: Slackware
Posts: 73

Rep: Reputation: 15
You may have tried these steps...but....

Ensure that the bluetooth module is running with:

Quote:
lsmod |grep -i blue
check /etc/rc.d/ or /etc/init.d/ for an rc.bluetooth file. Make sure it's executable and try running it with the "restart" option.

Then, try running:
Quote:
hcitool dev
And see if your device is detected.
 
Old 10-28-2008, 12:22 PM   #4
redviper
LQ Newbie
 
Registered: Oct 2008
Location: Tuzla
Distribution: Ubuntu Hardy Heron
Posts: 11

Original Poster
Rep: Reputation: 0
ok so here goes...

@elliott678
I did lsmod | grep toshiba and the result was empty command line so I guess it is not loaded (I would like to ask how to load them), furthermore i checked /proc/acpi and there is no toshiba folder or file inside.


@Savet
lsmod | grep -i blue

gives back

redviper@Zmago:/proc/acpi$ lsmod | grep -i blue
bluetooth 61156 4 rfcomm,l2cap

I checked /etc/init.d/ and there is no rc.bluetooth file. there is a bluetooth dir with some files inside but again not that one. And of course hcitool dev is giving no result. In my fist post after I booted back to linux and found bluetooth working I did hcitool dev and it listed a device properly.

any ideas???

rgrds
 
Old 10-28-2008, 02:43 PM   #5
Savet
Member
 
Registered: Nov 2004
Distribution: Slackware
Posts: 73

Rep: Reputation: 15
Run updatedb as root to update the database of files, then try running:

Quote:
locate bluetooth |pg
There has to be an executable bluetooth program that kicks off the service.

My first guesses would be /usr/sbin/, /sbin/, or one of the bin directories.

you might also see if there's a man page for bluetooth on your system. It might give you some helpful hints.
 
Old 10-28-2008, 09:07 PM   #6
Savet
Member
 
Registered: Nov 2004
Distribution: Slackware
Posts: 73

Rep: Reputation: 15
I run ubuntu on one of my boxes, and was able to find the bluetooth startup script as /etc/init.d/bluetooth

Your bluetooth settings are located in:

/etc/bluetooth/
 
Old 10-29-2008, 05:43 PM   #7
redviper
LQ Newbie
 
Registered: Oct 2008
Location: Tuzla
Distribution: Ubuntu Hardy Heron
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Savet View Post
I run ubuntu on one of my boxes, and was able to find the bluetooth startup script as /etc/init.d/bluetooth

Your bluetooth settings are located in:

/etc/bluetooth/
I think I have all of these...how should I continue? Is editing needed for /etc/init.d/bluetooth or are there any commands that can do the trick?

thanks.
 
Old 10-29-2008, 06:15 PM   #8
elliott678
Member
 
Registered: Mar 2005
Location: North Carolina
Distribution: Arch
Posts: 977

Rep: Reputation: 73
Quote:
Originally Posted by redviper View Post
After not managing to get anywhere with google i swiched to winxp just to see if the bluetooth was at all working (I thought maybe it a physical malfunction). I succesfully installed and used bluetooth on xp after which I rebooted back to linux and the bluetooth was there. After shutdown and again turn on the bluetooth was gone.
This means Ubuntu is seeing the bluetooth card just fine, when it is on, turning it on is the problem. I don't think messing with those scripts would do anything at the moment.


Quote:
I did lsmod | grep toshiba and the result was empty command line so I guess it is not loaded (I would like to ask how to load them), furthermore i checked /proc/acpi and there is no toshiba folder or file inside.
Load the modules with 'modprobe toshiba' and 'modprobe toshiba_acpi' with root privileges.
 
Old 10-29-2008, 08:39 PM   #9
Savet
Member
 
Registered: Nov 2004
Distribution: Slackware
Posts: 73

Rep: Reputation: 15
Also make sure the bluetooth daemon is running

you can start it by running the following as root

Quote:
/etc/init.d/bluetooth start
You can then confirm it's running with "ps -ef |grep blue"

For me, it returns the following:

Quote:
bash-3.1$ ps -ef |grep blue
root 3199 1 0 17:51 ? 00:00:00 /usr/sbin/hcid -f /etc/bluetooth/hcid.conf
root 3202 3199 0 17:51 ? 00:00:00 /usr/lib/bluetooth/bluetoothd-service-input
root 3208 1 0 17:51 ? 00:00:00 /usr/lib/bluetooth/add-passkey --default
chris 4848 4844 0 21:36 pts/2 00:00:00 grep blue
The above is from a slackware box, your program names may differ slightly though...being on ubuntu.
 
Old 10-30-2008, 12:26 PM   #10
redviper
LQ Newbie
 
Registered: Oct 2008
Location: Tuzla
Distribution: Ubuntu Hardy Heron
Posts: 11

Original Poster
Rep: Reputation: 0
@elliott678

Another bump.
After "sudo modprobe toshiba_acpi" i get:

redviper@Zmago:/$ sudo modprobe toshiba_acpi
FATAL: Error inserting toshiba_acpi (/lib/modules/2.6.24-21-generic/kernel/drivers/acpi/toshiba_acpi.ko): No such device


@Savet
I did start as you instructed and it returned "starting bluetooth....ok"
Also after "ps -ef |grep blue" i got:

redviper@Zmago:/$ ps -ef |grep blue
root 5520 5471 0 17:02 ? 00:00:00 /usr/lib/bluetooth/bluetoothd-service-input
root 5525 5471 0 17:02 ? 00:00:00 /usr/lib/bluetooth/bluetoothd-service-audio
redviper 5982 5807 0 17:03 ? 00:00:00 bluetooth-applet --singleton
redviper 10820 9929 0 18:24 pts/0 00:00:00 grep blue


It is rather similar to yours as I see, but bluetooth is just as dead as before.
 
Old 10-30-2008, 01:45 PM   #11
Savet
Member
 
Registered: Nov 2004
Distribution: Slackware
Posts: 73

Rep: Reputation: 15
So after starting the service, hcitool dev shows no devices?
 
Old 10-30-2008, 03:17 PM   #12
elliott678
Member
 
Registered: Mar 2005
Location: North Carolina
Distribution: Arch
Posts: 977

Rep: Reputation: 73
Arrow

Quote:
Originally Posted by redviper View Post
@elliott678

Another bump.
After "sudo modprobe toshiba_acpi" i get:

redviper@Zmago:/$ sudo modprobe toshiba_acpi
FATAL: Error inserting toshiba_acpi (/lib/modules/2.6.24-21-generic/kernel/drivers/acpi/toshiba_acpi.ko): No such device
Hmmm, I guess your laptop isn't supported by that driver.

I found this, similar enough laptop, they mention the Omnibook driver, which you will unfortunately have to build and install yourself:
https://wiki.kubuntu.org/LaptopTesti...elliteA200-130

It does appear to be an ACPI issue, at least I was on the right track, just had the wrong driver.
 
Old 10-30-2008, 05:45 PM   #13
redviper
LQ Newbie
 
Registered: Oct 2008
Location: Tuzla
Distribution: Ubuntu Hardy Heron
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Savet View Post
So after starting the service, hcitool dev shows no devices?
Correct. hcitool dev returns "Devices: "..
Only time when it showed result was when i restarted from winxp after usin bluetooth there.
 
Old 10-30-2008, 05:57 PM   #14
redviper
LQ Newbie
 
Registered: Oct 2008
Location: Tuzla
Distribution: Ubuntu Hardy Heron
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by elliott678 View Post
Hmmm, I guess your laptop isn't supported by that driver.

I found this, similar enough laptop, they mention the Omnibook driver, which you will unfortunately have to build and install yourself:
https://wiki.kubuntu.org/LaptopTesti...elliteA200-130

It does appear to be an ACPI issue, at least I was on the right track, just had the wrong driver.
I found this solution also on google and tried to implement it but without success. After that I removed omnibook from the system. However I gave it another shot now but still with the same result, and that is after final step:

redviper@Zmago:/etc/modprobe.d$ sudo modprobe -v omnibook ectype=12
WARNING: /etc/modprobe.d/omnibook line 1: ignoring bad line starting with 'omnibook'
FATAL: Module omnibook not found.


Could be that I did something wrong with the installation, but I installed from synaptics so I don't know what could be the issue. there was a message about not being able to authenticate though, so maybe that is the problem.
 
Old 10-30-2008, 06:07 PM   #15
elliott678
Member
 
Registered: Mar 2005
Location: North Carolina
Distribution: Arch
Posts: 977

Rep: Reputation: 73
Can you go through the steps you used to build and install that driver?

Details will help, especially the names of the packages you used.

Last edited by elliott678; 10-30-2008 at 06:08 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 not working on FC6 with Targus USB bluetooth adapter mikevicious Linux - Software 1 12-11-2009 09:03 AM
USB Bluetooth Adapter bassplayer69 Linux - Hardware 2 06-24-2008 10:36 PM
Network Device Not Present trying to install USB Adapter via Ndiswrapper rtoney5 Fedora 0 11-21-2007 01:48 PM
Bluetooth 2.0 USB adapter MasterC Linux - Laptop and Netbook 3 04-27-2007 03:31 PM
bluetooth usb adapter _gnomm Slackware 36 06-15-2006 08:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 04:04 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