May 11, 2008

Changing USB Vendor and Product IDs on Arduino Diecimila

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. =)

May 10, 2008

Hardhacking

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 8×8 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 12×12 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 4×4 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.

May 09, 2008

Canon 450D RAW & Ubuntu Hardy

If you've been trying to develop a Canon EOS 450D RAW file using ufraw on the latest Ubuntu release, you might have run into something like this:

Pink, sweet!
Pink, sweet!


While we could wait until this lands through the new dcraw (bug opened), some of us want to develop pictures now.

For those, I've built a patched ufraw. It's retrievable through my Ubuntu PPA. Enjoy!

May 08, 2008

Banshee Podcast Support Coming in Beta 2

First, a quick note to people using the Ubuntu Banshee 1.0 PPA packages. Unfortunately, the packager messed up and at first released packages without iPod or MTP support. And now it has come to my attention (via comments and bugs from disappointed users) that the packages include the podcast extension, when it is pre-alpha and should not have been included. Hopefully the Ubuntu guys will get fixed packages out soon, and be more careful with packaging in the future. Jorge is working to make things right.

We do expect to have the podcast extension ready by Beta 2. And Beta 2 will have auto-rip support which I just committed last night. After enabling it in your Preferences, whenever you insert a CD it will automatically begin importing it, if it's not already in your library and if MusicBrainz information can be found for it. Very useful if you are ripping many CDs.

May 07, 2008

Banshee 1.0 Beta 1 Released

We have just released Banshee 1.0 Beta 1, aka 0.99.1! This release adds some major features and lots of polish.


MTP and iPod device support have landed! Both MTP and iPod support album artwork, on-the-fly transcoding (converting between file formats), and video support!

Animation showing Banshee playing music, transferring files to a MTP device, and showing large cover art.
Banshee playing music, showing cover art, and transferring to an MTP device

Other features and fixes include:
  • Fullscreen video playback (go to Now Playing and press f or hit the Fullscreen button)
  • Extensions can be enabled and disabled in the new Mange Extensions tab within your Preferences.
  • Banshee can be scripted using Boo
  • Improved gstreamer error handling (for missing files, codecs, etc)
  • A bug with play counts, introduced in Alpha 3, has been fixed
  • Writing metadata to file was not working in the Alphas, is fixed
  • Issues with the play queue should all be resolved
  • Limiting smart playlists by file size or duration works
  • Shuffle and repeat are automatically disabled while playing Last.fm

Default smart playlists in Banshee
Default Smart Playlists
This release also features default smart playlists, created for new users and users with zero smart playlists. There is a more extensive list of predefined smart playlists, including the defaults, available in the New Smart Playlist dialog.

Thanks to Aaron Bockover, Alexander Hixon, Bertrand Lorentz, Christopher Rogers, Scott Peterson, Sebastian Dröge, and Wouter Bolsterlee for code contributions for this release, and to Daniel Nylander (sv), Gabor Kelemen (hu), Jordi Mas (ca), and Wouter Bolsterlee (nl) for updated translations! And to Jorge Castro for testing and release notes help, and Michael Monreal and Andrew Conkling for testing and bugzilla work!

You can follow the posts of Banshee contributors on Planet Banshee. We are a friendly, vibrant community and always glad to have people join us! If you have been wanting to contribute back to free software and GNOME, I think you'll find Banshee's code and C# a pleasure to work in, and a healthy amount of support and encouragement from a very active community. Join us on our mailing list, in our IRC chatroom, and on our wiki!

Digg It!

May 05, 2008

May 02, 2008

OpenWeek Schedule Change

Had to do some shuffling of the OpenWeek schedule. I apologize for any inconvenience this might have caused.

Please refer to the schedule.

May 01, 2008

Palmers, ftw.

People have been noticing that I am addicted to a certain beverage (no, not beer):

It's called an Arnold Palmer. Half iced tea, half lemonade. Most restaurants will make one for you. I've just started buying it by the case. I've lost a ton of weight just by drinking these instead of Dr. Pepper. YMMV. Apparently if I work out more I will lose even more weight, but that takes work ... pfft.

April 30, 2008

Half-way through Ubuntu OpenWeek

Ubuntuopenweeksmall_2

The participation in OpenWeek has been outstanding so far, thanks to the session presenters and everyone for showing up.

We have 3 more days of sessions, make sure you check out the schedule for more information.

Special thanks to Stéphane Graber, Nosrednaekim, James Westby, Dylan McCall, and J AustinBardo for ensuring that the wiki page is up to date with logs of the sessions and general maintenance. Also thanks to the IRC team for keeping things flowing so well.

April 28, 2008

Evolution Crash Detection

I’ve recently made the jump to the latest ‘n greatest desktop, GNOME 2.22. Altogether I’m quite happy with the software. Not so happy with all the Gentoo bugs. But that’s another story.

One of my favorite bugs is the crashes that Xorg keeps causing, which has made my computing experience similarly enjoyable to Windows 95 where the computer is no longer logical, and likes to crash in a multitude of ways with no warning.

However onto the subject: Evolution’s new crash detection feature. I won’t debate the merit of this feature. Just the dialog box that I had to squint at over morning tea for a whole minute before I understood what the hell it’s prompting me for:

evolution crash detection

I get what this feature exists for. They’re worried that certain types of emails are crashing Evolution upon viewing, so we have a feature to disable the preview pane in the rare case that this is the issue. I suppose. I’ve personally never once had this issue. But what the hell. I’ll play along.

I’m annoyed by this dialog. When my software makes me think, it makes me unhappy. I don’t like to think:

  • I don’t use the preview pane. Why am I seeing this dialog? There’s nothing to disable!
  • “…appears to have exited unexpectedly…” — how the hell else would Evolution’s data files be in a state indicating crash? Be assertive in your dialog messages, as your users appreciate it! This should read “Evolution exited unexpectedly the last time it was run.”
  • The text seems to indicate that “all preview panes will be hidden.” This tells me that the software will do what it says. But what options am I given? An Ignore and a Recover option. At this point in reading the dialog, I wasn’t expecting to be asked a question. I can make some assumptions about what these buttons do…but…what? I had to ponder about what button to push for a whole (admittedly sleepy) minute.

Bug 530345 filed. Hopefully not too grumpy in my bug report, I really do want this to get fixed. But it made me think so early in the morning so I’m allowed to be grumpy, right?

April 27, 2008

There will be no rest.

Now that the parties are out of the way (pics later), we can relax right? Wrong! The Ubuntu train never stops, there will be no rest for the wicked. Just a quick reminder that OpenWeek starts this Monday at 1500UTC.

OpenWeek is a weeklong set of IRC sessions designed to grow the Ubuntu community.

Ubuntuopenweeksmall

The timing is particularly good this time, we're at the very beginning of the cycle for Ibex (not even a UDS yet!) - so now is a good opportunity for you to get involved if you want to learn about packaging, filing bugs, running upstream kernels, and the entire bunch of workshops we've got planned for you. See you there!

Sound Issues With Fedora: Resolved!

Those who follow me on Twitter, or put up with my constant complaining via Google Talk are well aware that I've had sound issues with Fedora 9 lately (installed on my slave HDD).

Turns out, these issues are fixable, if hard to track down.

What issues per se? Tinny, scratchy sound. Oh noes, mi amigos.

Here's how to see if this is your issue:

$ dmesg | grep intel8x0

If you see something about it setting to ###### usecs, and that lovely number isn't 48000, add this to your /etc/modprobe.conf:

options snd_intel8x0 ac97_clock=48000

Thanks to ivasquez, nirik, yarddog, and tyrok from #fedora!