From owner-freebsd-arm@FreeBSD.ORG Thu Jun 5 05:56:16 2014 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C4C45104 for ; Thu, 5 Jun 2014 05:56:16 +0000 (UTC) Received: from up-smx-s1.dmz.det.nsw.edu.au (up-smx-s1.det.nsw.edu.au [153.107.41.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4075220F6 for ; Thu, 5 Jun 2014 05:56:15 +0000 (UTC) Received: from slppmxmm01.central.det.win (extmail.det.nsw.edu.au [153.107.9.204]) by up-smx-s1.dmz.det.nsw.edu.au (8.14.4/8.14.4) with ESMTP id s555u5SL003481; Thu, 5 Jun 2014 15:56:06 +1000 Received: from SLPEXHT01.central.det.win (Not Verified[153.107.14.60]) by slppmxmm01.central.det.win with MailMarshal (v6, 9, 9, 4075) id ; Thu, 05 Jun 2014 15:56:05 +1000 Received: from SLPEXHUB01.central.det.win (153.107.14.8) by SLPEXHT01.central.det.win (153.107.14.60) with Microsoft SMTP Server (TLS) id 8.3.342.0; Thu, 5 Jun 2014 15:56:06 +1000 Received: from WPEXCHMBSL1021.central.det.win ([169.254.1.14]) by slpexhub01.central.det.win ([153.107.14.8]) with mapi id 14.03.0174.001; Thu, 5 Jun 2014 15:56:02 +1000 From: "Scott, Brian" To: Hans Petter Selasky , "'arm@freebsd.org'" Subject: RE: Changes to dwc_otg USB controller code (stable/10) Thread-Topic: Changes to dwc_otg USB controller code (stable/10) Thread-Index: AQHPf92fyxvDvUntT4SsSJgnL9lJH5tgGJ+AgAHq/BA= Date: Thu, 5 Jun 2014 05:56:00 +0000 Message-ID: <7DB382CFB050654DBFF7A39B1F8056EB3321D1F3@WPEXCHMBSL1021.central.det.win> References: <7DB382CFB050654DBFF7A39B1F8056EB3321BE3F@WPEXCHMBSL1021.central.det.win> <538EF145.5020608@selasky.org> <538EF541.9050502@selasky.org> In-Reply-To: <538EF541.9050502@selasky.org> Accept-Language: en-AU, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [153.107.9.240] x-route: TAFECORP Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jun 2014 05:56:16 -0000 Hans Petter, Good news and bad news. If I add some casts to the code to make it compil= e (don't know if its valid or not, casting from a constant to a non-const= ant could be ugly and I haven't looked beyond the error messages), I can = now boot the system and the various USB devices are recognised properly. The bad news is that the keyboard is very intermittent now. Many characte= rs are simply being dropped when I type. Sometimes I get a character repe= ating as though the keyboard has gone into repeat mode, suggesting that a= =20character up event has been lost. Moving the mouse around has it freez= e every few seconds then resume. I have had a similar behaviour on another raspberry pi at home that I've = just been blaming on poor hardware. This means that I may be seeing an ol= der problem here. Don't know. Thanks, Brian -----Original Message----- From: Hans Petter Selasky [mailto:hps@selasky.org]=20 Sent: Wednesday, 4 June 2014 8:30 PM To: Scott, Brian; 'arm@freebsd.org' Subject: Re: Changes to dwc_otg USB controller code (stable/10) On 06/04/14 12:13, Hans Petter Selasky wrote: > Hi, > > I'm able to reproduce this only if I connect the device directly to the= > RPI-B. If I use an external HUB, no issue is seen. > --HPS I think the following patch will fix your issue: http://svnweb.freebsd.org/changeset/base/267044 Please try and report back. --HPS ********************************************************************** This message is intended for the addressee named and may contain privileged information or confidential information or both. If you are not the intended recipient please delete it and notify the sender. **********************************************************************