<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/src/etc/udev, branch 1.4.0</title>
<subtitle>VyOS command definitions, scripts, and utilities (mirror of https://github.com/vyos/vyos-1x.git)
</subtitle>
<id>https://git.amelek.net/vyos/vyos-1x.git/atom?h=1.4.0</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-1x.git/atom?h=1.4.0'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/'/>
<updated>2023-11-07T16:41:06+00:00</updated>
<entry>
<title>T5706: Add custom systemd udev rules to exclude dynamic interfaces</title>
<updated>2023-11-07T16:41:06+00:00</updated>
<author>
<name>Viacheslav Hletenko</name>
<email>v.gletenko@vyos.io</email>
</author>
<published>2023-11-04T12:15:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=b6c471fd617d26fbd3abf767bc26c0080b096470'/>
<id>urn:sha1:b6c471fd617d26fbd3abf767bc26c0080b096470</id>
<content type='text'>
Add custom systemd udev rules to exclude some regular and dynamic
interfaces from "systemd-sysctl" calls.
It fixes high CPU utilization (100%) as we have a lot of calls per
interface for dynamic interfaces like ppp|ipoe|sstp etc.

/lib/systemd/systemd-udevd should not be called for those interfaces

(cherry picked from commit ca9cc86233520eb495c17602bf7a110094c1d8e7)
</content>
</entry>
<entry>
<title>interface-names: T3871: Add temporary interface names to properly renaming</title>
<updated>2021-11-09T19:09:40+00:00</updated>
<author>
<name>DmitriyEshenko</name>
<email>dmitriy.eshenko@vyos.io</email>
</author>
<published>2021-11-08T17:20:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=ee02ca93ec7be75edd0ec4c0e07fe5d51a45edc6'/>
<id>urn:sha1:ee02ca93ec7be75edd0ec4c0e07fe5d51a45edc6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>console: udev: T3954: adjust rule script to new systemd-udev version</title>
<updated>2021-10-31T12:48:22+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2021-10-31T12:48:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=513e951f3e1358ec6ff5424d03e8f4e9aa7c3388'/>
<id>urn:sha1:513e951f3e1358ec6ff5424d03e8f4e9aa7c3388</id>
<content type='text'>
We can no longer use bash veriable string code vor string manipulation. Move to
a more robust "cut" implementation.
</content>
</entry>
<entry>
<title>interface-names: T3869: update udev rules</title>
<updated>2021-09-30T12:47:33+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2021-09-27T00:41:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=bfc5d6a1a48578a47369bde40388ec02bcedfa33'/>
<id>urn:sha1:bfc5d6a1a48578a47369bde40388ec02bcedfa33</id>
<content type='text'>
</content>
</entry>
<entry>
<title>udev: T2490: fix substitution error reported by udev</title>
<updated>2021-08-21T06:52:43+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2021-08-21T06:52:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=fa07bc3b87be142572124a2ce5c077cb42272418'/>
<id>urn:sha1:fa07bc3b87be142572124a2ce5c077cb42272418</id>
<content type='text'>
</content>
</entry>
<entry>
<title>wwan: T3611: switch to qmi/mbim mode</title>
<updated>2021-06-10T17:12:37+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2021-06-10T17:11:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=011f8ede55311e08d42f5afed9a2e8c44fd6d301'/>
<id>urn:sha1:011f8ede55311e08d42f5afed9a2e8c44fd6d301</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Revert "udev: T3063: drop special WWAN rule for Sierra Wireless cards"</title>
<updated>2021-03-18T16:54:32+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2021-03-18T16:53:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=89bf6bc1b6c1194ff66d5b80993206b5b11c7842'/>
<id>urn:sha1:89bf6bc1b6c1194ff66d5b80993206b5b11c7842</id>
<content type='text'>
Turns out we still need it, else a MC7710 card won't work on an APU4 device.

This reverts commit f9e0fb6bffd41c143ff5454c3b73cca4a588ca86.
</content>
</entry>
<entry>
<title>udev: import rule file from vyatta-cfg-system</title>
<updated>2021-01-20T19:48:58+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2021-01-20T19:48:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=511c127832667f5db218cf803ad88355f873d399'/>
<id>urn:sha1:511c127832667f5db218cf803ad88355f873d399</id>
<content type='text'>
</content>
</entry>
<entry>
<title>udev: T3063: drop special WWAN rule for Sierra Wireless cards</title>
<updated>2020-11-12T21:03:05+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2020-11-12T21:03:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=f9e0fb6bffd41c143ff5454c3b73cca4a588ca86'/>
<id>urn:sha1:f9e0fb6bffd41c143ff5454c3b73cca4a588ca86</id>
<content type='text'>
This is no longer required after commit for the VyOS Kernel configuration
https://github.com/vyos/vyos-build/commit/3fa7fe6926a538a8b4f25
</content>
</entry>
<entry>
<title>udev: T2490: add persistent USB device files</title>
<updated>2020-06-07T09:55:14+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2020-05-29T20:22:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=1fc4aadb5d87643d6e64805b19a5a9e7671737ba'/>
<id>urn:sha1:1fc4aadb5d87643d6e64805b19a5a9e7671737ba</id>
<content type='text'>
During testing it was discovered that on 5 out of 10 reboots the USB
enumeration/mapping from physical port to /dev/ttyUSB is different. The root
cause is that it's a FIFO so first found/loaded driver module will be assigned
ttyUSB0.

This mixed up the serial interfaces of my FTDI chips and my connected Sierra
Wireless MC7710 card which was no longer functioning as it now was mapped to
a different USB interface.

The solution is a udev rule which persistently maps the USB-tree-device to a
device file in /dev. Wait? isn't this what /dev/serial/by-{id,path} is for?
Correct, it does the very same thing but the problem is as follows:

* by-path uses device file names which also incorporate the parent bus system,
  this results in "pci-0000:00:10.0-usb-0:2.4:1.0-port0"
* by-id will overwrite the assigned device symlink if a new USB device with the
  same name appears. This happens to some FTDI devices with no serial number
  programmed so the device added last wins and will be the only one in
  the by-id folder - cruel world!

This commit adds a new directory /dev/serial/by-bus which holds the following
device files (as example):

  $ ls -1 /dev/serial/by-bus/
  usb0b1.3p1.0
  usb0b1.3p1.2
  usb0b1.3p1.3
  usb0b2.4p1.0
  usb0b2.4p1.1
  usb0b2.4p1.2
  usb0b2.4p1.3
</content>
</entry>
</feed>
