Diemension9

  • News
  • Linux
  • Fuckipred
  • Tiny gems
  • Htc Hero
  • Downloads
  • [mac] new, mainly bugfix version of uvc-ctrl

    not much done but since i got rid of the most annoying thing i figured i’d release it anyway.. here’s what’s done

    • could not claim interface: access denied error fixed. settings are still reset when some progs are started but they can now be set whilst running e.g. skype.
    • show configuration works again.
    • power line frequency control (manual 50/60Hz anti-flicker setting) added.

    This version is also compatible with Klaus’ gui.

     uvc-ctrl-v0.14b.zip (12.8 KiB, 98 downloads)

    // sluggo

    Posted

    2012/04/18 #

    Filed under

    News, Tiny Gems

    Tags

    c910, logitech, mac os x, uvc, uvc-ctrl

    3 comments

  • [mac] uvc-ctrl gui!

    Klaus has written a gui for the latest version of uvc-ctrl! to use it all you have to do is place the uvc-ctrl in the same folder as his app and you can point-and-click-control your uvc cam. if you wish to bundle uvc-ctrl and Klaus’ gui you just copy it into the app. the easiest way to do that is by unpacking uvc-ctrl and uvc-ctrl-GUI in your home-folder, start the terminal (Applications > Utilities > Terminal) and type

    mv uvc-ctrl uvc-ctrl-GUI.app/Contents/MacOS/

    and then hit enter.
    Thank you Klaus for you awesome work!

    note libusb is still required.

    // sluggo

    Posted

    2012/04/07 #

    Filed under

    News, Tiny Gems

    Tags

    c910, gui, logitech, mac, mac os x, uvc, uvc-ctrl

    4 comments

  • [mac] new version of the uvc-controller

    new version out
    gui available

    since people actually seemed to like this and i won’t have time to fix a gui for the new version for some time i’ll publish it without gui.
    the new beta fixes some bugs (especially the white balance one) and adds some feats.. no changelog available but here’s what you can get/set if your camera supports it: auto-focus, absolute focus, relative focus, auto-exposure, absolute exposure, absolute iris, relative iris, auto-white balance temperature, absolute white balance temperature, brightness, contrast, gain, saturation and sharpness.
    note that the argument order has changed since the last version, think “get/set <value> of <function> on <cam>”. also included the source this time!

    the binary included is “universal” (i386/x86_64) and have been tested on both os x 10.6 and 10.7 (thanks to Arvid). the source has also been compiled on freebsd9. it does not require python as that was only the gui. it does however require libusb.
    just like the last version this one is released under the dm9 license.

    known bugs (thank you Matthew and F-red for the reports)

    • interactive session can’t take negative values
    • auto-exposure value description in wrong order
    • show configuration segfaults

    update thanks to Klaus’ report it seems possible to fix the problem with programs resetting settings made by uvc-ctrl. if you have this trouble: try starting the program that resets your settings, from within it switch to your iSight, update the settings you want with uvc-ctrl on your other cam and then switch back. your settings should now still be in place.

     uvc-ctrl-v0.12b.zip (20.0 KiB, 146 downloads)

    // sluggo

    Posted

    2012/03/10 #

    Filed under

    News, Tiny Gems

    Tags

    c910, logitech, mac os x, uvc, uvc-ctrl

    28 comments

  • FreeBSD 9.0 out!!

    Tjosan Hejsan!!
    FreeBSD 9 is out! got two exams, monday and wednesday, coming up so i won’t be able to mess around with it this weekend.. but the mba will soon be running the greatest BSD-version there is again.

    In other, much less interesting news a new version of uvcc will be out soon. just haven’t had time to fix up the last bits and pieces of the new (and waaay less buggy) version of it yet.

    // sluggo

    Posted

    2012/01/13 #

    Filed under

    News

    Tags

    freebsd 9, uvcc

    no comments

  • [mac] uvcc: uvc-controller app, alpha version out

    new version out.


    uvcc icon stolen from the internetcodename “ugly-code” is out!
    with it you can kill auto-focus/-exposure/-white balance and set the absolute value of these manually on a uvc camera. the gui is really just thrown together and may not recognize your cam if it returns any error in the get-all request of uvcc.app/Contents/Resources/uvc-ctrl. it does however work nicely with the logitech c910 (on both x86_64 and i386 snowy leopards). a screenshot is available in the earlier post about it.
    oh, and i stole the icon from somewhere on the internet.. can’t even remember where!

    note: requires python 2.6, shipped with os x 10.6 – snowy leopard. so if you are running os x 10.5 you can update your python installation, or just wait.. ill get a new, python >= 2.5 version up in a while.

    note 2: found a bug, the auto exposure slide should go from 1 to 8. selecting 0 will cause an error that goes unnoticed by (well, not that unnoticed.. you’ll notice the setting wasn’t saved)!

    note 3: got some reports it isn’t working.. it seems alotta progs that use a webcam resets all settings (and thus turns on auto-whatever) when opened. This may very well be an apple driver “feat” but most people i’ve spoken with says it works well if they turn off the auto-whatever after starting said program.
    btw, beer is good.

     uvcc.zip (116.5 KiB, 389 downloads)

    // sluggo

    Posted

    2011/12/14 #

    Filed under

    News

    Tags

    c910, i386, logitech, mac os x, uvcc, x86_64

    25 comments

  • [mac] libusb-1.0.8 package (installer) for os x

    built a libusb-1.0.8 package installer for os x. it’s a universal binary for both i386 and x86_64 archs (“32 and 64 bit”).
    it was built on a snow leopard (10.6) x86_64 machine; haven’t been able to try it on any other version/arch. used the default minimum target setting in packagemaker which was leopard (10.5) and compiled both a i386 and a x86_64 lib and lipo’d them together.
    anyone with a i386 machine and/or other versions of os x are very welcome to report success/fail.
    update: tested and working on i386 snow leopard.
    update2: tested and working in os x 10.7 (Lion), thank you F-red!

     libusb-1.0.8.pkg.zip (96.3 KiB, 436 downloads)

    // sluggo

    Posted

    2011/12/13 #

    Filed under

    News, Tiny Gems

    Tags

    i386, installer, libusb, mac os x, package, universal binary, x86_64

    5 comments

  • [uvc/mac] python front-end to the uvc-ctrl

    since i’ll be using the uvc-controller with some work-related stuff im working on a front-end for it.. it’s nearly done. here’s a sneek peek
    front-end to the uvc-controller
    if you haven’t noticed.. i do not like writing guis.

    // sluggo

    Posted

    #

    Filed under

    News

    Tags

    auto-focus, mac os x, uvc

    no comments

  • [uvc] cross-platform killing of autofocus on uvc-cam

    got some work done on the uvc-controller today.. finally managed to turn of auto-* on the logitech c910 in mac os x (haven’t tried on the other boxes yet). heres a dump:
    os x uvc-controller

    // sluggo

    Posted

    2011/12/05 #

    Filed under

    Linux, News

    Tags

    auto-exposure, auto-focus, autofocus, c910, freebsd, libusb, linux, logitech, mac os x, turn off, uvc

    1 comment

  • [bash] unnecessary script

    think i wrote the most useless script i’ve ever produced today. the embarrassing thing was i didn’t realize what the hell i was doing til it was almost done.. to make some use of it i figured i’d comment it and put it here.

    #!/bin/bash
    # check if number of arguments ($#) is less than (-lt) 2
    if [ $# -lt 2 ]; then
    	echo "usage: $0 dst src [src1 src2 ...]"
    	# wrong usage means non zero exit code
    	exit 1
    fi
    # make sure first argument ($1) is a directory
    if [ ! -d $1 ]; then
    	echo "target dir must exist!"
    	exit 1
    fi
    # store arguments to script in args (only reason is i dunno
    # how to do the following line with $@).
    args=$@
    # loop through args-array from element 2 to <last>
    for a in ${args[@]:2}; do
    	if [ ! -d $a ]; then
    		echo "\"$a\" is not a directory, skipping.."
    		# if it's not a dir skip this iteration
    		continue
    	fi
    	echo "creating dir \"$1/$a\""
    	mkdir "$1/$a"
    	# check exit code of last call (mkdir), if it's not equal (-ne)
    	# to 0 we've got an error.
    	if [ $? -ne 0 ]; then
    		echo "could not create \"$1/$a\", skipping.."
    		continue
    	fi
    	# list all files (-A), including symbolic links (-P) in $a, one per line (-1), with trailing / on dirs (-p) |
    	# select the ones with without trailing / |
    	# make xargs replace {} in the cp-call with result
    	ls -1APp $a | grep '[^/]$' | xargs -I '{}' cp "$a/{}" "$1/$a/{}"
    	# list files in $a as above but recursively (-R) |
    	# select the lines containing a : |
     	# remove the : and loop thru the result
    	for b in `ls -ARPp $a | grep ":" | sed -e 's/://'`
    	do
    		mkdir "$1/$b"
    		if [ $? -ne 0 ]; then
    			echo "could not create \"$1/$b\", skipping.."
    			continue
    		fi
    		ls -1APp $b | grep '[^/]$' | xargs -I '{}' cp "$b/{}" "$1/$b/{}"
    	done
    done
    
    exit 0
    

    notice how lines 23-46 can be replaced by

    cp -R "$a" "$1/."
    

    // sluggo

    Posted

    2011/12/04 #

    Filed under

    Linux, Tiny Gems

    Tags

    bash, idiot, moron, stupid

    no comments

  • [libusb/uvc] cross-platform autoadjustment killer..

    working on a cross-platform thingy to friggin kill all auto-adjustments (focus, exposure, etc) on uvc-compliant webcams. being short on time, as usual, i’ve realized i hate usb. thats right, i hate universal serial bus. if it wasn’t for libusb i’d probably shot my self dead, at least three times already.
    if you think controlling uvc-cams seems super-duper-interesting and wanna read all about it here’s a guy who has done pretty much what im doing.

    // sluggo

    Posted

    2011/11/27 #

    Filed under

    Linux, News

    Tags

    auto-exposure, auto-focus, cross-platform, libusb, uvc

    no comments

Top

Older posts >>