Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp5449151yba; Mon, 13 May 2019 11:01:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqyyN/rOyZQVmH66wqxeLSiU6f55E1viYCxm06zDON4DhzgAigokAn9CON0zYVIzG2kMRoJL X-Received: by 2002:a63:570d:: with SMTP id l13mr33090643pgb.55.1557770475646; Mon, 13 May 2019 11:01:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557770475; cv=none; d=google.com; s=arc-20160816; b=yFsgG7Vyz56e5l1kJ2dRvxqM7C5UPkCZ4pMoKyoJ2xRfjypRZ2Z2Pgx7DQKyYdHJzJ JjOkG/INo8rCxO+dXFOXXs3hoLfYjTqsd0Iu/4+oRFA6PKp9HhR3AJP5K+jrnsEAAzQb NVFY6O/w79tcU88sTc7SHvrQKoGKURcSde3x5qcgNEhO+6WuBM3ICZ4MqLFJv3KuYs8N glXMUBommu1imt52Jl8e7tahL207ArmH/uBY0gpSGo2QtgKSS4I3omUATn6yIiCeo63o p14fVbBmU6XC+qb+ecsdA8Pfeopf+WwLQlcbjOBjaQGvz3wGR1SDN7WoEEyRTCuqJIug xzrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:in-reply-to :subject:cc:to:from:date; bh=5wChiGsgjzTTnlCTTP8l8iWSFqsJGDMrKpXXQYNRzrI=; b=RUCskxv4qZXJDfyiCT/yKgi3YXjX8yXYNY4xX1HU0RjLtDDhv3CWLfBHIZiNacUgWY 3OVWULqJWAf8BdSks4ldDoi6pfiKRkDWH1csXHHjrq4Id51eEz5XKSA1GvZjmXwU/LBx Y6seP5qM/XFxDOW9Wl2LJjsCL+HJzVBS2mBIryboWtwrnaIeQkmizzNf1JapC/+3oe3n nw+EoNPToCzTJSQevn7fMyXlnjJPiJB2ppVQqYKTYtxMJon69WrZrORIJ8MleDrX106Z kcaoUZidR+jLU1Le9N9f9POxxV992TQoVhiWbb7b/vK4zbYVqo3KrdfIXFaqQxnFj4fp R8hw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b13si17202051pgk.500.2019.05.13.11.00.59; Mon, 13 May 2019 11:01:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729077AbfEMPrm (ORCPT + 99 others); Mon, 13 May 2019 11:47:42 -0400 Received: from iolanthe.rowland.org ([192.131.102.54]:53768 "HELO iolanthe.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1728712AbfEMPrm (ORCPT ); Mon, 13 May 2019 11:47:42 -0400 Received: (qmail 4582 invoked by uid 2102); 13 May 2019 11:47:40 -0400 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 13 May 2019 11:47:40 -0400 Date: Mon, 13 May 2019 11:47:40 -0400 (EDT) From: Alan Stern X-X-Sender: stern@iolanthe.rowland.org To: Igor Plyatov cc: linux-usb@vger.kernel.org, Greg Kroah-Hartman , "linux-kernel@vger.kernel.org" Subject: Re: Initialisation of SOC USB pads In-Reply-To: <607c6b4c-d53a-8115-aa60-2a8461607d40@gmail.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 13 May 2019, Igor Plyatov wrote: > Dear developers, > > can you please explain who must configure AT91SAM9G20 SOC pads to > operate as USB Host port? Is it AT91Bootstrap, U-Boot bootloader, Linux > kernel or this is not required at all? > > I ask, because during connection of USB disk, my board complains > > usb 1-1: device descriptor read/64, error -62 > usb 1-1: device descriptor read/64, error -62 > usb 1-1: device descriptor read/64, error -62 > usb 1-1: device descriptor read/64, error -62 > usb 1-1: device not accepting address 4, error -62 > usb 1-1: device not accepting address 5, error -62 > usb usb1-port1: unable to enumerate USB device > > > Looks like there is no connectivity between USB Host module of SOC and > USB device. Or am I wrong? > > > My setup is: > > > * AT91SAM9G20 based custom board; > * Linux kernel 4.9.36, from LINUX4SAM project. > * USB disk connected to USB Host port 0 (HDPA, HDMA pins of SOC). 39 Ohm > series resistors and 15 Kohm pull-down resistors added at these lines. > Connectivity between SOC and USB device confirmed by Ohmmeter. > * USB_VBUS voltage measured at USB connector = 4.96 VDC. You probably should ask somebody at the LINUX4SAM project. Alan Stern