On Jun 9, 2005, at 4:08 AM, pascal.brisset-ml@... wrote:
> Jonathan Brandmeyer writes:
>
>> I am using a GPIO to feedback the PWM signal to the gumstix and get
>> rising-edge interrupts from it.
>>
>
> Nice trick. Indeed this should give you two jitter-free signals.
>
>
>> My driver is rough around the /dev interface. Pascal, which major
>> device number are you using?
>>
>
> Mine is configurable with a module parameter (dev_major).
> Default is 60, as permitted by linux/Documentation/devices.txt.
>
>
>> How can I install this driver such
>> that modprobe will work, rather than manually running insmod?
>>
>
> Just add "/tmp/multi-pwm.ko:" (or whatever the path is) at the
> end of /lib/modules/linux-X.Y.Z/modules.dep.
> You may want to update /lib/modules/linux-X.Y.Z/modules.alias too.
Guys, if either of you would like me to merge your drivers into the
kernel tree in the buildroot (and even send them upstream to the
mainline kernel), pass me the code -- over the next week I'm
travelling, and will be spending a lot of time heads-down on
buildroot improvements and updates.
C
PS If anyone's in the Toledo, OH area and wants to say hi, let me
know -- I'll be there from monday through saturday next week.
|