![]() |
2006-11-03
, 16:11
|
Posts: 62 |
Thanked: 3 times |
Joined on Feb 2006
@ Italy
|
#112
|
![]() |
2006-11-04
, 22:03
|
Posts: 52 |
Thanked: 0 times |
Joined on Jan 2006
|
#113
|
The easiest way to enable yourself to become root is to add the repository described here and installing the becomeroot package.
Also install xterm if you haven't yet.
Once you've installed the becomeroot package, run xterm and enter:
sudo su -
Your prompt should end in #
That indicates you're now the root user. If it ends in $ then you're just the normal user.
Now edit the /etc/bluetooth/rfcomm.conf file as described here .
Change the mac address in maemo-mapper's settings to /dev/rfcomm0 and reboot. Your GPS won't get "lost" anymore and you won't need set the escape key to reset the bluetooth connection. You can use it to toggle between street maps and satellite maps or whatever.
If you don't know how to edit a text file in linux, you can copy the file to your mmc card then connect the usb cable to your PC and edit the file with a PC editor then copy the file back to where it belongs:
as root enter in xterm:
cp /etc/bluetooth/rfcomm.conf /media/mmc1
Connect the USB cable and on the PC edit the file then disconnect the USB cable and:
cp /media/mmc1/rfcomm.conf /etc/bluetooth
If that seems too difficult, post your GPS's mac address and I'll post an edited file for you.
![]() |
2006-11-04
, 22:25
|
|
Posts: 1,245 |
Thanked: 421 times |
Joined on Dec 2005
|
#114
|
I have a bug to report: the downloading of the maps around the route works well. But, if I choose to "delete" the maps, specifying to delete those along the route, the dialogue box popping up is right, saying something about it's going to delete the files, but the action triggered is the (re-)download of the maps instead.
You know, with that poor 64 MB bundled card, we have to keep it clean and having that feature broken is uncomfortable
It would be very useful, at this regard, a "delete all maps but those along route" feature! (instead of manually deleting all the maps with the file manager, and then download the maps along the route...)
![]() |
2006-11-05
, 09:24
|
Posts: 52 |
Thanked: 0 times |
Joined on Jan 2006
|
#115
|
Or, alternatively, you can just install and use the Maemo Bluetooth Plugin. That will set up your GPS receiver as /dev/rfcomm0.
Both these suggestions, of course, don't answer the original question, which is about the sudo changes required to enable bluetooth resetting. Admittedly, setting up rfcomm is better, but for those still curious about how to set up bluetooth resetting, simply gain root access and edit the /etc/sudoers (preferably using the program "visudo") file to add the following line:
user ALL = NOPASSWD: /usr/sbin/hciconfig hci0 reset
![]() |
2006-11-05
, 14:36
|
Posts: 264 |
Thanked: 28 times |
Joined on May 2006
|
#117
|
![]() |
2006-11-06
, 08:26
|
|
Posts: 122 |
Thanked: 21 times |
Joined on Sep 2006
|
#118
|
![]() |
2006-11-06
, 09:33
|
|
Posts: 701 |
Thanked: 21 times |
Joined on Feb 2006
@ Italy
|
#119
|
ok, poi is still not working.
can someone who has gotten it to work please post detailed instuctions. the directions of winpoi are kinda vague. i alway end up with a file that mm reports as either encrypted or not a db.
![]() |
2006-11-06
, 09:52
|
Posts: 62 |
Thanked: 3 times |
Joined on Feb 2006
@ Italy
|
#120
|
Now i wonder when the night colors feature will be in Maemo Mapper? 1.2.5?