On 08/01/2013 03:54 AM, Greg KH wrote:
On Sun, Jul 07, 2013 at 09:32:55PM +0200, pchavent wrote:
On Sun, 7 Jul 2013 10:37:59 -0700, Greg KH wrote:
On Sun, Jul 07, 2013 at 07:17:40PM +0200, pchavent wrote:
Hi.
lsusb doesn't handle 32 bits Usage tags.
I've tried to do a patch but i'm not confi
In order to have the PPS line discipline to work with usb devices.
Signed-off-by: Paul Chavent
---
drivers/usb/serial/generic.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/usb/serial/generic.c b/drivers/usb/serial/generic.c
index 91f0592..a18a086 100644
--- a/drivers/usb
This patch depends on 72df17e... (PATCH 1). It restores the retreiving
of a protected instance of tty. As opposed to the serialcore.c
dcd_change implementation, the callers of dcd_change used to
get protected tty instance.
Signed-off-by: Paul Chavent
---
drivers/usb/serial/generic.c | 4
Signed-off-by: Paul Chavent
---
drivers/usb/serial/ftdi_sio.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c
index c45f9c0..2d3d3a0 100644
--- a/drivers/usb/serial/ftdi_sio.c
+++ b/drivers/usb/serial
Do the same way as in serialcore.c for uart_handle_dcd_change. It
removes duplicated code around the usb_serial_handle_dcd_change calls.
Signed-off-by: Paul Chavent
---
drivers/usb/serial/ch341.c | 7 ++-
drivers/usb/serial/generic.c | 4 ++--
drivers/usb/serial/pl2303.c | 7
Seems to be done this way in other drivers (ch341, 8250, ...).
Signed-off-by: Paul Chavent
---
drivers/usb/serial/pl2303.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/serial/pl2303.c b/drivers/usb/serial/pl2303.c
index 3299f3a..6bb405b 100644
--- a
comments.
Cheers.
Paul.
Paul Chavent (5):
USB : serial : remove tty arg of handle_dcd_change.
USB : serial : get protected tty in handle_dcd_change.
USB : serial : call handle_dcd_change in ftdi driver.
USB : serial : invoke dcd_change ldisc's handler.
USB : serial : pl2303 wake up
he
usb, and see if it is constant. Perhaps we could introduce parameters to
add offset to the pps signal used by the kernel consumer (the same way
we can add the offset with PPS_FETCH ioctl) later.
Regards.
Paul.
On 09/10/2013 09:31 AM, Rodolfo Giometti wrote:
On Mon, Sep 09, 2013 at 06:01
On 09/09/2013 07:45 PM, Johan Hovold wrote:
On Mon, Sep 09, 2013 at 06:01:16PM +0200, Paul Chavent wrote:
Do the same way as in serialcore.c for uart_handle_dcd_change. It
removes duplicated code around the usb_serial_handle_dcd_change calls.
Signed-off-by: Paul Chavent
---
drivers/usb
Seems to be done this way in other drivers (ch341, 8250, ...).
And get tty reference only if dcd_change need to be called.
Signed-off-by: Paul Chavent
---
drivers/usb/serial/pl2303.c | 17 +
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/drivers/usb/serial/pl2303
Signed-off-by: Paul Chavent
---
Documentation/pps/pps.txt| 15 +++
drivers/usb/serial/generic.c | 9 +
2 files changed, 24 insertions(+)
diff --git a/Documentation/pps/pps.txt b/Documentation/pps/pps.txt
index d35dcdd..67b9a94 100644
--- a/Documentation/pps/pps.txt
Signed-off-by: Paul Chavent
---
drivers/usb/serial/ftdi_sio.c | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c
index c45f9c0..df66495 100644
--- a/drivers/usb/serial/ftdi_sio.c
+++ b/drivers/usb/serial
erruptible was often called after status processing
(ch341, 8250, ...). So i suggest to move this one.
Thank for your comments.
Regards.
Paul.
Paul Chavent (3):
USB : serial : call handle_dcd_change in ftdi driver.
USB : serial : invoke dcd_change ldisc's handler.
USB : serial : pl230
Hi.
This patch was just a suggestion. Don't bother with rebasing. I will
wait your changes and remove this patch from the next submission.
Cheers.
Paul.
On 09/13/2013 06:23 PM, Johan Hovold wrote:
On Fri, Sep 13, 2013 at 05:35:13PM +0200, Paul Chavent wrote:
Seems to be done this w
Hi.
This series enable the PPS reporting for USB serial devices. This
third submission improve commit messages, and fix some coding
guidelines. The last patch of the v2 will be integrated in an more
global reworking of the pl2303 driver.
Paul Chavent (2):
USB : serial : call handle_dcd_change
When the device receive a DCD status change, forward the signal to the
USB serial system. This way, we can detect, for instance, PPS pulses.
Signed-off-by: Paul Chavent
---
drivers/usb/serial/ftdi_sio.c | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/drivers/usb
The DCD pin of the serial port can receive a PPS signal. By calling
the port line discipline dcd handle, this patch allow to monitor PPS
through USB serial devices.
However the performance aren't as good as the uart drivers, so
document this point too.
Signed-off-by: Paul Ch
17 matches
Mail list logo