thanks a lot, Milan

I'll try that and share the result.
daniel
--------------
Message: 2
Date: Thu, 8 May 2014 09:58:52 +0200
From: "Milan P. Stanic" <m...@arvanta.net>
To: users@kannel.org
Subject: Re: modem connection
Message-ID: <20140508075852.ga9...@arvanta.net>
Content-Type: text/plain; charset=iso-8859-1

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)



------------------------------

Subject: Digest Footer

_______________________________________________
users mailing list
users@kannel.org
http://www.kannel.org/mailman/listinfo/users


------------------------------

End of users Digest, Vol 93, Issue 35
*************************************

Reply via email to