Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Dec 2017 16:18:19 -0800
From:      bob prohaska <fbsd@www.zefox.net>
To:        Hans Petter Selasky <hps@selasky.org>
Cc:        freebsd-arm@freebsd.org, bob prohaska <fbsd@www.zefox.net>
Subject:   Re: Disapearing pl2303 usb serial adapter on rpi2
Message-ID:  <20171223001819.GB24362@www.zefox.net>
In-Reply-To: <96d7cc41-33bf-1006-54a3-1cc8d9570fd2@selasky.org>
References:  <20171220170244.GA16029@www.zefox.net> <a312e6db-20ac-e12e-207e-1f0017cf8cad@gmail.com> <20171221161120.GA20324@www.zefox.net> <dfc17d98-a839-0ab9-2d1b-c47fe26be21e@selasky.org> <20171222041657.GA21799@www.zefox.net> <20171222173052.GA23984@www.zefox.net> <96d7cc41-33bf-1006-54a3-1cc8d9570fd2@selasky.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Dec 22, 2017 at 09:39:30PM +0100, Hans Petter Selasky wrote:
> I'm interested in messages containing wPortChange= , but with a non-zero 
> value afterwards.
> 

Ok, that I can understand 8-)

Right now the system is running with
root@www:/home/bob # sysctl hw.usb.uhub.debug=17
hw.usb.uhub.debug: 0 -> 17
root@www:/home/bob # sysctl hw.usb.no_cs_fail=1
hw.usb.no_cs_fail: 0 -> 1

There's a steady stream of lines like 
uhub_read_port_status: port 3, wPortStatus=0x0100, wPortChange=0x0000, err=USB_ERR_NORMAL_COMPLETION
uhub_read_port_status: port 5, wPortStatus=0x0103, wPortChange=0x0000, err=USB_ERR_NORMAL_COMPLETION
scrolling up the serial console.

Does the command
hw.usb.no_cs_fail: 0 -> 1 imply the output will stop (or at least slow
down) once the pl2303 freezes? 

Thanks very much!

bob prohaska




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20171223001819.GB24362>