From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Grandegger Subject: Re: [PATCH 2/3 V3.1] can/usb: PEAK-System Technik PCAN-USB specific part Date: Fri, 20 Jan 2012 13:36:39 +0100 Message-ID: <4F195FD7.9070808@grandegger.com> References: <4F191D44.9080101@hartkopp.net> <4F195E08.5010504@volkswagen.de> <4F195F46.6080102@grandegger.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from ngcobalt02.manitu.net ([217.11.48.102]:41619 "EHLO ngcobalt02.manitu.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751124Ab2ATMgx (ORCPT ); Fri, 20 Jan 2012 07:36:53 -0500 In-Reply-To: <4F195F46.6080102@grandegger.com> Sender: linux-can-owner@vger.kernel.org List-ID: To: Oliver Hartkopp Cc: Stephane Grosjean , Alan Stern , linux-can Mailing List On 01/20/2012 01:34 PM, Wolfgang Grandegger wrote: > Hi Oliver, > > On 01/20/2012 01:28 PM, Oliver Hartkopp wrote: > >> @Wolfgang: I always get "RTNETLINK answers: Device or resource busy" >> when the device is up - even on the EMS PCMCIA card. Should the manual >> restart generally be also possible even when the device is up?? > > The restart is only for bus-off recovery. It will *not* restart if you > are not in bus-off. > >> I think the automatic restart (with restart-ms) has no preconditions to >> the device up/down state. > > But it only triggers in case of bus-off. It has nothing to do with up/down. If you are at it, please also test the bus-off and bus-off recovery... Thanks... Wolfgang.