Date: Thu, 10 Nov 2011 19:29:48 +0100 From: rank1seeker@gmail.com To: hackers@freebsd.org, freebsd-acpi@FreeBSD.org Subject: Adventure into S3 state and back Message-ID: <20111110.182948.630.1@DOMY-PC>
next in thread | raw e-mail | index | archive | help
8.2-p4 RELEASE amd64=0D=0A=0D=0AI've built a custom kernel, only with = drivers, that I need=0D=0AAfter resuming from S3 ...=0D=0A=0D=0AI = hit:=0D=0A# ifconfig=0D=0Aand all hells breaks = loose:=0D=0A----=0D=0Abge0: PHY read timed out (phy 1, reg 5, val = 0xffffffff)=0D=0Abge0: PHY read timed out (phy 1, reg 10, val = 0xffffffff)=0D=0Abge0: PHY read timed out (phy 1, reg 25, val = 0xffffffff)=0D=0A media: Ethernet autoselect=0D=0A status: = no carrier=0D=0Abge0: PHY read timed out (phy 1, reg 1, val = 0xffffffff)=0D=0Abge0: PHY read timed out (phy 1, reg 1, val = 0xffffffff)=0D=0Abge0: PHY read timed out (phy 1, reg 0, val = 0xffffffff)=0D=0Augen3.2: <Logitech> at usbus3 (disconnected)=0D=0Aukbd0: = at uhub3, port 1, addr 2 (disconnected)=0D=0Aums0: at uhub3, port 1, addr = 2 (disconnected)=0D=0Auhid0: at uhub3, port 1, addr 2 = (disconnected)=0D=0Abge0: PHY read timed out (phy 1, reg 4, val = 0xffffffff)=0D=0Augen3.2: <Logitech> at usbus3=0D=0Aukbd0: <Logitech USB = Receiver, class 0/0, rev 2.00/12.01, addr 2> on usbus3=0D=0Akbd2 at = ukbd0=0D=0Aums0: <Logitech USB Receiver, class 0/0, rev 2.00/12.01, addr = 2> on usbus3=0D=0Aums0: 16 buttons and [XYZT] coordinates = ID=3D2=0D=0Auhid0: <Logitech USB Receiver, class 0/0, rev 2.00/12.01, = addr 2> on usbus3=0D=0Abge0: PHY read timed out (phy 1, reg 5, val = 0xffffffff)=0D=0Abge0: PHY read timed out (phy 1, reg 10, val = 0xffffffff)=0D=0Abge0: PHY read timed out (phy 1, reg 25, val = 0xffffffff)=0D=0Apflog0: flags=3D141<UP,RUNNING,PROMISC> metric 0 mtu = 33152=0D=0Alo0: flags=3D8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu = 16384=0D=0A options=3D3<RXCSUM,TXCSUM>=0D=0A inet6 = fe80::1%lo0 prefixlen 64 scopeid 0x3=0D=0A inet6 ::1 prefixlen = 128=0D=0A inet 127.0.0.1 netmask 0xff000000=0D=0A nd6 = options=3D3<PERFORMNUD,ACCEPT_RTADV>=0D=0Acruiser# ifconfig=0D=0Abge0: = flags=3D8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500=0D=0A = options=3D8009b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,LINKSTATE>=0D=0A = ether 00:21:70:70:01:df=0D=0Abge0: PHY read timed out (phy 1, reg = 1, val 0xffffffff)=0D=0Abge0: PHY read timed out (phy 1, reg 1, val = 0xffffffff)=0D=0A=0D=0A... ... ... <You get the = point>=0D=0A----=0D=0A=0D=0ASo, taking into account:=0D=0A"A common = problem with suspend/resume is that many device drivers do not save, = restore, or reinitialize their firmware, registers, or device memory = properly."=0D=0A=0D=0ANext step was to get rid of 'bge' device from my = KERNCONF and recompile it.=0D=0AVoila! S3 works!=0D=0A=0D=0ABut another, = mouse problem, didn't go away!=0D=0AIn 9 out of 10 cases, mouse doesn't = resume.=0D=0AAs it is USB mouse, I've did:=0D=0A=0D=0A# camcontrol rescan = all=0D=0A didn't help=0D=0A=0D=0AI've also tried adding into = loader.conf and = nada:=0D=0A---=0D=0Ahint.psm.0.flags=3D"0x3000"=0D=0A---=0D=0ABut i think = it is PS/2 related=0D=0A=0D=0AWhat works 100% for a mouse is to unplug = and then plug back it's USB receiver=0D=0A=0D=0AThis is Dell D830 = laptop=0D=0A=0D=0A=0D=0A=0D=0ADomagoj Smol=E8i=E6
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111110.182948.630.1>