online reference: http://groups.google.com/groups?selm=afqi30%242lp8%241%40FreeBSD.csie.NCTU.edu.tw&oe=UTF-8&output=gplain From: fpiat@bigfoot.com ("Franklin PIAT") Newsgroups: mailing.unix.gnokii Subject: Re: Sony-Ericsson T68i is working with gnokii 0.4.0pre20 (infrared) Date: Mon, 1 Jul 2002 21:37:36 +0000 (UTC) Organization: NCTU CSIE FreeBSD Server Lines: 149 Sender: mailnull@FreeBSD.csie.NCTU.edu.tw Message-ID: NNTP-Posting-Host: freebsd.csie.nctu.edu.tw X-Trace: FreeBSD.csie.NCTU.edu.tw 1025559456 87849 140.113.17.209 (1 Jul 2002 21:37:36 GMT) X-Complaints-To: usenet@FreeBSD.csie.NCTU.edu.tw NNTP-Posting-Date: Mon, 1 Jul 2002 21:37:36 +0000 (UTC) > -----Original Message----- > From: Florian Winterstein > Sent: Monday, July 01, 2002 10:24 AM > > would you please show me your SIR and gnokii configuration? I tried it on > a gigabyte board but it doesn't work yet. > Hi, I have written a quick infrared troubleshooting guide. The purpose of this guide is to get your PC and your Phone to communicate ! The following only applies if your IR interface is connected directly to your motherboard, with a 5 pins connector... as opposed to a dongle connected to your [external] serial port or other special IrDA chipsets. (although the various steps could be usefull for other IR interfaces.) Step 1 ====== Check the /dev/ttyS1 (or /dev/ttyS3 ...) if irattach is loaded... kill it ! # killall -w irattach then do a # cat /dev/ttyS1 if the answer is blank... fine you have COM port here ! (press CTRL-C) if answer is an "I/O error"... your computer doesn't have such a serial interface (or setserial is not properly configured.. but i don't think it is possible nowaday) try another "ttyS" !!! Don't go further if you haven't fixed that !!! Step 2 ====== now start irattach (if it isn't running !) #irattach -s BEFORE you activate the infrared on your phone, #irdadump should loop something like (where liquid is my hostname) : #### BEGIN #### 20:11:26.341394 xid:cmd 2990af94 > ffffffff S=6 s=2 (14) 20:11:26.431396 xid:cmd 2990af94 > ffffffff S=6 s=3 (14) 20:11:26.521395 xid:cmd 2990af94 > ffffffff S=6 s=4 (14) 20:11:26.611396 xid:cmd 2990af94 > ffffffff S=6 s=5 (14) 20:11:26.701401 xid:cmd 2990af94 > ffffffff S=6 s=* liquid hint=0400 [ Computer ] (22) 20:11:29.161400 xid:cmd 2990af94 > ffffffff S=6 s=0 (14) 20:11:29.251397 xid:cmd 2990af94 > ffffffff S=6 s=1 (14) 20:11:29.341397 xid:cmd 2990af94 > ffffffff S=6 s=2 (14) 20:11:29.431397 xid:cmd 2990af94 > ffffffff S=6 s=3 (14) 20:11:29.521394 xid:cmd 2990af94 > ffffffff S=6 s=4 (14) 20:11:29.611396 xid:cmd 2990af94 > ffffffff S=6 s=5 (14) 20:11:29.701402 xid:cmd 2990af94 > ffffffff S=6 s=* liquid hint=0400 [ Computer ] (22) 20:11:32.161400 xid:cmd 2990af94 > ffffffff S=6 s=0 (14) ##### END ##### then activate the IR on your phone. #irdadump should now print something like : #### BEGIN #### 20:11:32.521396 xid:cmd 2990af94 > ffffffff S=6 s=4 (14) 20:11:32.611396 xid:cmd 2990af94 > ffffffff S=6 s=5 (14) 20:11:32.701401 xid:cmd 2990af94 > ffffffff S=6 s=* liquid hint=0400 [ Computer ] (22) 20:11:35.161402 xid:cmd 2990af94 > ffffffff S=6 s=0 (14) 20:11:35.251394 xid:cmd 2990af94 > ffffffff S=6 s=1 (14) 20:11:35.341397 xid:cmd 2990af94 > ffffffff S=6 s=2 (14) 20:11:35.431395 xid:cmd 2990af94 > ffffffff S=6 s=3 (14) 20:11:35.521399 xid:cmd 2990af94 > ffffffff S=6 s=4 (14) 20:11:35.601390 xid:rsp 2990af94 < 64cb6936 S=6 s=4 T68 hint=9124 [ PnP Modem IrCOMM IrOBEX ] (20) 20:11:35.611391 xid:cmd 2990af94 > ffffffff S=6 s=5 (14) 20:11:35.701402 xid:cmd 2990af94 > ffffffff S=6 s=* liquid hint=0400 [ Computer ] (22) 20:11:38.161404 xid:cmd 2990af94 > ffffffff S=6 s=0 (14) 20:11:38.251400 xid:cmd 2990af94 > ffffffff S=6 s=1 (14) 20:11:38.331387 xid:rsp 2990af94 < 64cb6936 S=6 s=1 T68 hint=9124 [ PnP Modem IrCOMM IrOBEX ] (20) 20:11:38.341394 xid:cmd 2990af94 > ffffffff S=6 s=2 (14) ##### END ##### if not... your Ir interface might not work or (??). The following should be interesting : #cat /proc/net/irda/discovery #### BEGIN #### IrLMP: Discovery log: nickname: T68, hint: 0x9124, saddr: 0x2990af94, daddr: 0x64cb6936 ##### END ##### Step 3 ====== now we can start minicom, but we have to adjust some settings : the "-s" is important, so we go to the "settings" menu ! # minicom -s go to the "Serial port setup" and press enter then press "A" then "/dev/ircomm0" then press "E" then "e" {we now are "9600 8N1"} then press "enter" then press "F" once, so "Hardware Flow control" goes to "No" and press enter then go to "Exit" so we end-up in the terminal... Minicom should display "Initiliazing" for a few seconds then there are two possibilities : "AT..." shows up... fine keep going on... OR Nothing gets printed (excepted Minicom's banner) ... do a "killall minicom" on another console (!) ... try again with /dev/ircomm1 ... if the same appends again... damned... i don't know what is appenning to you ! Once "AT..." has shown-up , try typing "AT i3" then enter... the modem's response should be "T68 IT Modem" great, IR is working press "Ctrl-A" then "Z" then "X" to exit configure gnokii to use /dev/ircommX that's it! I hope this helps. Franklin PIAT P.S. for me, i could push the transfer rate to 115000 bit/s in minicom. P.S.2 : if you succesfully configure your T68, please report me your exact motherboard model and the reference of your IR adapter. and your config files (gnokiirc and /etc/irda.conf) _______________________________________________ gnokii-users mailing list gnokii-users@mail.freesoftware.fsf.org http://mail.freesoftware.fsf.org/mailman/listinfo/gnokii-users