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