Re: Why do we try to enter U1 mode in SuperSpeed?

2015-03-31 Thread Kohji Okuno
, Kohji Okuno ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org

Re: Why do we try to enter U1 mode in SuperSpeed?

2015-03-30 Thread Kohji Okuno
Hi HPS, On 03/30/15 10:54, Hans Petter Selasky wrote: On 03/30/15 06:54, Kohji Okuno wrote: Hi HPS I have a question. Why do we try to enter U1 mode in SuperSpeed? This is the following codes(***) In our proprietary environmen(This has a xHCI controller), when a device accept U1

Why do we try to enter U1 mode in SuperSpeed?

2015-03-29 Thread Kohji Okuno
320GB (P/N:WDBACY3200ABK-00), this HDD was not recognized correctly. But, in PC environment, this HDD was recognized correctly. Regards, Kohji Okuno (***) usb_hub.c: 793 if (speed == USB_SPEED_SUPER) { 794 err = usbd_req_set_hub_u1_timeout(udev, NULL, 795

Re: [Bug?] Control Transfers in xHCI

2015-02-01 Thread Kohji Okuno
From: Hans Petter Selasky h...@selasky.org Subject: Re: [Bug?] Control Transfers in xHCI Date: Thu, 29 Jan 2015 21:00:04 +0100 On 01/29/15 20:57, Chagin Dmitry wrote: On Thu, Jan 29, 2015 at 04:04:03PM +0100, Hans Petter Selasky wrote: On 01/29/15 13:25, Kohji Okuno wrote: Hi HPS, I found

[Bug?] Control Transfers in xHCI

2015-01-29 Thread Kohji Okuno
succeeded its control transfer. Would you check the following ()? Best Regards, Kohji Okuno 1785/* check wLength */ 1786if (td-td_trb[0].qwTrb0 1787 htole64(XHCI_TRB_0_WLENGTH_MASK)) { 1788

Re: About XHCI_TD_PAGE_SIZE.

2014-12-22 Thread Kohji Okuno
From: Hans Petter Selasky h...@selasky.org Subject: Re: About XHCI_TD_PAGE_SIZE. Date: Mon, 22 Dec 2014 10:10:46 +0100 Message-ID: 5497e016.7020...@selasky.org On 12/22/14 02:38, Kohji Okuno wrote: From: Hans Petter Selasky h...@selasky.org Subject: Re: About XHCI_TD_PAGE_SIZE. Date: Sat, 20

Re: About XHCI_TD_PAGE_SIZE.

2014-12-21 Thread Kohji Okuno
From: Hans Petter Selasky h...@selasky.org Subject: Re: About XHCI_TD_PAGE_SIZE. Date: Sat, 20 Dec 2014 10:30:36 +0100 On 12/17/14 05:42, Nidal Khalil wrote: I agree. Thanks Nidal On Dec 16, 2014 6:25 PM, Kohji Okuno okuno.ko...@jp.panasonic.com wrote: Hi Hans, If we use PAGE_SIZE

About XHCI_TD_PAGE_SIZE.

2014-12-16 Thread Kohji Okuno
Hi Hans, If we use PAGE_SIZE as USB_PAGE_SIZE, we should use PAGE_SIZE as XHCI_TD_PAGE_SIZE, too. I think. As you know, one TRB can use 1~64kB for the transfer length. Best regards, Kohji Okuno ___ freebsd-usb@freebsd.org mailing list http

Re: Does the xHCI driver has a spec violation?

2014-09-22 Thread Kohji Okuno
and Bandwidth requested for the endpoint. Regards, Kohji Okuno. On 09/22/14 06:58, Kohji Okuno wrote: Hi, I encountered a issue for USB mic. In fist time, my host controller (xHCI) sends single IN-tokens every 8-SOFs. This is expected action. But, after I open, close and open, my host controller

Re: Does the xHCI driver has a spec violation?

2014-09-22 Thread Kohji Okuno
On 09/22/14 08:31, Kohji Okuno wrote: Hi HPS, Could you refer to the following document (4.6.6 Configure Endpoint:P.99)? This document shows: If the Drop Context flag is `1' and the Add Context flag is `1', the xHC shall: o Release the current Resources and Bandwidth allocated

Re: Does the xHCI driver has a spec violation?

2014-09-22 Thread Kohji Okuno
Hi, Please verify: http://svnweb.freebsd.org/changeset/base/271953 Thank you! --HPS Hi, HPS, I confirmed your commit. It was no problem. Many thanks, Kohji Okuno. ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman

Does the xHCI driver has a spec violation?

2014-09-21 Thread Kohji Okuno
this change? Best regards, Kohji Okuno static usb_error_t xhci_configure_mask(struct usb_device *udev, uint32_t mask, uint8_t drop) { struct xhci_softc *sc = XHCI_BUS2SC(udev-bus); struct usb_page_search buf_inp; struct xhci_input_dev_ctx *pinp; uint32_t temp

Re: spec violation of xHCI?

2013-12-16 Thread Kohji Okuno
! --HPS Hi HPS, Thank you for informing your commit. I tried your latest patch. It is OK in my environment. Many thanks, Kohji Okuno ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send

Re: spec violation of xHCI?

2013-12-12 Thread Kohji Okuno
From: Hans Petter Selasky h...@bitfrost.no Date: Thu, 12 Dec 2013 09:37:29 +0100 On 12/12/13 08:40, Kohji Okuno wrote: From: Hans Petter Selasky h...@bitfrost.no Hi HPS, The endpoint type is BULK, and the direction is OUT. I checked by using a USB analyzer. When I did not set CHAIN bit

spec violation of xHCI?

2013-12-11 Thread Kohji Okuno
XHCI_TRB_3_CYCLE_BIT | XHCI_TRB_3_IOC_BIT; 1896 1897td-td_trb[x].dwTrb3 = htole32(dword); 1898 1899td-alt_next = td_alt_next; -- Best regards, Kohji Okuno ___ freebsd-usb@freebsd.org mailing list

Re: spec violation of xHCI?

2013-12-11 Thread Kohji Okuno
On 12/11/13 11:12, Kohji Okuno wrote: Hi, I think the xHCI host controller driver has a spec violation. Could you refer to ``Table 126: Offset 0Ch – Link TRB Field Definitions'' in xHCI_Specification_for_USB.pdf(Revision 1.0)? The following is an excerpt about the CHAIN ​​BIT

Re: spec violation of xHCI?

2013-12-11 Thread Kohji Okuno
From: Hans Petter Selasky h...@bitfrost.no Date: Wed, 11 Dec 2013 13:50:50 +0100 On 12/11/13 13:44, Hans Petter Selasky wrote: On 12/11/13 12:12, Kohji Okuno wrote: On 12/11/13 11:12, Kohji Okuno wrote: Hi, I think the xHCI host controller driver has a spec violation. Could you refer

Re: spec violation of xHCI?

2013-12-11 Thread Kohji Okuno
From: Hans Petter Selasky h...@bitfrost.no Date: Thu, 12 Dec 2013 08:15:02 +0100 On 12/12/13 01:59, Kohji Okuno wrote: From: Hans Petter Selasky h...@bitfrost.no Date: Wed, 11 Dec 2013 15:04:42 +0100 On 12/11/13 14:06, Kohji Okuno wrote: Hi HPS, All link trbs which are not the end need