All of lore.kernel.org
 help / color / mirror / Atom feed
  • [parent not found: <20040624195304.GE698-u08AdweFZfgxtPtxi4kahqVXKuFTiq87@public.gmane.org>]
  • * Re: Re: [Swsusp-devel] swsusp and ac status
    @ 2004-06-25  7:01 Daniele Boffi
      2004-06-25 11:29 ` Michael Frank
      0 siblings, 1 reply; 77+ messages in thread
    From: Daniele Boffi @ 2004-06-25  7:01 UTC (permalink / raw)
      To: Michael Frank
      Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
    	Software Suspend - Mailing Lists
    
    > 
    > Please try:
    > rmmod AC
    > suspend/resume
    > modprobe AC
    > 
    > It should be OK...
    
    It is NOT in my case. It is one of the first things I did. Now, just 
    in case, I gave it another try, but it does not work.
    
    modprobe -r ac
    suspend
    unplug
    resume
    modprobe ac
    
    cat /proc/acpi/ac_adapter/C131/state
    state: on-line
    
    If now, after resuming, I plug and unplug the adapter...
    
    cat /proc/acpi/ac_adapter/C131/state
    state: off-line
    
    > 2.0.0.88 is the most successful one in the whole 2.6 series.
    
    I agree! besides this ac problem (and a little typo in the version 
    number that reads 86 instead of 88...) it works great.
    
    Daniele
    
    
    
    
    -------------------------------------------------------
    This SF.Net email sponsored by Black Hat Briefings & Training.
    Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
    digital self defense, top technical experts, no vendor pitches, 
    unmatched networking opportunities. Visit www.blackhat.com
    
    ^ permalink raw reply	[flat|nested] 77+ messages in thread
    * swsusp and ac status
    @ 2004-06-23  6:26 Daniele Boffi
           [not found] ` <20040623082653.A26014-xzhXYMPkGmXoPXhRcRtihA@public.gmane.org>
      0 siblings, 1 reply; 77+ messages in thread
    From: Daniele Boffi @ 2004-06-23  6:26 UTC (permalink / raw)
      To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
    
    Hi,
    I noticed that a change in the ac status is not detected after a swsusp. I
    think this should be a known issue; is there any workaround available?
    
    How to reproduce the bad behavior:
    
    - swsuspend when on ac (resp. battery) power
    - unplug (resp. plug) the ac adapter when the laptop is off
    - resume when on battery (resp. ac) power
    
    Then /proc/acpi/ac_adapter/*/state says "on-line" (resp. "off-line").
    A new change in the status is then correctly detected.
    
    I tried different acpi configurations (ac in the kernel or as a module, unload
    the ac module before suspending and reload it after resuming...) with no
    success.
    
    actual kernel 2.6.7 (same behavior with previous ones), no acpi patch, swsusp2
    patch
    
    Same behavior with pm-suspend, swsusp and swsusp2.
    
    Daniele
    
    
    -------------------------------------------------------
    This SF.Net email sponsored by Black Hat Briefings & Training.
    Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
    digital self defense, top technical experts, no vendor pitches, 
    unmatched networking opportunities. Visit www.blackhat.com
    
    ^ permalink raw reply	[flat|nested] 77+ messages in thread
    * [PATCH] Toshiba ACPI Extras 0.16
    @ 2003-07-25 23:28 John Belmonte
           [not found] ` <3F21BD11.8060405-ZFKsivP1bGvOQU1ULcgDhA@public.gmane.org>
      0 siblings, 1 reply; 77+ messages in thread
    From: John Belmonte @ 2003-07-25 23:28 UTC (permalink / raw)
      To: Grover, Andrew; +Cc: acpi-devel
    
    [-- Attachment #1: Type: text/plain, Size: 1093 bytes --]
    
    Hello Andy,
    
    Recently there was a mass patch to the 2.5 kernel that tried to replace 
    instances of strncpy with strlcpy.  In the case of my driver the 
    substitution was not appropriate and causes end-user problems due to the 
    resulting undefined memory access.  This change was made about 6 weeks 
    ago without my knowledge, the result being that there are tainted copies 
    of version 0.15 of the driver out there.
    
    What I'd like to do is forget version 0.15 ever existed, so this patch 
    reverts the change and increments the version.  I'd also like to 
    increment the version in the 2.4 tree to keep things in sync, so I've 
    got a patch ready for each tree.
    
    Unfortunately I've complicated matters by already trying to submit a 
    patch to Linus that reverts the change but doesn't increment the 
    version.  I doubt he'll apply it, but if he does before you get to it 
    then apply the 2.4 patch to the 2.5 tree to increment the version only.
    
    Sorry for the trouble.
    
    Regards,
    -John
    
    
    Changes:
    
         * Increment version because release 0.15 was tainted by a bad
           "strlcpy conversion" patch.
    
    
    
    
    [-- Attachment #2: toshiba_acpi_0.16-linux_2.6.0-test1.patch --]
    [-- Type: text/plain, Size: 598 bytes --]
    
    --- toshiba_acpi.c.old	2003-07-25 18:40:52.000000000 -0400
    +++ toshiba_acpi.c	2003-07-25 18:24:48.000000000 -0400
    @@ -33,7 +33,7 @@
      *
      */
     
    -#define TOSHIBA_ACPI_VERSION	"0.15"
    +#define TOSHIBA_ACPI_VERSION	"0.16"
     #define PROC_INTERFACE_VERSION	1
     
     #include <linux/kernel.h>
    @@ -108,7 +108,9 @@
     	int result;
     	char* str2 = kmalloc(n + 1, GFP_KERNEL);
     	if (str2 == 0) return 0;
    -	strlcpy(str2, str, n);
    +	/* NOTE: don't even _think_ about replacing this with strlcpy */
    +	strncpy(str2, str, n);
    +	str2[n] = 0;
     	va_start(args, format);
     	result = vsscanf(str2, format, args);
     	va_end(args);
    
    [-- Attachment #3: toshiba_acpi_0.16-linux_2.4.22-pre8.patch --]
    [-- Type: text/plain, Size: 517 bytes --]
    
    --- toshiba_acpi.c.old	2003-07-25 19:03:10.000000000 -0400
    +++ toshiba_acpi.c	2003-07-25 18:24:48.000000000 -0400
    @@ -33,7 +33,7 @@
      *
      */
     
    -#define TOSHIBA_ACPI_VERSION	"0.15"
    +#define TOSHIBA_ACPI_VERSION	"0.16"
     #define PROC_INTERFACE_VERSION	1
     
     #include <linux/kernel.h>
    @@ -108,6 +108,7 @@
     	int result;
     	char* str2 = kmalloc(n + 1, GFP_KERNEL);
     	if (str2 == 0) return 0;
    +	/* NOTE: don't even _think_ about replacing this with strlcpy */
     	strncpy(str2, str, n);
     	str2[n] = 0;
     	va_start(args, format);
    
    ^ permalink raw reply	[flat|nested] 77+ messages in thread
    * [parisc-linux] cvs [login aborted]?
    @ 2003-07-18  5:27 Joel Soete
      2003-07-18 11:21 ` Matthew Wilcox
      0 siblings, 1 reply; 77+ messages in thread
    From: Joel Soete @ 2003-07-18  5:27 UTC (permalink / raw)
      To: parisc-linux
    
    Hi pa,
    
    Is it an actual cvs server pb or a local pb I could have:
    those last two days cvs -d :pserver:anonymous@cvs.parisc-linux.org:/var/cvs
    "failed: Connection timed out"?
    
    Any idea?
    
    Thanks,
        Joel
    
    
    ------------------------------------------------------
    Soldes Tiscali ADSL : 27,50 euros/mois jusque fin 2003.
    On s'habitue vite à payer son ADSL moins cher!
    Plus d'info? Cliquez ici... http://reg.tiscali.be/default.asp?lg=fr 
    
    ^ permalink raw reply	[flat|nested] 77+ messages in thread
    * 2.5.34?
    @ 2002-09-16  0:14 Gustavo Sverzut Barbieri
           [not found] ` <20020916001425.82756.qmail-jIUPyM9ARX+A/QwVtaZbd3CJp6faPEW9@public.gmane.org>
      0 siblings, 1 reply; 77+ messages in thread
    From: Gustavo Sverzut Barbieri @ 2002-09-16  0:14 UTC (permalink / raw)
      To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
    
    Hello,
    
    Is 2.5.34 patch comming out soon?
    
    
    Gustavo
    
    _______________________________________________________________________
    Yahoo! PageBuilder
    O super editor para criação de sites: é grátis, fácil e rápido.
    http://br.geocities.yahoo.com/v/pb.html
    
    
    -------------------------------------------------------
    This sf.net email is sponsored by:ThinkGeek
    Welcome to geek heaven.
    http://thinkgeek.com/sf
    
    ^ permalink raw reply	[flat|nested] 77+ messages in thread
    * RE: Runlevel for Sleep?
    @ 2002-09-03 23:47 Grover, Andrew
      0 siblings, 0 replies; 77+ messages in thread
    From: Grover, Andrew @ 2002-09-03 23:47 UTC (permalink / raw)
      To: 'P. Christeas',
    	acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
    
    > From: P. Christeas [mailto:p_christ-U04EIuiosng@public.gmane.org] 
    > It has just come up to me, should we use a runlevel for sleep?
    
    Right now I am leaning towards no. We don't have a runlevel for APM's
    suspend, why would we for ACPI sleep?
    
    Sleep should be very quick to enter and exit. We shouldn't have to shut down
    any services. If the drivers properly save and restore context, things on
    resume should just pick up where they left off.
    
    I think we'll know better once we have working device power management if a
    new runlevel is needed or not.
    
    Regards -- Andy
    
    
    -------------------------------------------------------
    This sf.net email is sponsored by: OSDN - Tired of that same old
    cell phone?  Get a new here for FREE!
    https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
    
    ^ permalink raw reply	[flat|nested] 77+ messages in thread
    * [parisc-linux] HP9000/L2000 + FC60 Fiber Support
    @ 2002-08-13 13:23 António Ribeiro
      2002-08-13 13:29 ` Matthew Wilcox
      0 siblings, 1 reply; 77+ messages in thread
    From: António Ribeiro @ 2002-08-13 13:23 UTC (permalink / raw)
      To: parisc-linux
    
    Hi,
    
    Can anyone let me know is this cards are supported and they can be attached
    to the FC60 from HP.
    
    
      Bus 16, device   0, function  0:
        Fibre Channel: PCI device 103c:1028 (Hewlett-Packard Company) (rev 11).
          IRQ 256.
          Master Capable.  No bursts.  Min Gnt=32.
          I/O at 0x20000 [0x200ff].
          I/O at 0x20100 [0x201ff].
          Non-prefetchable 32 bit memory at 0xfffffffff9040000
    [0xfffffffff90401ff].
          Non-prefetchable 32 bit memory at 0xfffffffff9000000
    [0xfffffffff901ffff].
      Bus 24, device   0, function  0:
        Fibre Channel: PCI device 103c:1028 (Hewlett-Packard Company) (rev 11).
          IRQ 320.
          Master Capable.  No bursts.  Min Gnt=32.
          I/O at 0x30000 [0x300ff].
          I/O at 0x30100 [0x301ff].
          Non-prefetchable 32 bit memory at 0xfffffffff9840000
    [0xfffffffff98401ff].
          Non-prefetchable 32 bit memory at 0xfffffffff9800000
    [0xfffffffff981ffff].
    
    
    Thanks.
    
    Antonio
    
    ^ permalink raw reply	[flat|nested] 77+ messages in thread
    * [parisc-linux] O_DIRECT on devices
    @ 2002-07-11  8:22 Patrick Caulfield
           [not found] ` <3D2D4B4B.4010705@deaprofessionale.it>
      2002-07-15  2:46 ` Matthew Wilcox
      0 siblings, 2 replies; 77+ messages in thread
    From: Patrick Caulfield @ 2002-07-11  8:22 UTC (permalink / raw)
      To: parisc-linux
    
    I'm currently working on LVM2 and we want to use O_DIRECT to write the metadata
    from userspace. so I open a partition with O_DIRECT and try to read/write the
    data from an aligned buffer.
    
    This works fine on Alpha & Intel but seems very unreliable on parisc for some
    reason. Sometimes it works, sometimes it oopses "do_page_fault() pid=2120
    command='lvm' type=15 address=0x00000001" and sometimes I just get back the
    wrong information (at least LVM thinks its wrong I haven't check in detail just
    what is up with it).
    
    I haven't tried writing yet - I'd rather not think what might happen to my disk
    just ATM :)
    
    This is a C110 with 256meg of memory running 2.4.18-pa46
    
    patrick
    
    ^ permalink raw reply	[flat|nested] 77+ messages in thread
    [parent not found: <andrew.grover@intel.com>]

    end of thread, other threads:[~2004-06-29 11:54 UTC | newest]
    
    Thread overview: 77+ messages (download: mbox.gz follow: Atom feed
    -- links below jump to the message on this page --
         [not found] <pavel@suse.cz>
         [not found] ` <20020917155146.F39-muQmgwBScQHrBKCeMvbIDA@public.gmane.org>
    2002-09-18 12:24   ` 2.5.34? Brad Parker
         [not found]     ` <200209181224.g8ICONr31147-paYRYfI9b/YMuHHiPFXXZ1fOaUvyCJUZ@public.gmane.org>
    2002-09-18 12:53       ` 2.5.34? Pavel Machek
         [not found] ` <20040624195304.GE698-u08AdweFZfgxtPtxi4kahqVXKuFTiq87@public.gmane.org>
    2004-06-29 11:50   ` swsusp and ac status Daniele Boffi
         [not found]     ` <200406291150.i5TBopX9001428-xzhXYMPkGmXoPXhRcRtihA@public.gmane.org>
    2004-06-29 11:54       ` Pavel Machek
    2004-06-25  7:01 Re: [Swsusp-devel] " Daniele Boffi
    2004-06-25 11:29 ` Michael Frank
         [not found]   ` <opr95d71ln4evsfm-TBR8pM7LtsqkE96DxU8f+dAkNl5+tjhE@public.gmane.org>
    2004-06-25 15:14     ` Stefan Seyfried
      -- strict thread matches above, loose matches on Subject: below --
    2004-06-23  6:26 Daniele Boffi
         [not found] ` <20040623082653.A26014-xzhXYMPkGmXoPXhRcRtihA@public.gmane.org>
    2004-06-23 13:34   ` Stefan Seyfried
    2004-06-24 19:53   ` Pavel Machek
    2003-07-25 23:28 [PATCH] Toshiba ACPI Extras 0.16 John Belmonte
         [not found] ` <3F21BD11.8060405-ZFKsivP1bGvOQU1ULcgDhA@public.gmane.org>
    2003-07-26  5:20   ` Matthew Wilcox
    2003-07-18  5:27 [parisc-linux] cvs [login aborted]? Joel Soete
    2003-07-18 11:21 ` Matthew Wilcox
    2003-07-18 14:44   ` bame
    2002-09-16  0:14 2.5.34? Gustavo Sverzut Barbieri
         [not found] ` <20020916001425.82756.qmail-jIUPyM9ARX+A/QwVtaZbd3CJp6faPEW9@public.gmane.org>
    2002-09-16  0:25   ` 2.5.34? Matthew Wilcox
         [not found]     ` <20020916012506.G10583-+pPCBgu9SkPzIGdyhVEDUDl5KyyQGfY2kSSpQ9I8OhVaa/9Udqfwiw@public.gmane.org>
    2002-09-16  6:19       ` 2.5.34? Toon van der Pas
         [not found]         ` <20020916081909.A25876-FeupCOz82S5hxPbjSeLqYA@public.gmane.org>
    2002-09-17 15:46           ` 2.5.34? Pavel Machek
         [not found]             ` <20020917154653.C39-muQmgwBScQHrBKCeMvbIDA@public.gmane.org>
    2002-09-18 16:38               ` 2.5.34? Toon van der Pas
         [not found]                 ` <20020918183819.A10275-FeupCOz82S5hxPbjSeLqYA@public.gmane.org>
    2002-09-17 23:36                   ` 2.5.34? Pavel Machek
    2002-09-16 11:30       ` 2.5.34? Brad Parker
         [not found]         ` <200209161130.g8GBUo024143-paYRYfI9b/YMuHHiPFXXZ1fOaUvyCJUZ@public.gmane.org>
    2002-09-16 15:33           ` 2.5.34? Matthew Wilcox
    2002-09-17 15:49           ` 2.5.34? Pavel Machek
    2002-09-03 23:47 Runlevel for Sleep? Grover, Andrew
    2002-08-13 13:23 [parisc-linux] HP9000/L2000 + FC60 Fiber Support António Ribeiro
    2002-08-13 13:29 ` Matthew Wilcox
    2002-08-15  6:01   ` Grant Grundler
    2002-07-11  8:22 [parisc-linux] O_DIRECT on devices Patrick Caulfield
         [not found] ` <3D2D4B4B.4010705@deaprofessionale.it>
    2002-07-11  9:35   ` Patrick Caulfield
    2002-07-15  2:46 ` Matthew Wilcox
    2002-07-15  7:42   ` Grant Grundler
    2002-07-15 11:29     ` Matthew Wilcox
    2002-07-15 13:57       ` Patrick Caulfield
    2002-07-15 14:10         ` Matthew Wilcox
    2002-07-15 14:23           ` Patrick Caulfield
         [not found]   ` <willy@debian.org>
         [not found]     ` <20020916163335.J10583-+pPCBgu9SkPzIGdyhVEDUDl5KyyQGfY2kSSpQ9I8OhVaa/9Udqfwiw@public.gmane.org>
    2002-09-16 16:12       ` 2.5.34? Brad Parker
         [not found]         ` <200209161612.g8GGCtv24883-paYRYfI9b/YMuHHiPFXXZ1fOaUvyCJUZ@public.gmane.org>
    2002-09-17 15:51           ` 2.5.34? Pavel Machek
         [not found]     ` <20030726052012.GO1485-+pPCBgu9SkPzIGdyhVEDUDl5KyyQGfY2kSSpQ9I8OhVaa/9Udqfwiw@public.gmane.org>
    2003-07-26 13:24       ` [PATCH] Toshiba ACPI Extras 0.16 Lyle Seaman
         [not found]         ` <20030726132501.C766314829-RAHWjsxJnJUdnm+yROfE0A@public.gmane.org>
    2003-07-26 17:18           ` M. Warner Losh
         [not found]             ` <20030726.111800.13461649.imp-uzTCJ5RojNnQT0dZR+AlfA@public.gmane.org>
    2003-07-26 22:09               ` John Belmonte
    2003-07-26 21:32           ` John Belmonte
    2003-07-26 21:25       ` John Belmonte
         [not found]         ` <3F22F1B0.9080607-ZFKsivP1bGvOQU1ULcgDhA@public.gmane.org>
    2003-07-27 19:14           ` Matthew Wilcox
         [not found] <andrew.grover@intel.com>
    2002-06-24 17:35 ` driverfs is not for everything! (was: [PATCH] /proc/scsi/map ) Grover, Andrew
    2002-06-24 17:48   ` driverfs is not for everything! (was: [PATCH] /proc/scsi/map kernel
    2002-06-24 18:04   ` driverfs is not for everything! (was: [PATCH] /proc/scsi/map ) David Brownell
    2002-06-24 18:04   ` David Brownell
    2002-06-24 18:09   ` James Bottomley
    2002-06-24 19:23     ` Oliver Xymoron
    2002-06-24 19:23       ` Oliver Xymoron
    2002-06-25 18:38     ` Patrick Mochel
    2002-06-25 18:38       ` Patrick Mochel
    2002-06-24 18:32   ` Roman Zippel
    2002-06-24 18:32     ` Roman Zippel
    2002-06-24 22:47   ` John Summerfield
    2002-06-25 18:35   ` Patrick Mochel
    2002-06-25 18:35     ` Patrick Mochel
    2002-07-01  2:41   ` Pavel Machek
         [not found] ` <andrew.grover-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
         [not found]   ` <EDC461A30AC4D511ADE10002A5072CAD0236DE0D-OU+JdkIUtvd9zuciVAfUoVDQ4js95KgL@public.gmane.org>
    2002-09-04  0:57     ` Runlevel for Sleep? Lyle Seaman
    2002-09-04 10:50     ` P. Christeas
         [not found]       ` <200209041055.g84AsFW05361-a1J+ToZc0kR3t0M9ZKkFCQ@public.gmane.org>
    2002-09-04 14:14         ` Charl P. Botha
    2002-09-04 14:35       ` Robert Wo"rle
    2002-09-06 12:21     ` Pavel Machek
         [not found]       ` <20020906122153.F39-muQmgwBScQHrBKCeMvbIDA@public.gmane.org>
    2002-09-06 21:40         ` Patrick Mochel
         [not found]           ` <Pine.LNX.4.44.0209061411390.1021-100000-yZQdDDOm3n9ZQn2sFP3R7eTW4wlIGRCZ@public.gmane.org>
    2002-09-06 22:29             ` Pavel Machek
         [not found]               ` <20020906222930.GE8827-jyMamyUUXNJG4ohzP4jBZS1Fcj925eT/@public.gmane.org>
    2002-09-06 23:18                 ` P. Christeas
    2002-09-07  5:02             ` Stephen L Johnson
         [not found]               ` <1031374944.1530.44.camel-EWEM0Crkbjs/2vX+WiJxEB2eb7JE58TQ@public.gmane.org>
    2002-09-07 19:51                 ` Patrick Mochel
         [not found]                   ` <Pine.LNX.4.44.0209071232170.1021-100000-yZQdDDOm3n9ZQn2sFP3R7eTW4wlIGRCZ@public.gmane.org>
    2002-09-08 11:23                     ` P. Christeas
    2002-09-09  8:46                       ` Diego Zuccato
         [not found]                         ` <3D7C5FDF.4FB4E759-gmoNqwowlqBr8A+qpt3pXFzrSV/HdtiB@public.gmane.org>
    2002-09-09  8:50                           ` P. Christeas
    2002-09-09 23:52                             ` Diego Zuccato
    2002-09-13 17:13                           ` Pavel Machek
    2002-09-14  7:56                             ` Andreas Lohrum
         [not found]                             ` <20020913171338.GC7096-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
    2002-09-14 10:23                               ` P. Christeas
         [not found]                                 ` <200209141237.g8ECb2d03519-a1J+ToZc0kR3t0M9ZKkFCQ@public.gmane.org>
    2002-09-14 15:09                                   ` Pavel Machek
         [not found]                       ` <200209081126.g88BQjn05186-a1J+ToZc0kR3t0M9ZKkFCQ@public.gmane.org>
    2002-09-13 17:08                         ` Pavel Machek
    2002-09-07 17:32         ` Lyle Seaman
    

    This is an external index of several public inboxes,
    see mirroring instructions on how to clone and mirror
    all data and code used by this external index.