1
0
mirror of https://github.com/systemd/systemd synced 2026-03-26 08:44:55 +01:00

Compare commits

...

3 Commits

Author SHA1 Message Date
Yu Watanabe
450f4ed58a
Add 82-net-auto-link-local.{hwdb,rules} to build system and add BMC USB-to-USB links to hwdb (#40006)
Using systems with ADLINK COM-HPC-ALT, ASRock Rack ALTRAD8UD-1L2T and
AMPONED8-2T/BCM boards, there's an issue due to the internal network
connection between the BMC and host, which runs over USB (i.e. Linux
running on the BMC configures a USB gadget ethernet device, with a link
local address).

With the default configuration on Ubuntu (I'm using 25.10),
NetworkManager repeatedly tries to get an address for the interface
using DHCP, resulting in an "Activation of network connection failed"
notification every minute or two.

Add 82-net-auto-link-local.hwdb and 82-net-auto-link-local.rules to the
build system and update 82-net-auto-link-local.hwdb to add the USB
device vendor/product pairs I've seen on the various systems I have with
Ampere Altra and AmpereOne CPUs.
2025-12-06 09:24:55 +09:00
Rebecca Cran
06c794e316 hwdb: Add BMC USB-to-USB link devices to 82-net-auto-link-local.hwdb
Add BMC USB-to-USB Ethernet gadget devices found on ASRock Rack and
ADLINK boards containing Ampere Altra and AmpereOne CPUs to
82-net-auto-link-local.hwdb. Update 20-usb-vendor-model.hwdb with
devices which were missing.
2025-12-05 16:03:22 -07:00
Rebecca Cran
b159befeae hwdb,rules: add 82-net-auto-link-local.{hwdb,rules} to build
Update hwdb.d/meson.build and rules.d/meson.build to add the
82-net-auto-link-local.{hwdb,rules} files into the build. Commit
ec541c569bd19bbb81791139371111a9a7f1a3d8 in 2023 added the files
but didn't add them to the build system.
2025-12-05 16:03:22 -07:00
4 changed files with 10 additions and 1 deletions

View File

@ -10,3 +10,9 @@
usb:v067Bp25A1* usb:v067Bp25A1*
usb:v067Bp27A1* usb:v067Bp27A1*
ID_NET_AUTO_LINK_LOCAL_ONLY=1 ID_NET_AUTO_LINK_LOCAL_ONLY=1
# BMC USB-to-USB links for AMI MegaRAC and OpenBMC
usb:v1D6Bp0103*
usb:v0525pA4A2*
usb:v046BpFFB0*
ID_NET_AUTO_LINK_LOCAL_ONLY=1

View File

@ -38,7 +38,8 @@ hwdb_files_test = files(
'70-software-radio.hwdb', '70-software-radio.hwdb',
'70-sound-card.hwdb', '70-sound-card.hwdb',
'70-touchpad.hwdb', '70-touchpad.hwdb',
'80-ieee1394-unit-function.hwdb') '80-ieee1394-unit-function.hwdb',
'82-net-auto-link-local.hwdb')
if conf.get('ENABLE_HWDB') == 1 if conf.get('ENABLE_HWDB') == 1
auto_suspend_rules = custom_target( auto_suspend_rules = custom_target(

View File

@ -180,6 +180,7 @@ def property_grammar():
('ID_HARDWARE_WALLET', Or((Literal('0'), Literal('1')))), ('ID_HARDWARE_WALLET', Or((Literal('0'), Literal('1')))),
('ID_SOFTWARE_RADIO', Or((Literal('0'), Literal('1')))), ('ID_SOFTWARE_RADIO', Or((Literal('0'), Literal('1')))),
('ID_MM_DEVICE_IGNORE', Or((Literal('0'), Literal('1')))), ('ID_MM_DEVICE_IGNORE', Or((Literal('0'), Literal('1')))),
('ID_NET_AUTO_LINK_LOCAL_ONLY', Or((Literal('0'), Literal('1')))),
('POINTINGSTICK_SENSITIVITY', INTEGER), ('POINTINGSTICK_SENSITIVITY', INTEGER),
('ID_INPUT_JOYSTICK_INTEGRATION', Or(('internal', 'external'))), ('ID_INPUT_JOYSTICK_INTEGRATION', Or(('internal', 'external'))),
('ID_INPUT_TOUCHPAD_INTEGRATION', Or(('internal', 'external'))), ('ID_INPUT_TOUCHPAD_INTEGRATION', Or(('internal', 'external'))),

View File

@ -33,6 +33,7 @@ rules = [
'80-net-setup-link.rules', '80-net-setup-link.rules',
'81-net-bridge.rules', '81-net-bridge.rules',
'81-net-dhcp.rules', '81-net-dhcp.rules',
'82-net-auto-link-local.rules',
'90-image-dissect.rules', '90-image-dissect.rules',
'90-iocost.rules', '90-iocost.rules',
)], )],