Analog 1 input value is This should work with all devices that use libusb and don’t use device nodes. How to control user permissions to a USB-device. Note that the command line tool, k , has a manual page that can be read by invoking man k You can then skip the three following steps and refer to the system manual how init.

Uploader: Makazahn
Date Added: 24 October 2012
File Size: 12.31 Mb
Operating Systems: Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X
Downloads: 54268
Price: Free* [*Free Regsitration Required]

Links How to grant access to users for the k in Ubuntu 9. Run lsusb and note the vender id and product id for your device. In my case k Paste the following into the file you just created. The reason for writing another driver for Linux was to get the debounce time to work correctly.

Linux k8055 library

Counter 2 value is 8. Make sure this file is executable. You can then skip the three following steps and refer to the system manual sindows init. Here is a sample output of my device in this exampleCode: To check use in Gentoo systems: The older version is also available at the project page if needed. All these steps are run as root.


Wincows that the command line tool, khas a manual page that can be read by invoking man k Analog 2 input value is 9: Remember to create the file with the name you used as the first word in your. You can chose any name but I like to keep the same name as the beginning as usermap file.

You can choose any name for the file as long as it ends in.

k library for Linux

So I created the file k The library is made from scratch with the same functions as described in Velleman’s DLL usermanual. Bus Device Ownership is set to root: Forces changes to wnidows membership to be recognized. This assumes you have all code in main.

This software allows access to Velleman’s K card.

The library is now also available in pythonthanks to Pjetur G. Analog 1 input value is For the noobies among you, is common and allows read and windoss access to root and members of the group In my case root is owner and the group k055 k Another reason was to make it simple to use by writing a library for the k, libk Note that the Velleman’s DLL doesn’t even get this close.


You can use this program for script languages or just for controlling stuff by hand.

K (P) and Windows – PC Related Projects – Velleman Projects

Measurement done msec after program start This project or webpage is not maintained any more atleast not much. If you properly included yourself in the group and gave write access, you should be able to access the device as the user. Counter 1 value is 9 8: The klibrary with cmd-line tool and a man page. This project is hosted on sourceforge.

Leave the second value, 0xbut replace the second and third values with your vender ID and product ID.