OESF Portables Forum

Everything Else => Sharp Zaurus => Model Specific Forums => Distros, Development, and Model Specific Forums => Archived Forums => 5x00 General discussions => Topic started by: pandata on April 03, 2004, 03:53:52 pm

Title: Problem using Irda Modem connection via SonyEricsson T68i
Post by: pandata on April 03, 2004, 03:53:52 pm
Hi all,

I cannot make my Dial-Up connection to work on my Zaurus SL5500 with my mobile T68i. I tried many things like changing chat scripts, changing Init scripts, sniffing the connection (only with tcpdump, because I cannot find compiled version of irdatools for Zaurus).
The problem is that my T68i doesn\'t start even dialing. In the chat log I see that the Zaurus cannot get response after sending init commands (I saw in the documentation of T68i that the Init String is ATF). However it worked with my old mobile - R320s. I tested the phone modem with Irda connection with Compaq Ipaq and it worked. Also the exchange of pictures, contacts, etc. between my Zaurus and T68i also works. The only thing that doesn\'t work is the Dial-Up connection (when I try to use the modem of my cell).
Please help if someone has the same configuration Zaurus SL5500 + T68i, or give me suggestions what to do. Thanks in advance for every response.
Title: Problem using Irda Modem connection via SonyEricsson T68i
Post by: mp2100zaurus on April 05, 2004, 01:08:26 pm
What ROM are you using?  My T68m works fine with my 5500, but I am back at Sharp ROM 2.37, because it is known that ROM 3.1 breaks the T68 IrDA.  There was a lot discussion a while back when the version 3 Sharp ROM came out.  Sharp (and others) blame Sony-Ericsson for having a nonstandard IrDA implementation.

One other thing to consider is to buying a bluetooth card and using that with the T68i.
Title: Problem using Irda Modem connection via SonyEricsson T68i
Post by: maslovsky on April 06, 2004, 01:28:51 am
There is a kernel patch available, but you need to recompile the kernel to apply it.
Title: Problem using Irda Modem connection via SonyEricsson T68i
Post by: pandata on April 06, 2004, 02:08:36 am
Most probably this is the problem. I\'m using ROM3.0. I\'ll try to find the patch and recompile the ROM, hope this will work
BTW, I was trying to make Irda connection with my T68i and Irda adapter on Linux desktop box, but the kernel drops some like \"Inactive link on IRLap\" (or somethink like this). I found that this can be fixed be decreasing the max_baud_rate at proc settings of the Irda device, but it didn\'t work again.
I\'m little disappointed from SonyErricsson since I have this T68i for two weeks, but this is a topic for another forum not here  
Title: Problem using Irda Modem connection via SonyEricsson T68i
Post by: maslovsky on April 06, 2004, 05:39:24 am
Quote
Most probably this is the problem. I\'m using ROM3.0. I\'ll try to find the patch and recompile the ROM, hope this will work
BTW, I was trying to make Irda connection with my T68i and Irda adapter on Linux desktop box, but the kernel drops some like \"Inactive link on IRLap\" (or somethink like this). I found that this can be fixed be decreasing the max_baud_rate at proc settings of the Irda device, but it didn\'t work again.  
I\'m little disappointed from SonyErricsson since I have this T68i for two weeks, but this is a topic for another forum not here  

I\'m not sure you\'ll find the patch , but I can send it to you. Give me an e-mail.
Title: Problem using Irda Modem connection via SonyEricsson T68i
Post by: highfell on April 13, 2004, 08:26:22 am
Well - I had to laugh when I read this thread.

I have been trying to connect to my phone (Sony EricssonT39i) since Christmas when bought my Zaurus 5500 using Sharp 3.1 (or related ROMs i.e. TKR, Hybrid,YAR, OZ etc. ) but to no avail. I\'ve mucked around with Chats/Peers/minicom etc. also without success. I bought  a Bluetooth card, managed to Pair up, create a hcid.conf file (thanks to help here on this forum) but also had no success in getting the phone to dial!

I read this thread , then flashed using a 2.39 Rom, created a new IRDA dialup, and hey presto the phone dials up first time and I am on the Internet !!!

Oh well  

However (and there always seems to be a however with the Zaurus - but I do love it nevertheless), I cannot sync with outlook due to using NT at work, although I did install the previous Intellisync Software, which I think is required.

So my next question is can someone help with with the patch for the Kernel.  I am not sure that I am up to compiling a new Kernel as I don\'t have a linux machine other than the Zaurus, but I am willing to try if needs be. I guess I would ideally like to be able to patch any number of ROMs but this may not be possible. I am currently using TKR 1.0 due to syncing problems with other Roms.


cheers

Nigel Bamber
Title: Problem using Irda Modem connection via SonyEricsson T68i
Post by: highfell on April 15, 2004, 05:45:13 am
I did some searching myself and found the Cacko Kernel download i.e. Cacko Kernel for SL5500 with 32/30 memory layout .

I am currently using the TKR 1.0 and flashed that with this image and the Zaurus booted up successfully (I didn\'t realise that you could use different Kernels i.e. cako vs tkr with the same rom).

However, I am afraid to report that having set-up a new IRDA dialup connection using Network, it was not possible to Dial up on my T39i phone despite the Kernel having been patched to solve this problem.

Have I done something wrong? Do I need to use the original Sharp Rom 3.10 rather than TKR?

Please advise.

thanks Nigel Bamber
Title: Problem using Irda Modem connection via SonyEricsson T68i
Post by: maslovsky on April 15, 2004, 06:14:55 am
echo 1 ] /proc/sys/net/irda/max_tx_window
echo 1000 ] /proc/sys/net/irda/min_tx_turn_time
Title: Problem using Irda Modem connection via SonyEricsson T68i
Post by: highfell on April 15, 2004, 06:41:10 am
Thats worth a beer or two if we were ever to meet. Thank you.

(I only what I [you] have just done)

thanks again

Nigel
Title: Problem using Irda Modem connection via SonyEricsson T68i
Post by: maslovsky on April 15, 2004, 07:20:33 am
Quote
Thats worth a beer or two if we were ever to meet. Thank you.

(I only what I [you] have just done)

thanks again

Nigel

I\'ll keep tat in mind if I ever happen to be in the UK
Title: Problem using Irda Modem connection via SonyEricsson T68i
Post by: highfell on April 15, 2004, 09:20:03 am
It would be well deserved !!

What I meant to say though was \'If only I knew what I have just done\' !

For my clarification is this:

Quote
echo 1 ] /proc/sys/net/irda/max_tx_window 
echo 1000 ] /proc/sys/net/irda/min_tx_turn_time

being applied because

1. I am using TKR ?
2. The patched kernel needs a further patch for all Sharp compatible Roms?
3. That is in fact the patch itself ?

Thanks

Nigel
Title: Problem using Irda Modem connection via SonyEricsson T68i
Post by: maslovsky on April 15, 2004, 09:47:50 am
No, this is not the patch itself. The patch is a piece of C source code that changes some kernel behaviour. It adds these parameters to the proc file system, which allow to adjust some IRDA settings to make IRDA connection with ericson phones reliable.

The above two command make those adjustments.

I hope I explained well..
Title: Problem using Irda Modem connection via SonyEricsson T68i
Post by: pandata on April 16, 2004, 04:13:21 am
Hi Group,

I\'ve tried with two kernel - compiled with the patch from maslovsky and with the Cacko Kernel. The kernel update passed OK (by the way don\'t try to flash with PQI CF cards, because it didn\'t work with 64MB and 128MB ones). Now I have max_tx_window in my /proc/sys/net/irda but the problem is that I cannot set it

========================
#su
#echo 1]/proc/sys/net/irda/max_tx_window
#echo 1000 ]/proc/net/irda/min_tx_turn_time
#cat /proc/net/irda/min_tx_turn_time
1000
#cat /proc/sys/net/irda/max_tx_window
7
#
========================

Does anyone has any ideas ?
Title: Problem using Irda Modem connection via SonyEricsson T68i
Post by: highfell on April 16, 2004, 05:14:12 am
Quote
Now I have max_tx_window in my /proc/sys/net/irda but the problem is that I cannot set it

I have just done the same test on mine and I get the same response 7 (rather than 1).

The good news is that that doesn\' t seem to affect the situation negatively, i.e. for the first time I have been able to connect to my T39i phone via IRDA and Bluetooth for the first time using TKR or other Sharp compatible 3.1 ROM.

Have you tried connecting yet?

Nigel Bamber
SL5500
Title: Problem using Irda Modem connection via SonyEricsson T68i
Post by: pandata on April 16, 2004, 05:58:53 am
Quote
Quote
Now I have max_tx_window in my /proc/sys/net/irda but the problem is that I cannot set it

I have just done the same test on mine and I get the same response 7 (rather than 1).

The good news is that that doesn\' t seem to affect the situation negatively, i.e. for the first time I have been able to connect to my T39i phone via IRDA and Bluetooth for the first time using TKR or other Sharp compatible 3.1 ROM.

Have you tried connecting yet?

Nigel Bamber
SL5500

Yes, I tried but it didn\'t works  The mobile is T68i and probably there\'s something else ?
Title: Problem using Irda Modem connection via SonyEricsson T68i
Post by: highfell on April 16, 2004, 07:05:38 am
Er its (the IRDA\'s) not working for me now !! Maybe its because I have been \'bluetoothing\' and have had to reset the machine once or twice because of a locked up cf card.


Nigel Bamber
Title: Problem using Irda Modem connection via SonyEricsson T68i
Post by: highfell on April 16, 2004, 07:11:48 am
Its OK again ??!!

Nigel Bamber

PS - you do have the right connection speed (it is 19200 for me )
Title: Problem using Irda Modem connection via SonyEricsson T68i
Post by: pandata on April 16, 2004, 07:43:30 am
Quote
Hi Group,

I\'ve tried with two kernel - compiled with the patch from maslovsky and with the Cacko Kernel. The kernel update passed OK (by the way don\'t try to flash with PQI CF cards, because it didn\'t work with 64MB and 128MB ones). Now I have max_tx_window in my /proc/sys/net/irda but the problem is that I cannot set it

========================
#su
#echo 1]/proc/sys/net/irda/max_tx_window
#echo 1000 ]/proc/net/irda/min_tx_turn_time
#cat /proc/net/irda/min_tx_turn_time
1000
#cat /proc/sys/net/irda/max_tx_window
7
#
========================

Does anyone has any ideas ?


Oh, I find it  It was mine fault - I missed the \"space\" between \"echo 1\" and the \"]\" sign. must be (echo 1 ]...)   Everything works now. Thanks for the help
Title: Problem using Irda Modem connection via SonyEricsson T68i
Post by: desco on April 16, 2004, 12:53:24 pm
Does anyone have the patched kernel available?  I (currently) do not have access to a linux computer to do the compiling myself...

thanks in advance

-Desco-
Title: Problem using Irda Modem connection via SonyEricsson T68i
Post by: pandata on April 16, 2004, 04:33:53 pm
Quote
Does anyone have the patched kernel available?  I (currently) do not have access to a linux computer to do the compiling myself...

thanks in advance

-Desco-

You can use this one: http://www.zaurususergroup.com/modules.php...download&sid=38 (http://www.zaurususergroup.com/modules.php?op=modload&name=UpDownload&file=index&req=viewsdownload&sid=38)
There is build in patch. Read the How-to section for more information how to flash the kernel.
Title: Problem using Irda Modem connection via SonyEricsson T68i
Post by: ZDevil on April 18, 2004, 05:06:12 am
Hi all,

Sorry to put it this way, but I\'d say I almost got overwhelmed by the many complicated questions and proposals in the posts.  Just before losing my hope to connect my new born C860 with t68i, I resort to the simplest setting and it works like a miracle.

I am a Hong Kong user and subscribing to Sunday\'s unlimited GPRS plan for just HKD$38 (around US$5) a month.  I took the steps as follows:

1) In Network, add a new connection (just bypass the Wizard) with Dial-up - PPP (IrDA-PPP);
2) Under Account, give a random name (e.g. Sunday), put down the Username and Password if necessary (I don\'t need them anyway)
3) Uncheck \"Use Device Authentication\"
4) Phone no: *99# (my CID is 1 but I used to do without it when I was using Palm; you may wish to write *99***CID#, where \"CID\" is a number given by the Phone provider)
5) Switch to the Modem tab, I put down the initial command as ATZ.
Skip the Network and Proxy tabs.

Here comes the mystery/miracle:
I found that it is impossible to connect either inside Network or outside in lower right corner of Desktop (using the \"globe\" icon).  Nevertheless, when I fire up Netfront , ask it to access a page, and say yes to connect in the popup dialogue window (it seems I gotta highlight/tap on my IrDA account before say yes) , connection is done in just about 5 seconds!  What\'s more the connection speed far exceeds that when using my NX73 European and HP2210 (both w/ built-in BT).

Just wonder if using BT with AIRcable will achieve an even better result.

ZDevil (a Zaurus newbie for 3 days).
Title: Problem using Irda Modem connection via SonyEricsson T68i
Post by: desco on April 19, 2004, 02:42:20 pm
Oh thanks!  I didn\'t realize Cacko has that patch already in it (I haven\'t been paying attention much lately), and have considered using it instead \'cause of the 64/0 layout.  I already have my /home on my SD card, and make a 20mb swapfile, so this would be the logical next step.  Thanks for pointing that out!
Title: Problem using Irda Modem connection via SonyEricsson T68i
Post by: TnGee on April 20, 2004, 09:02:25 am
I succeeded in connecting my 5600 to an Ericsson T39m via IR by following ZDevil\'s method of connecting thru the browser (Opera), and I am using Sharp ROM 1.32 without maslovsky\'s irda tx kernel patch. However, I found that I had to abort and repeatedly retry the connection to get the phone to dial out / connect to GPRS. Once it did start to connect to my phone service provider, the IR connection between the Z and phone remained stable. So for those Ericsson users who are unable to recompile their kernel to include maslovsky\'s fix, this method will hopefully be of help.

BTW, I had to set the communication baud rate to 19200 in the Network applet. I could not get 115200 to work.  :roll:
Title: Problem using Irda Modem connection via SonyEricsson T68i
Post by: nianderson on July 13, 2004, 11:04:55 pm
I am a little confused on this issue of using a cell phone for internet access.
I want to dial a normal dialup isp (i get a free dialup account with my dsl) I do not want to use the data service provided by my cell phone provider.

I would like to get an aircable to connect via bluetooth to my sony ericsson T616 to dial out.

is that possible or am i just way off the mark?
Title: Problem using Irda Modem connection via SonyEricsson T68i
Post by: cyberspice on July 26, 2004, 06:51:34 am
Quote
echo 1 > /proc/sys/net/irda/max_tx_window
echo 1000 > /proc/sys/net/irda/min_tx_turn_time
Quote
Code: [Select]
echo 1 > /proc/sys/net/irda/max_tx_window
echo 1000 > /proc/sys/net/irda/min_tx_turn_time

Ah that's the magic incantation that is missing.  With that I can now talk to my SonyEricsson T610 and use GPRS.

Thanks  
Title: Problem using Irda Modem connection via SonyEricsson T68i
Post by: sen on July 28, 2004, 08:47:11 pm
Excellant! Now, my Z connects via GPRS thru Irda. Thank you all who posted the useful information.

Ok, here is the bad news. I did the kernel update as per the instructions here (http://www.zaurususergroup.com/modules.php?op=modload&name=UpDownload&file=index&req=viewsdownload&sid=38). GPRS connection works. But I cannot restore the backup. Is the (3.13 rom) backup file not compatible with new ROM patch? I started Backup/Restore applet, when I select 'Restore' option, selecting CF or SD do not list the available backup files. I have backup files in both the cards. I don't want to start all over again. Please advise some easiest way to get back everything.

Any help would be greatly appreciated.

Regards
Sen
Title: Problem using Irda Modem connection via SonyEricsson T68i
Post by: sen on July 29, 2004, 01:17:45 am
Well, I found out the problem.

After updating kernel patch, for some reason Backup/Restore writes the backup file with the extn ".backup_SL5500-US-unknown", it used to be ".backup_SL5500-US-3" before updating the patch. Sameway, when I try to restore, it looks for files with the new extension. It seems the zaurus cannot get the version number anymore.

Anyway, I changed extension of my previous backup and restored everything. I'm back to normal with kernel patch.

Thought of posting it as it might be useful if someone has similar problem.

-Sen
Title: Problem using Irda Modem connection via SonyEricsson T68i
Post by: maslovsky on July 29, 2004, 01:53:25 am
Quote
Well, I found out the problem.

After updating kernel patch, for some reason Backup/Restore writes the backup file with the extn ".backup_SL5500-US-unknown", it used to be ".backup_SL5500-US-3" before updating the patch. Sameway, when I try to restore, it looks for files with the new extension. It seems the zaurus cannot get the version number anymore.

Anyway, I changed extension of my previous backup and restored everything. I'm back to normal with kernel patch.

Thought of posting it as it might be useful if someone has similar problem.

-Sen
I'm glad you found the problem by yourself. However if you'd searched just a bit more carefully you'd find the solution in a thread pinned on top of the "Sharp ROM" section
Title: Problem using Irda Modem connection via SonyEricsson T68i
Post by: sen on July 29, 2004, 03:44:18 am
Thanks for the wonderful work Maslovsky. I just finished reading that long thread you mentioned. I found this little late. I haven't visited ZUG for a quite while, so I missed lot of good stuff. Catching them up now...

When we are on this thread can I ask you one question?
(Sorry, if this was answered previously)

After this patch everything goes fine except my wireless connection. I cannot connect to my wireless router. I have a Netgear MA701 card. Can you give some pointers please?

(I'm searching the forum now, it returns enormous results, I'm going thourgh one by one, still no luck to find a solution for this)

Regards
Sen
Title: Problem using Irda Modem connection via SonyEricsson T68i
Post by: sen on July 29, 2004, 05:43:16 pm
I'm sorry, it was my router. Zaurus connects to my neighbour's router. Something was messed up in the router, I haven't played with it for a while, now the time has come.

-Sen