hardware:
bandenpomp@bandenpomp000002:~$ lsusb


 Bus 006 Device 002: ID 0603:00f2 Novatek Microelectronics Corp.
 Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 005 Device 003: ID 046d:c05a Logitech, Inc.
 Bus 005 Device 002: ID 0eef:7390 D-WAV Scientific Co., Ltd
 Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 001 Device 002: ID 1199:683c Sierra Wireless, Inc.
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 bandenpomp@bandenpomp000002:~$


more info about that D-|WAV device.

lsusb -v | less


Bus 005 Device 002: ID 0eef:7390 D-WAV Scientific Co., Ltd
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x0eef D-WAV Scientific Co., Ltd
  idProduct          0x7390
  bcdDevice            2.00
  iManufacturer           1 eGalax_eMPIA Technology Inc.
  iProduct                2 PCAP MultiTouch Controller
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           34
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          1 eGalax_eMPIA Technology Inc.
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              100mA
   Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      1 Boot Interface Subclass
      bInterfaceProtocol      2 Mouse
      iInterface              0
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               2.10
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength     322
         Report Descriptors:
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
Device Status:     0x0002
  (Bus Powered)
  Remote Wakeup Enabled


 

Wake up possibilities of this D525 atom device.
root@bandenpomp000002:~# grep -i rtc /var/log/messages


 Nov 9 18:58:20 bandenpomp000002 kernel: [ 0.790564] rtc_cmos 00:03: RTC can wake from S4
 Nov 9 18:58:20 bandenpomp000002 kernel: [ 0.790645] rtc_cmos 00:03: rtc core: registered rtc_cmos as rtc0
 Nov 9 18:58:20 bandenpomp000002 kernel: [ 0.790678] rtc0: alarms up to one month, y3k, 114 bytes nvram, hpet irqs
 Nov 9 18:58:20 bandenpomp000002 kernel: [ 0.795032] Using IPI No-Shortcut mode
 Nov 9 18:58:20 bandenpomp000002 kernel: [ 0.795816] rtc_cmos 00:03: setting system clock to 2011-11-09 17:58:17 UTC (1320861497)


The most important line is the rule with the line S4.

Wat I would like is to have this machine wake up from S3 (hibernate)

Ok why I can not suspend to ram: swapspace should be at least as big as the internal memory 2gb in this case. Let's reinstall.

but first let's see if i can wake up from mouse movements (wake up from usb interrupts).
laliela...

let see if THIS makes sense:
root@bandenpomp000002:~# echo "USB0" > /proc/acpi/wakeup
root@bandenpomp000002:~# cat /proc/acpi/wakeup


Device    S-state      Status   Sysfs node
P0P1      S4     disabled  pci:0000:00:1e.0
PS2M      S4     disabled  pnp:00:0c
USB0      S4     enabled   pci:0000:00:1d.0
USB1      S4     disabled  
USB2      S4     disabled  pci:0000:00:1d.2
EUSB      S4     disabled  pci:0000:00:1d.7
P0P4      S4     disabled  pci:0000:00:1c.0
P0P5      S4     disabled  
P0P6      S4     disabled  pci:0000:00:1c.2
P0P7      S4     disabled  
P0P8      S4     disabled  pci:0000:00:1c.4
P0P9      S4     disabled  
HDAC      S4     disabled  pci:0000:00:1b.0
USB4      S4     disabled  pci:0000:00:1a.0
USBE      S4     disabled  pci:0000:00:1a.7
GBEC      S4     disabled  
USB3      S4     disabled  
USB5      S4     disabled  pci:0000:00:1a.1
PWRB      S4    *enabled


No that made absolutely no sense. Just for the simple reason the mainboard (bios) doesn't support powermanagement.

So next. Let's see if the SW thing on the back of the machine can be used. Jup. just shortcircuiting the thing en it woops on.

Written by Knilluz on 17 November 2011 at 09:55