Bluetooth Tastatur auto reconnect?!?

  • Ich habe diese Bluetooth Tastatur in die Finger bekommen: Rii Clecer Mini unter einem normalen ubuntu mit gui kann man die tastatur koppeln und sie reconnected sich automatisch beim aus und iweder einschalten der Fernbedienung.
    Aber die diversen Anleitungen im Netz, die das koppeln von Bluetooth im Terminal erklären, funktionieren nicht wie ein daemon. Ich muss den Befehl immer wieder neu eingeben.

    Es gibt ein paar Anleitungen, die aber nicht wie erwünscht liefen. Hat einer von Euch ein solches Setup laufen - und iwe habt Ihr es realisiert?
    Für meine Wiimote gibts nen extra daemon, aber für ne Tastatur...?!?

  • Was benutzt du denn aktuell für ein Betriebssystem?
    Unter Ubuntu geht das Koppeln (und automatische Verbinden) wunderbar mit den bluez-utils: http://www.yavdr.org/documentation/….html#bluetooth
    Ich habe hier eine PS 3 BD remote, die auf diese Weise eingebunden wird.

    Meine VDRs

    VDR 1: Point of View Ion-330-1, 2x Sundtek MediaTV Pro (DVB-C), Atric IR-Einschalter Rev.5, Ubuntu 18.04 (yavdr-ansible)
    VDR 2: Acer Revo 3610, Pinnacle PCTV SAT 452e, Medion X10, yaVDR 0.6
    VDR 3: Intel DH67BL, Celeron 540, 4 GB Ram, POV Geforce GT 1030, Ubuntu 18.04 (yavdr-ansible), VDR 2.4.1, CIR-Empfänger
    Client 1: Raspberry Pi 2, Arch Linux ARM, VDR 2.3.8
    vdr-epg-daemon auf Cubietruck mit 32 GB SSD, Arch Linux ARM

    yaVDR-Dokumentation (Ceterum censeo enchiridia esse lectitanda.)

  • Ich nutze auch Ubuntu, 12.04 - aber in der minimal-variante one gui, brauchen die bluez uitls nicht ein komplettes X11 ?
    ich habe es über die kommandozeile mit

    Code
    hid --connect xx:xx:xx:xx:xx:xx

    hin bekommen, aber wenn ich die tastatur aus und wieder an mache, gibts keinen reconnect... :(

  • brauchen die bluez uitls nicht ein komplettes X11 ?


    Schau dir die Paketabhängigkeiten an - ich sehe da nichts vom X-Server - Ich nutze das an einem yaVDR (der hat zwar Openbox, aber AFAIK ist das keine Voraussetzung).
    Du kannst ja einfach mal nachsehen, was er nachziehen will, wenn du versuchst bluez und bluez-utils zu installieren...

    Meine VDRs

    VDR 1: Point of View Ion-330-1, 2x Sundtek MediaTV Pro (DVB-C), Atric IR-Einschalter Rev.5, Ubuntu 18.04 (yavdr-ansible)
    VDR 2: Acer Revo 3610, Pinnacle PCTV SAT 452e, Medion X10, yaVDR 0.6
    VDR 3: Intel DH67BL, Celeron 540, 4 GB Ram, POV Geforce GT 1030, Ubuntu 18.04 (yavdr-ansible), VDR 2.4.1, CIR-Empfänger
    Client 1: Raspberry Pi 2, Arch Linux ARM, VDR 2.3.8
    vdr-epg-daemon auf Cubietruck mit 32 GB SSD, Arch Linux ARM

    yaVDR-Dokumentation (Ceterum censeo enchiridia esse lectitanda.)

  • und wie realisierst du da den auto-reconnect?


    Eigentlich indem ich eine Taste auf der FB drücke - ich hoffe das klappt bei dir auch

    Ach ja in der /etc/bluetooth/input.conf kann man den Idle-Timeout für die Verbindung angeben.

    Meine VDRs

    VDR 1: Point of View Ion-330-1, 2x Sundtek MediaTV Pro (DVB-C), Atric IR-Einschalter Rev.5, Ubuntu 18.04 (yavdr-ansible)
    VDR 2: Acer Revo 3610, Pinnacle PCTV SAT 452e, Medion X10, yaVDR 0.6
    VDR 3: Intel DH67BL, Celeron 540, 4 GB Ram, POV Geforce GT 1030, Ubuntu 18.04 (yavdr-ansible), VDR 2.4.1, CIR-Empfänger
    Client 1: Raspberry Pi 2, Arch Linux ARM, VDR 2.3.8
    vdr-epg-daemon auf Cubietruck mit 32 GB SSD, Arch Linux ARM

    yaVDR-Dokumentation (Ceterum censeo enchiridia esse lectitanda.)

    Edited once, last by seahawk1986 (July 16, 2012 at 10:48 AM).

  • You can use bluez-utils (see http://www.yavdr.org/documentation/….html#bluetooth or for the english readers: http://www.yavdr.org/documentation/….html#bluetooth).
    This should basically be usable on any system with bluez-utils.

    Meine VDRs

    VDR 1: Point of View Ion-330-1, 2x Sundtek MediaTV Pro (DVB-C), Atric IR-Einschalter Rev.5, Ubuntu 18.04 (yavdr-ansible)
    VDR 2: Acer Revo 3610, Pinnacle PCTV SAT 452e, Medion X10, yaVDR 0.6
    VDR 3: Intel DH67BL, Celeron 540, 4 GB Ram, POV Geforce GT 1030, Ubuntu 18.04 (yavdr-ansible), VDR 2.4.1, CIR-Empfänger
    Client 1: Raspberry Pi 2, Arch Linux ARM, VDR 2.3.8
    vdr-epg-daemon auf Cubietruck mit 32 GB SSD, Arch Linux ARM

    yaVDR-Dokumentation (Ceterum censeo enchiridia esse lectitanda.)

    Edited once, last by seahawk1986 (November 22, 2012 at 6:30 PM).

  • Why should it? It's just a tool collection dealing with bluetooth. And bluez doesn't need X at all, too:

    Code
    ~$ apt-cache showpkg bluez
    [...]
    Dependencies: 
    4.98-2ubuntu7 - libc6 (2 2.15) libcap-ng0 (0 (null)) libdbus-1-3 (2 1.1.1) libglib2.0-0 (2 2.28.0) libreadline6 (2 6.0) libudev0 (2 147) libusb-0.1-4 (2 2:0.1.12) upstart-job (0 (null)) module-init-tools (0 (null)) udev (2 170-1) lsb-base (0 (null)) dbus (0 (null)) python-dbus (0 (null)) dpkg (2 1.15.7.2) bluez-audio (1 3.36-3) bluez-audio:i386 (1 3.36-3) bluez-utils (1 3.36-3) bluez-utils:i386 (1 3.36-3) udev (3 170-1) udev:i386 (3 170-1) bluez-audio (1 3.36-3) bluez-audio:i386 (1 3.36-3) bluez-input (0 (null)) bluez-input:i386 (0 (null)) bluez-network (0 (null)) bluez-network:i386 (0 (null)) bluez-serial (0 (null)) bluez-serial:i386 (0 (null)) bluez-utils (1 3.36-3) bluez-utils:i386 (1 3.36-3) udev (3 170-1) udev:i386 (3 170-1) bluez:i386 (0 (null))


    http://paste.ubuntu.com/1379020/

    Code
    ~$ apt-cache showpkg bluez-utils
    [...]
    Dependencies: 
    4.98-2ubuntu7 - bluetooth (0 (null))


    http://paste.ubuntu.com/1379023/

    Meine VDRs

    VDR 1: Point of View Ion-330-1, 2x Sundtek MediaTV Pro (DVB-C), Atric IR-Einschalter Rev.5, Ubuntu 18.04 (yavdr-ansible)
    VDR 2: Acer Revo 3610, Pinnacle PCTV SAT 452e, Medion X10, yaVDR 0.6
    VDR 3: Intel DH67BL, Celeron 540, 4 GB Ram, POV Geforce GT 1030, Ubuntu 18.04 (yavdr-ansible), VDR 2.4.1, CIR-Empfänger
    Client 1: Raspberry Pi 2, Arch Linux ARM, VDR 2.3.8
    vdr-epg-daemon auf Cubietruck mit 32 GB SSD, Arch Linux ARM

    yaVDR-Dokumentation (Ceterum censeo enchiridia esse lectitanda.)

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!