On 06/05/2014 Milan Stanic wrote:
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
***********************************************
Milan, is there any method or command to obtain that information (idVendor,
dProduct, etc.)?
thanks
daniel b