Thursday, September 1, 2011

Using GTKPOD for IPOD: Error - Could not find the Firewire ID

Let's get firewire id manually. To do that, run "sudo lsusb -v | grep -i Serial" (without
the "") with your iPod plugged in, this should print a 16 character long string
like 00A1234567891231. Once you have that number, create/edit
/mnt/ipod/iPod_Control/Device/SysInfo (if your iPod is mounted at /mnt/ipod).
Add to that file the line below:
FirewireGuid: 0xffffffffffffffff
(replace ffffffffffffffff with the string you obtained at the previous step)
Save that file, and you should be all set. Be careful when using apps which
lets you manually specify which iPod model you own, they may overwrite that
file when you do that. So if after doing that libgpod still seems to write
invalid content to the iPod, double-check the content of that SysInfo file to
make sure the FirewireGuid line you added isn't gone. If that happens, readd it
to the end of the file, and make sure libgpod rewrite the iPod content.

Monday, March 14, 2011

Configure default search domain for DNS in Linux

Lets say we are part of domain xyz.com.
So when we "ping abc", we intend to ping "abc.xyz.com", how can we make the system pick default suffix?

Simplest solution is edit /etc/resolv.conf and add a line
"search xyz.com"

Thursday, February 17, 2011

Configuring path for dynamic library

On Linux system, to configure the path for .so to be picked up -
*) /etc/ld.so.conf
*) ldconfig -f
Conf file need to have the absoute path of the locations in order to be picked up from.

Tuesday, February 1, 2011

iPhone "SIM not inserted error"

I ran into this issue recently.
If your SIM is old, or may be having little distortion due to sevral times changing it into different handset, this may be the symptom.
During calls, after reboot also this does not get fixed.

Replacing the scheme worked out. My SIM was 4.5 years old and might have got damaged in last couple of handset changes during roaming. The damage is not visible though.

Monday, January 17, 2011

How to backout a P4 changelist

If a check-in of changelist , had edited a.c, b.h,

1. p4 sync @
2. p4 edit //depot/a.c //depot/b.h
3. p4 sync
4. p4 resolve -ay
5. p4 submit

Of course, there can be mix and match. I CL# contained a.c, b.h, c.txt, d.macro,
the above set of operations will maintain the changes for c.txt and d.macro, which may be intended.

For more on the same topic refer to
http://kb.perforce.com/?article=014

Thursday, January 13, 2011

How to get rid of annoying gnome-help due to unintentionally pressing F1

Ubuntu -
1. Go to System - Preferences - Keyboard Shortcuts
2. Create a new shortcut. Name it 'do nothing', and write 'false' (without quotes) in the "command" field. Push ok.
3. Scroll to the bottom of the list and find your new command. Click on the "Disabled", on the right, and push F1.