On Wed, Sep 18, 2019 at 11:14:15AM +0200, yegorslists@xxxxxxxxxxxxxx wrote: > From: Yegor Yefremov <yegorslists@xxxxxxxxxxxxxx> > > Add additional port statistics like received and transmitted bytes > the way /proc/tty/driver/serial does. > > As usbserial driver already provides USB related information and > this line is longer than 100 characters, this patch adds an > additional line with the same port number: > > 0: module:ftdi_sio name:"FTDI USB Serial Device" vendor:0403 ... > 0: tx:112 rx:0 > > Signed-off-by: Yegor Yefremov <yegorslists@xxxxxxxxxxxxxx> > --- > drivers/usb/serial/usb-serial.c | 22 ++++++++++++++++++++++ > 1 file changed, 22 insertions(+) You can't change existing proc files without having the chance that userspace tools will break. Have you tried this and seen what dies a horrible death? thanks, greg k-h