Google Ads

I have been waiting a long time for a mature, stable build of CyanogenMod for the ViewSonic gTablet, and I have to say that I am quite pleased with the effort that the CyanogenMod team has put into the version 7.0.3 build. In fact, the only complaint I have is about the lack of built-in CIFS support on the gtab build. This is a guide on how to mount CIFS/SMB shares on your gTablet running CM7.

The reason the gTablet build of CM7 doesn’t allow mounting CIFS/SMB shares is because the cfis.ko kernel module was left out of the ROM. Fortunately, this is a fairly easy fix. On the official CM 7.0.3 gTablet build, the running kernel is Linux 2.6.32.39, and the correct module can be found on DroidBasement in the following lib package:

http://droidbasement.com/gtab/kernels/2632/37/lib-2632.39_gb.tar.gz

If you are running a different version of CM7 (or perhaps another ROM that is likewise lacking cfis support), you will want to run “uname -a” from a terminal emulator or adb to determine the correct kernel lib package to get from DroidBasement, and make sure you get the correct package for your device.

$ uname -a
Linux localhost 2.6.32.39-cyanogenmod #1 SMP PREEMPT Sun Apr 24 22:06:49 EDT 2011 armv7l GNU/Linux

Anyway, there’s only one file in that archive that you should be concerned with at the moment:

lib-2632.39_gb.tar\lib\modules\2.6.32.39-cyanogenmod\kernel\fs\cifs\cifs.ko

Once you have located this file, extract it and copy it to the internal storage of your ViewSonic gTablet using a micro-USB cable or the microSD card. Once you have it loaded onto your tablet, open the Market on your device and install CifsManager. Load the CifsManager app, click Add New Share…, enter the server IP and share name as instructed, enter the mount point, username and password (if applicable), then click on Save Share. Be sure your mount point exists in a location that is writable so that CifsManager can create it.

Before you mount the share, you have to tell CifsManager how to load the cifs.ko kernel module. Click on Menu, Settings, then check Load cifs module, and Load via insmod. Finally, enter the full path to the location of cifs.ko, then hit back and attempt to mount the share. If all goes well, you will see a message that reads, “The share has been mounted successfully.”

Unfortunately the version of CifsManager I had installed failed to set the permissions correctly when it created my mount point. Particularly, it left out the execute bit for everyone except the owner. In order to fix this, open up your terminal emulator, ssh client or adb, and type:

$ su
# chmod a+rwx /mnt/cifs/mountpoint

Replace /mnt/cifs/mountpoint with the actual name of the mountpoint you are using for your share.

And that’s it! You can now access files on your smb share directly from your gTablet within any Android app. I use it to access my music library as well as pictures and video files.

I just got an iPhone and switched to AT&T after five years on Verizon Wireless. Don’t get me wrong – I really liked Verizon. It’s just that I left my previous employer several months ago, and I knew that resigning a contract meant they’d validate my employment status, realize I was no longer employed there, and cancel my 20% discount.

Fortunately, I discovered that Purdue has a deal with AT&T, so I was able to get 20% off both the voice and data portions of my wireless plan. I knew I wanted a smartphone, and after playing around with the options, there was no denying that the iPhone beat the competition in usability, speed, and general awesomeness.

After I bought my 60GB iPod Photo in 2004, I swore up and down that it was the last Apple product I would buy new – yet here I am, with a shiny new iPhone. So sue me…things change.

Anyhow, I’m big on hacking and tweaking my stuff. My last Verizon phone was a Motorola V325, and I hacked the hell out of it to make it work how I wanted. Naturally, I jailbroke my iPhone within 24 hours of my purchase, so that I could better customize stuff like sounds and the UI.

I’ve been using one of the themes from Super Mario World for the past five years on each of my phones, so I knew I wanted to upload it to my iPhone. Turns out that adding ringtones takes a little work, but it can be done – for free, and with free software. iTunes will only let you create ringtones from songs you’ve downloaded from the iTunes Store. I’m going to show you how to create ringtones from any audio file, whether it’s WAV, MP3, AAC, or anything else.

First off, you need Audacity. This is a free, open-source sound editor that’s been around for awhile. You want to make sure to get the latest beta version, as it includes support for exporting to AAC (.m4a) format. Once you have Audacity, you also need to get the ffmpeg libraries, which will support exporting to multiple formats (including AAC). If this link is dead, try the version here.

You’ll notice that the file format of the downloaded libraries is a little odd (the second link will take you to a .7z version) – if you don’t already have it, 7-Zip will allow you to extract the files. Once you have the files extracted, copy them into the Plugins directory of your Audacity program folder – it should be something like C:\Program Files\Audacity 1.3 Beta (Unicode)\Plug-Ins.

If you want to make MP3 ringtones for phones other than the iPhone, you need the LAME libraries, available here.

Now you can load up Audacity (it’s in your Start Menu once you’ve installed it). The first thing you need to do is tell it where the ffmpeg libraries reside. Click the Edit menu, and select Preferences. Go down to Import/Export, where you’ll see a box about ffmpeg in the top left corner:

ffmpeg-prefs-1

Click Find Library, and browse to the Plugins folder where you extracted the files. You’ll see that a single dll appears – click it, and click Open. You’ll now see something like this:

ffmpeg-prefs-2

Now that Audacity is set up for exporting to AAC, we can start making our ringtones. It’s pretty screenshot-heavy, so click the jump to see the rest.

Read the rest of this entry »

2008.06.12 [Thu] | 08:46 PM

I have friends all over the world. Once in awhile, I make use of the various webcams I own and do a little video chatting. Getting video chat to work well will be for another day – something I learned recently, however, was how to setup a live stream on a webpage. It was surprisingly easy, and works in both Windows Vista and Windows XP.

You need three things : a webcam, a decent high-speed internet connection (the lowest end DSL might not have enough bandwidth to support this well), and Windows Media Encoder, which is available for free from Microsoft. If you’re running Vista, there’s a hotfix you might need (it’s linked on the main WME page), but I have yet to have any problems myself.

You might also want to get a dynamic IP service, like dyndns or no-ip. I used no-ip.org, although they seem to be really big on sending me frequent emails advertising their paid services – I’m not a big fan of free services spamming me about their commerical options. If you don’t use a dynamic IP service with the computer running the webcam, you’ll have to manually update the webpage every time your IP changes.

We’ll walk through how to get setup and going. It’s a bit screenshot heavy, so click the jump to see the rest.

Read the rest of this entry »

2008.06.08 [Sun] | 02:15 AM

You know, for all the flak our friends in Redmond get, I’ve seen Microsoft release some pretty decent stuff lately.

I sometimes wonder (ok, so I wonder a lot…) if people have a habit of immediately discounting anything from the hands of Microsoft because, well, it’s from Microsoft. Perish the thought!

Anyhow, I’ve more recently become a regular user of two well-known Microsoft products: Windows Vista and an 8GB Zune. I can still remember when the Zune first came out – it was mercilessly destroyed by critics everywhere as a pathetic attempt to compete with Apple’s flagship iPod products. At this point, anything that plays movies and music is going to be an iPod competitor, period. It’s hard to create something that can validly stand up against the number one digital music player on the merket.

At any rate, I’ve been writing reviews for Julie Strietelmeier over at The Gadgeteer for a few months now. She asked me to review the 8GB Zune, and I’ve been using it ever since. I’ve even gone so far as to mention to her several times how much I like the thing.

You can read the full review here – it’s a bit long, but it’ll be easier than me repeating myself in this post. Why do I really like the Zune? It just works. Seriously. I turn it on, and it works. There’s almost zero learning curve. The up-and-down motion of the touch-sensitive D-pad (wow, that was a lot of hyphens) is easier on my thumb than the scroll wheel on my fourth generation 60GB iPod photo. It fits in my back pocket. Battery life is phenomenal – I only charge it about once a week, and I use it every day. It looks sexy as hell.

The software leaves a little (or a crapload) to be desired, but the latest revision (2.5) fixed several of my top complaints about the usability of it. I’d like to see MS give us Windows Media Player compatibility. Overall, though, what can I say? I really, really love my Zune. When my iPod finally dies on me, I’m pretty sure I’m going to be replacing it with a Zune. Of course, this means my iPod alarm clock will no longer be very useful, so I may have to keep around an iPod just for that.

Epiphany – now I know why people are against buying products specific to a single device. I mean, everyone was thrilled when all the major cell phone manufacturers announced they were going to a single standard for charging (micro-USB), right? It’s too bad that all these music devices can’t use a single standard for docking, remote controls, alarm clocks, video output, etc. I’ve got too much iPod hardware as it is. I’ve looked into how difficult it would be to create an adapter to use my iPod stuff with my Zune – it doesn’t look overly complex, but would require some more knowledge about the Zune’s pinouts (what’s available now is far from solid data). Getting charging and syncing to work is one thing, but getting other signals to work – remote controls and other docks, specifically – is another beast. I’ll add that to my ever-growing list of summer projects.

I’ll save my commentary on Vista for another day. Right now, I’m more interested in figuring out how to add timestamps to WordPress posts.

Google Ads