PDA

View Full Version : Problem Using Udev Rule



akash2happy
January 20th, 2012, 09:03 AM
Hello,
I am using headless Ubuntu 11.04 running on BeagleBoard XM.
Everytime i reboot the system ttyUSB[x] port_number change i want to use that port number in my C program for particular device.
Is it possible in udev rule so that we assign (ttyUSB[x])
the value of x for particular device. Whenever I connect usb to any port it will assign the port number that i have given.
if it is possible please help me with the code......