Menu
  • HOME
  • TAGS

I want to utilize PCA9685 chip to drive servos on beaglebone black, I see there is a linux driver, but how to utilize in C/C++. Any examples?

linux,drivers,beagleboneblack

So I ended up forgoing the use of the driver, as I was unable to find any information on it. Instead I used various ioctl calls, such as is used in this code from Adafruit: https://github.com/adafruit/Adafruit-PWM-Servo-Driver-Library/blob/master/Adafruit_PWMServoDriver.cpp

Idle network filter driver performance on windows

windows,networking,drivers,ndis

The OS has a fast-path for the case when NDIS filters are not present. Even if the filter does very little, its mere presence can inhibit the fast-path. There is another fast-path for when no WFP filter is installed. The WFP fast-path has an even more significant effect on performance....

Couldn't find adb interface driver for colors x114?

android,windows-8,drivers

Try using wireless adb, Its very hard to find drivers for all devices. wifi adb works like a charm. Just search 'wireless adb' in play store and install any app (there are many in the app store) Follow the instructions in the app and you are good to go.

How to detect FTDI driver in system

registry,inno-setup,drivers,ftdi

There were two ways I was thinking of when posting this answer, but I've decided to show my preferred one that time. For the sake of completeness, I'm including also a generic way to check whether a library is present in the system. 1. Try to call an FTDI driver...

Using custom linux drivers in c#

c#,linux,drivers

If your drivers are accessible as shared libraries, you can p/invoke into them. If the shared libraries have unusual arguments types, you might have to get creative in how you define matching data structures for marshalling, but this is probably the easiest way. If your drivers are accessible through the...

Safe Python expression evaluation

python,scripting,drivers

Blender is effectively using eval() and has no attempt at making the expression secure(Lookup sandboxing CPython, its not trivial). This is why Blend files have an option Trusted Source, for more details see: http://wiki.blender.org/index.php/Doc:2.6/Manual/Extensions/Python/Security For the C code, see BPY_driver_exec https://developer.blender.org/diffusion/B/browse/master/source/blender/python/intern/bpy_driver.c$172...

OnChange on a table is available in golang driver - rethinkDB?

go,drivers,rethinkdb

Sorry for the delayed reply I dont check StackOverflow as often as I should. GoRethink actually does offer support for Changefeeds. Unfortunately the documentation is currently a bit lacking and I hope to work soon, until then I recommend having a look at the tests. Hopefully that should give you...

Cassandra CQL driver implementation

java,cassandra,nosql,cql,drivers

You can make the CQL interface available on port 9160 by changing the native_transport_port from 9042 to 9160 in cassandra.yaml on your cassandra server(s). You will also need to change rpc_port to something other than 9160. In the datastax java-driver you can configure the port to use in Cluster.Builder by...

Inno setup subfolders with additional installation in “All Programs” list?

exe,inno-setup,drivers

[Setup] DefaultGroupName=MyCompanyName\MyAppName [Icons] Name: "{group}\MyNormalModeFunctionShortcut"; Filename: "{app}\{#MyAppExeName}"; WorkingDir: "{app}" ;this is default one Name: "{group}\MySubfolderName\MySafeModeFunctionShortcut"; Filename: "{app}\{#MyAppExeName}"; Parameters: "-safemode"; WorkingDir: "{app}" ;this one is placed in Subfolder ...

Linux - relations between graphics drivers and Mesa

linux,opengl,nvidia,drivers

First things first: The open source graphics drivers, all of them, use Mesa for the front side OpenGL interface and state tracking. Let's break this down: Theoretically a OpenGL implementation can directly talk to the hardware. This is what the NVidia and AMD proprietary drivers actually do. But in the...

Remapping keys system-wide on Unix-Like Operating Systems

linux,unix,drivers

I may be mistaken, but I believe it depends entirely on what your running (what your window manager is). For example, if you were running something with openbox (e.g. lubuntu), then you could reference the following: http://openbox.org/wiki/Help:Bindings There are similar concepts for Gnome. If you are looking to change Gnome,...

Keep Microcontroller Peripheral Drivers Independent

c,device,microcontroller,drivers

On big controllers, Cortex M3/4 and the like, it is totally fine to have countless layers. For example the SD-Card interface of the LPC1822 consists of an "sdif" driver, handling the basic communication and pin toggling of the card interface. On top of that there is the "sdmmc" driver, providing...