[LinuxPPS] A question about the PPS device.

Rodolfo Giometti giometti at enneenne.com
Wed Jun 25 21:37:20 CEST 2008


On Wed, Jun 25, 2008 at 12:27:09PM -0600, clemens at dwf.com wrote:
> Just a question.
> I have installed the ' *ifdef N_PPS ' code that has been mentioned
> in a number of emails recently in the ONCORE driver, and have
> it working.  

Great! :)

> Given a day or two to think about things Ill add it to the code in the
> NTP repository.

Ok.

> But I dont understand this at all.
> 
> Using ttyctrl, the current code in the ONCORE driver worked just fine,
> in particular, the PPS device was opened O_RDWR.
> When I installed the #ifdef N_PPS code, it failed, I looked at ttyctrl.c and
> saw that Rudolfo opened the device O_RDONLY, and changed the ONCORE
> open to O_RDONLY, and now it works.

I don't understand what you mean. Looking at ttyctrl.c I don't see any
O_RDONLY... O_o

Ciao,

Rodolfo

-- 

GNU/Linux Solutions                  e-mail: giometti at enneenne.com
Linux Device Driver                          giometti at linux.it
Embedded Systems                     phone:  +39 349 2432127
UNIX programming                     skype:  rodolfo.giometti



More information about the LinuxPPS mailing list