LE8 Panasonic Bluetooth Remote

Panasonic N2QBYA000011 Touch Pad Controllers-l1600

bcm20733a2kml1g

IMG_20180903_175446.jpg

inside bluetoothctl:

Device 00:1C:FD:7E:F1:68
Name: Panasonic Touch Pad Controller 2014
Alias: Panasonic Touch Pad Controller 2014
Class: 0x20258c
Icon: input-mouse
Paired: yes
Trusted: yes
Blocked: no
Connected: yes
LegacyPairing: no
UUID: Service Discovery Serve.. (00001000-0000-1000-8000-00805f9b34fb)
UUID: Human Interface Device… (00001124-0000-1000-8000-00805f9b34fb)
UUID: PnP Information (00001200-0000-1000-8000-00805f9b34fb)
Modalias: usb:v0A5Cp8502d011B

[CHG] Device 00:1C:FD:7E:F1:68 Class: 0x20058c
[CHG] Device 00:1C:FD:7E:F1:68 Icon: input-mouse
[CHG] Device 00:1C:FD:7E:F1:68 Connected: yes

dmesg:

hid-generic 0005:0A5C:8502.0005: unknown main item tag 0x0
hid-generic 0005:0A5C:8502.0005: hidraw3: BLUETOOTH HID v1.1b Device [Panasonic Touch Pad Controller 2014] on 34:68:95:4b:19:f2

udevadm monitor -p

KERNEL[12102.373531] add /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2.1/1-2.1:1.0/bluetooth/hci0/hci0:21 (bluetooth)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2.1/1-2.1:1.0/bluetooth/hci0/hci0:21
DEVTYPE=link
SEQNUM=2674
SUBSYSTEM=bluetooth

UDEV [12102.375235] add /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2.1/1-2.1:1.0/bluetooth/hci0/hci0:21 (bluetooth)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2.1/1-2.1:1.0/bluetooth/hci0/hci0:21
DEVTYPE=link
SEQNUM=2674
SUBSYSTEM=bluetooth
SYSTEMD_ALIAS=/sys/subsystem/bluetooth/devices/hci0:21
SYSTEMD_WANTS=bluetooth.target
TAGS=:systemd:
USEC_INITIALIZED=12102375008

KERNEL[12102.567887] add /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2.1/1-2.1:1.0/bluetooth/hci0/hci0:21/0005:0A5C:8502.000A (hid)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2.1/1-2.1:1.0/bluetooth/hci0/hci0:21/0005:0A5C:8502.000A
HID_ID=0005:00000A5C:00008502
HID_NAME=Panasonic Touch Pad Controller 2014
HID_PHYS=34:68:95:4b:19:f2
HID_UNIQ=00:1c:fd:7e:f1:68
MODALIAS=hid:b0005g0001v00000A5Cp00008502
SEQNUM=2675
SUBSYSTEM=hid

KERNEL[12102.568210] add /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2.1/1-2.1:1.0/bluetooth/hci0/hci0:21/0005:0A5C:8502.000A/hidraw/hidraw3 (hidraw)
ACTION=add
DEVNAME=/dev/hidraw3
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2.1/1-2.1:1.0/bluetooth/hci0/hci0:21/0005:0A5C:8502.000A/hidraw/hidraw3
MAJOR=245
MINOR=3
SEQNUM=2676
SUBSYSTEM=hidraw

UDEV [12102.569503] add /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2.1/1-2.1:1.0/bluetooth/hci0/hci0:21/0005:0A5C:8502.000A (hid)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2.1/1-2.1:1.0/bluetooth/hci0/hci0:21/0005:0A5C:8502.000A
DRIVER=hid-generic
HID_ID=0005:00000A5C:00008502
HID_NAME=Panasonic Touch Pad Controller 2014
HID_PHYS=34:68:95:4b:19:f2
HID_UNIQ=00:1c:fd:7e:f1:68
MODALIAS=hid:b0005g0001v00000A5Cp00008502
SEQNUM=2675
SUBSYSTEM=hid
USEC_INITIALIZED=12102569236

UDEV [12102.570328] add /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2.1/1-2.1:1.0/bluetooth/hci0/hci0:21/0005:0A5C:8502.000A/hidraw/hidraw3 (hidraw)
ACTION=add
DEVNAME=/dev/hidraw3
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2.1/1-2.1:1.0/bluetooth/hci0/hci0:21/0005:0A5C:8502.000A/hidraw/hidraw3
MAJOR=245
MINOR=3
SEQNUM=2676
SUBSYSTEM=hidraw
USEC_INITIALIZED=12102570231

hcitool info 00:1C:FD:7E:F1:68

Requesting information …
BD Address: 00:1C:FD:7E:F1:68
Device Name: Panasonic Touch Pad Controller 2014
LMP Version: 3.0 (0x5) LMP Subversion: 0x2307
Manufacturer: Broadcom Corporation (15)
Features page 0: 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00

Features page 1: 0xbf 0x06 0x86 0x7e 0x98 0x1f 0x79 0x87

some datadumps:
databin

Advertisements

“May the Force be with You” Kodi Leia

updated Libreelec to

kodi Options: –standalone -fs
Arch: x86_64
Kernel: Linux 4.17.4 #1 SMP Wed Jul 4 00:20:20 BST 2018
Release: LibreELEC devel-20180704001901-#0703-g6bd47f0

now with

skin.xperience1080 v6.99.300

Starting Kodi (18.0-ALPHA3 Git:f0dda3a). Platform: Linux x86 64-bit
NOTICE: Using Release Kodi x64 build
NOTICE: Kodi compiled Jul 4 2018 by GCC 8.1.0 for Linux x86 64-bit version 4.17.4 (266500)
NOTICE: Running on LibreELEC (Milhouse): devel-20180704001901-#0703-g6bd47f0 [Build #0703] 9.0, kernel: Linux x86 64-bit version 4.17.4
NOTICE: FFmpeg version/source: 4.0-Kodi
NOTICE: Host CPU: Intel(R) Pentium(R) CPU N3540 @ 2.16GHz, 4 cores available

ol’ Titan Skin broke ’cause of
NOTICE: Skin Helper Widgets --> Backgroundservice started

skin.titan.leiabeta v3.8.4
script.skin.helper.service v1.1.24

MacOS Spotify/Youtube Airplay

Workaround for stopping Audio Playback on MacOS 10.12.6, Firefox 59.0.2 (64-Bit) and Shairport Server on Libreelec 8.2.4 (Generic.x86_64).

keep Preference Pane/ Systemeinstellungen open

….it doesn’t matter, if u’re on audiosettings (“alt+Mute” or “alt+Vol+” or “alt+Vol-“); it looks as if keeping the Pane open forces MacOS to stay on Airplay and not to switch back to integrated speekers

Hyperion->Arduino Nano->TM1829

dmesg reveals

xhci_hcd 0000:00:14.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 3 comp_code 1

xhci_hcd 0000:00:14.0: Looking for event-dma 00000000773fe670 trb-start 00000000773fe680 trb-end 00000000773fe680 seg-start 00000000773fe000 seg-end 00000000773feff0

so it’s still working and i think, the Message is more or less old and happened since on Openelec/Libreelec

Intel N3540 Hickup

force Performance Govenor Speed Settings by adding following line to your autostart.sh to fix system freeze. to force turbo

echo performance | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor

CPU0: Intel(R) Pentium(R) CPU N3540 @ 2.16GHz (family: 0x6, model: 0x37, stepping: 0x8)

Bug 109051 – intel_idle.max_cstate=1 required to prevent crashes – Baytrail

didn’t work for me, so i disabled the intel_idle kernel extension via intel_idle.max_cstate=0

IBM Bug Description

dmesg |grep -i intel_idle

[ 0.000000] Command line: BOOT_IMAGE=/KERNEL boot=LABEL=System disk=LABEL=Storage quiet intel_idle.max_cstate=0
[ 0.000000] Kernel command line: root=/dev/ram0 rdinit=/init usbcore.autosuspend=-1 BOOT_IMAGE=/KERNEL boot=LABEL=System disk=LABEL=Storage quiet intel_idle.max_cstate=0
[ 0.918731] intel_idle: disabled

 

New System: Asus Aspire V11 N3530

Scraped a Netbook with a broken Touchscreen, so i took of the Screen, relocated the Webcam and WLAN Antennas, plugged in HDMI, made a Libreelec USB Stick and installed LibreELEC (official): 8.2.3 (Generic.x86_64) which worked right out of the box but i had some troubles installing hyperion, precisely starting hyperion. so here’s my autostart.sh:

set DISPLAY=0.0
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/storage/hyperion/bin
export PATH=$PATH:/storage/hyperion/bin
hyperiond /storage/.config/hyperion.config.json >/storage/logfiles/hyperion.z0mb1.log 2>&1 &
hyperiond /storage/.config/hyperion.espLight54.config.json > /storage/logfiles/hyperion.espLight54.log 2>&1 &
hyperion-x11 /storage/logfiles/hyperion-x11.log 2>&1 &

The sequence of hyperiond -> hyperion-x11 is relevant, else the x11 grabber wont connect to hyperiond via proto as in:

hyperion-x11:
version : V1.03.3 (brindosch-2fbbcff/2f01dfa-1495880388
build time: Jun 3 2017 02:06:03
PROTOCONNECTION INFO: Connecting to Hyperion: 127.0.0.1:19445
X11GRABBER INFO: Update of screen resolution: [0x0] => [1920×1200]
X11GRABBER INFO: Using XRender for grabbing
PROTOCONNECTION INFO: No connection to Hyperion: 127.0.0.1:19445

start hyperiond and the x11 grabber connects:

PROTOCONNECTION INFO: Connected to Hyperion: 127.0.0.1:19445

//i’m not sure about the set Display part, but it works in my case.

While moving, i realized, there’s no vcgencmd anymore, so my screensaver doesn’t work anymore. After 2 Days of researching i found the ToggleDPMS() builtin function.

change line 35 & 43 of the default.py

35:os.system('vcgencmd display_power 0')
43:os.system('vcgencmd display_power 1')

to

xbmc.executebuiltin('ToggleDPMS()')

doesnt work, line 43 won’t be executed, so no DPMS restore happens and i have to send a ToggleDPMS() manually…. Shell: kodi-send –action=”ToggleDPMS()” manually….

——————–XX WORk XX —————

… suspend:
grep . /sys/bus/usb/devices/*/power/wakeup

/sys/bus/usb/devices/1-2.1/power/wakeup:enabled
/sys/bus/usb/devices/1-2.2.1/power/wakeup:enabled
/sys/bus/usb/devices/1-2.2.2.4.3/power/wakeup:enabled
/sys/bus/usb/devices/1-2.2.2.4/power/wakeup:enabled
/sys/bus/usb/devices/1-2.2.2/power/wakeup:enabled
/sys/bus/usb/devices/1-2.2/power/wakeup:disabled
/sys/bus/usb/devices/1-2/power/wakeup:enabled
/sys/bus/usb/devices/usb1/power/wakeup:enabled
/sys/bus/usb/devices/usb2/power/wakeup:enabled

echo disabled |tee /sys/bus/usb/devices/*/power/wakeup
disables all wakeup caps from USB
echo enabled > /sys/bus/usb/devices/1-2.2.2.4.3/power/wakeup
enables just MY wireless Keyboard, to wakeup my System
add autostart.sh part and use suspend… but filesharing is offline too….

echo disabled |tee /sys/bus/usb/devices/*/power/wakeup 2>&1
echo enabled > /sys/bus/usb/devices/1-2.2.2.4.3/power/wakeup

KODI Debug Script

Simple script to toggle debug mode in KODI and tail the logfile. Exit via Interrupt (ctrl+c/^+c) executes the DebugToggle() action in KODI to terminates Debugmode.
#!/bin/bash
clean() {
kodi-send --host=localhost --port=9777 --action="ToggleDebug()"
exit 1
}
trap 'clean' INT
kodi-send --host=localhost --port=9777 --action="ToggleDebug()"
tail -f /storage/.kodi/temp/kodi.log

Kodi Auto Fullscreen

Add to

.kodi/addons/skin.titan/1080i/Custom_FullscreenMusic.xml

this line:

<visible>Player.HasAudio + Skin.HasSetting(FullscreenMusic) + IsEmpty(Window(10025).Property(PlayingBackgroundMedia)) + System.IdleTime(5) + Player.Playing</visible>

original:

<?xml version="1.0" encoding="UTF-8"?>
<window type="dialog" id="1118">
  <allowoverlay>no</allowoverlay>
  <onload condition="!Window.IsActive(visualisation)">FullScreen</onload>
  <visible>Player.HasAudio + Skin.HasSetting(FullscreenMusic) + String.IsEmpty(Window(10025).Property(PlayingBackgroundMedia))</visible>
  <controls></controls>
</window>

this should work on every skin in KODI, you prob have to customize the settings “Skin.HasSetting” and the window ids.