Velleman k linux driver and GUI sources for the Raspberry Pi – rm-hull/ k Download center. Download page for K Class Manual. Description: This manual explains the several functions of the K class. Latest Download. This software allows access to Velleman’s K card. This software Note that the command line tool, k, has a manual page that can be read by invoking.
|Published (Last):||26 December 2017|
|PDF File Size:||8.31 Mb|
|ePub File Size:||7.41 Mb|
|Price:||Free* [*Free Regsitration Required]|
Its vender ID is 0x10cf and its product ID is 0x Note that the command line tool, khas a manual page that can be read by invoking man k Compilation Library and command line program.
Now we are going to create the program that correctly fixes the permissions. The base program Requirements. For my example, I am setting up my Velleman card. Make sure this file is executable.
For the noobies among you, is common and allows read and write access to root and members of the group In my case root is owner and the group is k Make sure usbfs is mounted. Remember to create the file with the name you used as the first word in your.
Kk8055 small HOW-TO will help to explain how to allow non-root access to these devices using the events generated by hotplug. If you properly included yourself in the group and gave write access, you should be able to access the device as the user.
Another reason was to make it simple to use by writing a library for the k, libk Matches the group you set in file above In my case, k Counter 1 value is 9 8: Ownership is set to root: Analog 2 input value is 9: The reason for writing another driver for Linux was to get the debounce time to work correctly.
Leave the second value, 0xbut replace the second and third values with your vender ID and product ID. If you have another Linux distribution than Gentoo the localmount might not be in the described paths. This project is hosted on sourceforge. This project or webpage is not maintained any more atleast not much. The command line tool is developed from Julien Etelain and Edward Nys code.
This software allows access to Velleman’s K card. The library is now also available in pythonthanks to Pjetur G. In my case k Paste the following into the file you just created.
Both owner and group members have read-write access. Run lsusb and note the vender id and product id for your device. This should work with all devices that use libusb and don’t use device nodes.
Download K Class Manual
You can choose any name for the file as long as it ends in. The klibrary with cmd-line tool and a man page. Analog 1 input value is Counter 2 value is 8. To check use in Gentoo systems: So I created the file k The provided command line program offers some options.
Download page for K8055 Class Manual
The older version is also available at the project page if needed. This assumes m8055 have all code in main. Included with the source and some examples as well!
You can use this program for script languages or just for controlling stuff by hand. Forces changes to group membership to be recognized. Here is a sample output of my device in this exampleCode: Bus Device The library is made from scratch with the same functions as described in Velleman’s DLL usermanual.
How to control user permissions to a USB-device.
All these steps are run as root. You can chose any name but I like to keep the same name as the beginning as usermap file. Links How to grant access to users for the k k055 Ubuntu 9.
k library for Linux
Change these as required for your needs. Measurement done majual after program start You can then skip the three following steps and refer to the system manual how init.
In my example, I am going to add user sven to group k Note that the Velleman’s DLL doesn’t even get this close. This software was developed to replace all other half-complete softwares for the k board under Linux.