[Bug 179342] Freebsd 10.0-current USB 3.0 not working (xhci_do_comand: Command timeout!)

2018-11-05 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=179342

Hans Petter Selasky  changed:

   What|Removed |Added

 Status|Open|In Progress

--- Comment #18 from Hans Petter Selasky  ---
Please close if this issue is fixed.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


[Bug 211205] USB_ERR_TIMEOUT errors after upgrade from 10.2 to 10.3

2018-11-05 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211205

Kubilay Kocak  changed:

   What|Removed |Added

 CC||u...@freebsd.org
 Resolution|--- |Feedback Timeout
   Keywords||needs-qa
   Assignee|u...@freebsd.org |ko...@freebsd.org
 Status|New |Closed
   See Also||https://bugs.freebsd.org/bu
   ||gzilla/show_bug.cgi?id=2120
   ||21
Summary|USB_ERR_TIMEOUT errors  |USB_ERR_TIMEOUT errors
   |after upgrade from 10.2 |after upgrade from 10.2 to
   ||10.3

--- Comment #14 from Kubilay Kocak  ---
@Doug, please don't hesitate re-open this issue if it is still reproducible in
any currently supported version branches (stable/11, stable12, current)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
___
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


[Bug 179342] Freebsd 10.0-current USB 3.0 not working (xhci_do_comand: Command timeout!)

2018-11-05 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=179342

Kubilay Kocak  changed:

   What|Removed |Added

Version|1.0-CURRENT |10.0-CURRENT

--- Comment #17 from Kubilay Kocak  ---
Fix Version value

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


[Bug 179342] Freebsd 10.0-current USB 3.0 not working (xhci_do_comand: Command timeout!)

2018-11-05 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=179342

Kubilay Kocak  changed:

   What|Removed |Added

   Severity|Affects Only Me |Affects Some People
   Assignee|u...@freebsd.org |hsela...@freebsd.org
   Priority|Normal  |---
 CC||u...@freebsd.org

--- Comment #16 from Kubilay Kocak  ---
Assign to developer of commits referencing this issue for resolution (close)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
___
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


Re: umodem0, Cisco USB serial console, and quirks

2018-11-05 Thread Warner Losh
On Mon, Nov 5, 2018 at 9:04 AM Ian Lepore  wrote:

> I've always wanted a way to add VID/PID combos to ugsensa's internal
> list on the fly, like via hints or sysctl or something, to make this
> kind of quick test easier. But I never find time to add the feature.
>

I have code to do this generically at the bus layer. that is, treat VID/PID
A/B as really being C/D, which is what you want most of the time because so
many drivers do special things when they know they have a C/D but not a C/E.

Warner
___
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


Re: umodem0, Cisco USB serial console, and quirks

2018-11-05 Thread Ian Lepore
On Sun, 2018-11-04 at 19:05 -0500, Mike Andrews wrote:
> On Fri, 2 Nov 2018, CeDeROM wrote:
> 
> > 
> > Try to add VID/PID of your device into a usbmodem driver. Use
> > configurations to see which one works with your device. Rebuild the
> > module/kernel, reboot, try it out untill success.
> > 
> > After your device is recognised by usbmodem and creates several cuaU*
> > devices.. still Your device may require uploading a specific firmware
> > in order for gsm modem to work. You can find those in Windows driver
> > package.
> > 
> > Use MINICOM for cuaU communications that would save you a debug time.
> > 
> > That works for me - added 3 devices like that with no problem. In fact
> > they work better on FreeBSD than Windows ;-)
> > 
> > 
> > Alternartively, replace your modem with something that is known to
> > work - for instance QUECTEL EC25 LTE module works far better than my
> > previous stock 3G module here..
> I think we're losing the plot here a bit.
> 
> While this is generally useful advice, this thread was originally about 
> the USB serial console port of Cisco ASA firewalls.  It should just be a 
> plain ol' USB-to-serial setup.  No actual modems of any kind involved, 
> especially not cellular ones.
> 
> I suspect we shouldn't even be loading umodem at all -- just ucom.  But 
> for some reason, umodem gets loaded when I plug the thing in.  With just 
> an FTDI serial-to-usb adapter in there, umodem doesn't just, just ucom.
> 
> These firewalls (and I suspect all of Cisco's newer routers and switches) 
> have both normal serial and mini-USB-to-serial ports, and you can connect 
> a simple USB-to-serial converter (PL2303, FTDI, etc) into the normal port 
> and of course that works fine on FreeBSD.  But it would be nice to skip 
> needing the dongle...

I'm curious whether the cisco side is truly a generic usb serial and
the problem is that the umodem driver is trying to do modem-specific
things which the cisco side is getting confused by.

A way to test that theory would be to add the cisco's vid/pid to the
ugensa driver (sys/dev/usb/serial/ugsena.c). If that works, I'm not
sure it's so much a solution as a clue.

I've always wanted a way to add VID/PID combos to ugsensa's internal
list on the fly, like via hints or sysctl or something, to make this
kind of quick test easier. But I never find time to add the feature.

-- Ian
___
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


Re: umodem0, Cisco USB serial console, and quirks

2018-11-05 Thread CeDeROM
Sorry, that would be USBSERIAL then if only UART-TO-USB is necessary, I
have also added custom FTDI based driver (KT-LINK JTAG/SWD/UART) interface
that way, just add VIP/PID to the list and it should work :-)

--
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"