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