Both owner and group members have read-write access. The reason for writing another driver for Linux was to get the debounce time to work correctly. 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 Included with the source and some examples as well! Note that the command line tool, k , has a manual page that can be read by invoking man k The provided command line program offers some options.
|Date Added:||25 July 2013|
|File Size:||45.82 Mb|
|Operating Systems:||Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X|
|Price:||Free* [*Free Regsitration Required]|
This software was developed to replace all other half-complete softwares for the k board under Linux. Here is a sample output of my device in this exampleCode: Make sure usbfs is mounted. Run lsusb and note the vender id and product id for your device.
This software allows access to Velleman’s K card. The provided command line program offers some options. The klibrary with cmd-line tool and a windowd page.
k library for Linux
Bus Device You can choose any name for the file as long as it ends in. This should work with all devices that use libusb and don’t use device nodes.
The reason for writing another driver for Linux was to get the debounce windowe to work correctly. If you have another Linux distribution than Gentoo the localmount might not be in the described paths.
Now we are going to create the program that correctly fixes the permissions. So I created the file k This project or webpage is not maintained any more atleast not much. Note that the Velleman’s DLL doesn’t even get this close.
Linux k8055 library
Another reason was wundows make it simple to use by writing a library for the k, libk Ownership is set to root: The command line tool is developed from Julien Etelain and Edward Nys code.
Remember to create the file with the name you used as the first word in your. Measurement done msec after program start How to control user permissions to a USB-device. In my example, I am going to add user sven to group k Counter 2 value is 8.
Included with the source and some examples as well! Forces changes to group membership to be recognized. Counter 1 value is 9 8: Links How to grant access to users for the k in Ubuntu 9. The library is made from scratch with the same functions as described in Velleman’s DLL usermanual.
This assumes you have all code in main. Change these as required for your needs. To check use in Gentoo systems: Leave the second value, 0xbut replace the second and third values with your vender ID and product ID.
The library is now also available in pythonthanks to Pjetur G. Analog 1 input value is Analog 2 input value is 9: