Active Topics

 



Notices


Reply
Thread Tools
Posts: 33 | Thanked: 5 times | Joined on Nov 2007
#1
Here's the story of the painful way I got btscanner working on my n810. I don't recommend these procedures to anyone, you may screw up your machine ( worse than I did ) no warranty, no gaurantee, you may lose all your stuff, YMMV, disclaimer, etc...

First, thank you too all of you who take the time to post answers and tips for others to search through. Also a reminder to others, practice your google-fu, nearly all the answers you need are here. For example the first link in this google search takes you to a thread I needed to fix my status bar.
Code:
intext:connection intext:panels site:internettablettalk.com
Also thank you to torx for the compiling intructions, and gregrob for the update. http://www.internettablettalk.com/fo...ead.php?t=6737 Neil Williams http://lists.debian.org/debian-embed.../msg00024.html who lists fixes for the gcc install, Croco001 for connectivity package names http://www.internettablettalk.com/fo...d.php?p=261299 , justdave.net for hosting debs http://timeless.justdave.net/reposit...pdates/diablo/ , and qwerty12 for the status bar fix http://www.internettablettalk.com/fo...79&postcount=5

Using gregrob's update, I started installing the compiler
from http://www.internettablettalk.com/fo...?t=6737&page=3

I stuck all the packages in a directory called /hold in the regular filesystem, ( non-fat area )

Code:
wget http://repository.maemo.org/pool/diablo/free/g/gcc-3.4/libstdc++6_3.4.4cs2005q3.2-5.osso8_armel.deb
wget http://repository.maemo.org/pool/diablo/free/g/gcc-3.4/gcc-3.4_3.4.4cs2005q3.2-5.osso8_armel.deb
wget http://repository.maemo.org/pool/diablo/free/g/gcc-3.4/libstdc++6-dev_3.4.4cs2005q3.2-5.osso8_armel.deb
wget http://repository.maemo.org/pool/diablo/free/g/gcc-3.4/g++-3.4_3.4.4cs2005q3.2-5.osso8_armel.deb
wget http://repository.maemo.org/pool/diablo/free/g/gcc-3.4/cpp-3.4_3.4.4cs2005q3.2-5.osso8_armel.deb
wget http://repository.maemo.org/pool/diablo/free/g/glibc/libc6_2.5.0-1osso10_armel.deb
wget http://repository.maemo.org/pool/diablo/free/g/glibc/libc6-dev_2.5.0-1osso10_armel.deb
wget http://repository.maemo.org/pool/maemo4.1.2/free/l/linux-kernel-headers/linux-kernel-headers_2.6.16.osso11-1_armel.deb
wget http://repository.maemo.org/pool/diablo/free/b/binutils/binutils_2.16.91cs2005q3.2-5.osso1_armel.deb

dpkg -i binutils_2.16.91cs2005q3.2-5.osso1_armel.deb
dpkg -i linux-kernel-headers_2.6.16.osso11-1_armel.deb
dpkg -i libc6_2.5.0-1osso10_armel.deb
dpkg -i libc6-dev_2.5.0-1osso10_armel.deb
dpkg -i gcc-3.4_3.4.4cs2005q3.2-5.osso8_armel.deb
dpkg -i cpp-3.4_3.4.4cs2005q3.2-5.osso8_armel.deb
dpkg -i libstdc\+\+6_3.4.4cs2005q3.2-5.osso8_armel.deb
dpkg -i libstdc\+\+6-dev_3.4.4cs2005q3.2-5.osso8_armel.deb 
dpkg -i g++-3.4_3.4.4cs2005q3.2-5.osso8_armel.deb

apt-get -f install
failed, had some errors. Found Neil Williams post http://lists.debian.org/debian-embed.../msg00024.html , had to mkdir and touch a couple of files.

Code:
mkdir /usr/sbin/install-info
touch /usr/share/doc/gcc-4.3-base/.copyright
touch /usr/share/doc/gcc-4.3-base/.changelog.Debian.gz

apt-get -f install
apt-get install make

cd /usr/bin
ln -s g++-3.4 g++
ln -s gcc-3.4 gcc
( still did gregrob's grep add )

Code:
wget http://mirror.csclub.uwaterloo.ca/gnu/grep/grep-2.4.tar.gz
gunzip -dc grep-2.4.tar.gz | tar -xv
cd grep-2.4/
./configure
make
make install
( this is where it gets weird, I had to downgrade ncurses, ncurses-dev, libbluetooth to get btscanner to compile )

Code:
apt-get install libncurses5=5.4-3.0ss01
apt-get install libncurses5-dev
apt-get install libbluetooth2=3.22-0osso1
apt-get install libbluetooth2-dev=3.22-0osso1
apt-get install libxml2-dev
apt-get install bzip2

wget http://www.pentest.co.uk/src/btscanner-2.0.tar.bz2
bunzip2 -dc btscanner-2.0.tar.bz2 | tar -xv
cd btscanner-2.0
./configure

Hooray! it compiled! On the downside, my downgrades caused osso-connectivity to be uninstalled, and I didn't have them in cache either ) I had to copy these via usb from pc to mediacard, then move them to a non fat holding folder and dpkg -i them.
( if you were to attempt these steps, you might want to consider getting them in advance. )

first I tried only
Code:
http://repository.maemo.org/extras-devel/pool/diablo/free/l/locale-l10n-enus1/locale-l10n-enus1_0.1.1_all.deb
http://repository.maemo.org/extras-devel/pool/diablo/free/o/osso-connectivity-ui-l10n-enus1/osso-connectivity-ui-l10n-enus1_0.1.1_all.deb
( still not showing )

got the rest of the osso-connectivity stuff from

Code:
http://timeless.justdave.net/repository/catalogue.tableteer.nokia.com/updates/diablo/

osso-connectivity-ui-btsettings_1.5.42_armel.deb                
osso-connectivity-ui-conndlgs_1.5.42_armel.deb                  
osso-connectivity-ui-connmgr_1.5.42_armel.deb                   
osso-connectivity-ui-disclaimer_1.5.42_all.deb                  
osso-connectivity-ui-gwsettings_1.5.42_armel.deb                
osso-connectivity-ui-gwwizard_1.5.42_armel.deb                  
osso-connectivity-ui-iapsettings_1.5.42_armel.deb               
osso-connectivity-ui-l10n_5.0+r6058_all.deb                     
osso-connectivity-ui-l10n-mr0_5.2_all.deb                       
osso-connectivity-ui-statusbar_1.5.42_armel.deb
bluetooth settings still failed to install, had to get the following and do it again

Code:
libbluetooth2_3.28-0osso1_armel.deb
bluez-utils_3.28-0osso4_armel.deb
libconbtui0_1.5.42_armel.deb
then did dpkg osso-connect* on the rest

reboot

Yay connectivity & bluetooth selections were back in control panel, but don't have connection bar on desktop. ( bluetooth was there after I turned it on again in control panel )
I set wireless to auto, and launched web ( connected, but no status bar )

apt-get install -f said it fixed some things

got connection status back with instruction from
http://www.internettablettalk.com/fo...79&postcount=5

and after all the reinstalls, btscanner still works!
( drop your term font size, like with kismet )
 

The Following User Says Thank You to haokah For This Useful Post:
Posts: 33 | Thanked: 5 times | Joined on Nov 2007
#2
opps, forgot to add, everything was done with sudo gainroot, and you need to use full path to run /usr/local/bin/btscanner , and have your bluetooth set on.
 
Posts: 33 | Thanked: 5 times | Joined on Nov 2007
#3
I've got a bummer update, for anyone who 's reading this.

I didn't notice until later, my bluetooth phone tethered connection wasn't showing up any more. I tried plenty of apt-get -f install, apt-get update, apt-get upgrade to no avail.

It would show in the list of connections, but not when searching. Removing and re-adding the phone, recreating connections, re-pairing, initiating connection with hcitool, resetting control panel to defaults, removing all bt devices and all iap connections in gconf, all failed to allow the search utility to list the connection.

So, I've reflashed, and will see if my binary still works when I copy it back over.

On the good side, I'm understanding more of linux and command use.
I'm still happy about trying the process, as I'd never compiled anything before, and wanted to try it, and btscanner.
 
Posts: 33 | Thanked: 5 times | Joined on Nov 2007
#4
another update, woohoo it still works after I copied it back in!
 
Reply


 
Forum Jump


All times are GMT. The time now is 03:24.