gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Nokia 6021 + IRDA: workin from time to time.


From: Pavel Khmelinsky
Subject: Nokia 6021 + IRDA: workin from time to time.
Date: Thu, 13 Apr 2006 22:00:35 +0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20060302

Hello!

I have Nokia 6021 and USB-Irda adapter which actually USB<->COM<->IRDA adapter as i think.
It's using pl2303 module and attaching to /dev/ttyUSB0 when i plug it.

So for setup my irda I am using commands:
modprobe ma600-sir
modprobe irtty-sir
irattach /dev/ttyUSB0 -d ma600 -s

# lsmod | grep ir
rtty_sir               7936  2
ma600_sir               3968  1
sir_dev                18620  2 irtty_sir,ma600_sir
irda                  129720  4 ma600_sir,sir_dev
crc_ccitt               3072  1 irda

then i starting gnokii. And some times it's work. But for sure only once. If it's workin and i stop the program next time when i start it it will report:
Serial device: opening device /dev/ttyUSB0
Expecting:
Default: Nokia 6021     df2d
connect: No route to host
Couldn't open PHONET device: No route to host
Error in link initialisation: 1
GSM/FBUS init failed! (Unknown model?). Quitting.
Serial device: closing device

And after reboot it could work and could not.
When it's not workin i tried
echo 115200 > /proc/sys/net/irda/max_baud_rate
Didn't helped.

I also tried remove all modules and use this:
modprobe irda
modprobe irtty-sir
irattach /dev/ttyUSB0 -s
In that case  lsmod looks like
# lsmod | grep ir
irtty_sir               7936  2
sir_dev                18620  1 irtty_sir
irda                  129720  1 sir_dev
crc_ccitt               3072  1 irda

In irdadump i am seening my devices but i didn't ever have luck with gnokii with such modules.

Most strange thing is that sometimes it work. It' ever show me my address book but segfaulted on the middle of it.

Any ideas where to search for? Any troubleshooting guide?

Regards,
Pavel.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]