Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| raspberry-phidget [2015/03/25 17:35] – Stéphane Lavirotte | raspberry-phidget [2016/01/28 12:57] (current) – [Give access USB Phidget InterfaceKit for a regular user] Stéphane Lavirotte | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | {{: | ||
| ====== Install Phidgets on Raspberry Pi ====== | ====== Install Phidgets on Raspberry Pi ====== | ||
| To be able to use Phidget on Raspberry, you will have to do the following steps. | To be able to use Phidget on Raspberry, you will have to do the following steps. | ||
| + | |||
| + | {{: | ||
| ===== Install Phidgets librairies ===== | ===== Install Phidgets librairies ===== | ||
| Line 15: | Line 18: | ||
| </ | </ | ||
| - | Then you have to add Phidget available for Mono. | + | Then you have to add Phidget |
| + | < | ||
| + | wget http:// | ||
| + | unzip Phidget21-windevel.zip | ||
| + | </ | ||
| + | |||
| + | Then, to add the library to the Mono GAC: | ||
| < | < | ||
| sudo gacutil -i phidget21-windevel/ | sudo gacutil -i phidget21-windevel/ | ||
| Line 21: | Line 30: | ||
| </ | </ | ||
| - | ===== Give access | + | ===== Give access USB Phidget InterfaceKit |
| Last step to be able to use the Phidget InterfaceKit on Raspberry Pi is a problem of permissions on files; only root can access to data of usb pluged devices. So for any program working with Phidget InterfaceKit, | Last step to be able to use the Phidget InterfaceKit on Raspberry Pi is a problem of permissions on files; only root can access to data of usb pluged devices. So for any program working with Phidget InterfaceKit, | ||
| Line 35: | Line 44: | ||
| < | < | ||
| Bus 001 Device 004: ID 06c2:0045 Phidgets Inc. (formerly GLAB) PhidgetInterface Kit 8-8-8 | Bus 001 Device 004: ID 06c2:0045 Phidgets Inc. (formerly GLAB) PhidgetInterface Kit 8-8-8 | ||
| - | </ | ||
| - | |||
| - | As you added a new rule, you have to restart the udev service. | ||
| - | < | ||
| - | sudo service udev restart | ||
| </ | </ | ||
| Line 48: | Line 52: | ||
| </ | </ | ||
| - | After adding group and user to group, you have to logout and login again to have the right permissions. | + | After adding group and user to group, you have to logout and login again to have the right permissions. |
| + | < | ||
| + | sudo service udev restart | ||
| + | </ | ||