1. I've been reading some other support threads that you answer, and
wow, you are really unimaginative and constrained.  Yes, the pattern
can be done from userspace, very slowly.  Too slowly to be useful in
fact.  When someone asks a question, the best thing to do is answer
the question and don't try to second-guess their motives or say "don't
do it that way" when you don't know why they're doing it that way, or
what the big picture of what they're doing is, which most people
aren't going to be telling you for a simple question.

2. No, I'm not creating a general kernel API, I'm creating something
that only I will be using, for my purpose, so it can be "incorrect" or
"not quite right" if I want.  As I said, if you know of some other way
to get a block of binary data into the driver, feel free to suggest
it, but this way works great and will end my headache, so I don't care
if it's proper.

3. Proprietary code is not published.

On Feb 10, 11:57 am, Greg KH <[email protected]> wrote:
> On Thu, Feb 10, 2011 at 11:42 AM, jon.schell <[email protected]> wrote:
> > Yes, I'm sure it can't handle it.  Not a PWM, doing something like:
> > Turn on for 3 ms, turn off for 5ms, turn on for 1 ms, turn off for 1
> > ms, turn on for 2 ms, turn off for 8 ms, etc. for any arbitrary
> > pattern you want to do.
>
> That type of pattern is easy to do from userspace, please do it that
> way and not from within the kernel, that's not the proper place to do
> it.
>
> > I'm not breaking anything with userspace as it's not a device anyone
> > will/can access except for my app.
>
> You are creating a user/kernel API which is important to get correct.
>
> > And it won't be released into the code base.
>
> What do you mean by this?  All kernel code must be published when
> the product is shipped.
>
> thanks,
>
> greg k-h

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-kernel

Reply via email to