* Driver for MCS7780 USB-IrDA bridge chip
@ 2005-05-25 8:52 Lukasz Stelmach
2005-05-25 23:58 ` Greg KH
2005-06-01 0:17 ` Lukasz Stelmach
0 siblings, 2 replies; 6+ messages in thread
From: Lukasz Stelmach @ 2005-05-25 8:52 UTC (permalink / raw)
To: linux-kernel; +Cc: stlman
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Driver for MCS7780 USB-IrDA bridge chip
2005-05-25 8:52 Driver for MCS7780 USB-IrDA bridge chip Lukasz Stelmach
@ 2005-05-25 23:58 ` Greg KH
2005-05-28 11:07 ` Lukasz Stelmach
2005-06-01 0:17 ` Lukasz Stelmach
1 sibling, 1 reply; 6+ messages in thread
From: Greg KH @ 2005-05-25 23:58 UTC (permalink / raw)
To: Lukasz Stelmach; +Cc: linux-kernel
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Driver for MCS7780 USB-IrDA bridge chip
2005-05-25 23:58 ` Greg KH
@ 2005-05-28 11:07 ` Lukasz Stelmach
2005-05-30 6:46 ` Judy Fischbach
0 siblings, 1 reply; 6+ messages in thread
From: Lukasz Stelmach @ 2005-05-28 11:07 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 701 bytes --]
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
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 256 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Driver for MCS7780 USB-IrDA bridge chip
2005-05-28 11:07 ` Lukasz Stelmach
@ 2005-05-30 6:46 ` Judy Fischbach
2005-05-30 10:19 ` Lukasz Stelmach
0 siblings, 1 reply; 6+ messages in thread
From: Judy Fischbach @ 2005-05-30 6:46 UTC (permalink / raw)
To: Lukasz Stelmach; +Cc: linux-kernel
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: TEXT/PLAIN; charset=X-UNKNOWN, Size: 1012 bytes --]
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.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Driver for MCS7780 USB-IrDA bridge chip
2005-05-30 6:46 ` Judy Fischbach
@ 2005-05-30 10:19 ` Lukasz Stelmach
0 siblings, 0 replies; 6+ messages in thread
From: Lukasz Stelmach @ 2005-05-30 10:19 UTC (permalink / raw)
To: Judy Fischbach
[-- Attachment #1: Type: text/plain, Size: 1127 bytes --]
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
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 256 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Driver for MCS7780 USB-IrDA bridge chip
2005-05-25 8:52 Driver for MCS7780 USB-IrDA bridge chip Lukasz Stelmach
2005-05-25 23:58 ` Greg KH
@ 2005-06-01 0:17 ` Lukasz Stelmach
1 sibling, 0 replies; 6+ messages in thread
From: Lukasz Stelmach @ 2005-06-01 0:17 UTC (permalink / raw)
To: linux-kernel; +Cc: jfisch, chris
[-- Attachment #1: Type: text/plain, Size: 1129 bytes --]
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
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 256 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-06-01 0:17 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-25 8:52 Driver for MCS7780 USB-IrDA bridge chip Lukasz Stelmach
2005-05-25 23:58 ` Greg KH
2005-05-28 11:07 ` Lukasz Stelmach
2005-05-30 6:46 ` Judy Fischbach
2005-05-30 10:19 ` Lukasz Stelmach
2005-06-01 0:17 ` Lukasz Stelmach
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox