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

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

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 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.

OSX & Samba… hate-it! but…

there’s a little workaround…

The Situation: all my music is stored on a Openelec Mediasystem and when i want to edit the ID3Tag or copy to my Phone, i always have to use the samba share on OE… it always would take “hours” to navigate through directory, ’cause every folder takes like 5mins to load, except now, you rather expect what is inside.

i started organizing my music though iTunes, meaning ./Artist/Album/[Number] [NAME].mp3

so, i press “apple+shift+g” to navigate to a folder and when inside the musicfolder, enter the artistname, and then the folder appears; the best, it’s case insensitive…. following inside the artistfolder “apple+shift+g” to navigate to the album, or the “Unknown Album” folder and so on. it forces finder to reload the content, meaning looking for a file is possible too; just “go-to folder” “01” and finder will be forced to load the contend.

LibreELEC, OpenELEC experience

After nearly a year after moving from OE to LE, i moved back. I Don’t really know, if there’s a real difference, except LE still uses lirc or if it’s just a newly built system.

i’m using

  • OE8.0.3(official)
  • Titan Beta Skin
  • 3X0DU5 😉
  • 3 Instances of Hyperion ESP01w/ws2812b and Arduinow/TM1829 and SPIw/ws2812b plus forwarder