On Wed, 2014-05-07 at 18:56, Alvaro Cornejo wrote: > That is a totally different issue. That might happen if you disconnect > your modem from the PC and reinsert it. Maybe this also happens if you > turn it off/on. This shouldn´t happen "by itself" since /dev/tty is > defined by kernel on device detection. > > There is a workaround predefining the /dev/xxx for the usb device but > didn´t remember how it is done. >
On Linux that can be done by setting udev rules using attributes (vendor and product id are enough). Example from one of my /etc/udev/rules.d/local.rules files: ATTR{idVendor}=="22b8", ATTR{idProduct}=="6422", SYMLINK+="razrv8", MODE="0660", OWNER="kannel" ATTR{idVendor}=="22b8", ATTR{idProduct}=="3802", NAME="a1200", MODE="0660", OWNER="kannel", GROUP="dialout" ATTR{idVendor}=="0fce", ATTR{idProduct}=="d0d9", SYMLINK+="sony", MODE="0660", OWNER="kannel" Restart/reload udevd or machine. Devices becomes (and stays persistent): /dev/razrv8 /dev/a1200 /dev/sony > Regards > Alvaro -- Kind regards -------------------------------------------------- Arvanta, http://www.arvanta.net Please do not send me e-mail containing HTML code or documents in proprietary format (word, excel, pps and so on)