FUSE: Filesystem In Userspace

flickr

There has been a lot of buzz this week about Flickrfs the virtual filesystem for Flickr. Using Flickrfs you can interact with Flickr tags and photos just like your regular filesystem. A similar service is GmailFS which lets you mount a Gmail account as a large virtual filesystem. Both of these services are built on top of FUSE. FUSE makes it easy to build fully functional filesystems inside of a userspace program. Users can script and manipulate files just like their regular files. FUSE is now part of the main Linux kernel with release 2.6.14. Check out the list of other interesting filesystems built using FUSE. Of particular interest: WikipediaFS, SMB for FUSE is similar to Network Neighborhood, SSHFS, btslave to mount torrent files, and djmount is a UPnP AV client.

Continue reading “FUSE: Filesystem In Userspace”

PIC Based IPod Remote Control

ipod remote

I’d found plenty of documentation on the iPod’s dock pinout and serial based remote interface, but never a decent explanation of how to actually implement it. Finally I found BigCookie’s iPod to T&A remote control adapter tucked away in the iPod Linux wiki. He built the controller to receive remote signals from his T&A audio receiver and then translate them to control the iPod. He’s got schematics and code for a a PIC16F628 microcontroller. I’m guessing the code could be adapted to support almost any input method the PIC supports.

Continue reading “PIC Based IPod Remote Control”

Don’t Trust Your Hardware

flash drive

I wasn’t able to see David Maynor’s “You are the Trojan” (pdf) talk at Toorcon, but it’s a really interesting subject. With such a large emphasis being placed on tightening perimeter security with firewalls and IDS systems how do attacks keep getting through? The user: bringing laptops on site, connecting home systems through a VPN, or just sacrificing security for speed.

Peripherals can also be a major threat. USB and other computer components use Direct Memory Access (DMA) to bypass the processor. This allows for high performance data transfers. The CPU is completely oblivious to the DMA activity. There is a lot of trust involved in this situation. Here’s how this could be exploited: Like a diligent individual you’ve locked you Windows session. Someone walks in with their hacked USB key and plugs it into your computer. The USB key uses its DMA to kill the process locking your session. Voila! your terminal is now wide open and all they had to do was plug in their USB key, PSP, iPod

Hack-A-Day Extra

biquad dish

From the comments it sounds like people actually were reading the links posts. Well, the story is: We’re taking Hack-A-Day back to its original purpose, one hack a day. By popular demand though it looks like I’ll be putting up some random links posts from time to time.

If you are getting bored you can check out the Team Hack-A-Day Folding@HOME team forum which now has a memorable web address: http://teamhackaday.com The team should be hitting 3 million points this weekend. You could also hang out on our long standing IRC channel: #hackaday on EFnet.

Continue reading “Hack-A-Day Extra”

Using A TV Tuner As A High Speed ADC

tv tuner

The Bt878 chipset is fairly common on TV tuner cards. The chip has a built in analog to digital converter with a sample rate of 119kHz to 448kHz, well above the standard audio rate of 44kHz. The hardware has to be hacked a little to inject your signal since the chip is usually receiving audio from the turner. With some driver hacking this chip can be pushed to 896000 samples per second. Recent developments make things even easier with ALSA support.

[thanks rockarolla]

Continue reading “Using A TV Tuner As A High Speed ADC”

Calculating Bullet Speed Using Audacity

audacity

Max and Phildog hit the shooting range this weekend to see if they could accurately measure bullet speed using Audacity. Using Audacity to examine the wave form they can determine the time between the shot being fired and striking the target. This time needs to be adjusted based on the known distance to the target. They’ve got data from quite a few different guns, but this is just a test run and they’re still improving their technique.

Continue reading “Calculating Bullet Speed Using Audacity”

Record Cleaner

record cleaner

Welcome back to A-DJ-Hack-Every-Other-Day. Maintaining clean vinyl will improve the sound quality and lifetime of your records and cartridges. It’s also a great first step when ripping the audio. This record cleaning system is built from the platter of an old turntable and a canister vacuum. The record clamp is constructed from MDF and is used to rotate the record and protect the label. The vacuum hose has a modified crevice attachment used for removing the excess cleaning fluid. The site includes a recipe for making your own cleaning fluid. Of course any money you save on this project will probably be spent on more vinyl.

Continue reading “Record Cleaner”