added udev rule
This commit is contained in:
parent
292ca9c918
commit
83457661a3
8
99-usbtmc.rules
Normal file
8
99-usbtmc.rules
Normal file
@ -0,0 +1,8 @@
|
||||
# Rule for Keithley 2611B
|
||||
|
||||
# take vendor and product id from lsusb
|
||||
SUBSYSTEMS=="usb", ACTION=="add", ATTRS{idVendor}=="05e6", ATTRS{idProduct}=="2614", GROUP="usbtmc", MODE="0660" RUN+="/bin/touch /tmp/05e6-2611-connected"
|
||||
|
||||
# Devices
|
||||
KERNEL=="usbtmc/*", MODE="0660", GROUP="usbtmc"
|
||||
KERNEL=="usbtmc[0-9]*", MODE="0660", GROUP="usbtmc"
|
@ -37,3 +37,10 @@ ipython -i k_teng_interactive.py -- -*X*
|
||||
Substitute *X* for `-k` for keithley backend, `-a` for arduino backend or `-t` for testing backend.
|
||||
|
||||
In the shell, run `help()` to get a list of available commands
|
||||
|
||||
|
||||
## Installation
|
||||
### Keithley
|
||||
On linux:
|
||||
Install the udev rule in `/etc/udev/rules.d/` and run `sudo udevadm control --reload` to force the usbtmc driver to be used with the Keithley SMU.
|
||||
The `ATTRS{product_id} ` needs to match the id shown by `lsusb`.
|
||||
|
Loading…
Reference in New Issue
Block a user