LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-24-2010, 11:50 AM   #16
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,097

Original Poster
Rep: Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276

Here is an interesting twist:

From a fresh start (boot) neither Blueman or Kbluetooth will work and report
the error messages mentioned in the previous posts above.

If I fire up XP in VirtualBox and run the bluetooth software therein, which
works properly, then close XP and VB, Blueman will work in a limited
form, i.e., it will allow a file to be sent to the device (a cellphone), but
it shows the folders on the phone, which contain files, to be empty.
Kbluetooth will fire up, but won't perform.

Last edited by cwizardone; 10-24-2010 at 11:57 AM.
 
Old 10-24-2010, 08:33 PM   #17
lumak
Member
 
Registered: Aug 2008
Location: Phoenix
Distribution: Arch
Posts: 799
Blog Entries: 32

Rep: Reputation: 111Reputation: 111
Here is an example of what I get from inserting and removing my usb bluetooth adapter...

Insert: This is common. USB devices should always display this type of information with dmesg when they are inserted.
Code:
usb 1-6: new full speed USB device using ohci_hcd and address 31
usb 1-6: New USB device found, idVendor=0a12, idProduct=0001
usb 1-6: New USB device strings: Mfr=0, Product=0, SerialNumber=0
usb 1-6: USB disconnect, address 31
Removed: This appears to be the service freaking out because it was not properly ended before removing the bluetooth adapter
Code:
btusb_bulk_complete: hci0 urb ffff88011d248780 failed to resubmit (19)
btusb_intr_complete: hci0 urb ffff88011d248540 failed to resubmit (19)
btusb_bulk_complete: hci0 urb ffff88011d248180 failed to resubmit (19)
btusb_send_frame: hci0 urb ffff8801329e3480 submission failed

I would conclude that if you don't get the above usb notifications, then the bluetooth adapter is broken... maybe...

And if you don't get the other part when it's removed, then the service is not being initialized when you plug in the adapter.

But this is just me guessing and I can only assume you are using a USB bluetooth adapter.
 
Old 10-24-2010, 10:56 PM   #18
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,097

Original Poster
Rep: Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276
Quote:
Originally Posted by lumak View Post
....I would conclude that if you don't get the above usb notifications, then the bluetooth adapter is broken... maybe...
Well, no. As previously mentioned it works just fine in Xp and in Xp within VirtualBox in Linux.
From what I've seen so far, and error reported in the dmesg log (see post #5 in this thread),
it would appear there is something wrong with the /etc/rc.d/rc.bluetooth file.

Last edited by cwizardone; 10-24-2010 at 10:58 PM.
 
Old 10-24-2010, 11:38 PM   #19
lumak
Member
 
Registered: Aug 2008
Location: Phoenix
Distribution: Arch
Posts: 799
Blog Entries: 32

Rep: Reputation: 111Reputation: 111
Yes... my mistake... sorry

Quote:
So I opened rc.bluetooth in mc and line 50 reads, "$HCID_EXEC -s -f $HCID_CONFIG".
There is your problem.

In both slackware 13.1 and current, the rc.bluetooth.new file does not have this line at all. The script is much MUCH simpler.

If you 'updated' to current from an older slackware and didn't apply the new scripts, then you are running on an older script that initializes bluez a different way.

Try this code to start bluez
Code:
udevadm trigger --subsystem-match=bluetooth --action=add
And this to kill it
Code:
pkill -TERM bluetoothd
These two lines are essentially what gets run with the rc.bluetooth distributed with n/bluez-4.64-x86_64-1.txz in current and 13.1

The script is 30 lines of code.

Last edited by lumak; 10-25-2010 at 01:41 AM.
 
1 members found this post helpful.
Old 10-25-2010, 01:29 AM   #20
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,097

Original Poster
Rep: Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276
Lumak,
Thanks. Now I've had some partial success.
Blueman-manager will now come up and connect to the phone, but it
shows the folders on the phone to be empty (there are not) and it
refuses to transmit a file to the phone from the computer.
Oh, well.... I'll keep on trying.
Thanks, again.
 
Old 10-27-2010, 01:26 PM   #21
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,645

Rep: Reputation: 146Reputation: 146
Just some experience from my own tries to get bluetooth working: The hardware can make the difference. The first USB bluetooth device I bought seemed to be recognized, it even showed my Wii remote, but could neither connect nor could other tools necessary for the Wii remote. With the second one it works nicely, no time-outs, no sync problems. So even though the first adapter looked right and supported by the kernel it looks it wasn't actually. So what I want to say: If you can try another device before you pull out all your hair
 
Old 10-28-2010, 11:24 AM   #22
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,097

Original Poster
Rep: Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276
Thanks, but at this point I'll just do what I do to scan and that is, run the adapter's windows software in XP in Sun's VirtualBox on my Slackware64/Xfce desktop. It is stuff like this that drives me to think I should just run
Xp, for business purposes, and get it over with, but I don't like mickeysoft and almost any distribution of Linux
is technically superior to mickeysoft winblows.
 
1 members found this post helpful.
Old 10-31-2010, 11:16 AM   #23
patostevens
Member
 
Registered: Dec 2007
Location: Kennewick,WA
Distribution: Slackware 14
Posts: 172

Rep: Reputation: 21
I'm really confused now

I'm trying to use bluetooth to connect to a droid x (standard Slack 13.1 with normal updates through slackpkg). After trying everything in the forums I am still getting the "Bluez daemon not found". Could someone please give me a list of what software should be installed - or re-installed - for basic bluetooth functionality.

Thanks for the help.
 
Old 10-31-2010, 12:31 PM   #24
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Quote:
Originally Posted by patostevens View Post
I'm trying to use bluetooth to connect to a droid x (standard Slack 13.1 with normal updates through slackpkg). After trying everything in the forums I am still getting the "Bluez daemon not found". Could someone please give me a list of what software should be installed - or re-installed - for basic bluetooth functionality.

Thanks for the help.

On both my laptop and my netbook, I'm running Slackware 13.1 stable with normal updates, I haven't messed with bluetooth at all and it works fine. Check your lsmod output and see if bluetooth is in the list.

As far as the packages goes, there seem to be four that are relevant, bluez-4.64, bluez-hcidump, bluez-firmware and blueman (the KDE tool for bluetooth). In /etc/rc.d, rc.bluetooth should be executable.
 
Old 10-31-2010, 01:36 PM   #25
lumak
Member
 
Registered: Aug 2008
Location: Phoenix
Distribution: Arch
Posts: 799
Blog Entries: 32

Rep: Reputation: 111Reputation: 111
@ patostevens

If you did a fresh and full install of slackware 13.1, then everything is setup and ready for you to use.

just run blueman-applet (systemtray icon) or blueman-manager to get started.

If something is wrong, make sure the /etc/rc.d/rc.bluetooth script is set to executable and that you run it once or reboot your system. Check the output of dmesg when you insert and remove your bluetooth adapter to make sure everything is registering correctly. Make sure your device is in discover mode when you do a search for available devices.


If you did not do a fresh and full install of slackware 13.1, you have to tell us exactly what you did.
 
Old 11-02-2010, 10:14 AM   #26
patostevens
Member
 
Registered: Dec 2007
Location: Kennewick,WA
Distribution: Slackware 14
Posts: 172

Rep: Reputation: 21
My install was 'fresh and full'. I have re-installed (via slacpkkg) the four packages mentioned in Hangdog's post and am using the newest version of rc.bluetooth. When running blueman I still get the "BlueZ daemon not installed" message.

Where to look now?

Last edited by patostevens; 11-02-2010 at 10:15 AM. Reason: can't spell or type
 
Old 11-02-2010, 11:55 AM   #27
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Have you looked at lsmod to see if the bluetooth module is loaded? The only other thing I can think of is that somehow the Bluetooth hardware has been disabled. Does hciconfig return anything?
 
Old 11-03-2010, 09:42 AM   #28
patostevens
Member
 
Registered: Dec 2007
Location: Kennewick,WA
Distribution: Slackware 14
Posts: 172

Rep: Reputation: 21
hciconfig returns nothing.
 
Old 11-03-2010, 11:41 AM   #29
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Is the bluetooth module loaded?
 
Old 11-03-2010, 07:42 PM   #30
patostevens
Member
 
Registered: Dec 2007
Location: Kennewick,WA
Distribution: Slackware 14
Posts: 172

Rep: Reputation: 21
lsmod shows that bluetooth is loaded.
 
  


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 Dongle and Bluetooth Mouse... Any ideas on this one? flipjarg Linux - Newbie 1 07-14-2010 07:04 AM
Bluetooth not working on FC6 with Targus USB bluetooth adapter mikevicious Linux - Software 1 12-11-2009 09:03 AM
How to use Bluetooth Abubakarmalik Linux - Software 5 12-05-2007 03:04 AM
How To Bluetooth? ebrarian Linux - Software 2 03-12-2007 07:02 AM
bluetooth random guy Linux - Software 1 12-25-2006 06:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:45 PM.

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