lkml.org 
[lkml]   [2003]   [Nov]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: I2C parallel port adapters drivers
Jean,
some comments, in no particular order :)

When I wrote the parallel port drivers, the parport api was changing a
lot. Therefore I did not
make use of it. Blocking the parport might be a good idea, but it
introduces another dependency.

Anyway, parport only makes real sense when you want to share your
parport between multiple devices,
say a zip drive. Therefore, a question to the whole sensors list: Is
anyone really using such a setup?
It should be at least be configurable as an option (also think of using
it in embedded devices, where you
wouldn't want to bloat the kernel with such things...)

Also, are there any hardware cracks out there with multiple adapters,
like a home-brew philips adapter
and a velleman kit on two parports?

Just a few special cases to think about...

As for the naming, i2c-parport would conflict with the old i2c-parport
module that is still available in 2.4ish
kernels in the v4l section - maybe i2c-parallel is an option.

Also, have a look at the wealth of i2c drivers that are present in the
2.6 kernels :)
So long,
Simon

Jean Delvare wrote:

>OK, I'll write a unified driver then. Just one more question. Any reason
>to prefer direct I/O access (ELV/Velleman) over parallel-port-style
>programming (i2c-philips-par)? I'd say that the second is preferable,
>but you might have had a reason to use direct access, that I ignore. If
>not, I'll somehow use i2c-philips-par as a base for my unified driver,
>which I'll probably call i2c-parport (since it won't be Philips-specific
>anymore). That driver would support Philips adapters, ELV, Velleman and
>ADM evaluation boards (I have one here for testing).
>
>Thanks a lot for spending some time replying.
>
>
>


--
Dipl.-Ing. Dr. Simon Vogl ! http://www.voxel.at/
VoXel Interaction Design ! office@voxel.at
Breitwiesergutstr. 50 ! +43 650 2323 555
A-4020 Linz - Austria !





-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:58    [from the cache]
©2003-2011 Jasper Spaans