Commit Graph
42 Commits
Author SHA1 Message Date
Aleksander Morgado cab81f679f blacklist: ignore default Linux USB Serial Gadget
Blacklist the default VID:PID for the Linux USB Serial Gadget in ACM
mode:

{LINUX}/drivers/usb/gadget/legacy/serial.c
  #define GS_VENDOR_ID       0x0525  /* NetChip */
  #define GS_CDC_PRODUCT_ID  0xa4a7  /* ... as CDC-ACM */

This should never be reused for real products by hardware
manufacturers, but anyway...

Patch actually ported from downstream Ubuntu:
https://bugs.launchpad.net/ubuntu/+source/modemmanager/+bug/1105352
2017-05-18 13:12:26 +02:00
Aleksander Morgado 650d230425 blacklist: add keyboard.io devices
See https://bugs.freedesktop.org/show_bug.cgi?id=85007#c5

Reported-by: Jesse Vincent <jesse@keyboard.io>
2017-05-10 14:26:30 +02:00
Maksim Salau d4e149c528 blacklist: add Analog Devices EVAL-ADXL362Z-DB
Signed-off-by: Maksim Salau <maksim.salau@gmail.com>
2017-04-24 20:45:17 -05:00
Maksim Salau 0ea4b09fd6 blacklist: add promotion boards from Renesas
Signed-off-by: Maksim Salau <maksim.salau@gmail.com>
2017-02-05 20:56:23 +01:00
Aleksander Morgado f20f2d0428 blacklist: add Analog PlutoSDR
Reported-by: Robin Getz <Robin.Getz@analog.com>
2017-01-31 00:44:21 +01:00
Carlo Lobrano 0bf4db6561 telit: blacklist LE866 flashing device
Moved blacklist code to 77-mm-usb-device-blacklist.rules as per code review
2016-12-12 10:55:04 +01:00
Sławomir Bocheński da2b0064ee blacklist: ignore Sigma Sport docking stations
These CDC ACM class devices are docking stations for Sigma Sport bike
computers. As they are sensitive to single byte commands, ModemManager
probing mechanism actually caused training data on attached bike
computer to be zeroed.

https://bugs.freedesktop.org/show_bug.cgi?id=96430
2016-10-24 13:07:50 +02:00
Daniele Palmas 2a499f5557 blacklist: add another Infineon flashloader device
This patch adds another Infineon flashloader device 0x8087/0x0801
to the blacklist

Reference to the kernel commit:
github.com/torvalds/linux/commit/f190fd92458da3e869b4e2c6289e2c617490ae53
2016-09-22 17:56:03 +02:00
Tabor Kelly 3d95a9863b blacklist: add blacklist udev rule for U-blox7 GPS/GLOSNASS USB dongle.
Signed-off-by: Tabor Kelly <t.kelly@trailtech.net>
2016-08-29 11:31:45 +02:00
Aleksander Morgado 1a213e3b62 udev: remove ENV{DEVTYPE}!="usb_device" rules
They're actually a subcase of SUBSYSTEM!="usb", which we apply just before.
2016-08-06 10:41:52 +02:00
Lubomir Rintel 30f60de7d3 blacklist: include some more Arduinos
All "2a03  dog hunter AG" devices seem to be Arduinos.

https://bugzilla.redhat.com/show_bug.cgi?id=1261040
2016-07-27 09:33:22 +02:00
Michael Farrell 6e7ff47109 proxmark3 is not a modem, blacklist it.
ModemManager locks the proxmark3 when it is connected. As it is not a modem,
ModemManager shouldn't be talking to it.

At present, the recommended action in the proxmark3 documentation is to
purge ModemManager to fix this issue.

Note that this vendor uses an unregistered USB device ID, so it is
instead matched by the manufacturer string.

References:
- http://store.ryscc.com/blogs/news/45802433
- http://www.proxmark.org/forum/viewtopic.php?id=1759
2016-02-20 16:30:01 +01:00
Aleksander Morgado 0e7fc1dff9 blacklist: include MediaTek preloader
https://bugs.launchpad.net/ubuntu/+source/modemmanager/+bug/1473246
2015-08-25 18:53:30 +02:00
Dan Williams ad2c2ad14c blacklist: ignore POSNET POLSKA S.A. devices 2015-07-02 10:30:58 -05:00
Aleksander Morgado e09463dfb2 blacklist: ignore Palm M5xx devices
https://bugs.freedesktop.org/show_bug.cgi?id=91032
2015-06-19 12:20:21 -07:00
Aleksander Morgado cc5f731102 blacklist: ignore all devices from Access Interface Solutions 2015-04-10 12:45:33 +02:00
Daniele Palmas 61ced36f83 Adding IMC flashing device in blacklist 2015-03-06 16:23:07 +01:00
Dan Williams 086a10ede0 blacklist: ignore PalmOS devices driven by 'visor'
MM probing appears to make 'visor' module die; and anyway
most of the devices driven by 'visor' are not phones, and
of the 3 that are phones they are so old (2002 - 2005 era)
that nobody is likely using them for dialup anymore.

http://www.spinics.net/lists/linux-usb/msg120483.html
2015-01-26 17:05:39 -06:00
Dan Williams 046d9141c4 blacklist: ignore GW Instek AFG-2225 arbitrary waveform generator 2014-10-28 11:46:51 -05:00
Bjørn Mork 239ab6ca6b blacklist: ignore Infineon flashloader device
A device like this shows up briefly while the Sierra EM7345 is booting:

P:  Vendor=8087 ProdID=0716 Rev= 0.00
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=(none)
E:  Ad=83(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms

We do have a driver identifying this as an "Infineon Flashloader"
device.  It is not a modem in any case, and should be ignored.

Signed-off-by: Bjørn Mork <bjorn@mork.no>
2014-06-02 16:42:25 +02:00
David (Pololu) 09d92ef333 blacklist: All devices from Pololu Corporation except some possible future products.
We make many USB virtual COM port devices, none of which are modems.
ModemManager's automatic attempts to access those devices can cause
problems.

That might change in the future, so we have left two potential
future product IDs off of the blacklist.
2014-04-02 08:54:17 +02:00
Aleksander Morgado e9cae166cc blacklist: ignore empiriKit science lab controller device 2014-03-24 16:24:48 +01:00
Julian Oes 9447527c35 blacklist: ignore all devices from VID 0x26a, no modems from 3D Robotics 2014-02-04 12:11:59 +01:00
Aleksander Morgado 48585c250b udev: apply udev rules upon 'move' events as well
Otherwise, we may end up losing the tags we expect if the device gets a 'move'
event just after the initial 'add'.
2014-01-26 19:33:45 +01:00
Aleksander Morgado 6a26ad7b53 blacklist: include the whole Openmoko VID 2013-10-30 16:12:06 +01:00
Dan Williams c431fb8208 blacklist/greylist: add more GPS devices (rh #1023234)
Attempt to blacklist entire drivers that we know aren't modems,
and add a sprinkling of specific devices too.
2013-10-25 16:25:14 -05:00
Aleksander Morgado 0dd93549a1 blacklist: add Bluegiga BLE112B
https://bugs.launchpad.net/ubuntu/+source/modemmanager/+bug/1229748
2013-09-24 16:50:59 +02:00
Aleksander Morgado 2f7ec3df8c blacklist: add some missing commas 2013-09-24 16:49:13 +02:00
Arun Raghavan 6774d93aca blacklist: Add Adafruit Flora
The official PID is 8004, but I've seen the device sometimes turn up
with a 0004, so adding both to be safe.

https://bugzilla.gnome.org/show_bug.cgi?id=708644
2013-09-23 21:39:15 +02:00
Dan Williams 55fdc76a56 blacklist: move Arduino USB/Serial adapter to greylist
It's a generic adapter, should be in the manual-probe-only
greylist instead of the blacklist.
2013-04-08 11:09:46 -05:00
Dan Williams 660d59ab44 blacklist: ignore a few more Arduinos (rh #861620) 2013-04-08 10:54:47 -05:00
Ben Chan 2c3e2bd457 serial,blacklist: fix file mode (0755 -> 0644) 2013-04-04 19:04:22 +02:00
ori inbar 84e68cd4cd altair-lte: initial altair lte plugin 2013-04-04 09:39:37 +02:00
Aleksander Morgado aa84ce98f7 blacklist: ignore Arduino devices
https://bugs.launchpad.net/bugs/910736
https://bugs.launchpad.net/bugs/1153632
2013-03-20 21:36:34 +01:00
Aleksander Morgado b64fc4b588 blacklist: ignore West Mountain radio devices
https://bugs.launchpad.net/bugs/1154654
2013-03-13 17:06:10 +01:00
Aleksander Morgado 8450b7b2a3 core: don't automatically probe ports of USB<->serial adapters
We should not automatically probe ports marked as coming from USB to serial
adapters, as we're not sure that a modem is behind the adapter. Still, let the
user request a manual scan and have these devices probed in that case.

https://bugzilla.gnome.org/show_bug.cgi?id=647556
https://bugzilla.gnome.org/show_bug.cgi?id=691076
2013-03-05 19:41:08 +01:00
Aleksander Morgado 763e207e9c blacklist: ignore all devices from VID 0x0617
No modems from the Swiss Federal Institute of Technology.

https://bugzilla.gnome.org/show_bug.cgi?id=691384
2013-01-09 10:05:15 +01:00
Anton Blanchard 0380045aac ModemManager: Blacklist Dangerous Prototypes Bus Pirate v4
The Bus Pirate v4 presents itself as a CDC ACM device which
ModemManager attempts to configure. This results in a range
of confusing issues because it injects a bunch of AT commands
over whatever is going on at the time.

Firmware updates were failing at random points and avrdude
failed to work at all. Blacklisting it fixed my issues.
2012-12-23 16:55:27 +01:00
Aleksander Morgado 191eabe952 blacklist: skip probing Atmel samba bootloader
https://bugzilla.gnome.org/show_bug.cgi?id=688213
2012-11-13 07:42:04 +01:00
Aleksander Morgado e123c7d5b4 blacklist: skip probing SheevaPlug serial ports
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=686217
2012-10-17 15:22:29 +02:00
Dan Williams 12f1b351e8 rules: blacklist some unlikely USB serial dongles (rh #544121) 2011-01-24 12:39:13 -06:00
Dan Williams 387b64a92b core: allow blacklisting various devices (rh #544121) (bgo #608022) 2010-04-09 19:22:19 -07:00