Themabewertung:
  • 0 Bewertung(en) - 0 im Durchschnitt
  • 1
  • 2
  • 3
  • 4
  • 5
Changing UDEV rules in LibreELEC
#1
Here had an issue where the IBus interface and TPMS interface are /dev/ttyUSB0 and /dev/ttyUSB1

Every other new boot time the two devices would switch making the IBus interface not work.

Here is the fix so it boots up correctly every time.

Note you cannot change system files in LibreELEC as they are read only under root.

First found the device ID typing

Code:
udevadm info --name=/dev/ttyUSB0 --attribute-walk

Typically on Linux you create a file called /etc/udev/rules.d/99-usb-serial.rules

which is:

KERNEL=="ttyUSB*", ATTRS{idVendor}=="10c4", SYMLINK+="IBUS"

Call the symlink anything you want.

The rule though resides here:

BMW-LibreELEC:/dev # cd /storage/.config

BMW-LibreELEC:~/.config # ls
aacs                modules-load.d      sysctl.d
boot.status          procps              system.d
hosts.conf          pulse                timesyncd.conf.d
htop                pulse-daemon.conf.d  tmpfiles.d
hwdb.d              rc_keymaps          udev.rules.d
iptables            rc_maps.cfg.sample  wireguard
logind.conf.d        samba.conf.sample
modprobe.d          sleep.conf.d

BMW-LibreELEC:~/.config # cd udev.rules.d
BMW-LibreELEC:~/.config/udev.rules.d # ls
99-usb-serial.rules  README


This file is the RW configuration file.  Reboot and check to see the symlink under /dev

Then configure the Kodi IBus interface to the symlink.

Tested all to be fine now.

I also purchased a commercial 12VDC style USB hub mostly to power all of the devices on the USB bus.

Might not need it now.

1 - IBus interface
2 - TPMS interface
3 - active USB extension
4 - Logitech WLAN stick
5 - TP-Link Microrouter
- Automator 
E46/E83 - CIS-IBus (2) - N3050 CPU 8Gb Ram (2) - LibreELEC (official): 9.2.0 - Confluence-BMW - IBus Communicator
E46 updates ==> Updated radio - 2004 model, newer ULF, MKIV.


[Bild: zF6KjSo.jpg][Bild: ovOKLZI.jpg]
Zitieren
#2
thx for this
IBusCommunicator:
Image <> Kodi Addon

[Bild: usersignaturpic-14941mspx.jpg]
Zitieren


Gehe zu:


Benutzer, die gerade dieses Thema anschauen: 1 Gast/Gäste