PDA

View Full Version : TyTN and Linux


instinctless
26th September 2007, 09:15 AM
Hi!
Has anyone luck with the TyTN and Linux? Have tried the synce package with synce-kde (raki) but there was no success.
There is a new eth dev unsing the rndis driver, and there is an ip connection between 169.254.2.1 <> 169.254.2.2 but nothing more

Any success on mounting as a mass storage dev?

xor_
26th September 2007, 12:45 PM
There used to be a problem syncing with WM6. But recently I've been able to do it using the old usbserial method and the ipaq module. I haven't tried the GUI stuff, but the basic synce tools work fine. Mass storage mounting also works.

ilion
1st October 2007, 01:11 PM
I'm in the same problem with synce and raki... my tytn don't understand my ubuntu?
I've searched a lot about this and doesn't works.
The only solution that works for me at the moment (may be the worst) is install a winXP in a VirtualBox but I know that it's not the better solution, and the "seamless" option of virtualbox last edition doesn't works for me...

Anybody has more info about linux, activesync and Hermes (wm5 o 6) ...
Please help!!

xor_
1st October 2007, 01:36 PM
Well, as I've said, it works fine here with Gentoo and WM6.

- on the Hermes under Connections -> USB to PC, disable the advanced functionality.
- get synce and odccm
- in the kernel, enable usbserial and ipaq

Then your Hermes should be recognized as something like /dev/tts/USB0

I just use a little script like this:

synce-serial-config /dev/tts/USB0 192.168.0.101:192.168.0.102
sleep 1
odccm
sleep 1
synce-serial-start


If it works, you should see something like this:

0:192.168.0.101:192.168.0.102

You can now run synce-serial-start to start a serial connection.

Serial connection established.
Using interface ppp0
Connect: ppp0 <--> /dev/tts/USB0
local IP address 192.168.0.101
remote IP address 192.168.0.102


And then the basic synce tools like pls, pcp, etc., should work.

kamatsu
4th October 2007, 06:38 AM
To get this working on Ubuntu you have to compile the whole synCE set of software (synce, rapi, odccm etc.) from SVN. This is done in this Guide:

http://ubuntuforums.org/showthread.php?t=345176

Just use that guide for instructions on how to compile from SVN, ignore the kernel patching and usb drivers and so on unless you're feeling masochistic.

For feisty, you can still use ipaq as demonstrated here, just stop after you have compiled and installed the synce packages. After that the aforementioned guide tries to compile the new drivers which requires kernel patching, pain, and suffering.

So, after compiling the newer synce, switch over to xor's instructions.

xor_
4th October 2007, 10:45 AM
I've made a little Sync-with-Linux (http://wiki.xda-developers.com/index.php?pagename=Hermes_Sync_With_Linux) page for the Hermes Wiki. Feel free to contribute.

zappacor
20th January 2008, 11:37 AM
Hi _xor,

I'm trying to get my Prophet WM6-upgraded PDA connected to my 2.6.23-tuxonice-r6 powered Gentoo Linux but couldn't make it work. I'm trying to use it as a GPRS modem and to sync it too (priority 2 actually).

How did you get odccm installed? app-pda/synce-dccm doesn't have it and there is no odccm at all.

Or yet better, what packages did you install? (I'm using KDE as my window manager as you do).

BTW, the links on the wiki are no longer valid and couldn't get to them through google too.

EDIT: I could make it work!!!!!
The problem was somehow related to the PPP connection not establishing the IP address correctly:

Jan 27 14:29:45 RJZ-LNX usb 2-2: new full speed USB device using uhci_hcd and address 23
Jan 27 14:29:45 RJZ-LNX usb 2-2: configuration #1 chosen from 1 choice
Jan 27 14:29:45 RJZ-LNX ipaq 2-2:1.0: PocketPC PDA converter detected
Jan 27 14:29:45 RJZ-LNX usb 2-2: PocketPC PDA converter now attached to ttyUSB0
Jan 27 14:29:51 RJZ-LNX synce-serial-start: Executing '/usr/sbin/pppd call synce-device'
Jan 27 14:29:51 RJZ-LNX pppd[28592]: pppd 2.4.4 started by root, uid 0
Jan 27 14:29:53 RJZ-LNX pppd[28592]: Serial connection established.
Jan 27 14:29:53 RJZ-LNX pppd[28592]: using channel 13
Jan 27 14:29:53 RJZ-LNX pppd[28592]: Using interface ppp0
Jan 27 14:29:53 RJZ-LNX pppd[28592]: Connect: ppp0 <--> /dev/ttyUSB0
Jan 27 14:29:53 RJZ-LNX odccm[28560]: DEBUG: _odccm_interface_address: waiting for IP address on ppp0
Jan 27 14:29:54 RJZ-LNX odccm[28560]: DEBUG: _odccm_interface_address: waiting for IP address on ppp0
Jan 27 14:29:54 RJZ-LNX pppd[28592]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x1ce61ea3> <pcomp> <accomp>]
Jan 27 14:29:55 RJZ-LNX odccm[28560]: DEBUG: _odccm_interface_address: waiting for IP address on ppp0
Jan 27 14:29:56 RJZ-LNX odccm[28560]: DEBUG: _odccm_interface_address: waiting for IP address on ppp0
Jan 27 14:29:57 RJZ-LNX odccm[28560]: DEBUG: _odccm_interface_address: waiting for IP address on ppp0
Jan 27 14:29:57 RJZ-LNX pppd[28592]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x1ce61ea3> <pcomp> <accomp>]
Jan 27 14:30:00 RJZ-LNX pppd[28592]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x1ce61ea3> <pcomp> <accomp>]
Jan 27 14:30:03 RJZ-LNX pppd[28592]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x1ce61ea3> <pcomp> <accomp>]
Jan 27 14:30:06 RJZ-LNX pppd[28592]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x1ce61ea3> <pcomp> <accomp>]
Jan 27 14:30:09 RJZ-LNX pppd[28592]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x1ce61ea3> <pcomp> <accomp>]
Jan 27 14:30:12 RJZ-LNX pppd[28592]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x1ce61ea3> <pcomp> <accomp>]
Jan 27 14:30:15 RJZ-LNX pppd[28592]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x1ce61ea3> <pcomp> <accomp>]
Jan 27 14:30:18 RJZ-LNX pppd[28592]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x1ce61ea3> <pcomp> <accomp>]
Jan 27 14:30:21 RJZ-LNX pppd[28592]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x1ce61ea3> <pcomp> <accomp>]
Jan 27 14:30:24 RJZ-LNX pppd[28592]: LCP: timeout sending Config-Requests
Jan 27 14:30:24 RJZ-LNX pppd[28592]: Connection terminated.
Jan 27 14:30:24 RJZ-LNX pppd[28592]: Modem hangup
Jan 27 14:30:24 RJZ-LNX pppd[28592]: Exit.

I just re-enabled and disabled again the "enable advanced network functionality" on the PDA while it was connected to my PC and it started to work:

Jan 27 14:42:09 RJZ-LNX usb 2-2: new full speed USB device using uhci_hcd and address 27
Jan 27 14:42:09 RJZ-LNX usb 2-2: configuration #1 chosen from 1 choice
Jan 27 14:42:09 RJZ-LNX ipaq 2-2:1.0: PocketPC PDA converter detected
Jan 27 14:42:09 RJZ-LNX usb 2-2: PocketPC PDA converter now attached to ttyUSB0
Jan 27 14:42:32 RJZ-LNX synce-serial-start: Executing '/usr/sbin/pppd call synce-device'
Jan 27 14:42:32 RJZ-LNX pppd[30637]: pppd 2.4.4 started by root, uid 0
Jan 27 14:42:35 RJZ-LNX pppd[30637]: Serial connection established.
Jan 27 14:42:35 RJZ-LNX odccm[28560]: DEBUG: _odccm_interface_address: waiting for IP address on ppp0
Jan 27 14:42:35 RJZ-LNX pppd[30637]: Using interface ppp0
Jan 27 14:42:35 RJZ-LNX pppd[30637]: Connect: ppp0 <--> /dev/ttyUSB0
Jan 27 14:42:35 RJZ-LNX pppd[30637]: local IP address 192.168.131.102
Jan 27 14:42:35 RJZ-LNX pppd[30637]: remote IP address 192.168.131.201
Jan 27 14:42:36 RJZ-LNX odccm[28560]: DEBUG: _odccm_interface_address: found matching interface
Jan 27 14:42:36 RJZ-LNX odccm[28560]: DEBUG: PDA network interface discovered! udi='/devices/virtual/net/ppp0'
Jan 27 14:42:40 RJZ-LNX odccm[28560]: DEBUG: device_info_received
Jan 27 14:42:40 RJZ-LNX odccm[28560]: DEBUG: f1 ea 81 50 c4 44 98 68 41 c3 2e e3 1d ef d0 5f 05 00 00 00 02 00 00 00 0b 00 00 00 57 00 4d 00 5f 00 7a 00 61 00 70 00 70 00 61 00 63 00 6f 00 72 00 00 00 05 02 74 07 11 0a 00 00 05 00 00 00 2d 6e cb 62 00 00 00 00 0f 00 00 00 50 6f 63 6b 65 74 50 43 00 53 53 44 4b 00 00 07 00 00 00 57 49 5a 41 32 30 30 00 02 00 00 00 05 00 00 00 02 00 00 00 05 00 00 00 02 00 00 00 00 00 00 00 10 00 00 00 0c 00 00 00 5d 00 00 00 01 00 00 00
Jan 27 14:42:40 RJZ-LNX odccm[28560]: DEBUG: extradata:
Jan 27 14:42:40 RJZ-LNX odccm[28560]: DEBUG: 10 00 00 00 0c 00 00 00 5d 00 00 00 01 00 00 00
Jan 27 14:42:40 RJZ-LNX odccm[28560]: Message: device_info_received: registering object path '/org/synce/odccm/Device/_5081EAF1_44C4_6898_41C3_2EE31DEFD05F_'

I'll try later some cool apps, if any...