Kingsun KS-959 USB IrDA dongle - can now receive files, trouble with transmission

Alex Villací­s Lasso <[email protected]>
Newsgroups gmane.linux.irda.general,gmane.linux.usb.devel
Message-ID <[email protected]>
Some good news: I have an updated version of the driver that actually 
works for receiving files from my cellphone with obexftp. Current source 
is in the tarball. The only problem is that I have trouble with the 
transmission of large packets, or in quick sucession. For example, when 
actually trying to send something to the phone. I think it has something 
to do with improper locking, because in the Fedora 7 kernel I get a BUG 
backtrace about sleeping in an invalid context. In a vanilla 2.6.22 
kernel the userspace program just hangs waiting for the transmission. So 
here is the source for all of you to poke at and comment, until I have 
time to debug the problem tonight.

Any helpful comments are welcome.

Alex Villacís Lasso

-- 
perl -e '$x=2.4;print sprintf("%.0f + %.0f = %.0f\n",$x,$x,$x+$x);'

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

_______________________________________________
irda-users mailing list
[email protected]
http://lists.sourceforge.net/lists/listinfo/irda-users
ks-959.tar.bz2 (application/x-bzip2, 8 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.