Difference between revisions of "Ghpsdr3 FAQ"

From HPSDRwiki
Jump to: navigation, search
(How do you allow access to the libusb driver as a user in Linux)
(+ Category:Ghpsdr3, wiki)
 
Line 4: Line 4:
  
  
  SUBSYSTEMS=="usb",ATTRS{idVendor}=="fffe",ATTRS{idProduct}=="0007",SYMLINK+="ozy",MODE="666"
+
SUBSYSTEMS=="usb",ATTRS{idVendor}=="fffe",ATTRS{idProduct}=="0007",SYMLINK+="ozy",MODE="666"
  
  
 
Now when you plug the usb cable into the computer it will create a /dev/ozy and it will have the permissions set to allow any user to read/write to it.
 
Now when you plug the usb cable into the computer it will create a /dev/ozy and it will have the permissions set to allow any user to read/write to it.
 +
 +
[[Category:Ghpsdr3]]

Latest revision as of 11:06, 11 April 2011

How do you allow access to the libusb driver as a user in Linux

To allow user access to the USB device you need to set the device permissions. Create a file in /etc/udev/rules.d called 90-ozy.rules containing the following line (you will need to be root):


SUBSYSTEMS=="usb",ATTRS{idVendor}=="fffe",ATTRS{idProduct}=="0007",SYMLINK+="ozy",MODE="666"


Now when you plug the usb cable into the computer it will create a /dev/ozy and it will have the permissions set to allow any user to read/write to it.