Thursday, November 11, 2010

Amazon Video for Windows Mobile

I recently tried to play a video from Amazon that I transferred to my HTC T-Mobile Dash 3G (WM6)

Amazon Unbox transfers a portable version of the video to my device just fine, but if I try to play it under media player the following message is displayed:

To play this protected file, you must download a license from the Internet. Do you want to download a license?

Media player then displays:
Acquiring license

After about 30 seconds Internet Explorer will pop up and take you to a page titled
"DRM License Request"

After awhile you'll just end up sitting at the Amazon website and media player will give up trying to play the file.

Sometimes this process crashes my phone requiring me to pull the battery just to get it working again.

It would be "nice" if Microsoft and Amazon would publish instructions on how to get this working..

Monday, August 16, 2010

Resending Syslog Messages with TCPreplay

If you're running 2 systems in VMware, then all you need to do is match the source and destination MAC address and IP address before running TCPreplay.

tcpreplay --loop=0 --mbps=2.0 --intf1=eth1 /root/syslogsample.pcap

Friday, August 6, 2010

T-Mobile Dash 3G MP4 Video Howto

Just wanted to post the settings I use to encode MP4 video for playback on my Dash 3G smartphone (aka HTC Snap).

Encoding using Ulead 11:

Video
FPS 23.97
320x240
4:3
M4V-SP
512kbps

Audio
AAC
32000hz
96kpbs

Wednesday, June 9, 2010

Limiting Network Bandwidth Using Linux

Just enter these two commands to establish a rate limit of 2kbps on eth0.

tc qdisc add dev eth0 root handle 1:0 netem delay 10ms
tc qdisc add dev eth0 parent 1:1 handle 10: tbf rate 2kbit buffer 1600 limit 3000

OR

More recently I found the following single command will effectively restrict bandwidth to 2kbps
tc qdisc add dev eth0 root tbf rate 2kbit latency 1ms burst 1540
or
tc qdisc add dev eth0 root tbf rate 15mbit latency 1ms burst 20m

Monday, April 12, 2010

2010 Mazda 3 - Rear Deck Subwoofer Install

I recently added a Pioneer TS-SW841D 8in subwoofer to my 2010 Mazda 3 iSport with 4 speaker non-Bose stereo.
http://www.pioneerelectronics.com/PUSA/Products/CarAudioVideo/Subwoofers/Shallow/TS-SW841D

The sub adds just enough to give me the lower range I was missing with the factory speakers. Best of all the rear deck mounting option (free-air setup) means that I won't lose any trunk space. The sub is only about 2.5 inches deep and as you can see the amplifier (blue) is the lowest part of my setup.

I decided to go with this sub, because I noticed the rear deck had a subwoofer mount stamped into it from the factory. I used a jigsaw and pretty much just followed one of the inner circles from the stamping.

Here's what it looks like from the top. One sheet from a Dynamat speaker install kit was all I needed to keep things rattle free.
In addition to a shallow mounting depth, the speaker also features a short xmax, which means you can conceal it under the rear deck plastic. I did however trim off two of the fabric keepers (factory sound deadening material) directly above the woofer just in case they were too close. Be careful when taking apart the rear deck, as I think I saw the side curtain airbags tucked behind the white triangle parts.

Now here's the wiring. You'll be splicing into the two rear speakers for use with a LOC (line output converter), and also tapping a 12v accessory lead for the amp. You'll need a gift card and flat head screw driving to pop out the center vents above the radio, then you'll see two phillips head screws that can be removed to get out the factory head unit.

For the LOC, you'll use the 4 wires at the upper left: Right- (Brown), Right+ (Light Blue), Left- (Aqua), Left+ (White)

The light blue wire towards the middle in the bottom row will be your 12v remote turn-on lead.

That's it! It took me about 5 hours to do all the cutting/drilling and cleanly tuck/secure all the wiring.