Re: How to make Modem Manager ignore non-modem USB serial devices?
- From: Paul Stoffregen <paul pjrc com>
- To: Dan Williams <dcbw redhat com>
- Cc: networkmanager-list gnome org
- Subject: Re: How to make Modem Manager ignore non-modem USB serial devices?
- Date: Thu, 02 May 2013 11:52:00 -0700
On 04/26/2013 10:59 AM, Dan Williams wrote:
On Fri, 2013-04-26 at 05:01 -0700, Paul Stoffregen wrote:
What is the current recommended way to request the Modem Manager ignore
a USB serial device which is not a modem?
Until recently, this udev rule worked.
KERNEL=="ttyACM*", ATTRS{idVendor}=="16c0",
ATTRS{idProduct}=="04[789]?", MODE:="0666", ENV{ID_MM_DEVICE_IGNORE}="1"
I've had at least 3 users report problems which appear to be related to
newer versions of the Modem Manager apparently no longer respecting
ENV{ID_MM_DEVICE_IGNORE} and opening the device shortly after it enumerates.
From a quick look that rule should work, but remember you want to tag
the entire *USB device*, not just the serial port.
Yes, that was indeed the problem.
Thanks!
udev rules parsing
changes might also affect whether or not this works. In any case, run
'udevadm control --export-db' and check whether the USB device parent of
the serial port actually has ID_MM_DEVICE_IGNORE defined.
Dan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]