lkml.org 
[lkml]   [2004]   [Aug]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: IBM T22/APM suspend does not work with yenta_socket module loaded on 2.6.8.1
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:05    [W:0.047 / U:1.816 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site