How to set debug mode easily for libusb and libuvc.

Here is a tip for programer for debug any application with using libusb(x) or libuvc.

There’s many way to debug what it going on with gbd when you are using gcc or MinGW (incl. MinGW-W64) , you may feels somehow difficult to control gdb to debug in deep call stacks without IDE like Code::Blocks.

You can use putenv() to set debug mode to print all messages to ‘stdout’ (aka. console, or terminal) .


Enable debugging message

Meaning of number appends LIBUSB_DEBUG is this level :

When you enabel this, you can see all debugging messages on your terminal or console.

Developing libuvc for MinGW-W64, day 1

Now I am trying to get YUV2 buffer from formal USB camera, but it doesn’t easy on Windows system. MS designed most of USB video devices need to use Direct media layer, but it occurs many different problems while using OpenGL or hardware accelerated surface at same instance of Windows application.

So I made it from starting understand UVC and common library of libuvc.

And I understood it depends on libusb that is well known libraray for multiple platforms except Windows. So I have to make it building ways as like Makefile on MSYS and for MinGW-W64, then it comes to Josh Blake’s libusbx to customized for build in MinGW-W64 and MSYS easily.

But it still has many problems, exactly same failure for -12 ( UNSUPPORTED ).

It belongs to failure of libusb_open() returns -12 through libuvc error result. Testing open USB HD Camera with libusb or libusbx always same.

It must be study for what different Windows USB drivers, and why UVC not able to open with formal libusb, further need to understand libusb-win32 or libusbk.

So I reached same position again, Windows is not my option, really.

Server recovered back.

Everytime to updating latest versions of each plug-ins and theme makes me have check what it chnaged. And I didn’t wait for what it done for updating previous theme.

It was recovered easily to putting definition for exactly what domain name to Word Press configuration.

Arghh, We are doomed by Intel, Thank you so MUCH !

By Linux kernel group with Google, Vulnerability open for modern high performanced CPU (incl. AP, ARM Cortex architecture) that using pipe-line and fast matching caching systems of designed to using multiple calculating unit almost since over 15 years ago.

There’s two kinds of vulnerability, MELTDOWN and SPECTRE. These problems belong to hardware design fault, and may not bypass or protected by software level – so we are doomed, anyway.

Most of Intel CPU ( from Pentium multi-core designed thru Core2Duo to modern all Intel products of x86 architecture ) has leaking secured kernel memory to un-trusted user instructions to read them out easily. Also most of ARM cortex-A architecture same to vulnerabled – yes, our all smartphones since iPhone3Gs and all of Androids.

It means, your secured password should be read by any hacker when you been attacked without any protecting solutions, specially old aged Windows or Linux even Mac OS.

Intel guiding now to update system firmware ( BIOS, EFI, Intel ME ) to protect our computers, but it only depends on mainboard or hand held device manufacturer’s support !

My main desktop CPU is Intel’s i5-3570, 3rd generation of Core-I series. Its mainboard was discontinued to support in many years ago, and no way to support by manufacturer – damn Gigabyte.

It may same also for most of people as like me, long time users without any upgrade – why need upgrade for latest? It is enough now for enjoying games with ATi Rx460 4GB, it is even faster than I expected.

Among this opening of hell-gate, there’s a winner – AMD.

AMD win this game for much less vulnerability, and my next desktop will be AMD again. You won the game, AMD ! And Goodbye UNGRATEFUL INTEL ! You such a mad for money moron!

7artisans 25mm f1.8 manual lens for E-Mount

About Lens

7artisans is an unaccustomed brand name among the lens makers of the world. I bought it about 55 USD in Aliexpress. Most of price tagged as about 55 to 80 USD to each different sellers, but actual real supply price known as under 50 USD from unofficial reliable source.

This lens is made for short flange back models – a.k.a mirrorless, and my choice was E-Mount. Whole material seems to made with Aluminium, focus and aperture ring rotates in very smooth, specially aperture ring not stepped as like formal lens.

Lens looks well matched with my NEX-5N black – I love so much, cold and hard feeling on my fingers, really smoothly rotating each control rings, what an excellent experience to me falling in memory of the past.

Depth of focus at F1.8 makes many blurred effect, and it occurs more when object closer than far. Lens minimal length of focus starts from 18cm from sensor, so most of shot should easier in door with 25mm wide degree.

Quality is much nice than I expected, specially each end side of lens, Little berrel distortion, little spatial distortion. This lens may really be a favor item when take shoots in Caf’e




This lens gave me some fun to taking pictures today. Each time I need adjusting focus ring to object. Higher than average quality of result may gives many fun for amarture photographer. And recommend to using my MIOHDR app to better result.

Make your picture to bright ! MIOH(DR)

It was finally released beta build for Mac OS X (Tested with El Capitan and High Sierra) 64bit native application to my open source repository. You can download it here in totally free !

About MIOH

This program is an open source project as GPLv3. Everybody can use my prebuilt binary in totally free, but source code may open to use in commercial. Or make your own new program with my source codes, it should be avoid license, maybe 🙂

Make Image O’ HDR is based on 3 different algorithms to boost your image to has high dynamic range as we seeing everything on our eyes.

How to use ?

Here explains how could it be able enhancing my picture for better than before, as like Pro !

First at all, you may download latest version of application for your OS in here. MIOH now supporting two different OS, Windows 64 and Mac OS X 64. Specially Windows 64 binaries contained normal (SSE3 SIMD + OpenMP) and avx (AVX SIMD + OpenMP). Mac OS X not supporting OpenMP now because built in LLVM-GCC not able to use OpenMP.

When you had ran this application ( Mac OS X users may need open in CMD+click, or right mouse click with selecting Open in popup memu, then agree to open ), you can see just like this.

Don’t be worry, just drag your picture file to application or Open a file with icon that contins “+” as you can see. It may not hurts you !


MIOH supporting JPEG, PNG and windows-BMP formatted image now, Most of your picture may loaded to this application, and it will appeared what contains in file.

You can rotate your picture in each CW 90 or CCW 90 degrees by pressing Command(or Control) and left or right arrow key, or select rotating icon on toolbar. MIOH not automatically rotates your picture by reading EXiF meta information.

You can change each different filters ( Log mapping, Reinhard and eCLAHE ) with different parameters with get hint when your mouse pointer stay on each parameter input, and just click to a Check button to apply changes from your previous picture. It is easy way to get new picture with few clicks.

Okay, now you can save new picture with PNG formatted file, or copy to clipboard with Command(or Control) C. MIOH will copy processed picture to your clipboard to maximum long width or height of 2048px resized.

You can paste clipboard image to your own graphic editor, or any application.

Just download it and uses for your better picture! Make your picture to HDR now, it’s free.



MIOH(MIOHDR) used my open source libraries.


Now Removu S1 supports firmware upgrading for Mac OS X.

It’s been a long waiting, Ha!

Now Removu S1 supports Mac OS X with their new Mac OS X app. Sure it made with native codes with llvm-gcc and FLTK 1.3.4-1-ts of my git clone, thanks anyway.

It was started from their Windows based (actually made with M$VS C# and WTF… no! WPF ? whatever sucks strange GUI hmm … dot NET ?, you know what it is, actually I can not sure) but I couldn’t made anything with their Chinses commented source code, ever. Because it was only runs on Windows, and serial communicating not compatibled with any POSIX, ahh … what a beautiful situation, hugh ?

So I made it whole codes from my open sources, try to make communicate with S1 device on Mac OS X and Linux for while, and I need cold reboot MUCH times by goddam Silicon Labs’ MotherFather driver ( holy sheeeeet thanks to them ), And actually had success to match the argument of S1 packets, it was really hard way.

Now Mac OS X users may understand my previous blurred effect graphics, Just enjoy !


I was made it with Mint Linux, but Essel-T seems not planned to support Linux, that’s so sad news.

Making boosting image signal for stereographics…

There maybe many different ways to detect depth of object, but it depends on reflecting signal intense to indentifying the changing of trace.

So I am now making a new fast and ineffective algorithm with these steps, gamma, median and applying my own algorithm of edge enhancement, then muxing it’em all with source original signals to complete image. Testing was completed in integer world, and planned to step next for floating points.

Raph & Emily, we are writing stories