hwdb: add PLUTO SDR (#37471)

The goal of this PR is to replace the rules in
76aa80a6d8.

The original rules file have some rules for a device that is now
deprecated and so, are not part of this change. AFAIU, 'plugdev' is also
a thing of the past and we now use 'uaccess' which should be given to
all ID_SOFTWARE_RADIO devices. So yeah, hopefully what I have here is
equivalent to the orginal .rules.

The request for this was done here:
https://github.com/analogdevicesinc/plutosdr-fw/issues/101
This commit is contained in:
Yu Watanabe
2025-05-15 20:19:09 +09:00
committed by GitHub
2 changed files with 10 additions and 0 deletions

View File

@@ -35,3 +35,12 @@ usb:v1D50p6066*
# bladeRF 2.0 micro
usb:v2CF0p5250*
ID_SOFTWARE_RADIO=1
# ADI pluto SDR
usb:v0456pB673*
ID_SOFTWARE_RADIO=1
ID_MM_DEVICE_IGNORE=1
# ADI pluto DFU
usb:v0456pB674*
ID_SOFTWARE_RADIO=1

View File

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