[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-usb-users
Subject:    [Linux-usb-users] IrDA - ma620 dongle - problems with higher speeds
From:       Vladimir Slepnev <slepnev () ptc ! ru>
Date:       2005-08-26 8:39:40
Message-ID: 430ED54C.5090409 () ptc ! ru
[Download RAW message or body]

Hello,

I'm trying to make the MA620 IrDA dongle work at speeds higher than 9600 
baud. The kernel version is 2.6.10.

If I do "echo 9600 > /proc/sys/net/irda/max_baud_rate", the phone is 
detected and files are sent just fine. (The phone is a Siemens S65, and 
I know it can receive files by IrDA at higher speeds - I've tried with 
another phone.) If I use any other speed (19200, 38400, 57600, 115200), 
files aren't sent. The output of irdadump:

12:00:51.544742 xid:cmd 35b3b7b7 > ffffffff S=6 s=* epia2 hint=0400 [ 
Computer ] (21)
12:00:52.547523 snrm:cmd ca=fe pf=1 35b3b7b7 > 05471480 new-ca=48
        LAP QoS: Baud Rate=38400bps Max Turn Time=500ms Data Size=2048B 
Window Size=7 Add BOFS=0 Min Turn Time=10000us Link Disc=12s (32)
12:00:52.648576 ua:rsp ca=48 pf=1 35b3b7b7 < 05471480
        LAP QoS: Baud Rate=38400bps Max Turn Time=100ms Data Size=512B 
Window Size=1 Add BOFS=12 Min Turn Time=1000us Link Disc=12s (31)
12:00:52.757097 rr:cmd > ca=48 pf=1 nr=0 (2)
12:00:52.898537 rr:cmd > ca=48 pf=1 nr=0 (2)
12:00:53.398461 rr:cmd > ca=48 pf=1 nr=0 (2)
12:00:53.898385 rr:cmd > ca=48 pf=1 nr=0 (2)
12:00:54.398309 rr:cmd > ca=48 pf=1 nr=0 (2)
12:00:54.898233 rr:cmd > ca=48 pf=1 nr=0 (2)
12:00:55.398157 rr:cmd > ca=48 pf=1 nr=0 (2)

The relevant part of dmesg:

irda_register_dongle : registering dongle "MA600" (11).
sirdev_put_instance
irtty_close - ttyUSB1: irda line discipline closed
sirdev_get_instance - ttyUSB1
irtty_open - ttyUSB1: irda line discipline opened
Framing or parity error!
sirdev_receive - too early: 00000000 / 0!
irlap_change_speed(), setting speed to 9600
Framing or parity error!
sirdev_receive; rx-drop: 0
irlap_adjust_qos_settings(), adjusting max turn time from 100 to 500 ms
irlap_change_speed(), setting speed to 38400
IrLAP, no activity on link!
irlmp_state_setup() WATCHDOG_TIMEOUT!
irda_connect(), connect failed!
IrLAP, no activity on link!
IrLAP, no activity on link!
IrLAP, no activity on link!
irlap_change_speed(), setting speed to 9600

I have tried to apply the fix suggested at 
http://kandalaya.org/Docs/A760.html and by Martin Diehl (somewhere in 
ma600-sir.c, change #if 1 to #if 0) - this doesn't help. (Those logs are 
all with the fix applied.)

Actually, if I can't make this dongle (the MA620) work at FIR speeds, I 
have another one - a Sigmatel 4200, driver stir4200. And just like the 
MA620, I can send files over it at 9600 but it doesn't seem to work at 
FIR speeds either... so if anyone has a recipe for that, I'd be very 
grateful, too.

Thanks in advance,

Vladimir Slepnev


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Linux-usb-users@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic