1

Topic: USB-Serial

There is a certain self-made device. It is connected through USB on CDC protocol. After connection there are files:/dev/ttyACM0/dev/serial/by-id / usb-DyDevice-if0 and/dev/serial/by-path / usb-0:5:5:1.0 and at all attributes 20660 and user - whether root Can be made so, what with the device everybody could work? Certainly, if to make so:sudo chmod 666/dev/ttyACM0 some time it is possible to work, but at repeated connection it is necessary to install attributes again. And not the fact that a file title will be the same. Whether it is possible at device connection automatically attributes 666 were assigned?

2

Re: USB-Serial

Hello, icWasya, you wrote: W> There is a certain self-made device. W> It is connected through USB on CDC protocol. W> After connection there are files: W>/dev/ttyACM0 W>/dev/serial/by-id / usb-DyDevice-if0 W> and W>/dev/serial/by-path / usb-0:5:5:1.0 W> and at all attributes 20660 and user - whether root W> Can be made so, what with the device everybody could work? W> it is finite if to make so W>:sudo chmod 666/dev/ttyACM0 some time it is possible to work, W> but at repeated connection it is necessary to install attributes again. W> and not the fact that the file title will be the same. Whether W> it is possible at device connection automatically attributes 666 were assigned? Regularly the response file in/etc/udev/rules.d / where are fulfilled chmod and so forth is for this purpose inscribed.

3

Re: USB-Serial

Hello, icWasya, you wrote: W> and at all attributes 20660 and user - root And group? If  in a type , instead of homemade products it is normal these files receive group dialout so it is necessary to add simply itself in it. If it is direct absolutely everything yes, but udev rules to change.