Bluetooth in lucid puppy ----> blueman is here

A home for all kinds of Puppy related projects
Message
Author
stu90

#61 Post by stu90 »

stu90 wrote:I haven't installed lucid 528 yet - first thing to check it it has the needed bluetooth kernel modules in /lib/modules/2.6.39.4/kernel/net/bluetooth
(2.6.39.4 will be different number as Lucid pup uses different kernel)
bluetooth.ko bnep hidp rfcomm modules are needed for bluetooth.

If if is just simple file transer you are after:
Dpup bluetooth.pet worked in Lucid 525 so if the needed modules are included in 528 that this .pet will probably work in Lucid 528 as well.

Install bluetooth.pet > reboot.
http://www.smokey01.com/stu90/dpup.sque ... th-0.4.pet

Tool for setting up a mount point (requires yad):
http://www.murga-linux.com/puppy/viewto ... 072#569072
Installed Lucid puppy 528 this morning - I was unsure if they did or not but just to confirm the bluetooth .pet and mount tool i posted above both work in Lucid 528

XXX-Man
Posts: 5
Joined: Fri 02 Sep 2011, 23:18

#62 Post by XXX-Man »

Master_wrong wrote:@xxxman
if you install my pet you will find it
try type this /usr/local/sbin/hciconfig
that't what I needed to know :)
now I did things form your first post under to run blueman, if bluez is not running... and it works now :)
thank you for your help :)

I have only 2 questions now:
1. is there a way to put
#!/bin/sh
dbus-uuidgen --ensure &
dbus-daemon --system
modprobe bluetooth
modprobe l2cap
modprobe rfcomm
modprobe btusb
hciconfig hci0 up
hciconfig hci0 class 0x3e0100
mknod -m 666 /dev/rfcomm0 c 216 0
bluetoothd
mkdir /root/a
hcitool scan
blueman-applet
in a file so I don't have to type it every time?
2. is there a way to run hciconfig without typing /usr/local/sbin/hciconfig ?

User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#63 Post by Béèm »

XXX-man,
In ROX create new script file and give it the name you want.
Copy what is in your quote to this file.
You can execute that new script then.
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]

Master_wrong
Posts: 452
Joined: Thu 20 Mar 2008, 01:48

#64 Post by Master_wrong »

@xxxman

I'm glad you finally get it running.

now about your question...
1. create a file named... blueman-start in /root/startup
#!/bin/sh
dbus-uuidgen --ensure &
dbus-daemon --system
modprobe bluetooth
modprobe l2cap
modprobe rfcomm
modprobe btusb
/usr/local/sbin/hciconfig hci0 up
/usr/local/sbin/hciconfig hci0 class 0x3e0100
mknod -m 666 /dev/rfcomm0 c 216 0
bluetoothd
mkdir /root/a
hcitool scan
blueman-applet
2. yes
a. recompile the source because i wrongly put into usr/local... Sorry about that...
b. maybe you can link... drag it into where it should be and create link
c. as no 1 will it run for you automatically...
d. something about .basrc... http://home.ubalt.edu/abento/linux/term ... opath.html


EDIT: info added to first post
Cluster-Pup v.2-Puppy Beowulf Cluster
[url]http://www.murga-linux.com/puppy/viewtopic.php?p=499199#499199[/url]

Master_wrong
Posts: 452
Joined: Thu 20 Mar 2008, 01:48

#65 Post by Master_wrong »

@stu

thank stu... i will try, I'm trying to create perfect buetooth-dun for puppy too
about yad, is it here ?
http://www.murga-linux.com/puppy/viewtopic.php?t=58306

ok,
1. some people might still need the script that start the bluez,
#!/bin/sh
dbus-uuidgen --ensure &
dbus-daemon --system
modprobe bluetooth
modprobe l2cap
modprobe rfcomm
modprobe btusb
hciconfig hci0 up
hciconfig hci0 class 0x3e0100
mknod -m 666 /dev/rfcomm0 c 216 0
bluetoothd
mkdir /root/a
hcitool scan
2. i try rfcomm connect and when computer ask for password, what is the password ?

thank
Cluster-Pup v.2-Puppy Beowulf Cluster
[url]http://www.murga-linux.com/puppy/viewtopic.php?p=499199#499199[/url]

stu90

#66 Post by stu90 »

Master_wrong wrote:@stu

thank stu... i will try, I'm trying to create perfect buetooth-dun for puppy too
about yad, is it here ?
http://www.murga-linux.com/puppy/viewtopic.php?t=58306
Yes that is link to yad .pets - Yad is a default in most on the new 5x pups now - lucid, wary, dpups not sure about slacko? just type yad in terminal to check, should pop up a little gui if its installed.

XXX-Man
Posts: 5
Joined: Fri 02 Sep 2011, 23:18

#67 Post by XXX-Man »

@Master_wrong
tnx for your help, now everything is working perfect

chursch
Posts: 8
Joined: Tue 11 Sep 2012, 21:39

blueman121.528.pet wiped out X, it appears

#68 Post by chursch »

When I downloaded blueman121.528.pet and then clicked on it in the ROX filer, I got a quick message that the package manager was processing it. Then I noticed my menus would not come up. After that I tried rebooting, and now I have no X window manager: it tries to come up, but returns to the # prompt. I also tried this on the Live version running on the USB stick, and the same symptom happened with the menus.

So now I have a messed up eeesave.2fs. :( I suspect it is the menu tables that are corrupted.

I did try to uninstall the pet from the # prompt with a script presented elsewhere on this forum. The uninstall command would see the pet file amongst the others I have downloaded, but when I tried to actually uninstall, I got a blizzard of error messages.

So where do I go from here?

The iso I started my puppy from is Puppeee-1.0-atom.iso. I believe it is lucid 5.28.

alwaysalonee
Posts: 62
Joined: Tue 28 Feb 2012, 04:16

#69 Post by alwaysalonee »

i have posted a 'How To' if anyone having difficulty
visit http://www.murga-linux.com/puppy/viewtopic.php?p=668101

chursch
Posts: 8
Joined: Tue 11 Sep 2012, 21:39

#70 Post by chursch »

I don't think I have the XFCE window manager (it's just pretty much stock puppee and doesn't look like the XFCE screen scans I found on the internet). So when I follow the alternative, I end up at a list of .pets to download in a 2009-ish thread at http://www.murga-linux.com/puppy/viewtopic.php?p=396249. From what I was reading of the blueman thread of which this post is a part, I thought a lot of the work had been done since 2009. So am I barking down the right hole or not? Just want to verify before I download all those pets and try to install them. :?:

chursch
Posts: 8
Joined: Tue 11 Sep 2012, 21:39

#71 Post by chursch »

:cry: Well, I downloaded all the pets and installed them, even the updated obex pets mentioned towards the end of one of the threads. No bluetooth icon anywhere. When I plug in the USB bluetooth dongle, the eeePC seems to get wind of it since the USB stick that puppee is running on does flash like it is being accessed.

Any ideas? I tried "dbus-uuidgen --ensure &" as recommended in the X init file, but still no bluetooth icon. I think dbus-uuidgen is already running anyways, as listed in the process display.

Frankly, a lot of those pets look like they're meant for an older version of puppee, like v4.31 or somesuch. I believe my puppee is v5.28.

I'm seriously thinking of trying the XFCE window manager, since it seems as if the blueman install is much simpler. Thoughts?

Thanks in advance,
Chuck

Master_wrong
Posts: 452
Joined: Thu 20 Mar 2008, 01:48

#72 Post by Master_wrong »

@chursch
the bluetooth icon is missing but if the bluetooth is blinking then it should work.
you should try opening the blueman-applet and run search device.

btw alwaysone already wrote his how to in xfce.
Cluster-Pup v.2-Puppy Beowulf Cluster
[url]http://www.murga-linux.com/puppy/viewtopic.php?p=499199#499199[/url]

chursch
Posts: 8
Joined: Tue 11 Sep 2012, 21:39

#73 Post by chursch »

Master_wrong: Don't see any bluetooth/man icon anywhere, so don't know how to start the blueman applet. Is it that sequence of commands that I've seen go by in this thread every once in awhile, like hcitool...?

Master_wrong
Posts: 452
Joined: Thu 20 Mar 2008, 01:48

#74 Post by Master_wrong »

yes
to run blueman, run blueman-applet

but you can run all these
#!/bin/sh
dbus-uuidgen --ensure &
dbus-daemon --system
modprobe bluetooth
modprobe l2cap
modprobe rfcomm
modprobe btusb
/usr/local/sbin/hciconfig hci0 up
/usr/local/sbin/hciconfig hci0 class 0x3e0100
mknod -m 666 /dev/rfcomm0 c 216 0
bluetoothd
mkdir /root/a
hcitool scan
blueman-applet

run them in terminal.

did you read alwaysalonee post ?

after running blueman-applet you can see the blueman icon which actually an missing icon symbol. just click on it.
Cluster-Pup v.2-Puppy Beowulf Cluster
[url]http://www.murga-linux.com/puppy/viewtopic.php?p=499199#499199[/url]

chursch
Posts: 8
Joined: Tue 11 Sep 2012, 21:39

#75 Post by chursch »

@Master_wrong: Thanks for the terminal lines - that is what I was looking for. But your first line "to run blueman, run blueman-applet" makes me feel like I don't need to do those terminal lines - is that correct? I don't recall seeing any blueman-applet. But this evening I will be on the eeePC where the Puppy lives, and I will try these things out.

Yes, I read alwaysalonee's post, the Nov. 30, 2012 one. That's how I got into all the .deb downloading, and led to my posts on Dec. 5 and 17.

chursch
Posts: 8
Joined: Tue 11 Sep 2012, 21:39

#76 Post by chursch »

I tried running Master_wrong's list of commands in an LXTerminal. Basically, my first attempt on the command line with copy-and-paste into the terminal had me in bash, so I started a sub-sh so I had the correct shell type. Then copy-and-pasted into that. The main issue then was that it appears that hciconfig was in in /usr/sbin rather than /usr/local/sbin. So eventually got through it all with what appears to be success, except that there appears to be no blueman-applet. I scanned the entire system for blueman-applet, and it doesn't exist anywhere. Soooo... :( Also, I didn't have a bluetooth dongle in the USB port for my first couple of attempts, but by the last attempt it had occurred to me that might make a difference, so I plugged one in. Anyways, no blueman-applet and no bluetooth-looking icon anywhere on the screen. The readout is in the box.
In LXTerminal:

# #!/bin/sh
#
# dbus-uuidgen --ensure &
[1] 7433
#
# dbus-daemon --system
Failed to start message bus: The pid file "/var/run/dbus/dbus.pid" exists, if the message bus is not running, remove this file
[1]+ Done dbus-uuidgen --ensure
#
# modprobe bluetooth
#
# modprobe l2cap
#
# modprobe rfcomm
#
# modprobe btusb
#
# /usr/local/sbin/hciconfig hci0 up
bash: /usr/local/sbin/hciconfig: No such file or directory
#
# /usr/local/sbin/hciconfig hci0 class 0x3e0100
bash: /usr/local/sbin/hciconfig: No such file or directory
#
# mknod -m 666 /dev/rfcomm0 c 216 0
#
# bluetoothd
#
# mkdir /root/a
#
# hcitool scan
Device is not available: No such device
#
# blueman-applet
bash: blueman-applet: command not found
#

I also tried in /bin/sh in terminal:

Results (hciconfig is in /usr/sbin rather than /usr/local/sbin so retyped those commands - still no blueman-applet, and find didn't find blueman-applet on the system; bluetooth dongle in the usb port):

# dbus-uuidgen --ensure &
[1] 28567
#
# dbus-daemon --system
Failed to start message bus: The pid file "/var/run/dbus/dbus.pid" exists, if the message bus is not running, remove this file
[1]+ Done dbus-uuidgen --ensure
#
# modprobe bluetooth
#
# modprobe l2cap
#
# modprobe rfcomm
#
# modprobe btusb
#
# /usr/local/sbin/hciconfig hci0 up
sh: /usr/local/sbin/hciconfig: No such file or directory
#
# /usr/local/sbin/hciconfig hci0 class 0x3e0100
sh: /usr/local/sbin/hciconfig: No such file or directory
#
# mknod -m 666 /dev/rfcomm0 c 216 0
mknod: /dev/rfcomm0: File exists
#
# bluetoothd
#
# mkdir /root/a
mkdir: cannot create directory '/root/a': File exists
#
# hcitool scan
Scanning ...
#
# blueman-applet
sh: blueman-applet: command not found
# /usr/sbin/hciconfig hci0 up
# /usr/sbin/hciconfig hci0 class 0x3e0100
# mknod -m 666 /dev/rfcomm0 c 216 0
mknod: /dev/rfcomm0: File exists
# bluetoothd
# hcitool scan
Scanning ...
# blueman-applet
sh: blueman-applet: command not found
#

capicoso
Posts: 172
Joined: Fri 13 Jan 2012, 23:38
Location: Argentina

#77 Post by capicoso »

chursch wrote:I tried running Master_wrong's list of commands in an LXTerminal. Basically, my first attempt on the command line with copy-and-paste into the terminal had me in bash, so I started a sub-sh so I had the correct shell type. Then copy-and-pasted into that. The main issue then was that it appears that hciconfig was in in /usr/sbin rather than /usr/local/sbin. So eventually got through it all with what appears to be success, except that there appears to be no blueman-applet. I scanned the entire system for blueman-applet, and it doesn't exist anywhere. Soooo... :( Also, I didn't have a bluetooth dongle in the USB port for my first couple of attempts, but by the last attempt it had occurred to me that might make a difference, so I plugged one in. Anyways, no blueman-applet and no bluetooth-looking icon anywhere on the screen. The readout is in the box.
In LXTerminal:

# #!/bin/sh
#
# dbus-uuidgen --ensure &
[1] 7433
#
# dbus-daemon --system
Failed to start message bus: The pid file "/var/run/dbus/dbus.pid" exists, if the message bus is not running, remove this file
[1]+ Done dbus-uuidgen --ensure
#
# modprobe bluetooth
#
# modprobe l2cap
#
# modprobe rfcomm
#
# modprobe btusb
#
# /usr/local/sbin/hciconfig hci0 up
bash: /usr/local/sbin/hciconfig: No such file or directory
#
# /usr/local/sbin/hciconfig hci0 class 0x3e0100
bash: /usr/local/sbin/hciconfig: No such file or directory
#
# mknod -m 666 /dev/rfcomm0 c 216 0
#
# bluetoothd
#
# mkdir /root/a
#
# hcitool scan
Device is not available: No such device
#
# blueman-applet
bash: blueman-applet: command not found
#

I also tried in /bin/sh in terminal:

Results (hciconfig is in /usr/sbin rather than /usr/local/sbin so retyped those commands - still no blueman-applet, and find didn't find blueman-applet on the system; bluetooth dongle in the usb port):

# dbus-uuidgen --ensure &
[1] 28567
#
# dbus-daemon --system
Failed to start message bus: The pid file "/var/run/dbus/dbus.pid" exists, if the message bus is not running, remove this file
[1]+ Done dbus-uuidgen --ensure
#
# modprobe bluetooth
#
# modprobe l2cap
#
# modprobe rfcomm
#
# modprobe btusb
#
# /usr/local/sbin/hciconfig hci0 up
sh: /usr/local/sbin/hciconfig: No such file or directory
#
# /usr/local/sbin/hciconfig hci0 class 0x3e0100
sh: /usr/local/sbin/hciconfig: No such file or directory
#
# mknod -m 666 /dev/rfcomm0 c 216 0
mknod: /dev/rfcomm0: File exists
#
# bluetoothd
#
# mkdir /root/a
mkdir: cannot create directory '/root/a': File exists
#
# hcitool scan
Scanning ...
#
# blueman-applet
sh: blueman-applet: command not found
# /usr/sbin/hciconfig hci0 up
# /usr/sbin/hciconfig hci0 class 0x3e0100
# mknod -m 666 /dev/rfcomm0 c 216 0
mknod: /dev/rfcomm0: File exists
# bluetoothd
# hcitool scan
Scanning ...
# blueman-applet
sh: blueman-applet: command not found
#
hello. When i had to do this, instead of typing the whole rute /usr/sbin/hciconfig. I just type hcic then tab to see if it sees the command, and then i get hciconfig. This is how i always do it, the same with hcitool. Also, when i did it i didn't hvae any blueman-applet but blueman-manager. Try and check if you have that command

chursch
Posts: 8
Joined: Tue 11 Sep 2012, 21:39

#78 Post by chursch »

No blueman-manager, no blueman anything after searching the system with the Ptfind (sic?) utility. What is missing? I added all the pets on the list...

Master_wrong
Posts: 452
Joined: Thu 20 Mar 2008, 01:48

#79 Post by Master_wrong »

@chursch

I really dont understand why you cant run blueman when the difference is that you are using lxterm and alwaysalone is using roxterm ?

can you try using the roxterm ?

EDIT :
Failed to start message bus: The pid file "/var/run/dbus/dbus.pid" exists, if the message bus is not running, remove this file

you can rename or delete this files and try again
Cluster-Pup v.2-Puppy Beowulf Cluster
[url]http://www.murga-linux.com/puppy/viewtopic.php?p=499199#499199[/url]

chursch
Posts: 8
Joined: Tue 11 Sep 2012, 21:39

#80 Post by chursch »

I tried roxterm for the list of command, including blueman-applet/manager. Didn't really expect it to work, and it didn't. :( So why don't I have a blueman guy? I'm sure I loaded the pet...

Post Reply