Synce and TyTN II

    Got my TyTN II (aka Kaiser) a week ago inspite of bad feeling about the driver and performance issues it is believed to have. The reason I bought it is that it has lots of the connectivity options (not that I use all of them all the time), GPS, more RAM, more stuff to 'tweak' (than symbian) (well I could have done with openmoko but dunno when and how to get it to my country, later perhaps). If you ask me again its just bad habit.

    With linux

    There are some things you can half-do, with SynCE.

    1. Connecting and listing files: It works fine, plus gnomevfs plugin makes the phone appear in the file browser (nautilus) like in windows (BTW, did not see that in Thunar - the one that comes with xfce).
    2. Syncing : Using Opensync. SynCE folks have written a 'synce' plugin to it. I could see syncing between the phone (synce plugin) and evolution plugin as well as 'file' plugin. However contact and calendar field mappings are screwed up (I'd rather back up before I try something stupid).
    3. Internet on phone using net connected PC: It works when you have 'sync-engine' running (which is like the application layer part of activesync).
    4. Internet on PC using net connected phone: Not tried it yet.

    Gps

    • Google earth works - it uses cell tower in case you dont have GPS (or disable it)..
    • Mapking (no TomTom :-( ) - a bundled piece of s/w with license to one map. I've tried Bangalore (its got Chennai and Delhi) - Not useful as the traffic police spend their spare time blocking and unblocking routes.

    Sloppy part

    • Battery: With big stuff comes big battery drain. On standby its decent :-).
    • The graphics issues: Well it is present. But it varies from app to app. I wonder if its old apps (counting on GDI to perform at a minimum level) that suffer. Google maps was fast, some screens are painted real fast.
    • Tilt screen: Its a good thing to show off but I am always worried about making it 'loose' - Its way too much weight hanging by two (metal I suppose) rails.

    So why not other phones ?

    Mio A701
    • N95: The 8Gig version is good. But currently I am sold out to Win mobile and no touch screen and registry to mess around with (atleast none so obvious as in WM).
    • HTC P3300: Actually this could have done the job but I was tempted by the RAM of Kaiser and prospects of 3G in India.
    • Mio (A701/A501/A702): Expensive, could not find in India.

    HDD problems overdose.

    HDD problems love me a lot. Now I have my old HDD getting 'hot - unplug' events from nowhere. I've no idea why that should come in. This 'unplugging' causes a momentary freeze and the drive being reset. Googling did not help too much except that I now know people had problems with getting 'hotplugging' to work with the nForce sata (sata_nv driver). The resetting happens quite unpredictably. Smartctl says the disk is OK. Now how do we get a 'hot unplug' event without unplugging it. Tried moving the cable around (the SATA cables feel a bit loose) dont know if that is going to help. I've not heard the 'reset-clicking' in windows though which makes me feel that it might not be the hardware. But then it appeared first without any reason when running 2.6.19.2 (which does not give any detail on whats going). 2.6.22.1 tells me that its a hot unplug event that preceds the hard reset. The good part is that you get to do some learning surrounding this. For me the next good thing in sata is the AHCI (well, actually it is here, just not in my home computer though).

    Let me know if you can figure out what is happening from this fragment of kern.log:

    ... Jul 22 15:22:01 localhost kernel ...
    15:22:01 ata3: exception Emask 0x10 SAct 0x0 SErr 0x1810000 action 0x2 frozen
    15:22:01 ata3: (ADMA status 0x00000502: hot unplug)
    15:22:01 ata3: hard resetting port
    15:22:07 ata3: port is slow to respond, please be patient (Status 0x80)
    15:22:11 ata3: COMRESET failed (errno=-16)
    15:22:11 ata3: hard resetting port
    15:22:12 ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
    15:22:12 ata3.00: configured for UDMA/133
    15:22:12 ata3: EH pending after completion, repeating EH (cnt=4)
    15:22:12 ata3: EH complete
    15:22:12 sd 2:0:0:0: [sda] 156301488 512-byte hardware sectors (80026 MB)
    15:22:12 sd 2:0:0:0: [sda] Write Protect is off
    15:22:12 sd 2:0:0:0: [sda] Mode Sense: 00 3a 00 00
    15:22:12 sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled,
    doesn't support DPO or FUA
    

    Kerberos and fun

    I run a local svn repository and it was adrenaline pumping action the time I discovered you could use the Windows Active directory as a kerbreos KDC for authentication. Some helpful links:

    What these leave out (at least when it comes to educating a n00b) is that active directory is needed only for setting up the service principal not necessarily in creating the keytab. I could create the keytab with ktutil on linux with the command:

    bash$ ktutil
    ktutil: addent -password -p 'serv/yadayada@REALM' -k kvno -e 
    ktutil: wkt xyz.keytab
    

    The info needed here is the password to the user account to which the service principal is mapped, the kvno for the key given by KDC (which you can find using 'kvno principal' after getting authenticated). The enctype is the same as the one reported by ktpass while creating (or if you have specified one, then that one) it was des-cbc-md5 in my case. The kvno should match the one sent by KDC (for mod_auth_kerb in apache to work). The Active directory server I was dealing with would increment the kvno if I so much as sneeze while thinking of the user account involved. Looks like its a Win 2003 behavior.

Posts

Subscribe via RSS