From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S264396AbUHSJbr (ORCPT ); Thu, 19 Aug 2004 05:31:47 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S264346AbUHSJbr (ORCPT ); Thu, 19 Aug 2004 05:31:47 -0400 Received: from caramon.arm.linux.org.uk ([212.18.232.186]:65298 "EHLO caramon.arm.linux.org.uk") by vger.kernel.org with ESMTP id S264444AbUHSJaN (ORCPT ); Thu, 19 Aug 2004 05:30:13 -0400 Date: Thu, 19 Aug 2004 10:30:06 +0100 From: Russell King To: Karel Gardas Cc: linux-kernel@vger.kernel.org Subject: Re: IBM T22/APM suspend does not work with yenta_socket module loaded on 2.6.8.1 Message-ID: <20040819103006.D546@flint.arm.linux.org.uk> Mail-Followup-To: Karel Gardas , linux-kernel@vger.kernel.org References: <20040819094702.A546@flint.arm.linux.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from kgardas@objectsecurity.com on Thu, Aug 19, 2004 at 11:15:24AM +0200 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 19, 2004 at 11:15:24AM +0200, Karel Gardas wrote: > On Thu, 19 Aug 2004, Russell King wrote: > > You could try grabbing the cbdump program from pcmcia.arm.linux.org.uk > > and trying to identify whether there's any differences in the register > > settings of the Cardbus bridges - between having no yenta module loaded > > and having yenta loaded with the sockets suspended using: > > > > echo 3 > /sys/class/pcmcia_socket/pcmcia_socket0/device/power/state > > echo 3 > /sys/class/pcmcia_socket/pcmcia_socket1/device/power/state > > > > (echo 0 to these files to resume the sockets.) > > OK, diff is: Argh, sorry, it didn't take effect. You need: echo -e '3\0' > /sys/class/pcmcia_socket/pcmcia_socket0/device/power/state echo -e '3\0' > /sys/class/pcmcia_socket/pcmcia_socket1/device/power/state I forgot that sysfs is fussy when it comes to parsing numbers. ;( -- Russell King Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/ maintainer of: 2.6 PCMCIA - http://pcmcia.arm.linux.org.uk/ 2.6 Serial core