From: Jean Tourrilhes <jt@bo...> - 2004-11-15 17:50:12
parso wrote :
> Here comes the problem :How can i change the speed setting of stir4200?.
> I have tried to modify the irdaping.c <ioctl(...,SIOCSBANDWIDTH,...)
> added> to change speed setting,but it failed.
Probably the ioctl is not implemented in the driver. Nobody
uses that functionality, so I expect the code to not be complete...
> I lost my way then.
> Can I modify the initial speed setting in stir4200.c to make it work?
> Do I have no other choice but to sniff the data transfer between two PCs?
One choice would be to fix the driver so that it implement the
ioctl. While you are at it, fix irdadump to be able to do that
automatically, and send me the patches.
Another solution would be for you device to send a fake
connection request to the Linux box (with the proper speed). The Linux
box would answer with a frame at 9600, and after that you would be at
the desired speed (at least for max_noreply_time).
Also note that the stir4200 doesn't support MIR.