Re: [PATCH 2/2] USB : serial : invoke dcd_change ldisc's handler.

2013-09-16 Thread Rodolfo Giometti
he uart drivers, so > document this point too. > > Signed-off-by: Paul Chavent Acked-by: Rodolfo Giometti -- GNU/Linux Solutions e-mail: giome...@enneenne.com Linux Device Driver giome...@linux.it Embedded Systems phon

Re: [PATCH 2/2] USB : serial : invoke dcd_change ldisc's handler.

2013-09-16 Thread Rodolfo Giometti
document this point too. Signed-off-by: Paul Chavent paul.chav...@onera.fr Acked-by: Rodolfo Giometti giome...@enneenne.com -- GNU/Linux Solutions e-mail: giome...@enneenne.com Linux Device Driver giome...@linux.it Embedded Systems

Re: [PATCH 2/3] USB : serial : invoke dcd_change ldisc's handler.

2013-09-13 Thread Rodolfo Giometti
On Fri, Sep 13, 2013 at 05:35:12PM +0200, Paul Chavent wrote: > Signed-off-by: Paul Chavent Acked-by: Rodolfo Giometti -- GNU/Linux Solutions e-mail: giome...@enneenne.com Linux Device Driver giome...@linux.it Embedded Syst

Re: [PATCH 2/3] USB : serial : invoke dcd_change ldisc's handler.

2013-09-13 Thread Rodolfo Giometti
On Fri, Sep 13, 2013 at 05:35:12PM +0200, Paul Chavent wrote: Signed-off-by: Paul Chavent paul.chav...@onera.fr Acked-by: Rodolfo Giometti giome...@enneenne.com -- GNU/Linux Solutions e-mail: giome...@enneenne.com Linux Device Driver giome...@linux.it

Re: [PATCH 0/5] Enable PPS reporting for USB serial devices

2013-09-12 Thread Rodolfo Giometti
it into PPS documentation and/or (better) in configuration menu! :) Then you can add my "Acked-by: Rodolfo Giometti " Ciao, Rodolfo -- GNU/Linux Solutions e-mail: giome...@enneenne.com Linux Device Driver giome...@linux.it Embedded Systems

Re: [PATCH 0/5] Enable PPS reporting for USB serial devices

2013-09-12 Thread Rodolfo Giometti
and/or (better) in configuration menu! :) Then you can add my Acked-by: Rodolfo Giometti giome...@enneenne.com Ciao, Rodolfo -- GNU/Linux Solutions e-mail: giome...@enneenne.com Linux Device Driver giome...@linux.it Embedded Systems

Re: [PATCH 0/5] Enable PPS reporting for USB serial devices

2013-09-10 Thread Rodolfo Giometti
On Mon, Sep 09, 2013 at 06:01:15PM +0200, Paul Chavent wrote: > Hi. > > This series enable the PPS reporting for USB serial devices. I have nothing against with this solution but consider that reporting a PPS signal through USB bus may add unknown delays that may vanish clock stability... as far

Re: [PATCH 0/5] Enable PPS reporting for USB serial devices

2013-09-10 Thread Rodolfo Giometti
On Mon, Sep 09, 2013 at 06:01:15PM +0200, Paul Chavent wrote: Hi. This series enable the PPS reporting for USB serial devices. I have nothing against with this solution but consider that reporting a PPS signal through USB bus may add unknown delays that may vanish clock stability... as far as

Re: [PATCH] pps : add non blocking option to PPS_FETCH ioctl.

2013-09-06 Thread Rodolfo Giometti
On Wed, Sep 04, 2013 at 10:20:38AM +0200, Paul Chavent wrote: > Signed-off-by: Paul Chavent Acked: Rodolfo Giometti -- GNU/Linux Solutions e-mail: giome...@enneenne.com Linux Device Driver giome...@linux.it Embedded Systems ph

Re: [PATCH] pps : add non blocking option to PPS_FETCH ioctl.

2013-09-06 Thread Rodolfo Giometti
On Wed, Sep 04, 2013 at 10:20:38AM +0200, Paul Chavent wrote: Signed-off-by: Paul Chavent paul.chav...@onera.fr Acked: Rodolfo Giometti giome...@enneenne.com -- GNU/Linux Solutions e-mail: giome...@enneenne.com Linux Device Driver giome...@linux.it

Re: [PATCH v2] pps-gpio: add device-tree binding and support

2013-06-03 Thread Rodolfo Giometti
direction. > > Also use dev_err instead of pr_err in the changed code. > > Signed-off-by: Jan Luebbe Acked-by: Rodolfo Giometti -- GNU/Linux Solutions e-mail: giome...@enneenne.com Linux Device Driver giome...@linux.it Embedded Systems

Re: [PATCH] pps-gpio: add device-tree binding and support

2013-06-03 Thread Rodolfo Giometti
On Fri, May 31, 2013 at 08:46:55PM +0200, Jan Luebbe wrote: > Signed-off-by: Jan Luebbe Acked-by: Rodolfo Giometti -- GNU/Linux Solutions e-mail: giome...@enneenne.com Linux Device Driver giome...@linux.it Embedded Systems ph

Re: [PATCH] pps-gpio: add device-tree binding and support

2013-06-03 Thread Rodolfo Giometti
On Fri, May 31, 2013 at 08:46:55PM +0200, Jan Luebbe wrote: Signed-off-by: Jan Luebbe j...@pengutronix.de Acked-by: Rodolfo Giometti giome...@enneenne.com -- GNU/Linux Solutions e-mail: giome...@enneenne.com Linux Device Driver giome...@linux.it

Re: [PATCH v2] pps-gpio: add device-tree binding and support

2013-06-03 Thread Rodolfo Giometti
. Also use dev_err instead of pr_err in the changed code. Signed-off-by: Jan Luebbe j...@pengutronix.de Acked-by: Rodolfo Giometti giome...@enneenne.com -- GNU/Linux Solutions e-mail: giome...@enneenne.com Linux Device Driver giome...@linux.it Embedded

Re: [PATCH 1/2] pps-gpio: convert to devm_* helpers

2013-04-23 Thread Rodolfo Giometti
On Mon, Apr 22, 2013 at 10:38:24AM +0200, Jan Lübbe wrote: > Rodolfo, would you take these patches? They are ok for me. Sorry for the delay... :'( ROdolfo -- GNU/Linux Solutions e-mail: giome...@enneenne.com Linux Device Driver giome...@linux.it

Re: [PATCH 1/2] pps-gpio: convert to devm_* helpers

2013-04-23 Thread Rodolfo Giometti
On Mon, Apr 22, 2013 at 10:38:24AM +0200, Jan Lübbe wrote: Rodolfo, would you take these patches? They are ok for me. Sorry for the delay... :'( ROdolfo -- GNU/Linux Solutions e-mail: giome...@enneenne.com Linux Device Driver giome...@linux.it

Re: [PATCH 1/2] pps-gpio: convert to devm_* helpers

2013-04-22 Thread Rodolfo Giometti
On Mon, Apr 22, 2013 at 10:38:24AM +0200, Jan Lübbe wrote: > Rodolfo, would you take these patches? Yes! Sorry for delay... I'm going to review them today. Ciao, Rodolfo -- GNU/Linux Solutions e-mail: giome...@enneenne.com Linux Device Driver

Re: [PATCH 1/2] pps-gpio: convert to devm_* helpers

2013-04-22 Thread Rodolfo Giometti
On Mon, Apr 22, 2013 at 10:38:24AM +0200, Jan Lübbe wrote: Rodolfo, would you take these patches? Yes! Sorry for delay... I'm going to review them today. Ciao, Rodolfo -- GNU/Linux Solutions e-mail: giome...@enneenne.com Linux Device Driver

Re: [PATCH v2 0/9] 3.8-rc regression with pps-ldisc due to 70ece7a731

2013-02-13 Thread Rodolfo Giometti
On Wed, Feb 13, 2013 at 08:45:47AM -0800, Greg KH wrote: > > I can take these through my tty tree, but it would be very good if I > actually had the ack from the PPS maintainer... > > Rodolfo, any objection for me taking these? No. It's ok for me. If you wish you can add my «Acked-by» sign.

Re: [PATCH v2 0/9] 3.8-rc regression with pps-ldisc due to 70ece7a731

2013-02-13 Thread Rodolfo Giometti
On Wed, Feb 13, 2013 at 08:45:47AM -0800, Greg KH wrote: I can take these through my tty tree, but it would be very good if I actually had the ack from the PPS maintainer... Rodolfo, any objection for me taking these? No. It's ok for me. If you wish you can add my «Acked-by» sign. Ciao,

[PATCH] PPS: parallel port clients support.

2008-02-22 Thread Rodolfo Giometti
Adds support for the PPS sources connected with the interrupt pin of a parallel port. Signed-off-by: Rodolfo Giometti <[EMAIL PROTECTED]> --- drivers/char/lp.c | 61 +++ drivers/pps/clients/Kconfig | 10 +++ include/linux/par

[PATCH] PPS: LinuxPPS clients support.

2008-02-22 Thread Rodolfo Giometti
t that can be useful to test system integrity on real systems. Signed-off-by: Rodolfo Giometti <[EMAIL PROTECTED]> --- drivers/pps/Kconfig |2 + drivers/pps/Makefile |1 + drivers/pps/clients/Kconfig | 18 +++ drivers/pps/clients/Makefile |9 +++ drivers/pps/

[PATCH] PPS: userland header file for PPS API.

2008-02-22 Thread Rodolfo Giometti
This patch adds into the PPS's documentation directory a possible implementation of the PPS API (RFC 2783) by using the LinuxPPS's char devices. This file is not just an example but it can be used into real systems. :) Signed-off-by: Rodolfo Giometti <[EMAIL PROTECTED]> --- Documentati

[PATCH] LinuxPPS core support.

2008-02-22 Thread Rodolfo Giometti
n 1.0) which in part is implemented by this patch. It provides a set of chars devices, one per PPS source, which can be used to get the time signal. The RFC's functions can be implemented by accessing to these char devices. Signed-off-by: Rodolfo Giometti <[EMAIL PROTECTED]> --- Documenta

[PATCH] PPS: serial clients support.

2008-02-22 Thread Rodolfo Giometti
Adds support for the PPS sources connected with the CD (Carrier Detect) pin of a serial port. Signed-off-by: Rodolfo Giometti <[EMAIL PROTECTED]> --- drivers/pps/clients/Kconfig | 10 ++ drivers/serial/8250.c|2 + drivers/serial/serial_core.c

[PATCH] PPS: example program to enable PPS support on serial ports.

2008-02-22 Thread Rodolfo Giometti
Signed-off-by: Rodolfo Giometti <[EMAIL PROTECTED]> --- Documentation/pps/Makefile |2 +- Documentation/pps/ppsctl.c | 62 2 files changed, 63 insertions(+), 1 deletions(-) create mode 100644 Documentation/pps/ppsctl.c diff

[PATCH] PPS: documentation programs and examples.

2008-02-22 Thread Rodolfo Giometti
Here some utilities and examples about the PPS API and the LinuxPPS support. * ppstest.c implements an useful testing program, while * ppsfind tries to help the user into finding a specific PPS source by using its name or path. Signed-off-by: Rodolfo Giometti <[EMAIL PROTEC

LinuxPPS (RESUBMIT): the PPS Linux implementation.

2008-02-22 Thread Rodolfo Giometti
This patch set adds the PPS support into Linux. PPS means "pulse per second" and its API is specified by RFC 2783 (Pulse-Per-Second API for UNIX-like Operating Systems, Version 1.0). The code has been tested with the NTPD program (http://www.eecis.udel.edu/~mills/ntp/html/index.html) and several

[PATCH] PPS: documentation programs and examples.

2008-02-22 Thread Rodolfo Giometti
Here some utilities and examples about the PPS API and the LinuxPPS support. * ppstest.c implements an useful testing program, while * ppsfind tries to help the user into finding a specific PPS source by using its name or path. Signed-off-by: Rodolfo Giometti [EMAIL PROTECTED

LinuxPPS (RESUBMIT): the PPS Linux implementation.

2008-02-22 Thread Rodolfo Giometti
This patch set adds the PPS support into Linux. PPS means pulse per second and its API is specified by RFC 2783 (Pulse-Per-Second API for UNIX-like Operating Systems, Version 1.0). The code has been tested with the NTPD program (http://www.eecis.udel.edu/~mills/ntp/html/index.html) and several

[PATCH] PPS: serial clients support.

2008-02-22 Thread Rodolfo Giometti
Adds support for the PPS sources connected with the CD (Carrier Detect) pin of a serial port. Signed-off-by: Rodolfo Giometti [EMAIL PROTECTED] --- drivers/pps/clients/Kconfig | 10 ++ drivers/serial/8250.c|2 + drivers/serial/serial_core.c | 71

[PATCH] PPS: example program to enable PPS support on serial ports.

2008-02-22 Thread Rodolfo Giometti
Signed-off-by: Rodolfo Giometti [EMAIL PROTECTED] --- Documentation/pps/Makefile |2 +- Documentation/pps/ppsctl.c | 62 2 files changed, 63 insertions(+), 1 deletions(-) create mode 100644 Documentation/pps/ppsctl.c diff --git a/Documentation

[PATCH] LinuxPPS core support.

2008-02-22 Thread Rodolfo Giometti
is implemented by this patch. It provides a set of chars devices, one per PPS source, which can be used to get the time signal. The RFC's functions can be implemented by accessing to these char devices. Signed-off-by: Rodolfo Giometti [EMAIL PROTECTED] --- Documentation/ABI/testing/sysfs-pps | 73

[PATCH] PPS: LinuxPPS clients support.

2008-02-22 Thread Rodolfo Giometti
be useful to test system integrity on real systems. Signed-off-by: Rodolfo Giometti [EMAIL PROTECTED] --- drivers/pps/Kconfig |2 + drivers/pps/Makefile |1 + drivers/pps/clients/Kconfig | 18 +++ drivers/pps/clients/Makefile |9 +++ drivers/pps/clients/ktimer.c

[PATCH] PPS: userland header file for PPS API.

2008-02-22 Thread Rodolfo Giometti
This patch adds into the PPS's documentation directory a possible implementation of the PPS API (RFC 2783) by using the LinuxPPS's char devices. This file is not just an example but it can be used into real systems. :) Signed-off-by: Rodolfo Giometti [EMAIL PROTECTED] --- Documentation/pps

[PATCH] PPS: parallel port clients support.

2008-02-22 Thread Rodolfo Giometti
Adds support for the PPS sources connected with the interrupt pin of a parallel port. Signed-off-by: Rodolfo Giometti [EMAIL PROTECTED] --- drivers/char/lp.c | 61 +++ drivers/pps/clients/Kconfig | 10 +++ include/linux/parport.h

[PATCH] PPS: serial clients support.

2008-02-18 Thread Rodolfo Giometti
Adds support for the PPS sources connected with the CD (Carrier Detect) pin of a serial port. Signed-off-by: Rodolfo Giometti <[EMAIL PROTECTED]> --- drivers/pps/clients/Kconfig | 10 ++ drivers/serial/8250.c|2 + drivers/serial/serial_core.c

[PATCH] LinuxPPS core support.

2008-02-18 Thread Rodolfo Giometti
n 1.0) which in part is implemented by this patch. It provides a set of chars devices, one per PPS source, which can be used to get the time signal. The RFC's functions can be implemented by accessing to these char devices. Signed-off-by: Rodolfo Giometti <[EMAIL PROTECTED]> --- Documenta

[PATCH] PPS: userland header file for PPS API.

2008-02-18 Thread Rodolfo Giometti
This patch adds into the PPS's documentation directory a possible implementation of the PPS API (RFC 2783) by using the LinuxPPS's char devices. This file is not just an example but it can be used into real systems. :) Signed-off-by: Rodolfo Giometti <[EMAIL PROTECTED]> --- Documentati

[PATCH] PPS: documentation programs and examples.

2008-02-18 Thread Rodolfo Giometti
Here some utilities and examples about the PPS API and the LinuxPPS support. * ppstest.c implements an useful testing program, while * ppsfind tries to help the user into finding a specific PPS source by using its name or path. Signed-off-by: Rodolfo Giometti <[EMAIL PROTEC

[PATCH] PPS: example program to enable PPS support on serial ports.

2008-02-18 Thread Rodolfo Giometti
Signed-off-by: Rodolfo Giometti <[EMAIL PROTECTED]> --- Documentation/pps/Makefile |2 +- Documentation/pps/ppsctl.c | 62 2 files changed, 63 insertions(+), 1 deletions(-) create mode 100644 Documentation/pps/ppsctl.c diff

[PATCH] PPS: LinuxPPS clients support.

2008-02-18 Thread Rodolfo Giometti
t that can be useful to test system integrity on real systems. Signed-off-by: Rodolfo Giometti <[EMAIL PROTECTED]> --- drivers/pps/Kconfig |2 + drivers/pps/Makefile |1 + drivers/pps/clients/Kconfig | 18 +++ drivers/pps/clients/Makefile |9 +++ drivers/pps/

LinuxPPS (RESUBMIT): the PPS Linux implementation.

2008-02-18 Thread Rodolfo Giometti
This patch set adds the PPS support into Linux. PPS means "pulse per second" and its API is specified by RFC 2783 (Pulse-Per-Second API for UNIX-like Operating Systems, Version 1.0). The code has been tested with the NTPD program (http://www.eecis.udel.edu/~mills/ntp/html/index.html) and several

[PATCH] PPS: parallel port clients support.

2008-02-18 Thread Rodolfo Giometti
Adds support for the PPS sources connected with the interrupt pin of a parallel port. Signed-off-by: Rodolfo Giometti <[EMAIL PROTECTED]> --- drivers/char/lp.c | 61 +++ drivers/pps/clients/Kconfig | 10 +++ include/linux/par

[PATCH] PPS: userland header file for PPS API.

2008-02-18 Thread Rodolfo Giometti
This patch adds into the PPS's documentation directory a possible implementation of the PPS API (RFC 2783) by using the LinuxPPS's char devices. This file is not just an example but it can be used into real systems. :) Signed-off-by: Rodolfo Giometti [EMAIL PROTECTED] --- Documentation/pps

[PATCH] PPS: documentation programs and examples.

2008-02-18 Thread Rodolfo Giometti
Here some utilities and examples about the PPS API and the LinuxPPS support. * ppstest.c implements an useful testing program, while * ppsfind tries to help the user into finding a specific PPS source by using its name or path. Signed-off-by: Rodolfo Giometti [EMAIL PROTECTED

[PATCH] PPS: serial clients support.

2008-02-18 Thread Rodolfo Giometti
Adds support for the PPS sources connected with the CD (Carrier Detect) pin of a serial port. Signed-off-by: Rodolfo Giometti [EMAIL PROTECTED] --- drivers/pps/clients/Kconfig | 10 ++ drivers/serial/8250.c|2 + drivers/serial/serial_core.c | 71

[PATCH] PPS: example program to enable PPS support on serial ports.

2008-02-18 Thread Rodolfo Giometti
Signed-off-by: Rodolfo Giometti [EMAIL PROTECTED] --- Documentation/pps/Makefile |2 +- Documentation/pps/ppsctl.c | 62 2 files changed, 63 insertions(+), 1 deletions(-) create mode 100644 Documentation/pps/ppsctl.c diff --git a/Documentation

[PATCH] PPS: parallel port clients support.

2008-02-18 Thread Rodolfo Giometti
Adds support for the PPS sources connected with the interrupt pin of a parallel port. Signed-off-by: Rodolfo Giometti [EMAIL PROTECTED] --- drivers/char/lp.c | 61 +++ drivers/pps/clients/Kconfig | 10 +++ include/linux/parport.h

[PATCH] PPS: LinuxPPS clients support.

2008-02-18 Thread Rodolfo Giometti
be useful to test system integrity on real systems. Signed-off-by: Rodolfo Giometti [EMAIL PROTECTED] --- drivers/pps/Kconfig |2 + drivers/pps/Makefile |1 + drivers/pps/clients/Kconfig | 18 +++ drivers/pps/clients/Makefile |9 +++ drivers/pps/clients/ktimer.c

[PATCH] LinuxPPS core support.

2008-02-18 Thread Rodolfo Giometti
is implemented by this patch. It provides a set of chars devices, one per PPS source, which can be used to get the time signal. The RFC's functions can be implemented by accessing to these char devices. Signed-off-by: Rodolfo Giometti [EMAIL PROTECTED] --- Documentation/ABI/testing/sysfs-pps | 73

LinuxPPS (RESUBMIT): the PPS Linux implementation.

2008-02-18 Thread Rodolfo Giometti
This patch set adds the PPS support into Linux. PPS means pulse per second and its API is specified by RFC 2783 (Pulse-Per-Second API for UNIX-like Operating Systems, Version 1.0). The code has been tested with the NTPD program (http://www.eecis.udel.edu/~mills/ntp/html/index.html) and several

Re: [PATCH 1/8] LinuxPPS core support.

2008-02-11 Thread Rodolfo Giometti
On Mon, Feb 11, 2008 at 07:31:53PM +0100, Rodolfo Giometti wrote: > Do you think is better create these files anyway and in case report a > NULL string? Is that ok? /* * Attribute functions */ static ssize_t pps_show_assert(struct device *dev,

Re: [PATCH 1/8] LinuxPPS core support.

2008-02-11 Thread Rodolfo Giometti
On Mon, Feb 11, 2008 at 07:25:42AM -0800, Greg KH wrote: > On Mon, Feb 11, 2008 at 10:53:46AM +0100, Rodolfo Giometti wrote: > > On Fri, Feb 08, 2008 at 10:45:31PM -0800, Greg KH wrote: > > > > > > As you are adding sysfs files, please also describe them in > >

Re: [PATCH 1/8] LinuxPPS core support.

2008-02-11 Thread Rodolfo Giometti
On Fri, Feb 08, 2008 at 10:45:31PM -0800, Greg KH wrote: > > As you are adding sysfs files, please also describe them in > Documentation/ABI/ in this same series of patches. Ok. I'm going to add them under "testing". > Why not use a default attribute group? > > That way the files are created

Re: [PATCH 1/8] LinuxPPS core support.

2008-02-11 Thread Rodolfo Giometti
On Mon, Feb 11, 2008 at 07:25:42AM -0800, Greg KH wrote: On Mon, Feb 11, 2008 at 10:53:46AM +0100, Rodolfo Giometti wrote: On Fri, Feb 08, 2008 at 10:45:31PM -0800, Greg KH wrote: As you are adding sysfs files, please also describe them in Documentation/ABI/ in this same series

Re: [PATCH 1/8] LinuxPPS core support.

2008-02-11 Thread Rodolfo Giometti
On Mon, Feb 11, 2008 at 07:31:53PM +0100, Rodolfo Giometti wrote: Do you think is better create these files anyway and in case report a NULL string? Is that ok? /* * Attribute functions */ static ssize_t pps_show_assert(struct device *dev, struct

Re: [PATCH 1/8] LinuxPPS core support.

2008-02-11 Thread Rodolfo Giometti
On Fri, Feb 08, 2008 at 10:45:31PM -0800, Greg KH wrote: As you are adding sysfs files, please also describe them in Documentation/ABI/ in this same series of patches. Ok. I'm going to add them under testing. Why not use a default attribute group? That way the files are created before

[PATCH 1/8] LinuxPPS core support.

2008-02-08 Thread Rodolfo Giometti
n 1.0) which in part is implemented by this patch. It provides a set of chars devices, one per PPS source, which can be used to get the time signal. The RFC's functions can be implemented by accessing to these char devices. Signed-off-by: Rodolfo Giometti <[EMAIL PROTECTED]> --- MAINTAINERS

[PATCH 6/8] PPS: serial clients support.

2008-02-08 Thread Rodolfo Giometti
Adds support for the PPS sources connected with the CD (Carrier Detect) pin of a serial port. Signed-off-by: Rodolfo Giometti <[EMAIL PROTECTED]> --- drivers/pps/clients/Kconfig | 10 ++ drivers/serial/8250.c|2 + drivers/serial/serial_core.c

[PATCH 2/8] PPS: basic documentation file.

2008-02-08 Thread Rodolfo Giometti
Signed-off-by: Rodolfo Giometti <[EMAIL PROTECTED]> --- Documentation/pps/pps.txt | 170 + 1 files changed, 170 insertions(+), 0 deletions(-) create mode 100644 Documentation/pps/pps.txt diff --git a/Documentation/pps/pps.txt b/Documentati

[PATCH 5/8] PPS: LinuxPPS clients support.

2008-02-08 Thread Rodolfo Giometti
t that can be useful to test system integrity on real systems. Signed-off-by: Rodolfo Giometti <[EMAIL PROTECTED]> --- drivers/pps/Kconfig |2 + drivers/pps/Makefile |1 + drivers/pps/clients/Kconfig | 18 +++ drivers/pps/clients/Makefile |9 +++ drivers/pps/

[PATCH 3/8] PPS: userland header file for PPS API.

2008-02-08 Thread Rodolfo Giometti
This patch adds into the PPS's documentation directory a possible implementation of the PPS API (RFC 2783) by using the LinuxPPS's char devices. This file is not just an example but it can be used into real systems. :) Signed-off-by: Rodolfo Giometti <[EMAIL PROTECTED]> --- Documentati

[PATCH 7/8] PPS: example program to enable PPS support on serial ports.

2008-02-08 Thread Rodolfo Giometti
Signed-off-by: Rodolfo Giometti <[EMAIL PROTECTED]> --- Documentation/pps/Makefile |2 +- Documentation/pps/ppsctl.c | 62 2 files changed, 63 insertions(+), 1 deletions(-) create mode 100644 Documentation/pps/ppsctl.c diff

[PATCH 8/8] PPS: parallel port clients support.

2008-02-08 Thread Rodolfo Giometti
Adds support for the PPS sources connected with the interrupt pin of a parallel port. Signed-off-by: Rodolfo Giometti <[EMAIL PROTECTED]> --- drivers/char/lp.c | 61 +++ drivers/pps/clients/Kconfig | 10 +++ include/linux/par

[PATCH 4/8] PPS: documentation programs and examples.

2008-02-08 Thread Rodolfo Giometti
Here some utilities and examples about the PPS API and the LinuxPPS support. * ppsctl.c implements an useful testing program, while * ppsfind tries to help the user into finding a specific PPS source by using its name or path. Signed-off-by: Rodolfo Giometti <[EMAIL PROTEC

LinuxPPS: the PPS Linux implementation.

2008-02-08 Thread Rodolfo Giometti
This patch set adds the PPS support into Linux. PPS means "pulse per second" and its API is specified by RFC 2783 (Pulse-Per-Second API for UNIX-like Operating Systems, Version 1.0). The code has been tested with the NTPD program (http://www.eecis.udel.edu/~mills/ntp/html/index.html) and several

[PATCH 4/8] PPS: documentation programs and examples.

2008-02-08 Thread Rodolfo Giometti
Here some utilities and examples about the PPS API and the LinuxPPS support. * ppsctl.c implements an useful testing program, while * ppsfind tries to help the user into finding a specific PPS source by using its name or path. Signed-off-by: Rodolfo Giometti [EMAIL PROTECTED

[PATCH 8/8] PPS: parallel port clients support.

2008-02-08 Thread Rodolfo Giometti
Adds support for the PPS sources connected with the interrupt pin of a parallel port. Signed-off-by: Rodolfo Giometti [EMAIL PROTECTED] --- drivers/char/lp.c | 61 +++ drivers/pps/clients/Kconfig | 10 +++ include/linux/parport.h

[PATCH 7/8] PPS: example program to enable PPS support on serial ports.

2008-02-08 Thread Rodolfo Giometti
Signed-off-by: Rodolfo Giometti [EMAIL PROTECTED] --- Documentation/pps/Makefile |2 +- Documentation/pps/ppsctl.c | 62 2 files changed, 63 insertions(+), 1 deletions(-) create mode 100644 Documentation/pps/ppsctl.c diff --git a/Documentation

Re: LinuxPPS patch

2008-01-28 Thread Rodolfo Giometti
On Mon, Jan 28, 2008 at 08:43:08AM -0500, Lennart Sorensen wrote: > I would test it except I am still on 2.6.18 and probably will be for > quite a while. I am still using an older patch of yours which works > great for now, although I know the interface has a changed a bit since. Yes, you are

Re: LinuxPPS patch

2008-01-28 Thread Rodolfo Giometti
On Mon, Jan 28, 2008 at 08:43:08AM -0500, Lennart Sorensen wrote: I would test it except I am still on 2.6.18 and probably will be for quite a while. I am still using an older patch of yours which works great for now, although I know the interface has a changed a bit since. Yes, you are

LinuxPPS patch

2008-01-27 Thread Rodolfo Giometti
Hello, here my patch for PPS support against kernel 2.6.24: http://ftp.enneenne.com/pub/misc/linuxpps/patches/ntp-pps-2.6.24.diff The code has been tested by some guys intered in PPS stuff and it seems ok. :) Please report your suggestions in order to get kernel inclusion. Thanks in

LinuxPPS patch

2008-01-27 Thread Rodolfo Giometti
Hello, here my patch for PPS support against kernel 2.6.24: http://ftp.enneenne.com/pub/misc/linuxpps/patches/ntp-pps-2.6.24.diff The code has been tested by some guys intered in PPS stuff and it seems ok. :) Please report your suggestions in order to get kernel inclusion. Thanks in

heartbeat for leds on i2c bus

2007-12-03 Thread Rodolfo Giometti
Hello, on my custom board I have some leds mapped on a dedicated chip connected via i2c bus. If I try to use the heartbeat trigger I hang the system... I suppose it is due the fact the led_set_brightness() function is called inside a kernel timer. How I can solve this problem? I thought to

heartbeat for leds on i2c bus

2007-12-03 Thread Rodolfo Giometti
Hello, on my custom board I have some leds mapped on a dedicated chip connected via i2c bus. If I try to use the heartbeat trigger I hang the system... I suppose it is due the fact the led_set_brightness() function is called inside a kernel timer. How I can solve this problem? I thought to

Re: [PATCH] PCMCIA: prevent auto insert during resume.

2007-11-06 Thread Rodolfo Giometti
On Thu, Nov 01, 2007 at 06:56:29PM +, Russell King wrote: > On Thu, Nov 01, 2007 at 06:37:41PM +, Russell King wrote: > > On Thu, Nov 01, 2007 at 03:53:59PM +0100, Rodolfo Giometti wrote: > > > On Mon, Oct 29, 2007 at 07:24:15PM +, Pavel Machek wrote: > > > &

Re: [PATCH] PCMCIA: prevent auto insert during resume.

2007-11-06 Thread Rodolfo Giometti
On Thu, Nov 01, 2007 at 06:37:41PM +, Russell King wrote: > On Thu, Nov 01, 2007 at 03:53:59PM +0100, Rodolfo Giometti wrote: > > On Mon, Oct 29, 2007 at 07:24:15PM +, Pavel Machek wrote: > > > On Fri 2007-10-26 19:18:57, Rodolfo Giometti wrote: > > > > On F

Re: [PATCH] PCMCIA: prevent auto insert during resume.

2007-11-06 Thread Rodolfo Giometti
On Thu, Nov 01, 2007 at 06:37:41PM +, Russell King wrote: On Thu, Nov 01, 2007 at 03:53:59PM +0100, Rodolfo Giometti wrote: On Mon, Oct 29, 2007 at 07:24:15PM +, Pavel Machek wrote: On Fri 2007-10-26 19:18:57, Rodolfo Giometti wrote: On Fri, Oct 26, 2007 at 06:00:31PM +0100

Re: [PATCH] PCMCIA: prevent auto insert during resume.

2007-11-06 Thread Rodolfo Giometti
On Thu, Nov 01, 2007 at 06:56:29PM +, Russell King wrote: On Thu, Nov 01, 2007 at 06:37:41PM +, Russell King wrote: On Thu, Nov 01, 2007 at 03:53:59PM +0100, Rodolfo Giometti wrote: On Mon, Oct 29, 2007 at 07:24:15PM +, Pavel Machek wrote: On Fri 2007-10-26 19:18:57, Rodolfo

Re: [PATCH] PCMCIA: prevent auto insert during resume.

2007-11-01 Thread Rodolfo Giometti
On Mon, Oct 29, 2007 at 07:24:15PM +, Pavel Machek wrote: > On Fri 2007-10-26 19:18:57, Rodolfo Giometti wrote: > > On Fri, Oct 26, 2007 at 06:00:31PM +0100, Russell King wrote: > > > > > > > > Also if you didn't eject the socket, at resume the device will be

Re: [PATCH] PCMCIA: prevent auto insert during resume.

2007-11-01 Thread Rodolfo Giometti
On Mon, Oct 29, 2007 at 07:24:15PM +, Pavel Machek wrote: On Fri 2007-10-26 19:18:57, Rodolfo Giometti wrote: On Fri, Oct 26, 2007 at 06:00:31PM +0100, Russell King wrote: Also if you didn't eject the socket, at resume the device will be powered up again, my patch just

Re: [PATCH] PCMCIA: prevent auto insert during resume.

2007-10-26 Thread Rodolfo Giometti
On Fri, Oct 26, 2007 at 07:37:40PM +0100, Russell King wrote: > On Fri, Oct 26, 2007 at 07:18:57PM +0200, Rodolfo Giometti wrote: > > On Fri, Oct 26, 2007 at 06:00:31PM +0100, Russell King wrote: > > > Or that - probably a sysfs attribute on the pcmcia socket would be > &g

Re: [PATCH] PCMCIA: prevent auto insert during resume.

2007-10-26 Thread Rodolfo Giometti
On Fri, Oct 26, 2007 at 06:00:31PM +0100, Russell King wrote: > > > > Also if you didn't eject the socket, at resume the device will be > > > > powered up again, my patch just prevents that a pre-powered off device > > > > to be turned on at resume time. > > > > > > > > However you should

Re: [PATCH] PCMCIA: prevent auto insert during resume.

2007-10-26 Thread Rodolfo Giometti
On Fri, Oct 26, 2007 at 05:36:51PM +0100, Russell King wrote: > On Fri, Oct 26, 2007 at 06:27:06PM +0200, Rodolfo Giometti wrote: > > On Fri, Oct 26, 2007 at 05:02:06PM +0100, Russell King wrote: > > > When you bring the battery device out of resume, and you've inserted a &g

Re: [PATCH] PCMCIA: prevent auto insert during resume.

2007-10-26 Thread Rodolfo Giometti
On Fri, Oct 26, 2007 at 05:02:06PM +0100, Russell King wrote: > > Not on a battery powered device with a graphical interface. This can be done by a button, menu or other graphical object. :) > > On battery powered device I should prevent power lost, so if I power > > down a device I'd like it

Re: [PATCH] PCMCIA: prevent auto insert during resume.

2007-10-26 Thread Rodolfo Giometti
On Fri, Oct 26, 2007 at 04:11:41PM +0100, Russell King wrote: > On Fri, Oct 26, 2007 at 12:51:25PM +0200, Rodolfo Giometti wrote: > > If a socket has been ejected before sleeping, at resume time it > > shouldn't be awaked. > > Conversely, if a card has been inserted int

[PATCH] PCMCIA: prevent auto insert during resume.

2007-10-26 Thread Rodolfo Giometti
If a socket has been ejected before sleeping, at resume time it shouldn't be awaked. Signed-off-by: Rodolfo Giometti <[EMAIL PROTECTED]> --- drivers/pcmcia/cs.c |7 +++ 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/pcmcia/cs.c b/drivers/pcmcia/cs.c index 7

[PATCH] PCMCIA: prevent auto insert during resume.

2007-10-26 Thread Rodolfo Giometti
If a socket has been ejected before sleeping, at resume time it shouldn't be awaked. Signed-off-by: Rodolfo Giometti [EMAIL PROTECTED] --- drivers/pcmcia/cs.c |7 +++ 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/pcmcia/cs.c b/drivers/pcmcia/cs.c index 729e37d

Re: [PATCH] PCMCIA: prevent auto insert during resume.

2007-10-26 Thread Rodolfo Giometti
On Fri, Oct 26, 2007 at 04:11:41PM +0100, Russell King wrote: On Fri, Oct 26, 2007 at 12:51:25PM +0200, Rodolfo Giometti wrote: If a socket has been ejected before sleeping, at resume time it shouldn't be awaked. Conversely, if a card has been inserted into an empty slot prior to resuming

Re: [PATCH] PCMCIA: prevent auto insert during resume.

2007-10-26 Thread Rodolfo Giometti
On Fri, Oct 26, 2007 at 05:02:06PM +0100, Russell King wrote: Not on a battery powered device with a graphical interface. This can be done by a button, menu or other graphical object. :) On battery powered device I should prevent power lost, so if I power down a device I'd like it should

Re: [PATCH] PCMCIA: prevent auto insert during resume.

2007-10-26 Thread Rodolfo Giometti
On Fri, Oct 26, 2007 at 05:36:51PM +0100, Russell King wrote: On Fri, Oct 26, 2007 at 06:27:06PM +0200, Rodolfo Giometti wrote: On Fri, Oct 26, 2007 at 05:02:06PM +0100, Russell King wrote: When you bring the battery device out of resume, and you've inserted a card, you want

Re: [PATCH] PCMCIA: prevent auto insert during resume.

2007-10-26 Thread Rodolfo Giometti
On Fri, Oct 26, 2007 at 06:00:31PM +0100, Russell King wrote: Also if you didn't eject the socket, at resume the device will be powered up again, my patch just prevents that a pre-powered off device to be turned on at resume time. However you should consider that some

Re: [PATCH] PCMCIA: prevent auto insert during resume.

2007-10-26 Thread Rodolfo Giometti
On Fri, Oct 26, 2007 at 07:37:40PM +0100, Russell King wrote: On Fri, Oct 26, 2007 at 07:18:57PM +0200, Rodolfo Giometti wrote: On Fri, Oct 26, 2007 at 06:00:31PM +0100, Russell King wrote: Or that - probably a sysfs attribute on the pcmcia socket would be better. Ok, but how can I

Re: [PATCH] LinuxPPS - PPS support for Linux

2007-10-25 Thread Rodolfo Giometti
On Tue, Oct 23, 2007 at 02:08:19PM -0700, Roland Dreier wrote: > > +void pps_unregister_source(int source) > > ... > > + wait_event(pps->usage_queue, atomic_read(>usage) == 0); > > + > > + pps_sysfs_remove_source_entry(pps); > > + pps_unregister_cdev(pps); > > + kfree(pps); > > This

Re: [PATCH] LinuxPPS - PPS support for Linux

2007-10-25 Thread Rodolfo Giometti
On Tue, Oct 23, 2007 at 02:08:19PM -0700, Roland Dreier wrote: +void pps_unregister_source(int source) ... + wait_event(pps-usage_queue, atomic_read(pps-usage) == 0); + + pps_sysfs_remove_source_entry(pps); + pps_unregister_cdev(pps); + kfree(pps); This reference

PCMCIA insert on resume

2007-10-24 Thread Rodolfo Giometti
Hello, I don't understand why, on resume, the function socket_resume() (in drivers/pcmcia/cs.c) do: if (!(skt->state & SOCKET_PRESENT)) { skt->state &= ~SOCKET_SUSPEND; return socket_insert(skt); } This cause a powered off socket before suspend to be

Re: [PATCH] LinuxPPS - PPS support for Linux

2007-10-24 Thread Rodolfo Giometti
On Tue, Oct 23, 2007 at 02:08:19PM -0700, Roland Dreier wrote: > A few comments: > > > + dev_err(port->dev, "PPS support disabled due port \"%s\" is " > > + "in polling mode\n", > > I think "because" instead of "due" is closer to standard English.

Re: [PATCH] LinuxPPS - PPS support for Linux

2007-10-24 Thread Rodolfo Giometti
On Tue, Oct 23, 2007 at 02:08:19PM -0700, Roland Dreier wrote: A few comments: + dev_err(port-dev, PPS support disabled due port \%s\ is + in polling mode\n, I think because instead of due is closer to standard English. Fixed. +

PCMCIA insert on resume

2007-10-24 Thread Rodolfo Giometti
Hello, I don't understand why, on resume, the function socket_resume() (in drivers/pcmcia/cs.c) do: if (!(skt-state SOCKET_PRESENT)) { skt-state = ~SOCKET_SUSPEND; return socket_insert(skt); } This cause a powered off socket before suspend to be

<    1   2   3   4   5   >