* special adb buttons don't survive sleep @ 2001-08-01 22:23 Bastien Nocera 2001-08-01 22:41 ` Joseph P. Garcia 2001-08-02 7:11 ` POS 2.4G card kenji mac 0 siblings, 2 replies; 3+ messages in thread From: Bastien Nocera @ 2001-08-01 22:23 UTC (permalink / raw) To: linuxppc-dev, Joseph P. Garcia Hi, Joseph's code for the special adb buttons doesn't survive sleep, the event device just isn't present anymore when coming back from sleep. All the other event devices are present (/dev/input/eventX). Franz, any tips ? Cheers ** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/ ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: special adb buttons don't survive sleep 2001-08-01 22:23 special adb buttons don't survive sleep Bastien Nocera @ 2001-08-01 22:41 ` Joseph P. Garcia 2001-08-02 7:11 ` POS 2.4G card kenji mac 1 sibling, 0 replies; 3+ messages in thread From: Joseph P. Garcia @ 2001-08-01 22:41 UTC (permalink / raw) To: Bastien Nocera; +Cc: linuxppc-dev On Wed, 01 Aug 2001 23:23:35 +0100 Bastien Nocera <hadess@hadess.net> wrote: > Joseph's code for the special adb buttons doesn't survive sleep, the > event device just isn't present anymore when coming back from sleep. All > the other event devices are present (/dev/input/eventX). One of my patches attempts to fix this. Upon wakeup, all adb input devices are deregistered, probed, and registered. Any device that is open at the time is left safely dangling when deregistered, and if still open upon a register, skipped over. so if device 2 of 0,1,2,3 is open, post sleep, 2 will be 3, and 3 will be 4 (0,1,_,3,4). My modification changes it so it re-registers devices when found and are different, registers if new, and lastly, deregisters anything that was there, but wasn't found in the probe. All still existing hardware is re-inited, but their NIL hooks are untouched. I don't know if its safe though. Recently, my keyboard has been vanishing. X runs fine, but need to login to do anything. last I tried, a panic right after unmounting fs's. but I'm using XF4.1, which still seems to have issues with my ati ever since the silken cursor was added. (OT) It still seems like the best idea. Better than telling the daemon something happened. Sleep really shouldn't be in a keyboard event handler's vocabulary imo. Franz might know of any pitfalls in my method. -- Joseph P. Garcia http://www.lycestra.com/ ** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/ ^ permalink raw reply [flat|nested] 3+ messages in thread
* POS 2.4G card 2001-08-01 22:23 special adb buttons don't survive sleep Bastien Nocera 2001-08-01 22:41 ` Joseph P. Garcia @ 2001-08-02 7:11 ` kenji mac 1 sibling, 0 replies; 3+ messages in thread From: kenji mac @ 2001-08-02 7:11 UTC (permalink / raw) To: linuxppc-dev Hi, I am new to this list. now i am porting the driver for 2.4G POS PCI cards to linuxppc. and succeeded! but i will never be able to see the max transmisson performance as the developing environment is on the PowerMacintosh 8500/150 ;-( (kernel 2.2.17 Vinelinux2.1CR) actually the output of netperf test is about 180Mbps while it could be 2.3Gbps on Intel/Linux driver. so i made up my mind to buy the fastest machine to test the max performance on linuxppc. and, I have a simple question. I think new Apple G4 is the fastest machine, having some troubles about Geforce video cards for booting linuxppc. then, Can I take the story below for boot linuxppc on Apple new G4? 1) put yaboot files in System folder , using Geforce. and shutdown. 2) change the video card to supported video cards in (http://linuxppc.org/hardware/videocards/index.php3?css_ok=1) 3) then boot linuxppc install cd. Is it Okay?? I think it's great to realize the 2.4G transmission on PowerMac(linuxppc)!! kenji in japan. ** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/ ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-08-02 7:11 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2001-08-01 22:23 special adb buttons don't survive sleep Bastien Nocera 2001-08-01 22:41 ` Joseph P. Garcia 2001-08-02 7:11 ` POS 2.4G card kenji mac
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).