Re: CP2102 UART adapter not attaching

2016-01-13 Thread Mark Johnston
On Wed, Jan 13, 2016 at 08:55:29AM +0100, Hans Petter Selasky wrote: > On 01/13/16 07:17, Mark Johnston wrote: > > On Wed, Jan 13, 2016 at 07:17:04AM +0100, Hans Petter Selasky wrote: > >> On 01/13/16 07:04, Mark Johnston wrote: > >>> On Mon, Jan 11, 2016 at 09:41:0

Re: CP2102 UART adapter not attaching

2016-01-13 Thread Mark Johnston
On Wed, Jan 13, 2016 at 1:04 AM, Hans Petter Selasky wrote: > Try to set: > > hw.usb.xhci.xhci_port_route=0 > > or > > hw.usb.xhci.xhci_port_route=0x > > In /boot/loader.conf > > Any difference? I'm afraid not. ___

Re: CP2102 UART adapter not attaching

2016-01-12 Thread Mark Johnston
On Mon, Jan 11, 2016 at 09:41:01AM +0100, Hans Petter Selasky wrote: > On 01/10/16 05:07, Mark Johnston wrote: > > Hi, > > > > I have the module listed here: > > http://www.amazon.com/KEDSUM%C2%AE-CP2102-Module-Download-Converter/dp/B009T2ZR6W > > >

CP2102 UART adapter not attaching

2016-01-09 Thread Mark Johnston
Hi, I have the module listed here: http://www.amazon.com/KEDSUM%C2%AE-CP2102-Module-Download-Converter/dp/B009T2ZR6W Under Windows 8 it works perfectly, but on FreeBSD-CURRENT I get: usb_alloc_device: set address 3 failed (USB_ERR_STALLED, ignored) usbd_setup_device_desc: getting device

Re: [patch] fix uplcom(4) clear stall logic for PL2303HX

2012-11-21 Thread Mark Johnston
On Tue, Nov 20, 2012 at 08:15:19AM +0100, Hans Petter Selasky wrote: On Tuesday 20 November 2012 03:57:22 Mark Johnston wrote: 1. What exactly is the purpose of clearing ENDPOINT_HALT when a userspace program attaches to a device? Is it just to make sure that the device fw is in some

Re: [patch] fix uplcom(4) clear stall logic for PL2303HX

2012-11-21 Thread Mark Johnston
On Wed, Nov 21, 2012 at 11:07:20PM +0100, Hans Petter Selasky wrote: Here you go: http://svnweb.freebsd.org/changeset/base/243380 Please test and verify. --HPS Yep, it's working. Thanks a lot! When I was debugging the problem I noticed the UQ_OPEN_CLEARSTALL quirk, and then later

[patch] fix uplcom(4) clear stall logic for PL2303HX

2012-11-19 Thread Mark Johnston
Hello all, I recently bought a PL-2303 USB to serial converter (VID 0x067b, DID 0x2303) to use with an ARM board. When I start cu(1) and power on the board no messages show up, and if I enter any input, cu exits without printing anything and uplcom detaches and reinitializes itself. No error