CyberAtom X-200 User Manual

Configuring UDEV system on Linux Systems for CyberAtom Devices

Depending on your Linux setup it might necessary to give proper permissions to be able to access CyberAtom as USB devices using regular user privileges. The following procedure has been tested on Ubuntu 14.04 LTS and should be straightforward to apply on Debian or similar distributions.
  1. Create user group `cyberatom`.
    $ sudo groupadd cyberatom
    			
  2. Add the user account to this group.
    $ usermod -a -G cyberatom <username>
    			
  3. You need to re-login to have user account reflected in the user account settings. This can be checked by:
    $ groups
    			
  4. Within `/etc/udev/rules.d/` create rule file named `50-CyberAtom.rules` with content:
    SUBSYSTEM=="usb", ATTRS{idVendor}=="ffff", ATTRS{idProduct}=="0002", GROUP="cyberatom", MODE="0666"
    SUBSYSTEM=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="df11", GROUP="cyberatom", MODE="0666"
    			
  5. Restart udev system with:
    sudo restart udev
    			
    or
    sudo udevadm control --reload
    			
  6. Re-connect your CyberAtom device to the USB port of your PC machine.
You should be able to see the details of your CyberAtom device without any restrictions. E.g. the following command:
$ lsusb -d ffff:0002 -v		
		

should give similar output:

Bus 003 Device 106: ID ffff:0002  
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass          255 Vendor Specific Class
  bDeviceSubClass       255 Vendor Specific Subclass
  bDeviceProtocol       255 Vendor Specific Protocol
  bMaxPacketSize0        64
  idVendor           0xffff 
  idProduct          0x0002 
  bcdDevice            2.00
  iManufacturer           1 Softexor
  iProduct                2 CyberAtom X-200
  iSerial                 3 738353020175136503006300
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           32
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xc0
      Self Powered
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         0 (Defined at Interface level)
      bInterfaceSubClass      0 
      bInterfaceProtocol      0 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
Device Status:     0x0001
  Self Powered