InfiniteMac OSx86  


Reply
 
Thread tools Display modes
  #1  
Old 02-02-2011, 10:56 AM
cheops2006 cheops2006 is offline
Cheetah
 
Join Date: Aug 2009
Posts: 2
EHCI Sleep Then Wake on Lenovo s12

Hi,

I have a problem where it seems my webcam is waking up the machine, I have tried changing the "AAPL, device-internal to mask the port but it seems it still does.

I would be grateful if someone could have a look at this dsdt, this is the strange message I am getting

Code:
Kernel[0] <Debug>: USB (EHCI): Port 4 on bus 0x24 connected or disconnected: portSC(0x301803)
This is my DSDT

Code:
Device (USB1) // EHCI
                {
                    Name (_ADR, 0x00040001)
                    Method (_S1D, 0, NotSerialized)
                    {
                        Return (0x01)
                    }
                    Method (_S3D, 0, NotSerialized)
                    {
                        Return (0x02)
                    }
                    Name (_PRW, Package (0x02)
                    {
                        0x05, 
                        0x03
                    })
					Method (_DSM, 4, NotSerialized)
				    {
				    	Store (Package ()
				        {
				        	"AAPL,current-available", 0x04B0, 
				        	"AAPL,current-extra", 0x02BC, 
				        	"AAPL,current-in-sleep", 0x03E8, 
				            "AAPL,clock-id", 0x02,
				            "AAPL,device-internal", 0x10, 
				            Buffer (One) {0x00}
				        }, Local0)
				     	DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
				        Return (Local0)
					}

                    Device (RHUB)
                    {
                        Name (_ADR, 0x00)
                        Device (PRT4)
                        {
                            Name (_ADR, 0x04)
                            Name (_UPC, Package (0x04)
                            {
                                0xFF, 
                                0xFF, 
                                0x00, 
                                0x00
                            })
                            Name (_PLD, Package (0x10)
                            {
                                /* 0000 */    0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                /* 0008 */    0x30, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
                            })
                        }
                    }
                }
And this is a list of devices pulled from ubuntu

Code:
Bus#  1
`-Dev#   1 Vendor 0x1d6b Product 0x0002
  `-Dev#   3 Vendor 0x5986 Product 0x0241 -<<<< THIS IS THE WEBCAM
Bus#  2
`-Dev#   1 Vendor 0x1d6b Product 0x0002
Bus#  3
`-Dev#   1 Vendor 0x1d6b Product 0x0001
Bus#  4
`-Dev#   1 Vendor 0x1d6b Product 0x0001
  `-Dev#   2 Vendor 0x0a5c Product 0x2150
Thankyou for any help.



💡 Deploy cloud instances seamlessly on DigitalOcean. Free credits ($100) for InfMac readers.

Reply With Quote
Reply