Näytä kirjoitukset

Tässä osiossa voit tarkastella kaikkia tämän jäsenen viestejä. Huomaa, että näet viestit vain niiltä alueilta, joihin sinulla on pääsy.


Viestit - jniiranen

Sivuja: 1 ... 3 4 [5] 6 7
81
Osaako kukaan neuvoa?  :-[

82
Koitin asentaa ton libnotifyn, myös ne osat jotka oli jo asennettu uudestaan, mutta sama virhe ilmoitus tulee..  :o

83
Mulla on tälläiset asetukset eri tiedostoissa:       Oisko joku väärin?
/etc/bluetooth/hcid.conf

#
# HCI daemon configuration file.
#
# $Id: hcid.conf,v 1.7 2004/12/13 14:16:03 holtmann Exp $
#

# HCId options
options {
   # Automatically initialize new devices
   autoinit yes;

   # Security Manager mode
   #   none - Security manager disabled
   #   auto - Use local PIN for incoming connections
   #   user - Always ask user for a PIN
   #
   security user;

   # Pairing mode
   #   none  - Pairing disabled
   #   multi - Allow pairing with already paired devices
   #   once  - Pair once and deny successive attempts
   pairing multi;

   # PIN helper
   pin_helper /usr/bin/bluez-pin;

   # D-Bus PIN helper
   dbus_pin_helper;
}

# Default settings for HCI devices
device {
   # Local device name
   #   %d - device id
   #   %h - host name
   name "%h-%d";

   # Local device class
   class 0x3e0100;

   # Default packet type
   #pkt_type DH1,DM1,HV1;

   # Inquiry and Page scan
   iscan enable; pscan enable;

   # Default link mode
   #   none   - no specific policy
   #   accept - always accept incoming connections
   #   master - become master on incoming connections,
   #            deny role switch on outgoing connections
   lm accept;

   # Default link policy
   #   none    - no specific policy
   #   rswitch - allow role switch
   #   hold    - allow hold mode
   #   sniff   - allow sniff mode
   #   park    - allow park mode
   lp rswitch,hold,sniff,park;

   # Authentication and Encryption (Security Mode 3)
   #auth enable;
   #encrypt enable;
}

/etc/bluetooth/rfcomm.conf
#
# RFCOMM configuration file.
#
# $Id: rfcomm.conf,v 1.1 2002/10/07 05:58:18 maxk Exp $
#

# example:
#
 rfcomm0
{
  bind yes;
   # Bluetooth address of the device
   device 08:00:28:40:28:6C;
   # RFCOMM channel for the connection
   channel   1;
   # Description of the connection
   comment "Motorola E770";
}

/etc/ppp/peers/bluetooth
# <tietokoneen ppp0-laitteen ip-osoite>:<kännykälle annettava ip-osoite>
# kannattaa olla eriverkosta kuin koneen eth laitteen/laitteiden ip(t).
10.0.4.100:10.0.4.101
115200
noauth
crtscts
ms-dns 10.0.1.1 # Dns palvelin
lock

/etc/ppp/ip-up.local
#!/bin/bash
. /etc/ppp/bluetooth-options

if [ "$IP_FORWARD"  == yes ]; then
  echo 1 > /proc/sys/net/ipv4/ip_forward
  $IPT -t nat -A POSTROUTING -j SNAT -o $LAN --to $IP
fi

/etc/ppp/ip-down.local
#!/bin/bash
. /etc/ppp/bluetooth-options

if [ "$IP_FORWARD"  == yes ]; then
  echo 0 > /proc/sys/net/ipv4/ip_forward
  $IPT -F -t nat
fi

/etc/ppp/bluetooth-options
IPT=/sbin/iptables
LAN=eth0
# Sallitaanko kännykän liikenteen välitys muuallekkin kuin tähän tietokoneeseen
IP_FORWARD=yes

# Parsitaan LAN interfacen ip-osoite ifconfigin tiedoista
IP=`ifconfig $LAN |grep "inet addr:" | awk -F " " '{print $2}'|awk -F ":" '{print $2}'`

/etc/init.d/bluez-utils
#! /bin/sh
#
# bluez-utils    Bluetooth subsystem starting and stopping
#
# Edd Dumbill <ejad@debian.org>
#
# startup control over dund and pand can be changed by
# editing /etc/default/bluez-utils

PATH=/sbin:/bin:/usr/sbin:/usr/bin
DESC="Bluetooth services"

HCID=/usr/sbin/hcid
HCIATTACH=/usr/sbin/hciattach
HCID_NAME=hcid

HID2HCI=/usr/sbin/hid2hci

UART_CONF=/etc/bluetooth/uart

RFCOMM=/usr/bin/rfcomm
RFCOMM_NAME=rfcomm
RFCOMM_CONF=/etc/bluetooth/rfcomm.conf

SDPD=/usr/sbin/sdpd
SDPD_NAME=sdpd

DUND_DAEMON=/usr/bin/dund
DUND_NAME=dund
PAND_DAEMON=/usr/bin/pand
PAND_NAME=pand
HIDD_DAEMON=/usr/bin/hidd
HIDD_NAME=hidd

DUND_ENABLED=0
PAND_ENABLED=0
HIDD_ENABLED=0
DUND_OPTIONS=""
PAND_OPTIONS=""
HIDD_OPTIONS="--master --server"

test -f /etc/default/bluez-utils && . /etc/default/bluez-utils
test -f /etc/default/rcS && . /etc/default/rcS

. /lib/lsb/init-functions

# test for essential daemons
test -x $HCID || exit 0
test -x $HCIATTACH || exit 0
test -x $RFCOMM || exit 0
test -x $SDPD || exit 0

# disable nonessential daemons if not present
if test "$DUND_ENABLED" != "0"; then
   if ! test -f $DUND_DAEMON; then
      DUND_ENABLED=0
   fi
fi

if test "$PAND_ENABLED" != "0"; then
   if ! test -f $PAND_DAEMON; then
      PAND_ENABLED=0
   fi
fi

if test "$HIDD_ENABLED" != "0"; then
   if ! test -f $HIDD_DAEMON; then
      HIDD_ENABLED=0
   fi
fi

set -e

enable_hci_input()
{
   if [ "$VERBOSE" != no ]; then
       log_success_msg "Switching on Bluetooth input devices..."
       $HID2HCI --tohci
    else
       $HID2HCI --tohci >/dev/null 2>&1
    fi
}

disable_hci_input()
{
   if [ "$VERBOSE" != no ]; then
       log_success_msg "Switching Bluetooth input devices back to HID mode..."
       $HID2HCI --tohid
    else
       $HID2HCI --tohid >/dev/null 2>&1
    fi
}

start_pan()
{
   if test "$DUND_ENABLED" != "0"; then
      sdptool add SP --channel=1
      start-stop-daemon --start --quiet --exec $DUND_DAEMON -- $DUND_OPTIONS
      [ "$VERBOSE" != no ] && log_success_msg "Starting $DUND_NAME..."
   fi
   if test "$PAND_ENABLED" != "0"; then
      start-stop-daemon --start --quiet --exec $PAND_DAEMON -- $PAND_OPTIONS
      [ "$VERBOSE" != no ] && log_success_msg "Starting $PAND_NAME..."
   fi
}


stop_pan()
{
   if test "$DUND_ENABLED" != "0"; then
      start-stop-daemon --stop --quiet --exec $DUND_DAEMON || true
      [ "$VERBOSE" != no ] && log_success_msg "Stopping $DUND_NAME..."
   fi
   if test "$PAND_ENABLED" != "0"; then
      start-stop-daemon --stop --quiet --exec $PAND_DAEMON || true
      [ "$VERBOSE" != no ] && log_success_msg "Stopping $PAND_NAME..."
   fi
}

start_hid()
{
   if test "$HIDD_ENABLED" != "0"; then
      start-stop-daemon --start --quiet --exec $HIDD_DAEMON -- $HIDD_OPTIONS
      [ "$VERBOSE" != no ] && log_success_msg "Starting $HIDD_NAME..."
   fi
}

stop_hid()
{
   if test "$HIDD_ENABLED" != "0"; then
      $HIDD_DAEMON --killall
      start-stop-daemon --stop --quiet --exec $HIDD_DAEMON || true
      [ "$VERBOSE" != no ] && log_success_msg "Stopping $HIDD_NAME..."
   fi
}

start_uarts()
{
   [ -f $HCIATTACH ] && [ -f $UART_CONF ] || return
   grep -v '^#' $UART_CONF | while read i; do
      if [ "$VERBOSE" != no ]; then
         $HCIATTACH $i
      else
         $HCIATTACH $i >/dev/null 2>&1
      fi
   done
}

stop_uarts()
{
   killall hciattach > /dev/null 2>&1 || true
}

start_rfcomm()
{
   if [ -x $RFCOMM ] && [ -f $RFCOMM_CONF ] ; then
      # rfcomm must always succeed for now: users
      # may not yet have an rfcomm-enabled kernel
       if [ "$VERBOSE" != no ]; then
           log_success_msg "Starting $RFCOMM_NAME..."
          $RFCOMM -f $RFCOMM_CONF bind all || true
       else
          $RFCOMM -f $RFCOMM_CONF bind all >/dev/null 2>&1 || true
       fi
   fi
}

stop_rfcomm()
{
   if [ -x $RFCOMM ] ; then
       if [ "$VERBOSE" != no ]; then
          log_success_msg "Stopping $RFCOMM_NAME..."
          $RFCOMM unbind all || true
       else
          $RFCOMM unbind all >/dev/null 2>&1 || true
       fi   
   fi
}

restart_rfcomm()
{
   if [ -x $RFCOMM ] && [ -f $RFCOMM_CONF ] ; then
       if [ "$VERBOSE" != no ]; then
          log_success_msg  "Restarting $RFCOMM_NAME..."
          $RFCOMM unbind all || true
          $RFCOMM -f $RFCOMM_CONF bind all || true
       else
          $RFCOMM unbind all >/dev/null 2>&1|| true
          $RFCOMM -f $RFCOMM_CONF bind all >/dev/null 2>&1 || true
       fi
   fi
}

case "$1" in
  start)
   log_begin_msg "Starting $DESC..."
   start-stop-daemon --start --quiet --exec $HCID || true
   echo -n " $HCID_NAME"
   start_uarts || true
   start-stop-daemon --start --quiet --exec $SDPD || true
   echo -n " $SDPD_NAME"
   start_hid || true
   # enable_hci_input || true
   start_rfcomm || true
   start_pan || true
   log_end_msg 0
   ;;
  stop)
   log_begin_msg "Stopping $DESC..."
   stop_pan || true
   stop_rfcomm || true
   # disable_hci_input || true
   stop_hid || true
   start-stop-daemon --stop --quiet --exec $SDPD || true
   echo -n " $SDPD_NAME"
   start-stop-daemon --stop --quiet --exec $HCID || true
   echo -n " $HCID_NAME"
   stop_uarts || true
   log_end_msg 0
   ;;
  restart|force-reload)
   log_begin_msg "Restarting $DESC..."
   stop_hid || true
   stop_pan || true
   start-stop-daemon --stop --quiet --exec $SDPD || true
   start-stop-daemon --stop --quiet --exec $HCID || true
   sleep 1
   start-stop-daemon --start --quiet --exec $HCID || true
   start-stop-daemon --start --quiet --exec $SDPD || true
   start_pan || true
   start_hid || true
   restart_rfcomm
   log_end_msg 0
   ;;
  *)
   N=/etc/init.d/bluez-utils
   log_success_msg "Usage: $N {start|stop|restart|force-reload}"
   exit 1
   ;;
esac

exit 0

/etc/default/bluez-utils
# Defaults for bluez-utils

# This file supersedes /etc/default/bluez-pan.  If
# that exists on your system, you should use this
# file instead and remove the old one.  Until you
# do so, the contents of this file will be ignored.

############ HIDD
#
# To have Bluetooth mouse and keyboard support, get the
# Linux 2.6.6 patch or better from bluez.org, and set
# HIDD_ENABLED to 1.
HIDD_ENABLED=0
HIDD_OPTIONS="--master --server"
# to make hidd always use a particular interface, use something
# like this, substituting the bdaddr of the interface:
# HIDD_OPTIONS="-i AA:BB:CC:DD:EE:FF --server"
#
# remove '--master' if you're having trouble working with Ericsson
# T630 phones with hidd operational at the same time.

############ COMPATIBILITY WITH OLD BLUEZ-PAN
# Compatibility: if old PAN config exists, use it
# rather than this file.
if test -f /etc/default/bluez-pan; then
    . /etc/default/bluez-pan
    return
fi
############

############ DUND
#
# Run dund -- this allows ppp logins. 1 for enabled, 0 for disabled.
DUND_ENABLED=1

# Arguments to dund: defaults to acting as a server
DUND_OPTIONS="--listen call bluetooth --channel=1"

# Run dund --help to see the full array of options.
# Here are some examples:
#
# Connect to any nearby host offering access
# DUND_OPTIONS="--search"
#
# Connect to host 00:11:22:33:44:55
# DUND_OPTIONS="--connect 00:11:22:33:44:55"
#
# Listen on channel 3
# DUND_OPTIONS="--listen --channel 3"

# Special consideration is needed for certain devices. Microsoft
# users see the --msdun option.  Ericsson P800 users will need to
# listen on channel 3 and also run 'sdptool add --channel=3 SP'

############ PAND
#
# Run pand -- ethernet: creates new network interfaces bnep<N>
# that can be configured in /etc/network/interfaces
# set to 1 for enabled, 0 for disabled
PAND_ENABLED=0

# Arguments to pand
# Read the PAN howto for ways to set this up
# http://bluez.sourceforge.net/contrib/HOWTO-PAN
PAND_OPTIONS=""

# example pand lines
#
# Act as the controller of an ad-hoc network
# PAND_OPTIONS="--listen --role GN"
#
# Act as a network access point: routes to other networks
# PAND_OPTIONS="--listen --role NAP"
#
# Act as a client of an ad-hoc controller with number 00:11:22:33:44:55
# PAND_OPTIONS="--role PANU --connect 00:11:22:33:44:55"
#
# Connect to any nearby network controller (access point or ad-hoc)
# PAND_OPTIONS="--role PANU --search"

juha@Juhankannettava:~$ sudo hcitool info 08:00:28:40:28:6C
Password:
Requesting information ...
        BD Address:  08:00:28:40:28:6C
        Device Name: Motorola E770
        LMP Version: 2.0 (0x3) LMP Subversion: 0xe1b
        Manufacturer: Texas Instruments Inc. (13)
        Features: 0xff 0xff 0x2d 0x78 0x18 0x18 0x00 0x80
                <3-slot packets> <5-slot packets> <encryption> <slot offset>
                <timing accuracy> <role switch> <hold mode> <sniff mode>
                <park state> <RSSI> <channel quality> <SCO link> <HV2 packets>
                <HV3 packets> <u-law log> <A-law log> <CVSD> <power control>
                <transparent SCO> <enhanced iscan> <interlaced iscan>
                <interlaced pscan> <inquiry with RSSI> <AFH cap. slave>
                <AFH class. slave> <AFH cap. master> <AFH class. master>
                <extended features>
juha@Juhankannettava:~$ hcitool scan
Scanning ...
        08:00:28:40:28:6C       Motorola E770

84
En löytänyt mun puhelimeen sopivaa versiota GnuBoxista.. Puhelin on Motorola E770 (E770v)
Saisko bluetooth gprs silti toimiin? Ja miten?  :o
Puhelin nyt kyllä löytyy scannakusella ja vastaa pingeihin...
Sit bluetooth manager, bluetooth file sharing ja phone manager on asennettu.
Puhelin löytyy myös bluetooth managerilla mutta yhteyttä ei saa luotua eikä tiedostoja siirrettyä..  ???
Sit on myös Gnome ppp asennettu myös mut ei toimi..
Entäs pystyykö tekemään skriptin jolla voi päätteestä komentaa puhelinta esim. soittamaan numeroon 040-xxxxxxxx?
Entäs sellasta skriptiä jolla vois esim. tekstitiedostosta tai excel tiedostosta esim. poimia numeroita johon se soittais vuorotellen esim. kun painaa (enter tai n) nii soittas seuraavaan?

85
Mulla make komento antaa tälläsen herjan: jotain varmaan puutuu....
juha@Juhankannettava:~/bluelink$ sudo make
g++ -Wall -g main.cpp -o bluelink `pkg-config libnotify --cflags --libs` -l bluetooth -l pthread
In file included from LibnotifyBinding.hpp:7,
                 from LibnotifyBinding.cpp:1,
                 from BlueLink.hpp:15,
                 from BlueLink.cpp:1,
                 from main.cpp:1:
/usr/include/libnotify/notify.h:28:18: error: glib.h: Tiedostoa tai hakemistoa ei ole
SonyEricsson.cpp: In member function ‘virtual void SonyEricsson::handleReceivedMessage(std::string)’:
SonyEricsson.cpp:88: warning: format ‘%d’ expects type ‘int*’, but argument 3 has type ‘ccstatus*’
SonyEricsson.cpp:100: warning: format ‘%d’ expects type ‘int*’, but argument 4 has type ‘ccstatus*’
SonyEricsson.cpp:100: warning: format ‘%d’ expects type ‘int*’, but argument 5 has type ‘calltype*’
SonyEricsson.cpp:100: warning: format ‘%d’ expects type ‘int*’, but argument 7 has type ‘exitcause*’
SonyEricsson.cpp:142: warning: format ‘%d’ expects type ‘int*’, but argument 4 has type ‘ccstatus*’
SonyEricsson.cpp:142: warning: format ‘%d’ expects type ‘int*’, but argument 5 has type ‘calltype*’
/usr/include/libnotify/notify.h: At global scope:
/usr/include/libnotify/notify.h:46: error: ‘guint32’ has not been declared
/usr/include/libnotify/notify.h:46: error: ‘gpointer’ has not been declared
/usr/include/libnotify/notify.h:61: error: ‘gboolean’ does not name a type
/usr/include/libnotify/notify.h:73: error: ‘gboolean’ does not name a type
/usr/include/libnotify/notify.h:87: error: ‘gboolean’ does not name a type
/usr/include/libnotify/notify.h:97: error: variable or field ‘notify_setup_with_g_main’ declared void
/usr/include/libnotify/notify.h:97: error: ‘GMainContext’ was not declared in this scope
/usr/include/libnotify/notify.h:97: error: ‘context’ was not declared in this scope
/usr/include/libnotify/notify.h:118: error: ‘gboolean’ does not name a type
/usr/include/libnotify/notify.h:128: error: expected constructor, destructor, or type conversion before ‘*’ token
/usr/include/libnotify/notify.h:170: error: ‘gboolean’ has not been declared
/usr/include/libnotify/notify.h:213: error: expected ‘,’ or ‘...’ before ‘*’ token
/usr/include/libnotify/notify.h:225: error: ‘gboolean’ does not name a type
/usr/include/libnotify/notify.h:238: error: ‘gboolean’ does not name a type
/usr/include/libnotify/notify.h:287: error: ‘gboolean’ has not been declared
/usr/include/libnotify/notify.h:289: error: ‘gpointer’ has not been declared
/usr/include/libnotify/notify.h:324: error: ‘gboolean’ has not been declared
/usr/include/libnotify/notify.h:327: error: ‘gpointer’ has not been declared
LibnotifyBinding.hpp:25: error: ISO C++ forbids declaration of ‘NotifyNotification’ with no type
LibnotifyBinding.hpp:25: error: expected ‘;’ before ‘*’ token
LibnotifyBinding.hpp:26: error: ISO C++ forbids declaration of ‘NotifyNotification’ with no type
LibnotifyBinding.hpp:26: error: expected ‘;’ before ‘*’ token
LibnotifyBinding.hpp:27: error: ISO C++ forbids declaration of ‘NotifyNotification’ with no type
LibnotifyBinding.hpp:27: error: expected ‘;’ before ‘*’ token
LibnotifyBinding.cpp: In constructor ‘LibnotifyBinding::LibnotifyBinding()’:
LibnotifyBinding.cpp:6: error: ‘notify_init’ was not declared in this scope
LibnotifyBinding.cpp:7: error: ‘notify_is_initted’ was not declared in this scope
LibnotifyBinding.cpp:11: error: ‘class LibnotifyBinding’ has no member named ‘incomingCallNotification’
LibnotifyBinding.cpp:12: error: ‘class LibnotifyBinding’ has no member named ‘outgoingCallNotification’
LibnotifyBinding.cpp:13: error: ‘class LibnotifyBinding’ has no member named ‘activeCallNotification’
LibnotifyBinding.cpp: In destructor ‘virtual LibnotifyBinding::~LibnotifyBinding()’:
LibnotifyBinding.cpp:26: error: ‘class LibnotifyBinding’ has no member named ‘incomingCallNotification’
LibnotifyBinding.cpp:28: error: ‘class LibnotifyBinding’ has no member named ‘incomingCallNotification’
LibnotifyBinding.cpp:28: error: ‘notify_notification_close’ was not declared in this scope
LibnotifyBinding.cpp:29: error: ‘class LibnotifyBinding’ has no member named ‘incomingCallNotification’
LibnotifyBinding.cpp:31: error: ‘class LibnotifyBinding’ has no member named ‘outgoingCallNotification’
LibnotifyBinding.cpp:33: error: ‘class LibnotifyBinding’ has no member named ‘outgoingCallNotification’
LibnotifyBinding.cpp:33: error: ‘notify_notification_close’ was not declared in this scope
LibnotifyBinding.cpp:34: error: ‘class LibnotifyBinding’ has no member named ‘outgoingCallNotification’
LibnotifyBinding.cpp:36: error: ‘class LibnotifyBinding’ has no member named ‘activeCallNotification’
LibnotifyBinding.cpp:38: error: ‘class LibnotifyBinding’ has no member named ‘activeCallNotification’
LibnotifyBinding.cpp:38: error: ‘notify_notification_close’ was not declared in this scope
LibnotifyBinding.cpp:39: error: ‘class LibnotifyBinding’ has no member named ‘activeCallNotification’
LibnotifyBinding.cpp: In member function ‘virtual void LibnotifyBinding::processEvent(PhoneEvent&)’:
LibnotifyBinding.cpp:117: error: ‘class LibnotifyBinding’ has no member named ‘incomingCallNotification’
LibnotifyBinding.cpp:117: error: ‘notify_notification_new’ was not declared in this scope
LibnotifyBinding.cpp:118: error: ‘class LibnotifyBinding’ has no member named ‘incomingCallNotification’
LibnotifyBinding.cpp:118: error: ‘notify_notification_set_timeout’ was not declared in this scope
LibnotifyBinding.cpp:119: error: ‘class LibnotifyBinding’ has no member named ‘incomingCallNotification’
LibnotifyBinding.cpp:119: error: ‘notify_notification_set_urgency’ was not declared in this scope
LibnotifyBinding.cpp:121: error: ‘class LibnotifyBinding’ has no member named ‘incomingCallNotification’
LibnotifyBinding.cpp:121: error: ‘notify_notification_show’ was not declared in this scope
LibnotifyBinding.cpp:134: error: ‘class LibnotifyBinding’ has no member named ‘outgoingCallNotification’
LibnotifyBinding.cpp:135: error: ‘class LibnotifyBinding’ has no member named ‘outgoingCallNotification’
LibnotifyBinding.cpp:136: error: ‘class LibnotifyBinding’ has no member named ‘outgoingCallNotification’
LibnotifyBinding.cpp:138: error: ‘class LibnotifyBinding’ has no member named ‘outgoingCallNotification’
LibnotifyBinding.cpp:138: error: ‘notify_notification_show’ was not declared in this scope
LibnotifyBinding.cpp:146: error: ‘class LibnotifyBinding’ has no member named ‘incomingCallNotification’
LibnotifyBinding.cpp:148: error: ‘class LibnotifyBinding’ has no member named ‘incomingCallNotification’
LibnotifyBinding.cpp:148: error: ‘notify_notification_close’ was not declared in this scope
LibnotifyBinding.cpp:149: error: ‘class LibnotifyBinding’ has no member named ‘incomingCallNotification’
LibnotifyBinding.cpp:151: error: ‘class LibnotifyBinding’ has no member named ‘outgoingCallNotification’
LibnotifyBinding.cpp:153: error: ‘class LibnotifyBinding’ has no member named ‘outgoingCallNotification’
LibnotifyBinding.cpp:153: error: ‘notify_notification_close’ was not declared in this scope
LibnotifyBinding.cpp:154: error: ‘class LibnotifyBinding’ has no member named ‘outgoingCallNotification’
LibnotifyBinding.cpp:169: error: ‘class LibnotifyBinding’ has no member named ‘incomingCallNotification’
LibnotifyBinding.cpp:171: error: ‘class LibnotifyBinding’ has no member named ‘incomingCallNotification’
LibnotifyBinding.cpp:171: error: ‘notify_notification_close’ was not declared in this scope
LibnotifyBinding.cpp:172: error: ‘class LibnotifyBinding’ has no member named ‘incomingCallNotification’
LibnotifyBinding.cpp:182: error: ‘class LibnotifyBinding’ has no member named ‘incomingCallNotification’
LibnotifyBinding.cpp:184: error: ‘class LibnotifyBinding’ has no member named ‘incomingCallNotification’
LibnotifyBinding.cpp:184: error: ‘notify_notification_close’ was not declared in this scope
LibnotifyBinding.cpp:185: error: ‘class LibnotifyBinding’ has no member named ‘incomingCallNotification’
LibnotifyBinding.cpp:187: error: ‘class LibnotifyBinding’ has no member named ‘outgoingCallNotification’
LibnotifyBinding.cpp:189: error: ‘class LibnotifyBinding’ has no member named ‘outgoingCallNotification’
LibnotifyBinding.cpp:189: error: ‘notify_notification_close’ was not declared in this scope
LibnotifyBinding.cpp:190: error: ‘class LibnotifyBinding’ has no member named ‘outgoingCallNotification’
LibnotifyBinding.cpp:199: error: ‘class LibnotifyBinding’ has no member named ‘activeCallNotification’
LibnotifyBinding.cpp:200: error: ‘class LibnotifyBinding’ has no member named ‘activeCallNotification’
LibnotifyBinding.cpp:201: error: ‘class LibnotifyBinding’ has no member named ‘activeCallNotification’
LibnotifyBinding.cpp:203: error: ‘class LibnotifyBinding’ has no member named ‘activeCallNotification’
LibnotifyBinding.cpp:203: error: ‘notify_notification_show’ was not declared in this scope
LibnotifyBinding.cpp:212: error: ‘class LibnotifyBinding’ has no member named ‘activeCallNotification’
LibnotifyBinding.cpp:214: error: ‘class LibnotifyBinding’ has no member named ‘activeCallNotification’
LibnotifyBinding.cpp:214: error: ‘notify_notification_close’ was not declared in this scope
LibnotifyBinding.cpp:215: error: ‘class LibnotifyBinding’ has no member named ‘activeCallNotification’
LibnotifyBinding.cpp:239: error: ‘class LibnotifyBinding’ has no member named ‘outgoingCallNotification’
LibnotifyBinding.cpp:241: error: ‘class LibnotifyBinding’ has no member named ‘outgoingCallNotification’
LibnotifyBinding.cpp:241: error: ‘notify_notification_close’ was not declared in this scope
LibnotifyBinding.cpp:242: error: ‘class LibnotifyBinding’ has no member named ‘outgoingCallNotification’
LibnotifyBinding.cpp:247: error: ‘class LibnotifyBinding’ has no member named ‘activeCallNotification’
LibnotifyBinding.cpp:249: error: ‘class LibnotifyBinding’ has no member named ‘activeCallNotification’
LibnotifyBinding.cpp:249: error: ‘notify_notification_close’ was not declared in this scope
LibnotifyBinding.cpp:250: error: ‘class LibnotifyBinding’ has no member named ‘activeCallNotification’
LibnotifyBinding.cpp: In member function ‘void LibnotifyBinding::displayNotification(int, char*, char*, char*)’:
LibnotifyBinding.cpp:279: error: ‘NotifyNotification’ was not declared in this scope
LibnotifyBinding.cpp:279: error: ‘notification’ was not declared in this scope
LibnotifyBinding.cpp:280: error: ‘notify_notification_new’ was not declared in this scope
LibnotifyBinding.cpp:281: error: ‘notify_notification_set_timeout’ was not declared in this scope
LibnotifyBinding.cpp:282: error: ‘notify_notification_set_urgency’ was not declared in this scope
LibnotifyBinding.cpp:284: error: ‘notify_notification_show’ was not declared in this scope
main.cpp: At global scope:
main.cpp:109: error: expected declaration before ‘}’ token
make: *** [all] Error 1

86
Ubuntu tietokoneissa / Re: Motion:in asennus
« : 18.10.06 - klo:01.12 »
Mul on adsl boksi.. siinä ei ole palomuuri päällä.. Toi kone jolla yritän lähettää web-kuvaa saa suoraan operaattorilta ip:n ja toiset koneet ei..
Koitin nyt tällä toisella koneella ubuntusta ja näköjään tolla http://koneenosoite:8081 näyttää kuvaa.. mutta näyttäis että se lähettää jpeg kuvaa?
Eilen koitin windowsissa tolla samalla osoitteella se rupesi lataamaan ja tallentamaan muttei ruvennu näyttämään? Koitin explorerilla ja operalla. ja myös realplayerillä ja windowsmediaplayerilla.. ei toiminu windowsis... joku asetus on jossain väärin...  :-\ tuo 8080-portti ei tuota mitään yhteyttä eikä 8000.. sillä koneella joka lähettää localhost:8080 tulee säätövalikot ja localhost:8081 näkyy kuva mut se ei päivity... tuolla säätövalikossa on aika paljon asetuksia ja ne pitäs jotenkin osata laitaa oikein.. Jotkut asetukset saa sen että se tallentaa kovalevylle kuvaa tai videoa.. siis tolle lähettävälle koneelle..
Tuolle lähettävälle koneella saa vnc:n ja ssh:n kautta yhteyden josta päättelisin että palomuurien ei pitäis estää...

87
Ubuntu tietokoneissa / Re: Motion:in asennus
« : 16.10.06 - klo:23.55 »
Tätä ohjelmaa ennen koitin camserv ohjelmaa mutten saanut sitäkään toimiin joten poistin sen...
Olisko jotan helpompi käyttösempää ohjelmaa jolla voi lähettää live kuvaa nettiin? Jota vois käyttää graafisesti eikä päätteestä...
tää on ihan ylivoimasen vaikeata..  :-[  >:(

88
Ubuntu tietokoneissa / Re: Motion:in asennus
« : 16.10.06 - klo:23.27 »
Olen palomuurista avannu 8000, 8080 ja 8081 -nämä siis auki kaikille. Ja myös 80 tälle mun toiselle koneelle ip osoitteella..
olen koittanut http://koneenosoite:8000, http://koneenosoite:8080, http://koneenosoite:8081
ei vaan toimi...  ??? ???

89
Ubuntu tietokoneissa / Re: Motion:in asennus
« : 16.10.06 - klo:13.33 »
Aluks mulla ei ollu asennettuna firestarter:ia.. ilmeisesti palomuuri ei ollu päällä? Kun ei toiminut niin asensin ton ja kokeilin laittaa sallituksi kaiken liikenteen toiselta koneelta jolta yritin käyttää live webkameraa nettiselaimella..
ei vaan saa yhteyttä?  ???
Motionissa on tälläset asetukset:
# daemon = off
# setup_mode = off
# videodevice = /dev/video0
# input = 8
# norm = 0
# frequency = 0
# rotate = 0
# width = 320
# height = 240
# framerate = 25
# netcam_url = (null)
# netcam_userpass = (null)
# netcam_proxy = (null)
# auto_brightness = off
# brightness = 0
# contrast = 0
# saturation = 0
# hue = 0
# roundrobin_frames = 1
# roundrobin_skip = 1
# switchfilter = off
# threshold = 1500
# threshold_tune = off
# noise_level = 32
# noise_tune = on
# night_compensate = off
# despeckle = (null)
# mask_file = (null)
# smart_mask_speed = 0
# lightswitch = 0
# minimum_motion_frames = 1
# pre_capture = 0
# post_capture = 0
# gap = 60
# minimum_gap = 0
# max_mpeg_time = 3600
# low_cpu = 0
# output_all = off
# output_normal = on
# output_motion = off
# quality = 85
# ppm = off
# ffmpeg_cap_new = on
# ffmpeg_cap_motion = on
# ffmpeg_timelapse = 0
# ffmpeg_timelapse_mode = daily
# ffmpeg_bps = 100000
# ffmpeg_variable_bitrate = 0
# ffmpeg_video_codec = msmpeg4
# snapshot_interval = 0
# locate = off
# text_right = %Y-%m-%d\n%T
# text_left = (null)
# text_changes = off
# text_double = off
# target_dir = /tmp
# snapshot_filename = %v-%Y%m%d%H-snapshot
# jpeg_filename = %Y%m%d%H
# ffmpeg_filename = %Y%m%d
# timelapse_filename = %Y%m%d-timelapse
# webcam_port = 8081
# webcam_quality = 50
# webcam_motion = off
# webcam_maxrate = 8
# webcam_localhost = off
# webcam_limit = 0
# control_port = 8080
# control_localhost = on
# control_html_output = on
# control_authentication = (null)
# track_type = 0
# track_port = (null)
# track_motorx = 0
# track_maxx = 0
# track_iomojo_id = 0
# track_speed = 255
# track_stepsize = 40
# quiet = on
# on_event_start = (null)
# on_event_end = (null)
# on_picture_save = (null)
# on_motion_detected = (null)
# on_movie_start = (null)
# on_movie_end = (null)
# sql_log_image = on
# sql_log_snapshot = on
# sql_log_mpeg = off
# sql_log_timelapse = off
# mysql_db = (null)
# mysql_host = (null)
# mysql_user = (null)
# mysql_password = (null)
# pgsql_db = (null)
# pgsql_host = (null)
# pgsql_user = (null)
# pgsql_password = (null)
# pgsql_port = 5432
# video_pipe = (null)
# motion_video_pipe = (null)
# thread = (null)

ja tiedostossa /etc/motion/motion.conf:
# Minimal motion example config file provided by the
# Debian motion package - for basic webcam operation.
#
# You most certainly want to investigate
# /usr/share/doc/motion/examples/motion-dist.conf.gz
# for further configuration options. Also, refer to the
# motion man page and /usr/share/doc/motion/motion_guide.html
# for detailed information on configuration options.

daemon off
quiet on

# You may very well need to change this (check with 'dmesg'
# after plugging in your webcam)
videodevice /dev/video0

# Image size in pixels (valid range is camera dependent)
width 320
height 240

framerate 25
quality 85
auto_brightness off

# Initial brightness, contrast, hue (NTSC), and saturation
# 0 = disabled (valid range 0-255)
brightness 0
contrast 0
saturation 0
hue 0

# Encode movies in real-time (install ffmpeg before enabling)
ffmpeg_cap_new off

# Codec to be used by ffmpeg for the video compression.
# Supported formats: mpeg4, msmpeg4.
ffmpeg_video_codec msmpeg4

# Target base directory for pictures and films
# You should probably change this (create dir beforehand)
target_dir /tmp

# Define a port number (e.g. 8000) to enable the mini-http server
# 0 = disabled
webcam_port 8081

# Set to 'off' to allow anybody (not just localhost) to view the
# webcam via the mini-http server (http://hostname:port)
webcam_localhost off

webcam_quality 50
webcam_maxrate 8

# TCP/IP port for the http server to listen on (default: 0 = disabled)
control_port 8080

# Restrict control connections to localhost only (default: on)
control_localhost on

# Output for http server, select off to choose raw text plain (default: on)
control_html_output on

# Authentication for the http based control. Syntax username:password
# Default: not defined (Disabled)
; control_authentication username:password

90
Ubuntu tietokoneissa / Motion:in asennus
« : 16.10.06 - klo:02.30 »
Pitääks ubuntun palomuuria säätää kun on asentanut motion?
en saa toimimaan live webkamerana..  :-\

91
Laitealue / Re: Näppäimistön ääkköset toimiin
« : 02.10.06 - klo:12.14 »
tossa 5 kohdassa mulla oli PC104 annoin olla sen ja tossa 9 kohdassa oli tyhjää -> lisäsin ton mitä sulla oli.. Nyt toimii.  :D :D

92
Laitealue / Re: Näppäimistön ääkköset toimiin
« : 02.10.06 - klo:10.55 »
Mutta mitkä on oikeat näppäimistö asetukset? Siellä on monta kohtaa näppäimistö asetuksille..  ???

93
Laitealue / Näppäimistön ääkköset toimiin
« : 02.10.06 - klo:10.04 »
Vaihtoin tohon yhteen työkoneeseen ati:n näytön ohjaimen tilalle S3 Trio 64 näytönohjaimen.
Kun joudun säätämään tällä: "sudo dpkg-reconfigure xserver-xorg"
Ilmeiseti laitoin tohon jonkun väärin kun siinä ei ääkköset toimi ollenkaan..  ??? ei toimi missään ohjelmassa  ???
Kun yrittää vaihtaa näppäimistöksi Samsung SDM 4500P tulee tälläinen virheilmoitus:
XKB-asetusten käyttöönotto epäonnistui.
Syynä on voi eri tapauksissa olla:
- vika libxklavier-kirjastossa
- vika X-palvelimessa (xkbcomp ja xmodmap -ohjelmat)
- X-palvelimen kanssa yhteensopimaton libxkbfile-toteutus

X-palvelimen versiotiedot:
The X.Org Foundation
70000000

Jos lähetät tästä vikailmoituksen, sisällytä mukaan:
- Komennon xprop -root | grep XKB tuloste
- Komennon gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd tuloste

Ja noi antaa:

sudo xprop -root | grep XKB

_XKB_RULES_NAMES_BACKUP(STRING) = "xorg", "pc104", "fi", "FI.UTF-8", ""
_XKB_RULES_NAMES(STRING) = "xorg", "pc104", "fi", "FI.UTF-8", ""

sudo gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd

 layouts = []
 model =
 overrideSettings = true
 options = []

Miten sais toimiin?  ???

94
Ubuntu tietokoneissa / Re: Näytönohjain toimimaan
« : 26.09.06 - klo:14.16 »
No nii.. lähtihä se toimii..  :D :D  piti valita "vesa" nii sit toimi.. :)

95
Ubuntu tietokoneissa / Re: Näytönohjain toimimaan
« : 26.09.06 - klo:12.56 »
koitin tällä (sudo dpkg-reconfigure xserver-xorg) saada sitä toimii, mutta ei toimi.. tulee mustaa ruutua...
Oisko sit johonki asetukseen vastattu väärin? vai millä ton ajuri pitäs asentaa?
Komentoriviltä pitäs toi homma tehdä...

96
Ubuntu tietokoneissa / Näytönohjain toimimaan
« : 26.09.06 - klo:11.17 »
Miten tän (s3 trio64) näytön ohjaimen saa toimiin ubuntu 6.06? Vaihoin atin tilalle ton mutta toi pitäs jotenkin asentaa kun sen ei tunnistanu automaattisesti..

97
Sain windowsissa Partitoin magic 7 pienennettyä windows osoita. Ja sit ubuntun live cd:llä sain swap tiedoston tehtyä isommaksi.  ;D
Mutta nyt kun käynnistää koneen, niin aina pitää käydä erikseen mountaamassa hda3 että se on käytettävissä..  :o
Johtuu varmaan siitä ettei se osio ole jatko osiolla (extended)?  ::)
Tossa kuva nykyisistä osioista: http://koti.mbnet.fi/~jniirane/kannettava/Osiot.png
Yritin myös että olisin liittänyt sen juureen eli "/" mut se sinne menny - johtuu varmaan siitä että osio hda5 on jo siinä?  ::)

Edit: Liitin sen uuden /media/hda3

98
Asensin Gpartedin.. Näyttäs suht helpolta ohjelmalta... :D
Toi windowsin Ntfs levy pitäs varmaan mountata niin että sinne pystyy kirjottaan? Mites se mountataan sillai?

99
En ole tuota Gparted käyttäny aiemmin..
Googletin.. näkyy olevan linux/ubuntu ohjelma..  :)
Osaako tuo miten hyvin käsitellä Ntfs osiota? Ettei se mee sekaisin?  ::) Oon kyl ottanu windowsin puolelta tärkeistä tiedostoista kopion dvd-levyille..
Pitää käydä vielä eheyttään windowsin puolella...  :P
Onistusko tuolla Gparted ohjelmalla myös sellainen että pistäisin swap osion 500mt:sta 1024mt:n?  ::)
Vai miten tuo swap osion myös sais isommaksi?

100
Eli pitäis varmuuskopioida kaikki tarvittava että asetukset ja asennetut ohjelmat saisi ilman uudelleen asennusta säätämistä varmuuskopiosta palautettua. Myös näytön, wlan asetukset.. (oli melko säätäminen että sai toimii).
Pitäs sen takia asentaa uusiksi kun haluan enemmän kovalevy tilaa ubuntulle windows:in puolelta.
Osoiden muuttaminen on helppo windowsin puolelta.  :)
Tietysti jos kaikki hakemistot kopsais talteen niin sillohan kaikki säilys (olis kyllä tilaa siihenkin) mutta ei viitsis ihan kaikkee kopsata ku asennuksessahan ne tulee kovalevylle..
Eli mitkä hakemistot pitäis kopioida?
Löysin joitain ohjeita varmuuskopiointiin täältä, mut haluan varmistua että tulee kaikki tarpeellinen kopioitua.  :P
Kuinkas helposti sitten palautus yleensä menee?  ::)
Nyt mulla on Ubuntu 5.1... saatan sitten kun olen saanu nuo muutkoset tehtyä ja kaikki toimii ok kokeilla sitä päivitystä 6.06...  ;D

Sivuja: 1 ... 3 4 [5] 6 7