Kirjoittaja Aihe: ibm x41 bluetooth gps parittaminen tökkii  (Luettu 2008 kertaa)

savora-u

  • Käyttäjä
  • Viestejä: 126
    • Profiili
ibm x41 bluetooth gps parittaminen tökkii
« : 21.11.09 - klo:20.30 »
Kone siis ibm x41 (ei tablet) ja bluetooth mokkula insmat sirf 3 piirillä.
Tein asetuksia tämän foorumin ohjeitten mukaan: http://forum.ubuntu-fi.org/index.php?topic=18695.0               mutta ei lykästänyt . Homma sujui tähän asti :sudo rfcomm connect 1 mutta tulosteeksi antoi vain tällaista:

ri@-laptop:~$ sudo rfcomm connect 1

syntax error line 7

syntax error line 7

syntax error line 7

syntax error line 10

syntax error line 10

syntax error line 10

syntax error line 13

syntax error line 13

syntax error line 13

syntax error line 16

syntax error line 16

syntax error line 16

syntax error line 17

Can't find a config entry for rfcomm1


toinen yritys perään suoltaa tällaista:
Can't find a config entry for rfcomm1



Mistä voisi alkaa vikaa etsimään?
Hommalla sikäli kiire että reilun viikon päästä reissu tiedossa, ja tarkoitus saada tämän
kautta karttoja pelaamaan eri kohteista...noo jos ei onnistu niin perinteinen paperitsydeemi taas käyttöön.
Onko muuten mitään softaa johon voi ladata kohteitten karttoja jo etukäteen? Paikallisten nettiyhteydet on surkean hitaita.

Tämä uusin ubuntu 9.10 synkkaa muuten älyttömän hyvin x41:n kanssa,arvosana vois olla 10- , ja tuo
miinus toivottavasti korjaantuu kun saa tuon mokkulan kunnolla synkkaamaan.



nm

  • Käyttäjä
  • Viestejä: 16249
    • Profiili
Vs: ibm x41 bluetooth gps parittaminen tökkii
« Vastaus #1 : 24.11.09 - klo:03.13 »
Näytä /etc/bluetooth/rfcomm.conf

savora-u

  • Käyttäjä
  • Viestejä: 126
    • Profiili
Vs: ibm x41 bluetooth gps parittaminen tökkii
« Vastaus #2 : 03.12.09 - klo:20.02 »
#
# RFCOMM configuration file.
#

rfcomm1 {
   # Automatically bind the device at startup
   bind yes;

   # Bluetooth address of the device
   device 00:0D:B5:37:46:73;

   # RFCOMM channel for the connection
   channel   1;

   # Description of the connection
   comment "Example Bluetooth device";
}

nm

  • Käyttäjä
  • Viestejä: 16249
    • Profiili
Vs: ibm x41 bluetooth gps parittaminen tökkii
« Vastaus #3 : 04.12.09 - klo:01.23 »
Tiedostossasi taitaa olla DOS-tyyppisiä CR+LF-rivinvaihtoja. Millä ohjelmalla olet muokannut sitä?

Voit muuntaa rivinvaihdot Unix-tyyppisiksi (LF) poistamalla CR:t tr-työkalulla:

Koodia: [Valitse]
sudo -s
cd /etc/bluetooth
mv rfcomm.conf rfcomm.conf.vanha
tr -d '\r' < rfcomm.conf.vanha > rfcomm.conf
exit

Tai käyttämällä tofrodos-paketin dos2unix-ohjelmaa:

Koodia: [Valitse]
sudo apt-get install tofrodox
sudo dos2unix /etc/bluetooth/rfcomm.conf