Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Apr 2000 14:33:43 -0600 (MDT)
From:      Nate Williams <nate@yogotech.com>
To:        Warner Losh <imp@village.org>
Cc:        Randy Bush <randy@psg.com>, Nick Hibma <n_hibma@calcaphon.com>, FreeBSD Laptoppers <freebsd-mobile@FreeBSD.ORG>
Subject:   Re: usb on vaio 505tx 
Message-ID:  <200004032033.OAA00900@nomad.yogotech.com>
In-Reply-To: <200004031917.NAA62888@harmony.village.org>
References:  <E12cBL7-000IuE-00@rip.psg.com> <E12c8Bj-000Hhr-00@rip.psg.com> <E12c7bd-000HUo-00@rip.psg.com> <Pine.BSF.4.20.0004031519420.10760-100000@localhost> <200004031804.MAA62588@harmony.village.org> <200004031917.NAA62888@harmony.village.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> : > I have minor suspend/resume problems on my 505-TS.
> : 
> : i found
> : 
> : options         PCIC_RESUME_RESET
> : options         PSM_HOOKAPM             #hook the APM resume event, useful
> :                                         #for some laptops
> : options         PSM_RESETAFTERSUSPEND   #reset the device at the resume event
> : 
> : quite helpful
> 
> Yes.  They are quite helpful.  The problems that I have is that
> sometimes when I do a suspend to disk, when it wakes up the pccard
> events aren't seen.

This may be a known 'race' in the existing code that Guido and I both
attempted to fix.  What happens is that 'removal' event never makes it
into pccardd before the kernel goes down (the select fires, and/or the
actual event is never read).  When the kernel comes back up, the
'insertion' event is fired back.  When this happens, pccardd is unable
to recognize that the card was 'removed', because it's state is that the
card is still inserted.  So, the insertion event is ignored.

We both tried working around this race, but never got a completely
satisfactory solution...



Nate


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200004032033.OAA00900>