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