How to bind arduino as a fix block-device — /dev/ttyACM0?How to bind USB device under a static name?Umount...

To exponential digit growth and beyond!

Possibility of faking someone's public key

Visual Block Mode edit with sequential number

Moons and messages

What is Orcus doing with Mind Flayers in the art on the last page of Volo's Guide to Monsters?

Did significant numbers of Japanese officers escape prosecution during the Tokyo Trials?

Goldfish unresponsive, what should I do?

How to write numbers and percentage?

Complications of displaced core material?

ifconfig shows UP while ip link shows DOWN

Why is 'additive' EQ more difficult to use than 'subtractive'?

Why did Drogon spare this character?

Can diplomats be allowed on the flight deck of a commercial European airline?

Why A=2 and B=1 in the call signs for Spirit and Opportunity?

Are runways booked by airlines to land their planes?

Physical only checkdb is failing, but full one is completed successfully

Why do the i8080 I/O instructions take a byte-sized operand to determine the port?

Is it safe to redirect stdout and stderr to the same file without file descriptor copies?

Knight's Tour on a 7x7 Board starting from D5

What is the use case for non-breathable waterproof pants?

What is the purpose of the yellow wired panels on the IBM 360 Model 20?

Are there historical examples of audiences drawn to a work that was "so bad it's good"?

If I arrive in the UK, and then head to mainland Europe, does my Schengen visa 90 day limit start when I arrived in the UK, or mainland Europe?

Have any humans orbited the Earth in anything other than a prograde orbit?



How to bind arduino as a fix block-device — /dev/ttyACM0?


How to bind USB device under a static name?Umount device after bind mounting directories: is it safe?Unable to connect to serial device; no /dev/ttySxHow to bind USB device under a static name?Prevent USB storage from using different device on resetHow would/do I access/program a remote Arduino through SSH via an intermediate computer?How can I find the chipset of my Arduino board?How to find Arduino connected to FreeBSD?USB ports keep resetting on LinuxHow to enable all users to access arduino card?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







2















I want to bind my Arduino Mega as /dev/ttyACM0. Sometimes, it turns out to be /dev/ttyACM0 and sometimes as /dev/ttyACM1.



I have taken help from this question and this tutorial



Someone please help me to achieve that as there are only 2 entries in /etc/udev/rules.d :-




  1. 20-crystalhd.rules

  2. 98-kexec.rules


The output of udevadm info -a -p $(udevadm info -q path -n /dev/ttyACM0) :-




Udevadm info starts with the device specified by the devpath and then
walks up the chain of parent devices. It prints for every device
found, all possible attributes in the udev rules key format. A rule to
match, can be composed by the attributes of the device and the
attributes from one single parent device.




looking at device '/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.0/tty/ttyACM0':
KERNEL=="ttyACM0"
SUBSYSTEM=="tty"
DRIVER==""

looking at parent device '/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.0':
KERNELS=="2-1.5:1.0"
SUBSYSTEMS=="usb"
DRIVERS=="cdc_acm"
ATTRS{bInterfaceClass}=="02"
ATTRS{bmCapabilities}=="6"
ATTRS{bInterfaceSubClass}=="02"
ATTRS{bInterfaceProtocol}=="01"
ATTRS{bNumEndpoints}=="01"
ATTRS{supports_autosuspend}=="1"
ATTRS{bAlternateSetting}==" 0"
ATTRS{bInterfaceNumber}=="00"

looking at parent device '/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5':
KERNELS=="2-1.5"
SUBSYSTEMS=="usb"
DRIVERS=="usb"
ATTRS{bDeviceSubClass}=="00"
ATTRS{bDeviceProtocol}=="00"
ATTRS{devpath}=="1.5"
ATTRS{idVendor}=="2341"
ATTRS{speed}=="12"
ATTRS{bNumInterfaces}==" 2"
ATTRS{bConfigurationValue}=="1"
ATTRS{bMaxPacketSize0}=="8"
ATTRS{busnum}=="2"
ATTRS{devnum}=="4"
ATTRS{configuration}==""
ATTRS{bMaxPower}=="100mA"
ATTRS{authorized}=="1"
ATTRS{bmAttributes}=="c0"
ATTRS{bNumConfigurations}=="1"
ATTRS{maxchild}=="0"
ATTRS{bcdDevice}=="0001"
ATTRS{avoid_reset_quirk}=="0"
ATTRS{quirks}=="0x0"
ATTRS{serial}=="55431313937351C05151"
ATTRS{version}==" 1.10"
ATTRS{urbnum}=="17"
ATTRS{ltm_capable}=="no"
ATTRS{manufacturer}=="Arduino (www.arduino.cc)"
ATTRS{removable}=="removable"
ATTRS{idProduct}=="0042"
ATTRS{bDeviceClass}=="02"

looking at parent device '/devices/pci0000:00/0000:00:1d.0/usb2/2-1':
KERNELS=="2-1"
SUBSYSTEMS=="usb"
DRIVERS=="usb"
ATTRS{bDeviceSubClass}=="00"
ATTRS{bDeviceProtocol}=="01"
ATTRS{devpath}=="1"
ATTRS{idVendor}=="8087"
ATTRS{speed}=="480"
ATTRS{bNumInterfaces}==" 1"
ATTRS{bConfigurationValue}=="1"
ATTRS{bMaxPacketSize0}=="64"
ATTRS{busnum}=="2"
ATTRS{devnum}=="2"
ATTRS{configuration}==""
ATTRS{bMaxPower}=="0mA"
ATTRS{authorized}=="1"
ATTRS{bmAttributes}=="e0"
ATTRS{bNumConfigurations}=="1"
ATTRS{maxchild}=="6"
ATTRS{bcdDevice}=="0000"
ATTRS{avoid_reset_quirk}=="0"
ATTRS{quirks}=="0x0"
ATTRS{version}==" 2.00"
ATTRS{urbnum}=="70"
ATTRS{ltm_capable}=="no"
ATTRS{removable}=="unknown"
ATTRS{idProduct}=="0024"
ATTRS{bDeviceClass}=="09"

looking at parent device '/devices/pci0000:00/0000:00:1d.0/usb2':
KERNELS=="usb2"
SUBSYSTEMS=="usb"
DRIVERS=="usb"
ATTRS{bDeviceSubClass}=="00"
ATTRS{bDeviceProtocol}=="00"
ATTRS{devpath}=="0"
ATTRS{idVendor}=="1d6b"
ATTRS{speed}=="480"
ATTRS{bNumInterfaces}==" 1"
ATTRS{bConfigurationValue}=="1"
ATTRS{bMaxPacketSize0}=="64"
ATTRS{authorized_default}=="1"
ATTRS{busnum}=="2"
ATTRS{devnum}=="1"
ATTRS{configuration}==""
ATTRS{bMaxPower}=="0mA"
ATTRS{authorized}=="1"
ATTRS{bmAttributes}=="e0"
ATTRS{bNumConfigurations}=="1"
ATTRS{maxchild}=="2"
ATTRS{bcdDevice}=="0310"
ATTRS{avoid_reset_quirk}=="0"
ATTRS{quirks}=="0x0"
ATTRS{serial}=="0000:00:1d.0"
ATTRS{version}==" 2.00"
ATTRS{urbnum}=="42"
ATTRS{ltm_capable}=="no"
ATTRS{manufacturer}=="Linux 3.10.0-123.13.2.el7.x86_64 ehci_hcd"
ATTRS{removable}=="unknown"
ATTRS{idProduct}=="0002"
ATTRS{bDeviceClass}=="09"
ATTRS{product}=="EHCI Host Controller"

looking at parent device '/devices/pci0000:00/0000:00:1d.0':
KERNELS=="0000:00:1d.0"
SUBSYSTEMS=="pci"
DRIVERS=="ehci-pci"
ATTRS{irq}=="23"
ATTRS{subsystem_vendor}=="0x104d"
ATTRS{broken_parity_status}=="0"
ATTRS{class}=="0x0c0320"
ATTRS{companion}==""
ATTRS{enabled}=="1"
ATTRS{consistent_dma_mask_bits}=="32"
ATTRS{dma_mask_bits}=="32"
ATTRS{local_cpus}=="000f"
ATTRS{device}=="0x1c26"
ATTRS{uframe_periodic_max}=="100"
ATTRS{msi_bus}==""
ATTRS{local_cpulist}=="0-3"
ATTRS{vendor}=="0x8086"
ATTRS{subsystem_device}=="0x9081"
ATTRS{numa_node}=="-1"
ATTRS{d3cold_allowed}=="1"

looking at parent device '/devices/pci0000:00':
KERNELS=="pci0000:00"
SUBSYSTEMS==""
DRIVERS==""


Where should I edit my entries in which files and how. Please explain in somewhat depth as I am much naive!!
Please help me establish this. It's already taking my mind and mood off.










share|improve this question
















bumped to the homepage by Community 3 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.






















    2















    I want to bind my Arduino Mega as /dev/ttyACM0. Sometimes, it turns out to be /dev/ttyACM0 and sometimes as /dev/ttyACM1.



    I have taken help from this question and this tutorial



    Someone please help me to achieve that as there are only 2 entries in /etc/udev/rules.d :-




    1. 20-crystalhd.rules

    2. 98-kexec.rules


    The output of udevadm info -a -p $(udevadm info -q path -n /dev/ttyACM0) :-




    Udevadm info starts with the device specified by the devpath and then
    walks up the chain of parent devices. It prints for every device
    found, all possible attributes in the udev rules key format. A rule to
    match, can be composed by the attributes of the device and the
    attributes from one single parent device.




    looking at device '/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.0/tty/ttyACM0':
    KERNEL=="ttyACM0"
    SUBSYSTEM=="tty"
    DRIVER==""

    looking at parent device '/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.0':
    KERNELS=="2-1.5:1.0"
    SUBSYSTEMS=="usb"
    DRIVERS=="cdc_acm"
    ATTRS{bInterfaceClass}=="02"
    ATTRS{bmCapabilities}=="6"
    ATTRS{bInterfaceSubClass}=="02"
    ATTRS{bInterfaceProtocol}=="01"
    ATTRS{bNumEndpoints}=="01"
    ATTRS{supports_autosuspend}=="1"
    ATTRS{bAlternateSetting}==" 0"
    ATTRS{bInterfaceNumber}=="00"

    looking at parent device '/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5':
    KERNELS=="2-1.5"
    SUBSYSTEMS=="usb"
    DRIVERS=="usb"
    ATTRS{bDeviceSubClass}=="00"
    ATTRS{bDeviceProtocol}=="00"
    ATTRS{devpath}=="1.5"
    ATTRS{idVendor}=="2341"
    ATTRS{speed}=="12"
    ATTRS{bNumInterfaces}==" 2"
    ATTRS{bConfigurationValue}=="1"
    ATTRS{bMaxPacketSize0}=="8"
    ATTRS{busnum}=="2"
    ATTRS{devnum}=="4"
    ATTRS{configuration}==""
    ATTRS{bMaxPower}=="100mA"
    ATTRS{authorized}=="1"
    ATTRS{bmAttributes}=="c0"
    ATTRS{bNumConfigurations}=="1"
    ATTRS{maxchild}=="0"
    ATTRS{bcdDevice}=="0001"
    ATTRS{avoid_reset_quirk}=="0"
    ATTRS{quirks}=="0x0"
    ATTRS{serial}=="55431313937351C05151"
    ATTRS{version}==" 1.10"
    ATTRS{urbnum}=="17"
    ATTRS{ltm_capable}=="no"
    ATTRS{manufacturer}=="Arduino (www.arduino.cc)"
    ATTRS{removable}=="removable"
    ATTRS{idProduct}=="0042"
    ATTRS{bDeviceClass}=="02"

    looking at parent device '/devices/pci0000:00/0000:00:1d.0/usb2/2-1':
    KERNELS=="2-1"
    SUBSYSTEMS=="usb"
    DRIVERS=="usb"
    ATTRS{bDeviceSubClass}=="00"
    ATTRS{bDeviceProtocol}=="01"
    ATTRS{devpath}=="1"
    ATTRS{idVendor}=="8087"
    ATTRS{speed}=="480"
    ATTRS{bNumInterfaces}==" 1"
    ATTRS{bConfigurationValue}=="1"
    ATTRS{bMaxPacketSize0}=="64"
    ATTRS{busnum}=="2"
    ATTRS{devnum}=="2"
    ATTRS{configuration}==""
    ATTRS{bMaxPower}=="0mA"
    ATTRS{authorized}=="1"
    ATTRS{bmAttributes}=="e0"
    ATTRS{bNumConfigurations}=="1"
    ATTRS{maxchild}=="6"
    ATTRS{bcdDevice}=="0000"
    ATTRS{avoid_reset_quirk}=="0"
    ATTRS{quirks}=="0x0"
    ATTRS{version}==" 2.00"
    ATTRS{urbnum}=="70"
    ATTRS{ltm_capable}=="no"
    ATTRS{removable}=="unknown"
    ATTRS{idProduct}=="0024"
    ATTRS{bDeviceClass}=="09"

    looking at parent device '/devices/pci0000:00/0000:00:1d.0/usb2':
    KERNELS=="usb2"
    SUBSYSTEMS=="usb"
    DRIVERS=="usb"
    ATTRS{bDeviceSubClass}=="00"
    ATTRS{bDeviceProtocol}=="00"
    ATTRS{devpath}=="0"
    ATTRS{idVendor}=="1d6b"
    ATTRS{speed}=="480"
    ATTRS{bNumInterfaces}==" 1"
    ATTRS{bConfigurationValue}=="1"
    ATTRS{bMaxPacketSize0}=="64"
    ATTRS{authorized_default}=="1"
    ATTRS{busnum}=="2"
    ATTRS{devnum}=="1"
    ATTRS{configuration}==""
    ATTRS{bMaxPower}=="0mA"
    ATTRS{authorized}=="1"
    ATTRS{bmAttributes}=="e0"
    ATTRS{bNumConfigurations}=="1"
    ATTRS{maxchild}=="2"
    ATTRS{bcdDevice}=="0310"
    ATTRS{avoid_reset_quirk}=="0"
    ATTRS{quirks}=="0x0"
    ATTRS{serial}=="0000:00:1d.0"
    ATTRS{version}==" 2.00"
    ATTRS{urbnum}=="42"
    ATTRS{ltm_capable}=="no"
    ATTRS{manufacturer}=="Linux 3.10.0-123.13.2.el7.x86_64 ehci_hcd"
    ATTRS{removable}=="unknown"
    ATTRS{idProduct}=="0002"
    ATTRS{bDeviceClass}=="09"
    ATTRS{product}=="EHCI Host Controller"

    looking at parent device '/devices/pci0000:00/0000:00:1d.0':
    KERNELS=="0000:00:1d.0"
    SUBSYSTEMS=="pci"
    DRIVERS=="ehci-pci"
    ATTRS{irq}=="23"
    ATTRS{subsystem_vendor}=="0x104d"
    ATTRS{broken_parity_status}=="0"
    ATTRS{class}=="0x0c0320"
    ATTRS{companion}==""
    ATTRS{enabled}=="1"
    ATTRS{consistent_dma_mask_bits}=="32"
    ATTRS{dma_mask_bits}=="32"
    ATTRS{local_cpus}=="000f"
    ATTRS{device}=="0x1c26"
    ATTRS{uframe_periodic_max}=="100"
    ATTRS{msi_bus}==""
    ATTRS{local_cpulist}=="0-3"
    ATTRS{vendor}=="0x8086"
    ATTRS{subsystem_device}=="0x9081"
    ATTRS{numa_node}=="-1"
    ATTRS{d3cold_allowed}=="1"

    looking at parent device '/devices/pci0000:00':
    KERNELS=="pci0000:00"
    SUBSYSTEMS==""
    DRIVERS==""


    Where should I edit my entries in which files and how. Please explain in somewhat depth as I am much naive!!
    Please help me establish this. It's already taking my mind and mood off.










    share|improve this question
















    bumped to the homepage by Community 3 hours ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.


















      2












      2








      2








      I want to bind my Arduino Mega as /dev/ttyACM0. Sometimes, it turns out to be /dev/ttyACM0 and sometimes as /dev/ttyACM1.



      I have taken help from this question and this tutorial



      Someone please help me to achieve that as there are only 2 entries in /etc/udev/rules.d :-




      1. 20-crystalhd.rules

      2. 98-kexec.rules


      The output of udevadm info -a -p $(udevadm info -q path -n /dev/ttyACM0) :-




      Udevadm info starts with the device specified by the devpath and then
      walks up the chain of parent devices. It prints for every device
      found, all possible attributes in the udev rules key format. A rule to
      match, can be composed by the attributes of the device and the
      attributes from one single parent device.




      looking at device '/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.0/tty/ttyACM0':
      KERNEL=="ttyACM0"
      SUBSYSTEM=="tty"
      DRIVER==""

      looking at parent device '/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.0':
      KERNELS=="2-1.5:1.0"
      SUBSYSTEMS=="usb"
      DRIVERS=="cdc_acm"
      ATTRS{bInterfaceClass}=="02"
      ATTRS{bmCapabilities}=="6"
      ATTRS{bInterfaceSubClass}=="02"
      ATTRS{bInterfaceProtocol}=="01"
      ATTRS{bNumEndpoints}=="01"
      ATTRS{supports_autosuspend}=="1"
      ATTRS{bAlternateSetting}==" 0"
      ATTRS{bInterfaceNumber}=="00"

      looking at parent device '/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5':
      KERNELS=="2-1.5"
      SUBSYSTEMS=="usb"
      DRIVERS=="usb"
      ATTRS{bDeviceSubClass}=="00"
      ATTRS{bDeviceProtocol}=="00"
      ATTRS{devpath}=="1.5"
      ATTRS{idVendor}=="2341"
      ATTRS{speed}=="12"
      ATTRS{bNumInterfaces}==" 2"
      ATTRS{bConfigurationValue}=="1"
      ATTRS{bMaxPacketSize0}=="8"
      ATTRS{busnum}=="2"
      ATTRS{devnum}=="4"
      ATTRS{configuration}==""
      ATTRS{bMaxPower}=="100mA"
      ATTRS{authorized}=="1"
      ATTRS{bmAttributes}=="c0"
      ATTRS{bNumConfigurations}=="1"
      ATTRS{maxchild}=="0"
      ATTRS{bcdDevice}=="0001"
      ATTRS{avoid_reset_quirk}=="0"
      ATTRS{quirks}=="0x0"
      ATTRS{serial}=="55431313937351C05151"
      ATTRS{version}==" 1.10"
      ATTRS{urbnum}=="17"
      ATTRS{ltm_capable}=="no"
      ATTRS{manufacturer}=="Arduino (www.arduino.cc)"
      ATTRS{removable}=="removable"
      ATTRS{idProduct}=="0042"
      ATTRS{bDeviceClass}=="02"

      looking at parent device '/devices/pci0000:00/0000:00:1d.0/usb2/2-1':
      KERNELS=="2-1"
      SUBSYSTEMS=="usb"
      DRIVERS=="usb"
      ATTRS{bDeviceSubClass}=="00"
      ATTRS{bDeviceProtocol}=="01"
      ATTRS{devpath}=="1"
      ATTRS{idVendor}=="8087"
      ATTRS{speed}=="480"
      ATTRS{bNumInterfaces}==" 1"
      ATTRS{bConfigurationValue}=="1"
      ATTRS{bMaxPacketSize0}=="64"
      ATTRS{busnum}=="2"
      ATTRS{devnum}=="2"
      ATTRS{configuration}==""
      ATTRS{bMaxPower}=="0mA"
      ATTRS{authorized}=="1"
      ATTRS{bmAttributes}=="e0"
      ATTRS{bNumConfigurations}=="1"
      ATTRS{maxchild}=="6"
      ATTRS{bcdDevice}=="0000"
      ATTRS{avoid_reset_quirk}=="0"
      ATTRS{quirks}=="0x0"
      ATTRS{version}==" 2.00"
      ATTRS{urbnum}=="70"
      ATTRS{ltm_capable}=="no"
      ATTRS{removable}=="unknown"
      ATTRS{idProduct}=="0024"
      ATTRS{bDeviceClass}=="09"

      looking at parent device '/devices/pci0000:00/0000:00:1d.0/usb2':
      KERNELS=="usb2"
      SUBSYSTEMS=="usb"
      DRIVERS=="usb"
      ATTRS{bDeviceSubClass}=="00"
      ATTRS{bDeviceProtocol}=="00"
      ATTRS{devpath}=="0"
      ATTRS{idVendor}=="1d6b"
      ATTRS{speed}=="480"
      ATTRS{bNumInterfaces}==" 1"
      ATTRS{bConfigurationValue}=="1"
      ATTRS{bMaxPacketSize0}=="64"
      ATTRS{authorized_default}=="1"
      ATTRS{busnum}=="2"
      ATTRS{devnum}=="1"
      ATTRS{configuration}==""
      ATTRS{bMaxPower}=="0mA"
      ATTRS{authorized}=="1"
      ATTRS{bmAttributes}=="e0"
      ATTRS{bNumConfigurations}=="1"
      ATTRS{maxchild}=="2"
      ATTRS{bcdDevice}=="0310"
      ATTRS{avoid_reset_quirk}=="0"
      ATTRS{quirks}=="0x0"
      ATTRS{serial}=="0000:00:1d.0"
      ATTRS{version}==" 2.00"
      ATTRS{urbnum}=="42"
      ATTRS{ltm_capable}=="no"
      ATTRS{manufacturer}=="Linux 3.10.0-123.13.2.el7.x86_64 ehci_hcd"
      ATTRS{removable}=="unknown"
      ATTRS{idProduct}=="0002"
      ATTRS{bDeviceClass}=="09"
      ATTRS{product}=="EHCI Host Controller"

      looking at parent device '/devices/pci0000:00/0000:00:1d.0':
      KERNELS=="0000:00:1d.0"
      SUBSYSTEMS=="pci"
      DRIVERS=="ehci-pci"
      ATTRS{irq}=="23"
      ATTRS{subsystem_vendor}=="0x104d"
      ATTRS{broken_parity_status}=="0"
      ATTRS{class}=="0x0c0320"
      ATTRS{companion}==""
      ATTRS{enabled}=="1"
      ATTRS{consistent_dma_mask_bits}=="32"
      ATTRS{dma_mask_bits}=="32"
      ATTRS{local_cpus}=="000f"
      ATTRS{device}=="0x1c26"
      ATTRS{uframe_periodic_max}=="100"
      ATTRS{msi_bus}==""
      ATTRS{local_cpulist}=="0-3"
      ATTRS{vendor}=="0x8086"
      ATTRS{subsystem_device}=="0x9081"
      ATTRS{numa_node}=="-1"
      ATTRS{d3cold_allowed}=="1"

      looking at parent device '/devices/pci0000:00':
      KERNELS=="pci0000:00"
      SUBSYSTEMS==""
      DRIVERS==""


      Where should I edit my entries in which files and how. Please explain in somewhat depth as I am much naive!!
      Please help me establish this. It's already taking my mind and mood off.










      share|improve this question
















      I want to bind my Arduino Mega as /dev/ttyACM0. Sometimes, it turns out to be /dev/ttyACM0 and sometimes as /dev/ttyACM1.



      I have taken help from this question and this tutorial



      Someone please help me to achieve that as there are only 2 entries in /etc/udev/rules.d :-




      1. 20-crystalhd.rules

      2. 98-kexec.rules


      The output of udevadm info -a -p $(udevadm info -q path -n /dev/ttyACM0) :-




      Udevadm info starts with the device specified by the devpath and then
      walks up the chain of parent devices. It prints for every device
      found, all possible attributes in the udev rules key format. A rule to
      match, can be composed by the attributes of the device and the
      attributes from one single parent device.




      looking at device '/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.0/tty/ttyACM0':
      KERNEL=="ttyACM0"
      SUBSYSTEM=="tty"
      DRIVER==""

      looking at parent device '/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.0':
      KERNELS=="2-1.5:1.0"
      SUBSYSTEMS=="usb"
      DRIVERS=="cdc_acm"
      ATTRS{bInterfaceClass}=="02"
      ATTRS{bmCapabilities}=="6"
      ATTRS{bInterfaceSubClass}=="02"
      ATTRS{bInterfaceProtocol}=="01"
      ATTRS{bNumEndpoints}=="01"
      ATTRS{supports_autosuspend}=="1"
      ATTRS{bAlternateSetting}==" 0"
      ATTRS{bInterfaceNumber}=="00"

      looking at parent device '/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5':
      KERNELS=="2-1.5"
      SUBSYSTEMS=="usb"
      DRIVERS=="usb"
      ATTRS{bDeviceSubClass}=="00"
      ATTRS{bDeviceProtocol}=="00"
      ATTRS{devpath}=="1.5"
      ATTRS{idVendor}=="2341"
      ATTRS{speed}=="12"
      ATTRS{bNumInterfaces}==" 2"
      ATTRS{bConfigurationValue}=="1"
      ATTRS{bMaxPacketSize0}=="8"
      ATTRS{busnum}=="2"
      ATTRS{devnum}=="4"
      ATTRS{configuration}==""
      ATTRS{bMaxPower}=="100mA"
      ATTRS{authorized}=="1"
      ATTRS{bmAttributes}=="c0"
      ATTRS{bNumConfigurations}=="1"
      ATTRS{maxchild}=="0"
      ATTRS{bcdDevice}=="0001"
      ATTRS{avoid_reset_quirk}=="0"
      ATTRS{quirks}=="0x0"
      ATTRS{serial}=="55431313937351C05151"
      ATTRS{version}==" 1.10"
      ATTRS{urbnum}=="17"
      ATTRS{ltm_capable}=="no"
      ATTRS{manufacturer}=="Arduino (www.arduino.cc)"
      ATTRS{removable}=="removable"
      ATTRS{idProduct}=="0042"
      ATTRS{bDeviceClass}=="02"

      looking at parent device '/devices/pci0000:00/0000:00:1d.0/usb2/2-1':
      KERNELS=="2-1"
      SUBSYSTEMS=="usb"
      DRIVERS=="usb"
      ATTRS{bDeviceSubClass}=="00"
      ATTRS{bDeviceProtocol}=="01"
      ATTRS{devpath}=="1"
      ATTRS{idVendor}=="8087"
      ATTRS{speed}=="480"
      ATTRS{bNumInterfaces}==" 1"
      ATTRS{bConfigurationValue}=="1"
      ATTRS{bMaxPacketSize0}=="64"
      ATTRS{busnum}=="2"
      ATTRS{devnum}=="2"
      ATTRS{configuration}==""
      ATTRS{bMaxPower}=="0mA"
      ATTRS{authorized}=="1"
      ATTRS{bmAttributes}=="e0"
      ATTRS{bNumConfigurations}=="1"
      ATTRS{maxchild}=="6"
      ATTRS{bcdDevice}=="0000"
      ATTRS{avoid_reset_quirk}=="0"
      ATTRS{quirks}=="0x0"
      ATTRS{version}==" 2.00"
      ATTRS{urbnum}=="70"
      ATTRS{ltm_capable}=="no"
      ATTRS{removable}=="unknown"
      ATTRS{idProduct}=="0024"
      ATTRS{bDeviceClass}=="09"

      looking at parent device '/devices/pci0000:00/0000:00:1d.0/usb2':
      KERNELS=="usb2"
      SUBSYSTEMS=="usb"
      DRIVERS=="usb"
      ATTRS{bDeviceSubClass}=="00"
      ATTRS{bDeviceProtocol}=="00"
      ATTRS{devpath}=="0"
      ATTRS{idVendor}=="1d6b"
      ATTRS{speed}=="480"
      ATTRS{bNumInterfaces}==" 1"
      ATTRS{bConfigurationValue}=="1"
      ATTRS{bMaxPacketSize0}=="64"
      ATTRS{authorized_default}=="1"
      ATTRS{busnum}=="2"
      ATTRS{devnum}=="1"
      ATTRS{configuration}==""
      ATTRS{bMaxPower}=="0mA"
      ATTRS{authorized}=="1"
      ATTRS{bmAttributes}=="e0"
      ATTRS{bNumConfigurations}=="1"
      ATTRS{maxchild}=="2"
      ATTRS{bcdDevice}=="0310"
      ATTRS{avoid_reset_quirk}=="0"
      ATTRS{quirks}=="0x0"
      ATTRS{serial}=="0000:00:1d.0"
      ATTRS{version}==" 2.00"
      ATTRS{urbnum}=="42"
      ATTRS{ltm_capable}=="no"
      ATTRS{manufacturer}=="Linux 3.10.0-123.13.2.el7.x86_64 ehci_hcd"
      ATTRS{removable}=="unknown"
      ATTRS{idProduct}=="0002"
      ATTRS{bDeviceClass}=="09"
      ATTRS{product}=="EHCI Host Controller"

      looking at parent device '/devices/pci0000:00/0000:00:1d.0':
      KERNELS=="0000:00:1d.0"
      SUBSYSTEMS=="pci"
      DRIVERS=="ehci-pci"
      ATTRS{irq}=="23"
      ATTRS{subsystem_vendor}=="0x104d"
      ATTRS{broken_parity_status}=="0"
      ATTRS{class}=="0x0c0320"
      ATTRS{companion}==""
      ATTRS{enabled}=="1"
      ATTRS{consistent_dma_mask_bits}=="32"
      ATTRS{dma_mask_bits}=="32"
      ATTRS{local_cpus}=="000f"
      ATTRS{device}=="0x1c26"
      ATTRS{uframe_periodic_max}=="100"
      ATTRS{msi_bus}==""
      ATTRS{local_cpulist}=="0-3"
      ATTRS{vendor}=="0x8086"
      ATTRS{subsystem_device}=="0x9081"
      ATTRS{numa_node}=="-1"
      ATTRS{d3cold_allowed}=="1"

      looking at parent device '/devices/pci0000:00':
      KERNELS=="pci0000:00"
      SUBSYSTEMS==""
      DRIVERS==""


      Where should I edit my entries in which files and how. Please explain in somewhat depth as I am much naive!!
      Please help me establish this. It's already taking my mind and mood off.







      ubuntu serial-port arduino bind-mount






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Apr 13 '17 at 12:36









      Community

      1




      1










      asked Jan 17 '15 at 10:10









      Am_I_HelpfulAm_I_Helpful

      4621622




      4621622





      bumped to the homepage by Community 3 hours ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 3 hours ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
























          1 Answer
          1






          active

          oldest

          votes


















          0














          I'm not in front of a linux system right now, but I would start by tracking down what writes /etc/udev/rules.d/70-persistent-net.rules and use that as a template.



          Specifically, every time a wifi device is plugged in, the interface name, such as wlan0, wlan1, etc. becomes fixed based on some device attribute (I presume MAC address).



          You can follow the same convention to create your own udev rules for the Arduino device.






          share|improve this answer


























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "106"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f179545%2fhow-to-bind-arduino-as-a-fix-block-device-dev-ttyacm0%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            I'm not in front of a linux system right now, but I would start by tracking down what writes /etc/udev/rules.d/70-persistent-net.rules and use that as a template.



            Specifically, every time a wifi device is plugged in, the interface name, such as wlan0, wlan1, etc. becomes fixed based on some device attribute (I presume MAC address).



            You can follow the same convention to create your own udev rules for the Arduino device.






            share|improve this answer






























              0














              I'm not in front of a linux system right now, but I would start by tracking down what writes /etc/udev/rules.d/70-persistent-net.rules and use that as a template.



              Specifically, every time a wifi device is plugged in, the interface name, such as wlan0, wlan1, etc. becomes fixed based on some device attribute (I presume MAC address).



              You can follow the same convention to create your own udev rules for the Arduino device.






              share|improve this answer




























                0












                0








                0







                I'm not in front of a linux system right now, but I would start by tracking down what writes /etc/udev/rules.d/70-persistent-net.rules and use that as a template.



                Specifically, every time a wifi device is plugged in, the interface name, such as wlan0, wlan1, etc. becomes fixed based on some device attribute (I presume MAC address).



                You can follow the same convention to create your own udev rules for the Arduino device.






                share|improve this answer















                I'm not in front of a linux system right now, but I would start by tracking down what writes /etc/udev/rules.d/70-persistent-net.rules and use that as a template.



                Specifically, every time a wifi device is plugged in, the interface name, such as wlan0, wlan1, etc. becomes fixed based on some device attribute (I presume MAC address).



                You can follow the same convention to create your own udev rules for the Arduino device.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Apr 16 at 14:38









                Rui F Ribeiro

                42.9k1487147




                42.9k1487147










                answered Mar 6 '16 at 13:25









                bertoberto

                1011




                1011






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Unix & Linux Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f179545%2fhow-to-bind-arduino-as-a-fix-block-device-dev-ttyacm0%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Hudson River Historic District Contents Geography History The district today Aesthetics Cultural...

                    The number designs the writing. Feandra Aversely Definition: The act of ingrafting a sprig or shoot of one...

                    Ayherre Geografie Demografie Externe links Navigatiemenu43° 23′ NB, 1° 15′ WL43° 23′ NB, 1°...