| Author |
Message |
saintlangton
Joined: 28 May 2005 Posts: 108
|
Posted: Mon 03 Oct 2005, 18:31 Post subject:
Bluetooth on Puppy |
|
Simple question to say but probably hard to answer...
Would it be possible to get bluetooth working in Puppy?
What would it take? There are several bluetooth-interface programs for Linux. Would it just be a matter of compiling them and then it'd work? Or would it need kernel patches and/or other heavy-duty work?
For PCLinuxOS (My other linux OS of choice, for when I need something that puppy can't (yet) do. IMHO a very fine OS but
so slow and bloaty compared to Puppy) I just opened synaptic & applied everything that said it was anything to do with Bluetooth. Now I have all the functionality I need (and more probably)
It'd be nice if I could have this in Puppy, It's the only thing that I'm currently having to go outside Puppy for now Graveman has arrived for CD burning. (I never got on with Puppy's previous CD burner)
Cheers
Chris Langton
|
|
Back to top
|
|
 |
tempestuous
Joined: 10 Jun 2005 Posts: 4944 Location: Australia
|
Posted: Mon 03 Oct 2005, 22:44 Post subject:
|
|
You need -
1. the Bluetooth kernel modules. Puppy is missing these modules, but some of them are in Barry's separate module download at ftp://ibiblio.org/pub/linux/distributions/puppylinux/modules-2.4.29-complete.tar.gz
2. the BlueZ utilities, from http://www.bluez.org/download.html
|
|
Back to top
|
|
 |
Guest
Guest
|
Posted: Sat 05 Nov 2005, 22:23 Post subject:
Party on |
|
You know what they say, let the good time roll.
|
|
Back to top
|
|
 |
klooooo
Joined: 28 Mar 2006 Posts: 1
|
Posted: Tue 28 Mar 2006, 09:08 Post subject:
|
|
Hello,
I want to install this module (modules-2.4.29-complete.tar.gz) but I don't know how.
Someone can tell me how to do?
Thanks
|
|
Back to top
|
|
 |
ApeMan

Joined: 08 Apr 2006 Posts: 21
|
Posted: Sat 08 Apr 2006, 14:02 Post subject:
can't install |
|
I also can't figure out how to install these .gz packages.
I tried uncompressing them. which worked, but I could not run the install files afterwards.
I also tried to use PupGet to install an alien package, but I get the PupGet package format error: "Packages are only allowed to install to top-level directories /usr /etc and /root. This package wants to install elsewhere, so aborting this script. This package is now deleted."
Any tips on how to get this working?
Thanks,
ApeMan
|
|
Back to top
|
|
 |
debernardis

Joined: 12 Nov 2005 Posts: 170
|
Posted: Fri 18 Aug 2006, 04:40 Post subject:
|
|
| tempestuous wrote: | You need -
1. the Bluetooth kernel modules. Puppy is missing these modules, but some of them are in Barry's separate module download at ftp://ibiblio.org/pub/linux/distributions/puppylinux/modules-2.4.29-complete.tar.gz
2. the BlueZ utilities, from http://www.bluez.org/download.html |
OK. I compiled and installed:
1. bluez-libs-3.2
2. dbus-0.91 (which was needed as a dependency for the following)
3. bluez-utils-3.2
but I could not find the bluetooth kernel modules - plus I'm on puppy 2.02 with kernel 2.6.16.7 so those from the thread are no good.
Do I need to recompile my kernel or is there a workaround?
|
|
Back to top
|
|
 |
fluxit

Joined: 24 Jun 2006 Posts: 326 Location: Ketchikan, AK USA
|
Posted: Fri 18 Aug 2006, 05:21 Post subject:
|
|
The bluetooth modules are here: http://www.puppyos.com/test/all-modules-k2.6.16.7-PUP202.tar.gz
|
|
Back to top
|
|
 |
debernardis

Joined: 12 Nov 2005 Posts: 170
|
Posted: Sun 20 Aug 2006, 08:01 Post subject:
|
|
I downloaded those modules. Tried to insmod, but:
| Code: | sh-3.1# pwd
/root/my-downloads/all-modules/kernel/drivers/bluetooth
sh-3.1# ls
bcm203x.ko bpa10x.ko dtl1_cs.ko hci_vhci.ko
bfusb.ko bt3c_cs.ko hci_uart.ko
bluecard_cs.ko btuart_cs.ko hci_usb.ko
sh-3.1# insmod hci_usb.ko
insmod: error inserting 'hci_usb.ko': -1 Unknown symbol in module
sh-3.1# dmesg | tail -n 4
hci_usb: Unknown symbol hci_free_dev
hci_usb: Unknown symbol hci_alloc_dev
hci_usb: Unknown symbol hci_unregister_dev
hci_usb: Unknown symbol hci_register_dev
sh-3.1# |
What am I doing wrong?
|
|
Back to top
|
|
 |
fluxit

Joined: 24 Jun 2006 Posts: 326 Location: Ketchikan, AK USA
|
Posted: Sun 20 Aug 2006, 14:38 Post subject:
|
|
hci_usb.ko is dependent on bluetooth.ko
insmod /root/my-downloads/all-modules/kernel/net/bluetooth/bluetooth.ko
|
|
Back to top
|
|
 |
debernardis

Joined: 12 Nov 2005 Posts: 170
|
Posted: Mon 21 Aug 2006, 07:20 Post subject:
|
|
Got it, thanks.
Now I am able to insmod bluetooth.ko and insmod hci_usb.ko
this way I can see my usb bluetooth adapter with cat /proc/bus/usb/devices
then in order to make it work I had to do
| Code: | | /usr/local/sbin/hciconfig hci0 up |
(taken from http://www.teaparty.net/technotes/blue-gprs.html )
This wakes up the interface so that I can have this:
| Code: | sh-3.1# /usr/local/sbin/hciconfig
hci0: Type: USB
BD Address: 00:E0:98:AE:2B:C9 ACL MTU: 192:8 SCO MTU: 64:8
UP RUNNING PSCAN ISCAN
RX bytes:71 acl:0 sco:0 events:8 errors:0
TX bytes:31 acl:0 sco:0 commands:8 errors:0
|
and this
| Code: | sh-3.1# hcitool scan
Scanning ...
00:0E:ED:AE:D7:3B EdB
|
Nice; so it sees my phone.
All right? Not so, indeed.
It seems that the daemons hcid and sdpd are not really up.
I did
| Code: | /usr/local/sbin/hcid
/usr/local/sbin/sdpd
/usr/local/bin/rfcomm |
but:
| Code: | sh-3.1# ps -ae | grep hcid
15739 root 584 S grep hcid
sh-3.1# ps -ae | grep sdpd
16070 root 584 S grep sdpd
sh-3.1# ps -ae | grep rfcomm
16125 root 580 S grep rfcomm
sh-3.1#
|
so what we can see is the good ol' grep activity but no daemons.
In fact when I go looking for dialup-capable devices I get
| Code: | sh-3.1# sdptool search DUN
Inquiring ...
Failed to connect to SDP server on 00:0E:ED:AE:D7:3B: Protocol not supported
sh-3.1#
|
Any hint?
|
|
Back to top
|
|
 |
debernardis

Joined: 12 Nov 2005 Posts: 170
|
Posted: Tue 22 Aug 2006, 02:57 Post subject:
|
|
This thing is quickly becoming much too complex for me...
I tried to start hcid:
| Code: | sh-3.1# /usr/local/sbin/hcid -n -f /etc/bluetooth/hcid.conf
hcid[9565]: Bluetooth HCI daemon
hcid[9565]: Can't open system message bus connection: Failed to connect to socket /usr/local/var/run/dbus/system_bus_socket: No such file or directory
hcid[9565]: Unable to get on D-Bus
|
There is one directory /usr/local/var/run/dbus but it's empty.
I'll stick with my kubuntu and use puppy from time to time but without bluetooth
|
|
Back to top
|
|
 |
fluxit

Joined: 24 Jun 2006 Posts: 326 Location: Ketchikan, AK USA
|
Posted: Tue 22 Aug 2006, 03:46 Post subject:
|
|
I don't have any bluetooth devices here or I would continue regardless.
If you need any more help, let me know.
Perhaps someone else has more experience with this subject...
--Lee
|
|
Back to top
|
|
 |
debernardis

Joined: 12 Nov 2005 Posts: 170
|
Posted: Tue 22 Aug 2006, 06:01 Post subject:
|
|
By now it seems I have the problem of making the dbus-daemon work.
If someone is interested to join my effort, I'll state more clearly my steps.
|
|
Back to top
|
|
 |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15109 Location: Paradox Realm
|
Posted: Tue 07 Nov 2006, 14:53 Post subject:
|
|
I am scared . . .
Someone gave me a USB Bluetooth dongle so I can transfer pics from my phone . . .
But the list of things that has to be done - too hard
Is anyone up to dotpupping this? I can test it and I am sure a few others will too. Isn't Bluetooth support one of the options that can be turned on when the kernel is compiled?
All help appreciated.
_________________ Puppy WIKI
|
|
Back to top
|
|
 |
gop00
Joined: 04 Dec 2006 Posts: 2
|
Posted: Mon 04 Dec 2006, 21:19 Post subject:
any progress?!!??.... |
|
I was wondering if there was any progress on this issue? I copied /usr/local/var/run/dbus/system_bus_socket file in that directory but now it says "Failed to connect to socket /usr/local/var/run/dbus/system_bus_socket: Connection refused"
Doing some progress...wondering if other people were successful at resolving this issue.
|
|
Back to top
|
|
 |
|