Difference between revisions of "Ghpsdr3 FAQ"

From HPSDRwiki
Jump to: navigation, search
(New page: ==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 call...)
 
(How do you allow access to the libusb driver as a user in Linux)
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.

Revision as of 10:16, 20 June 2010

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.