Greetings Everyone.
I've written, with significant help from MosChip which provided me with
some extra data, the driver for MCS7780. The official documentation
for the chip is available at:
http://moschip.com/data/products/MCS7780/All_7780.zip
The driver is in a *very* early alpha stage but works a little bit.
It can:
* Setup hardware.
* Talk at 9600 bps.
* Receive packets and pass them to irda stack
* Send packets from the stack to the outside world.
It can't:
* Change the speed althoug hardware supports up to 4Mbps FIR mode.
* Handle most of possible errors.
* Make a cup of tea ;-)
* A lot more
The lists are quite equal at length ;) I would like to ask you kindly to
look at my code and maybe, if you have an MCS7780 IR dongle, try it. I
will appreciate any comments, patches and flames.
You can download it from either:
http://www.ee.pw.edu.pl/~stelmacl/mcs7780-0.1alpha.1.tar.bz2
or
http://stlman.fm.interia.pl/mcs7780-0.1alpha.1.tar.bz2
For the record the code is quite havely based on stir4200 driver since
both chips has simmilar principles of operation. They both need a
software do the framing for them. I also borrowed ;) the makfile from
the Broadcom Gigabit Ethernet driver sources.
I am not subscribed to LKML, please CC any answers.
Thank you in advance
Best regards.
--
By?o mi bardzo mi?o. Trzecia pospolita kl?ska, [...]
>?ukasz< Ju? nie katolicka lecz z?odziejska. (c)PP
----------------------------------------------------------------------
Znajdz swoja milosc na wiosne... >>> http://link.interia.pl/f187a
On Wed, May 25, 2005 at 10:52:05AM +0200, Lukasz Stelmach wrote:
> You can download it from either:
>
> http://www.ee.pw.edu.pl/~stelmacl/mcs7780-0.1alpha.1.tar.bz2
>
> or
>
> http://stlman.fm.interia.pl/mcs7780-0.1alpha.1.tar.bz2
Nice, care to make up a patch as per the Documentation/SubmittingPatches
file and send it to the linux-usb-devel mailing list so people can
review it? Also, you might want to cc the netdev list for the network
stuff.
thanks,
greg k-h
Greg KH napisał(a):
> On Wed, May 25, 2005 at 10:52:05AM +0200, Lukasz Stelmach wrote:
>
>>You can download it from either:
>>http://www.ee.pw.edu.pl/~stelmacl/mcs7780-0.1alpha.1.tar.bz2
[...]
> Nice, care to make up a patch as per the Documentation/SubmittingPatches
> file and send it to the linux-usb-devel mailing list so people can
> review it?
I surely will make a patch but let me at least implement the speed
changing. For without it the driver is just like a lawnmower instead of
beeing for example a scooter ;-)
--
Było mi bardzo miło. Trzecia pospolita klęska, [...]
>Łukasz< Już nie katolicka lecz złodziejska. (c)PP
On Sat, 28 May 2005, Lukasz Stelmach wrote:
> Greg KH napisał(a):
> > On Wed, May 25, 2005 at 10:52:05AM +0200, Lukasz Stelmach wrote:
> >
> >>You can download it from either:
> >>http://www.ee.pw.edu.pl/~stelmacl/mcs7780-0.1alpha.1.tar.bz2
> [...]
> > Nice, care to make up a patch as per the Documentation/SubmittingPatches
> > file and send it to the linux-usb-devel mailing list so people can
> > review it?
>
> I surely will make a patch but let me at least implement the speed
> changing. For without it the driver is just like a lawnmower instead of
> beeing for example a scooter ;-)
>
Hello Lukasz and Greg,
I'm a graduate student at Portland State University in Prof Bart Massey's
OS Internals Class. Many of us have been working on the driver for
this chip also and we just recently got SIR working at 9600. We are in
the currently in the process of testing. We would like to join forces,
share what we've done and help with efforts to add support for speed
changes, FIR and more testing.
Judy.
Judy Fischbach napisa?(a):
> this chip also and we just recently got SIR working at 9600. We are in
I ve just set up ppp communication over ircomm with my Palm device :)
9600 of course but works flawlesly :-D
> the currently in the process of testing. We would like to join forces,
> share what we've done and help with efforts to add support for speed
> changes, FIR and more testing.
It's great to hear I am not on my own with those problems. If you have
read my source you know that speed changing routine is there and works,
or rather is seemed to work according to the data sheet. What I can't do
now is find a proper way to invoke it and not make the kernel panic. If
I solve this problem only error handling and performace tuning will have
to be done (if no other problems will be born by the way).
Please tell how can I help.
PS. I am simply curious how long did it take you to develope your code
and how many of you have worked on it?
--
By?o mi bardzo mi?o. Trzecia pospolita kl?ska, [...]
>?ukasz< Ju? nie katolicka lecz z?odziejska. (c)PP
Greetings Everyone.
The new, shiny 0.2alpha.3 release is ready to test it, smash it and blow
it off ;-)
The major improvement is support for other SIR speeds: 2400 through
115200 bps. Well I think they will work but frankly speaking I haven't
tested them because my Handspring always negotiates the highest rate.
I am sure there is quite a lot of bugs left so *please* test it as much
as you can. I am realy convinced that performance may be a really big
problem so I will appreciate any comments on the design.
Source tarball is available at:
http://www.ee.pw.edu.pl/~stelmacl/mcs7780-0.2alpha.3.tar.bz2
http://www.ee.pw.edu.pl/~stelmacl/mcs7780-0.2alpha.3.tar.bz2.asc (sig)
or
http://stlman.fm.interia.pl/mcs7780-0.2alpha.3.tar.bz2
http://stlman.fm.interia.pl/mcs7780-0.2alpha.3.tar.bz2.asc (sig)
To answer your question: I will make a patch but let me first be sure it
is usable and at least beta-stable. You can help ;-)
Always yours.
--
By?o mi bardzo mi?o. Trzecia pospolita kl?ska, [...]
>?ukasz< Ju? nie katolicka lecz z?odziejska. (c)PP