Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1370914

Re: N900 sleep mode (in 4.5-rc0, if that matters)

From Pavel Machek <pavel@ucw.cz>
Newsgroups linux.kernel
Subject Re: N900 sleep mode (in 4.5-rc0, if that matters)
Date 2016-04-04 23:40 +0200
Message-ID <rkko3-VB-11@gated-at.bofh.it> (permalink)
References (5 earlier) <qXuZc-112-21@gated-at.bofh.it> <qZF45-3xt-7@gated-at.bofh.it> <r0kgW-7eu-15@gated-at.bofh.it> <rfQeT-3mq-17@gated-at.bofh.it> <ritOO-1xz-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi!

> > How idle system do I need to have? Screen is blanked and machine
> > should be mostly idle, but there's X running on another vt with Mate
> > desktop, and some python scripts... GSM modem should be online.
> 
> Well I think it's the USB only you have blocking deeper idle states.
> 
> Are you sure you rmmod:ed all the USB related modules like in my
> test script?

I tested with rmmoding two, and then modified kernel to do equivalent
operations.

Let me try again:

phy_module=phy_twl4030_usb
udc_glue=omap2430
udc_module=musb_hdrc

Ok, I did "start" with your script. After some fiddling it seems to
work, and PC detected the values:

[25379.533127] usb 1-5: USB disconnect, device number 12
[27161.884132] usb 1-5: new high-speed USB device number 13 using
ehci-pci
[27161.996037] usb 1-5: device descriptor read/64, error -32
[27162.420048] usb 4-1: new full-speed USB device number 2 using
uhci_hcd
[27162.563098] usb 4-1: not running at top speed; connect to a high
speed hub
[27162.601106] usb 4-1: New USB device found, idVendor=1d6b,
idProduct=0106
[27162.601112] usb 4-1: New USB device strings: Mfr=1, Product=2,
SerialNumber=3
[27162.601115] usb 4-1: Product: Multi Gadget
[27162.601118] usb 4-1: Manufacturer: foo
[27162.601121] usb 4-1: SerialNumber: 123456789
[27162.614766] cdc_ether 4-1:1.0 usb0: register 'cdc_ether' at
usb-0000:00:1d.2-1, CDC Ethernet Device, c6:8b:83:74:f2:f3
[27163.195272] cdc_ether 4-1:1.0 usb0: kevent 12 may have been dropped

Stop seemed to work, too:

root@n900:/my/tui/ofone# ./gadgets.sh stop
rm: cannot remove `configs/c.1/acm.0': No such file or directory
rm: cannot remove `configs/c.5/acm.0': No such file or directory
rmdir: failed to remove `functions/acm.0': No such file or directory
./gadgets.sh: line 74: functions/mass_storage.0/lun.0/file: No such
file or directory
rm: cannot remove `configs/c.1/mass_storage.0': No such file or
directory
rm: cannot remove `configs/c.5/mass_storage.0': No such file or
directory
rmdir: failed to remove `functions/mass_storage.0': No such file or
directory
root@n900:/my/tui/ofone# lsmod
Module                  Size  Used by
root@n900:/my/tui/ofone#

Display off, on wifi:

00001fff 48005020 (fa005020) cm_idlest_per blocking bits: 0007e000
f7de7ebd 48004a20 (fa004a20) cm_idlest1_core blocking bits: 00218042
0000000d 48004a28 (fa004a28) cm_idlest3_core

00001fff 48005020 (fa005020) cm_idlest_per blocking bits: 0007e000
ffde7ebd 48004a20 (fa004a20) cm_idlest1_core blocking bits: 00218042

00001fff 48005020 (fa005020) cm_idlest_per blocking bits: 0007e000
ffdffebd 48004a20 (fa004a20) cm_idlest1_core blocking bits: 00200042

..so I believe gadget bits are still set.

> I'm booting over smc91x using u-boot.

I'm booting directly from NOLO over usb. Machine is running X, but
they are not active -- chvt. Screen is off.

Best regards,


									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: N900 sleep mode (in 4.5-rc0, if that matters) Pavel Machek <pavel@ucw.cz> - 2016-04-04 23:40 +0200
  Re: N900 sleep mode (in 4.5-rc0, if that matters) Tony Lindgren <tony@atomide.com> - 2016-04-05 00:10 +0200
    Re: N900 sleep mode (in 4.5-rc0, if that matters) Pavel Machek <pavel@ucw.cz> - 2016-04-05 12:10 +0200
    Re: N900 sleep mode (in 4.5-rc0, if that matters) Pavel Machek <pavel@ucw.cz> - 2016-04-05 15:20 +0200
    4.4: camera and unlock buttons produce tons of interrupts (was Re:  N900 sleep mode) Pavel Machek <pavel@ucw.cz> - 2016-04-05 16:30 +0200
      Re: 4.4: camera and unlock buttons produce tons of interrupts (was  Re: N900 sleep mode) Tony Lindgren <tony@atomide.com> - 2016-04-05 17:30 +0200
        Re: 4.4: camera and unlock buttons produce tons of interrupts (was  Re: N900 sleep mode) Pavel Machek <pavel@ucw.cz> - 2016-04-05 23:00 +0200
          Re: 4.4: camera and unlock buttons produce tons of interrupts (was  Re: N900 sleep mode) Tony Lindgren <tony@atomide.com> - 2016-04-07 19:50 +0200
            Re: 4.4, 4.6: camera and unlock buttons produce tons of interrupts  (was Re: N900 sleep mode) Pavel Machek <pavel@ucw.cz> - 2016-04-07 21:50 +0200
              Re: 4.4, 4.6: camera and unlock buttons produce tons of interrupts  (was Re: N900 sleep mode) Tony Lindgren <tony@atomide.com> - 2016-04-07 23:40 +0200
                Re: 4.4, 4.6: camera and unlock buttons produce tons of interrupts  (was Re: N900 sleep mode) Pavel Machek <pavel@ucw.cz> - 2016-04-08 01:10 +0200
                Re: 4.4, 4.6: camera and unlock buttons produce tons of interrupts  (was Re: N900 sleep mode) Tony Lindgren <tony@atomide.com> - 2016-04-08 01:50 +0200
                Re: 4.4, 4.6: camera and unlock buttons produce tons of interrupts  (was Re: N900 sleep mode) Pavel Machek <pavel@ucw.cz> - 2016-04-08 11:30 +0200
                4.6-rc2: regression with omap video and lockdep (was Re: 4.4, 4.6:  camera and unlock buttons produce tons of interrupts (was Re: N900 sleep  mode)) Pavel Machek <pavel@ucw.cz> - 2016-04-11 10:30 +0200
                Re: 4.4, 4.6: camera and unlock buttons produce tons of interrupts  (was Re: N900 sleep mode) Pavel Machek <pavel@ucw.cz> - 2016-04-11 11:40 +0200
                Re: 4.4, 4.6: camera and unlock buttons produce tons of interrupts  (was Re: N900 sleep mode) Pavel Machek <pavel@ucw.cz> - 2016-04-11 11:50 +0200
                Re: 4.4, 4.6: camera and unlock buttons produce tons of interrupts  (was Re: N900 sleep mode) Tony Lindgren <tony@atomide.com> - 2016-04-11 23:20 +0200
                Nokia N900 retention mode in v4.6, camera buttons fun Pavel Machek <pavel@ucw.cz> - 2016-04-12 14:20 +0200
                Re: Nokia N900 retention mode in v4.6, camera buttons fun Pavel Machek <pavel@ucw.cz> - 2016-04-12 14:40 +0200
                Re: Nokia N900 retention mode in v4.6, camera buttons fun Tony Lindgren <tony@atomide.com> - 2016-04-12 18:40 +0200
                Re: Nokia N900 retention mode in v4.6, camera buttons fun Tomi Valkeinen <tomi.valkeinen@ti.com> - 2016-04-13 08:00 +0200
                Re: Nokia N900 retention mode in v4.6, camera buttons fun Tony Lindgren <tony@atomide.com> - 2016-04-13 17:20 +0200

csiph-web