Dpup Exprimo 5.X.15

For talk and support relating specifically to Puppy derivatives
Message
Author
stu90

#981 Post by stu90 »

Béèm wrote:pemasu/stu90

Thanks for your interest.

Quite some time ago I had some success with BT and remember now it was in Fluppy.
So I booted Fluppy 13 and indeed I have the BT icon in the tray.
My phone is detected and a pin code is generated, which I have to type in the phone to get them paired.
I can send and retrieve files to/from the phone.

l2cap and rfcomm modules are there and loaded.
Kernel is 2.6.35-7

HTH
That is pretty much how it works in D-lite and Lucid lite although the file transfer is only a single file at a time with the gui. I did try the gnome-bluetooth gui for fluppy but it doesn't have the ability to turn on/off bluetooth so i used debain version which requires some large libs to display the tray icon :( but you can turn bluetooth on/off when needed - for convenience i mount the phone as a drive so i can copy to and from multiple files at a time - there are instructions for setting up fstab auto mount on the obex page - however i just do it manually

get the phone ID with hcitool scan:
get obex file transfer channel with sdptool browser:

to mount create a directory where you wish to mount to - then in terminal do: obexfs -b "phone ID" -B"transfer channel" /mount/directory
to unmount - in terminal do: fusermount -u /mount/directory

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#982 Post by pemasu »

For enabling and disabling bluetooth...Dpup Exprimo has scripts for it and support for it already. Check /etc/acpi for those scripts.

You can bind them with xbindkeys-config app.

stu90

#983 Post by stu90 »

pemasu wrote:For enabling and disabling bluetooth...Dpup Exprimo has scripts for it and support for it already. Check /etc/acpi for those scripts.

You can bind them with xbindkeys-config app.
Thanks for heads up pemasu - i am going to eat some diner now so will check them out later on today. 8)

cheers.

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#984 Post by pemasu »

Here are all the bluetooth modules.

I couldnt upload the pet to the forum.
Sorry, but the maximum filesize for all Attachments is reached. Please contact the Board Administrator if you have questions.
http://www.smokey01.com/pemasu/Drivers/ ... lupe30.pet

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#985 Post by pemasu »

For enabling and disabling bluetooth or wireless, you need rfkill module to be loaded, probably automatically, not sure. And also you need rfkill binary.
You can use debian squeeze repo. There is rfkill_0.4-1_i386 which has only that /usr/sbin/rfkill binary.
With rfkill module loaded you can switch bluetooth or wireless on and off:

rfkill unblock bluetooth
rfkill block bluetooth
rfkill unblock wifi
rfkill block wifi

I will include rfkill binary to the next Exprimo version.

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

bluetooth

#986 Post by Béèm »

ooops.

Code: Select all

# modprobe rfcomm
FATAL: Error inserting rfcomm (/lib/modules/2.6.39.4/kernel/net/bluetooth/rfcomm/rfcomm.ko): Invalid module format
# 
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]

stu90

#987 Post by stu90 »

Hi Pemasu,
Just installed your bluetooth modules .pet - bluetooth now works in Exprimo 5.x.7. :D

Image
Last edited by stu90 on Wed 21 Sep 2011, 14:59, edited 1 time in total.

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#988 Post by pemasu »

Beem. You might use Exprimo SMP or you have installed wrong pet. Use mine bluetooth module pet with Dpup Exprimo 5.X.7, not with 5.X.7 SMP.

Stu90, great news, I cant much test my self these bluetooth things.

Code: Select all

# modprobe rfcomm
# 
No errors, it just loads.
Last edited by pemasu on Wed 21 Sep 2011, 14:59, edited 1 time in total.

stu90

Re: bluetooth

#989 Post by stu90 »

Béèm wrote:ooops.

Code: Select all

# modprobe rfcomm
FATAL: Error inserting rfcomm (/lib/modules/2.6.39.4/kernel/net/bluetooth/rfcomm/rfcomm.ko): Invalid module format
# 
Béèm with pemasu's bluetooth .pet being kernel modules you need to reboot for them to load - also before reboot delete any file in the hidden directory /root/.dbus/session-bus/

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#990 Post by pemasu »

And you need to delete those modules, which you might have installed from stu90`s package. They are not compatible.

stu90

#991 Post by stu90 »

pemasu wrote:Beem. You might use Exprimo SMP or you have installed wrong pet. Use mine bluetooth module pet with Dpup Exprimo 5.X.7, not with 5.X.7 SMP.

Stu90, great news, I cant much test my self these bluetooth things.

Code: Select all

# modprobe rfcomm
# 
No errors, it just loads.
No rfcomm errors my end - i just have bluetooth.pet and your bluetooth-modules.pet installed.

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

#992 Post by Béèm »

pemasu wrote:Beem. You might use Exprimo SMP or you have installed wrong pet. Use mine bluetooth module pet with Dpup Exprimo 5.X.7, not with 5.X.7 SMP.

Stu90, great news, I cant much test my self these bluetooth things.

Code: Select all

# modprobe rfcomm
# 
No errors, it just loads.
pemasu, I am indeed in 5X7 SMP.
So this does matter.
Will install 5X7 (no SMP) 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]

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#993 Post by pemasu »

Beem. Yep. 5.X.7 SMP is multicore and 5.X.7 is intel atom optimized, not much other difference, but that cpu optimization itself makes the difference.
SMP version is more or less my test bed, maybe I will update and improve it, but for generic support, plain 5.X.7 and this thread is the main route.

Now I will start to improve my previous libreoffice mime handlers pet.

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#994 Post by pemasu »

Libre Office mime improvement pet has been updated.

Mime type bindings for libreoffice, also rox right clicks. After installing this pet Libreffice opens doc, docx, rtf, xls, xlsx, ppt, pptx.
Rox right clicks have more options depending on file type.

Use this pet only and when you have Libre Office installed and you prefer Libre Office to open the supported file types.
Attachments
LibreOfficeHandlers_mime_types-0.0.2.pet
(2.97 KiB) Downloaded 222 times

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#995 Post by pemasu »

About bluetooth. E17 has bluetooth module. You need to enable that module and then add it as gadget to the Ibar.

Of course bluetooth modules needs to be loaded, bluetoothd running or whatever, but then you can test and play with e17 bluetooth module. I think it uses bluez but that is needed anyway, I think.

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#996 Post by pemasu »

I found out why e17 loses gtk theme setting. It seems that wmswitcher dynamically deletes the existing one by deleting /root/.gtkrc-2.0 file.
So...I fixed the .xinitrc to restore .gtkrc-2.0 file.

Now when you switch between wm`s, e17 should have gtk theme enabled.
Attachments
xinitrc-fix-0.0.1.pet
(2.54 KiB) Downloaded 216 times

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

#997 Post by Béèm »

So I installed 5X7.
With the sfs created it didn't work quite out.
So I installed the pet and loaded rfcomm.
Now I can browse and the services are listed.

But I still can't pair the PC and the phone.
So I can't transfer files or other things.

Somewhere there is a pin code to enter.

I tried bluetooth-agent but get:

Code: Select all

# bluetooth-agent xxxx K700i
bluetoothd[16464]: pin_code_request (sba=00:11:67:9E:02:E6, dba=00:16:20:19:E8:89)
bluetoothd[16464]: No agent available for 0 request
Thus obex isn't working.

And now my phone doesn't see the PC any more.
I probably have to reboot to reset some values.
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]

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#998 Post by pemasu »

I cant help with connection problems, but did you reboot after installing the pets. It is definitively needed also so that bluetooth device is recognized and needed modules are loaded correctly.

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

#999 Post by Béèm »

I know you can't help and don't expect you do so, but as stu90 passes here also I continued to report.
Now if you think it is not appropriate, I'll stop posting here.
But my story could be interesting for other exprimo users.

And yes I rebooted.

But slowly making progress.
I did all the test in E17 and all of a sudden I thought I'd try in JWM.
So I switched.
I have the BT icon in the tray.
When I try to connect to the phone I am offered a pin-code to enter in the phone. In fact the same as in Fluppy.

Once done I have connection to the phone and can sent a file to it.
But when I try to browse the phone, that doesn't work.

I wanted to try stu90's method with fusermount, but the example he gave was for unmounting not mounting. So I tried:

Code: Select all

# fusermount  -o /root/bluetooth
fusermount: missing mountpoint argument
# 
But don't know what to put as mountpoint argument.
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]

stu90

#1000 Post by stu90 »

beem, try looking in your phone settings to make sure blue tooth is visable .

Post Reply