2009

2008

2007

Wow...

▁ jun 09 2008

I don’t usually listen to Radiohead, but for the Nude Remix competiton, this guy went one weirder than everyone else: http://www.vimeo.com/1109226?pg=embed&sec=1109226

Who else do you know who can play a bass part with their scanner?

0 comments — categories: hardware, music, art
. o .

Changing USB Vendor and Product IDs on Arduino Diecimila

▁ may 11 2008

Because having the stock standard USB VIDs and PIDs were annoying when trying to hookup a libusb filter driver under Windows, I decided to have a look around to see if it was at all possible change these values. After a bit of researching, here’s what you need to do (you’ll need to do this under Windows; I haven’t tried under Wine, but it’d probably be better to run underneath VMware):

  1. Grab the D2XX driver setup executable from here, and install it. After you change the PID and VIDs and you wish to reprogram them again, you’ll need to make your own custom driver package; read about it in this document.
  2. Now, we can program the EEPROM on the USB< -->Serial chip. Head over here to grab MProg. Install that, and open it up.
  3. Click File->New and fill in the information in the main application panel as required. Device type is FT232R. Once you’re done, click on Device->Scan. The log panel should point out “Number Of Programmed Devices = 1”. If this is right, Device->Program should flash the EEPROM and put the new data on it. Then, quit MProg and re-connect the USB device.

Apparently, there’s also a version of the EEPROM programmer for FreeBSD. I haven’t actually tested this, since the above steps worked fine for me, but if you’re under Linux, it might useful to give it a go/modify it where necessary.

Happy hacking. =)

. o .

Hardhacking

▁ may 10 2008

Well, I figured I might as well put to good use the Arduino board board I purchased about a month back.

Being such an original person that I am, I’ve decided to come up with another Arduino monome clone. I intend to build a nice 8x8 button surface; the size is good because it means I’m not buying zillions of dollars worth of components - only 64, not 144 (on a 12x12 board) as I had originally planned, heh - and because it’s not too large, so you can grab it nicely with your hands and muck around. This’ll probably end up very similar to the OcTinct in way of end-result.

I’ve ordered most of the parts I’ll be using; that is, 9x 8-channel multiplexers for reading the buttons (yes, cheaper than 3x 16-channel multiplexers), 50 RGB LEDs (these were cheapies for $10 off eBay, probably not the best quality, considering the price and that they’re getting shipped from some random place in Hong Kong, but hey), 100 diodes to prevent key press information flowing back into our matrix; and four 4x4 button pads and breakout boards from SparkFun. I’ve yet to purchase the extra LEDs, mainly because I’m not sure about the quality of the ones I’ve already ordered, and the demuxers to feed the color data to the LEDs with. I’ll probably end up wiring up a single row of LEDs to test first, then go buy it out once I work out how I’m going to feed the data; remember, we have 3 channels of information with the LEDs (red, green and blue) rather than just one if we were going with the single colour ones, so that makes things a bit more annoying. I’ll probably just by more demuxers and handle the yucky stuff in the firmware.

I’m going to make it compatible with the same protocol used by the original monomes. At the least, this means it’s possible to use the same applications and (hopefully) some of the software used for the Monomes. I’ll probably extend it a bit by adding a few extra functions to the protocol, and manually modify applications (like snake) so that things come up in different colours.

I’ll probably pop an accelerometer on by default, and feed that to the software via the same way the Monome does it - keep in mind that the accelerometer hack is an aux input on that. I’d also looove to have direct MIDI out on the box, so you don’t need to lug around a laptop to do gigs. Need to figure out a way to map each key to a different note dynamically without a computer, though.

Any thoughts on a name, some sort of enclosing, or some other awesome features?

Edit: fixed up linkage.

1 comment — categories: tech, hardware, music
. o .

Hello world.

▁ dec 22 2007

from a new Sony VAIO VGN-SZ56GN (aka SZ110 or something later, I’m sure). Very sexy, just installed Debian. Basically everything but wireless worked out of the box (had to install a kernel module, just a simple apt-get).

Edit: OK, so I lied. Not everything worked as well as I had hoped:

  • Had to install the icky NVIDIA driver (and kernel-headers, etc..).
  • Create an init script to switch between the Intel and NVIDIA xorg.conf files depending on what the switch was set to on boot.
  • Update ALSA kernel modules, so that the PC speaker would mute itself when I plugged headphones in. Haven’t testing the microphone yet, but I suspect that’s been fixed too. Debian came with 1.0.14, and this was fixed in 1.0.15rc3 (which has been released). Also needed to force the vaio version of the driver. A newer version of ALSA has been uploaded by the Debian ALSA maintainers and is waiting to be accepted into sid.
  • ACPI events via sony-pi are buggered - need to apply a patch so that the laptop gets detected correctly instead of falling back to an incorrect default. Either that, or use sony-laptop, I forget. (This appears to be patched in the latest kernel release - will get back to you on this one).
  • A patch exists to make the Motioneye Camera on this machine appear at /dev/video0, so that other apps can access the webcam, but I haven’t tried nor bothered to get it working yet. I’m sure I’ll get around to it eventually, but it’s not really high priority for me at the moment. (Note: might be fixed by getting the above issue resolved)
  • Cannot easily adjust backlight values. If I’m running on the Intel graphics adapter, I can jump into gnome-terminal/xterm/whatever, and run xbacklight -set 50; the NVIDIA card does not have an obviously apparent way to adjust the backlight brightness - it can adjust the screen brightness, but this does not equate to less power used. Using the screen brightness applet causes it to crash. (Related to sony-pi driver).
  • Haven’t tried out the fingerprint reader, but I suspect I’ll need to install a driver or two to get that working properly too.

The amount of custom hardware on this machine makes the software issue worse than most other brands though; but the machine itself is pretty hard to beat - nice and light, long battery life, looks good, feature-full, and a full-sized keyboard.

I did also manage to remove the “Windows Vista(tm)” sticker; pretty damn hard mind you. :D

Edit x2: More detailed information will now live here forever.

2 comments — categories: tech, hardware, rant, life
powered by