2010-12-03 15:15:54     BF524 Hibernation and USB issue

Document created by Aaronwu Employee on Aug 26, 2013Last modified by Aaronwu Employee on Aug 26, 2013
Version 2Show Document
  • View in full screen mode

2010-12-03 15:15:54     BF524 Hibernation and USB issue

Reggy Perrin (UNITED STATES)

Message: 96458   

 

Hi folks,

 

We have an issue that we need help with.    Our system configuration:

- BF524

- We are running the the 2010R1 kernel from about a week ago

- We have a Sierra cellular module connected to usb

 

We have been able to hibernate repeatedly while connected to a cell network, and have been working towards speeding up the time it takes us to enter and exit hibernate.   Previously it took about 400ms to enter and 200-400ms to exit. 

 

We found that the main cause of this was our LCD driver required long delays between i2c writes to the part in the suspend and resume calls.    We removed the LCD driver suspend/resume functions and our hibernate times are much better.  

 

The major problem is that now that hibernate is fast, the cell module will disconnect from USB -- it acts like you removed the module from the system (like a USB device was unplugged).    The module disconnects and reconnects (further down is the whole log). 

 

The cellular usb to serial driver creates 4 ports that we use to access the module.  It then takes 15 seconds resume.   We have tracked it down that just adding a delay in the lcd suspend/resume calls with no other code will stop the module from disconnecting. 

 

We need to be able to hibernate the system fast (<40ms) without effecting the USB connection to the module reguardless of if it is connected to a wireless network or not.  

 

 

 

 

hibernate without cell module installed in system

 

[  898.493610] done.

[  898.528062] PM: Syncing filesystems ... done.

[  898.546068] Freezing user space processes ... (elapsed 0.00 seconds) done.

[  898.560520] Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done.

[  898.572533] Suspending console(s) (use no_console_suspend to debug)

[  898.583587] gspi_8686_suspend

[  898.584310] PM: suspend of devices complete after 4.096 msecs

[  898.585630] PM: late suspend of devices complete after 1.277 msecs

[  898.588992] PM: early resume of devices complete after 1.292 msecs

[  898.590501] gspi_8686_resume

[  898.591954] CMD_RESP: NULL CurCmd, 0xf250

[  898.592913] as360x_resume

[  898.602530] sport_config_rx: forcing to 32 bit

[  898.602569] sport_config_tx: forcing to 32 bit

[  898.604063] PM: resume of devices complete after 14.943 msecs

[  898.650766] Restarting tasks ...

 

 

 

First hibernate with cell module on USB but not connected (usb is idle)

 

 

[   81.834476] PM: Syncing filesystems ... done.

[   81.932008] Freezing user space processes ...

[   81.939651] as3606_get_adc_reading TIMEOUT reading input[3] mux[3]

[   81.946374] (elapsed 0.00 seconds) done.

[   81.950185] Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done.

[   81.961879] Suspending console(s) (use no_console_suspend to debug)

[   81.985273] gspi_8686_suspend

[   81.988416] PM: suspend of devices complete after 16.792 msecs

[   81.990944] PM: late suspend of devices complete after 2.449 msecs

[   81.997083] PM: early resume of devices complete after 2.786 msecs

[   82.000283] gspi_8686_resume

[   82.008263] CMD_RESP: NULL CurCmd, 0x3018

[   82.033139] sport_config_rx: forcing to 32 bit

[   82.033209] sport_config_tx: forcing to 32 bit

[   82.322568] usb 1-1: reset full speed USB device using musb_hdrc and address 2

[   97.380947] musb_h_ep0_irq 1059: no URB for end 0

[   97.381937] PM: resume of devices complete after 15384.600 msecs

[   97.439856] Restarting tasks ...

 

[   97.473883] usb 1-1: USB disconnect, address 2

[   97.500002] done.

[   97.509780] PM: Syncing filesystems ...

[   97.753498] sierra ttyUSB0: Sierra USB modem converter now disconnected from ttyUSB0

[   97.783482] done.

[   97.789199] Freezing user space processes ...

[   97.805762] sierra ttyUSB1: Sierra USB modem converter now disconnected from ttyUSB1

[   97.813928] (elapsed 0.02 seconds) done.

[   97.817741] Freezing remaining freezable tasks ...

[   97.825089] sierra ttyUSB2: Sierra USB modem converter now disconnected from ttyUSB2

[   97.834522] sierra ttyUSB3: Sierra USB modem converter now disconnected from ttyUSB3

[   97.842885] sierra 1-1:1.0: device disconnected

[   98.089051] usb 1-1: new full speed USB device using musb_hdrc and address 3

[   98.223072] usb 1-1: New USB device found, idVendor=1199, idProduct=0028

[   98.229829] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=4

[   98.237000] usb 1-1: Product: Sierra Wireless Device

[   98.241985] usb 1-1: Manufacturer: Sierra Wireless, Incorporated

[   98.248049] usb 1-1: SerialNumber: 4Vx «Íïÿÿÿÿ

[   98.257807] sierra 1-1:1.0: Sierra USB modem converter detected

[   98.264698] usb 1-1: APM supported, enabling autosuspend.

[   98.271854] usb 1-1: Sierra USB modem converter now attached to ttyUSB4

[   98.280364] usb 1-1: Sierra USB modem converter now attached to ttyUSB5

[   98.288632] usb 1-1: Sierra USB modem converter now attached to ttyUSB6

[   98.297286] usb 1-1: Sierra USB modem converter now attached to ttyUSB7

[   98.317106] (elapsed 0.49 seconds) done.

[   98.321083] Suspending console(s) (use no_console_suspend to debug)

[   98.342517] gspi_8686_suspend

[   98.346122] PM: suspend of devices complete after 16.151 msecs

[   98.348706] PM: late suspend of devices complete after 2.502 msecs

[   98.354897] PM: early resume of devices complete after 2.830 msecs

[   98.357887] gspi_8686_resume

[   98.360891] CMD_RESP: NULL CurCmd, 0x3018

[   98.390214] sport_config_rx: forcing to 32 bit

[   98.390301] sport_config_tx: forcing to 32 bit

[   98.660347] usb 1-1: reset full speed USB device using musb_hdrc and address 3

[  113.718697] musb_h_ep0_irq 1059: no URB for end 0

[  113.719672] PM: resume of devices complete after 15364.519 msecs

[  113.777600] Restarting tasks ...

 

Here is a boot log

 

Loading from NAND 128MiB 3,3V 8-bit, offset 0x40000

   Image Name:   bf527-2.6.36-ADI-2011R1-pre-svn9

   Created:      2010-12-03  16:52:48 UTC

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)

   Data Size:    1561309 Bytes = 1.5 MiB

   Load Address: 00001000

   Entry Point:  002aa858

## Booting kernel from Legacy Image at 01000000 ...

   Image Name:   bf527-2.6.36-ADI-2011R1-pre-svn9

   Created:      2010-12-03  16:52:48 UTC

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)

   Data Size:    1561309 Bytes = 1.5 MiB

   Load Address: 00001000

   Entry Point:  002aa858

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK

Starting Kernel at = 002aa858

[    0.000000] Linux version 2.6.36-ADI-2011R1-pre-svn9439  (gcc version 4.3.5 (ADI-trunk/svn-1643) ) #58 Fri Dec 3 11:52:47 EST 2010

[    0.000000] register early platform devices

[    0.000000] bootconsole [early_shadow0] enabled

[    0.000000] bootconsole [early_BFuart1] enabled

[    0.000000] early printk enabled on early_BFuart1

[    0.000000] Board Memory: 64MB

[    0.000000] Kernel Managed Memory: 64MB

[    0.000000] Memory map:

[    0.000000]   fixedcode = 0x00000400-0x00000490

[    0.000000]   text      = 0x00001000-0x001dbe00

[    0.000000]   rodata    = 0x001dbe00-0x00271ca8

[    0.000000]   bss       = 0x00272000-0x00286a68

[    0.000000]   data      = 0x00286a68-0x002a2000

[    0.000000]     stack   = 0x002a0000-0x002a2000

[    0.000000]   init      = 0x002a2000-0x002c0000

[    0.000000]   available = 0x002c0000-0x03f00000

[    0.000000]   DMA Zone  = 0x03f00000-0x04000000

[    0.000000] Hardware Trace Active and Enabled

[    0.000000] Boot Mode: 13

[    0.000000] Blackfin support (C) 2004-2010 Analog Devices, Inc.

[    0.000000] Compiled for ADSP-BF524 Rev any, running on 0.2

[    0.000000] Blackfin Linux support by   blackfin.uclinux.org/

[    0.000000] Processor Speed: 387 MHz core clock and 77 MHz System Clock

[    0.000000] NOMPU: setting up cplb tables

[    0.000000] Instruction Cache Enabled for CPU0

[    0.000000]   External memory: cacheable in instruction cache

[    0.000000] Data Cache Enabled for CPU0

[    0.000000]   External memory: cacheable (write-back) in data cache

[    0.000000] Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 16002

[    0.000000] Kernel command line: root=ubi0:rfs rw ubi.mtd=2 rootfstype=ubifs rootflags=bulk_read clkin_hz=25000000 earlyprintk=serial,uart1,115200 console=ttyBF1,115200

[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)

[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)

[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)

[    0.000000] Memory available: 61128k/65536k RAM, (120k init code, 1899k kernel code, 793k data, 1024k dma, 572k reserved)

[    0.000000] Hierarchical RCU implementation.

[    0.000000]  RCU-based detection of stalled CPUs is disabled.

[    0.000000]  Verbose stalled-CPUs detection is disabled.

[    0.000000] NR_IRQS:159

[    0.000000] Configuring Blackfin Priority Driven Interrupts

[    0.000000] Console: colour dummy device 80x25

[    0.000000] console [ttyBF1] enabled, bootconsole disabled

[    0.000000] console [ttyBF1] enabled, bootconsole disabled

[ 5053.604927] Calibrating delay loop... 768.00 BogoMIPS (lpj=1536000)

[ 5053.691561] pid_max: default: 32768 minimum: 301

[ 5053.696681] Security Framework initialized

[ 5053.701067] Mount-cache hash table entries: 512

[ 5053.714390] Blackfin Scratchpad data SRAM: 4 KB

[ 5053.718981] Blackfin L1 Data A SRAM: 16 KB (16 KB free)

[ 5053.724226] Blackfin L1 Data B SRAM: 16 KB (16 KB free)

[ 5053.729395] Blackfin L1 Instruction SRAM: 48 KB (41 KB free)

[ 5053.735669] regulator: core version 0.5

[ 5053.740711] NET: Registered protocol family 16

[ 5053.753716] Blackfin DMA Controller

[ 5054.117841] bio: create slab <bio-0> at 0

[ 5054.127838] bfin-spi bfin-spi.0: Blackfin on-chip SPI Controller Driver, Version 1.0, regs_base@ffc00500, dma channel@7

[ 5054.140998] usbcore: registered new interface driver usbfs

[ 5054.147285] usbcore: registered new interface driver hub

[ 5054.153758] usbcore: registered new device driver usb

[ 5054.163145] as360x 0-0046: AS3606 revision rev 3

[ 5054.168913] input: as3606-keys as /devices/platform/i2c-bfin-twi.0/i2c-0/0-0046/input/input0

[ 5054.180891] i2c-bfin-twi i2c-bfin-twi.0: Blackfin BF5xx on-chip I2C TWI Contoller, regs_base@ffc01400

[ 5054.192266] Advanced Linux Sound Architecture Driver Version 1.0.23.

[ 5054.202875] cfg80211: Calling CRDA to update world regulatory domain

[ 5054.210129] Switching to clocksource bfin_cs_cycles

[ 5054.293277] NET: Registered protocol family 2

[ 5054.298063] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)

[ 5054.306207] TCP established hash table entries: 2048 (order: 2, 16384 bytes)

[ 5054.313488] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)

[ 5054.319922] TCP: Hash tables configured (established 2048 bind 2048)

[ 5054.326215] TCP reno registered

[ 5054.329383] UDP hash table entries: 256 (order: 0, 4096 bytes)

[ 5054.335297] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)

[ 5054.342294] NET: Registered protocol family 1

[ 5054.348019] debug-mmrs: setting up Blackfin MMR debugfs

[ 5054.372699] msgmni has been set to 119

[ 5054.378721] io scheduler noop registered

[ 5054.382888] io scheduler cfq registered (default)

[ 5054.387744] bfin-t240mbqs: 320x240 16-bit 565 FB initializing @ 0x20000000/0x20080000

[ 5055.210697] dma_alloc_init: dma_page @ 0x0210a000 - 256 pages at 0x03f00000

[ 5055.233241] bfin-t240mbqs bfin-t240mbqs: 320x240 16-bit RGB FrameBuffer initialized

[ 5055.258036] as360x 0-0046: register write failed reg[0x23] val[0x00] err[-5]

[ 5055.313288] regulator: PVDD1: 2400 <--> 2600 mV at 2540 mV

[ 5055.345292] regulator: PVDD2: 2600 <--> 2700 mV at 1210 mV

[ 5055.389301] regulator: PVDD3: 2700 <--> 2900 mV at 2845 mV

[ 5055.417304] regulator: PVDD27: 2700 <--> 3500 mV at 2735 mV

[ 5055.445309] regulator: VCCD1: 1150 <--> 1312 mV at 1405 mV

[ 5055.485340] regulator: VCCD2: 1725 <--> 1875 mV at 1810 mV

[ 5055.514060] regulator: VCCD3: 625 <--> 3350 mV

[ 5055.522562] regulator: CURR1: at 2 mA

[ 5055.529879] bfin-otp: initialized

[ 5055.534197] bfin-dma: initialized

[ 5055.537551] bfin-uart: Blackfin serial driver

[ 5055.542176] bfin-uart.0: ttyBF0 at MMIO 0xffc00400 (irq = 29) is a BFIN-UART

[ 5055.550487] bfin-uart.1: ttyBF1 at MMIO 0xffc02000 (irq = 31) is a BFIN-UART

[ 5055.569071] brd: module loaded

[ 5055.606153] loop: module loaded

[ 5055.613452] BF5xx on-chip NAND FLash Controller Driver, Version 1.2 (c) 2007 Analog Devices, Inc.

[ 5055.622528] bf5xx-nand bf5xx-nand.0: data_width=8, wr_dly=3, rd_dly=3

[ 5055.628981] NAND device: Manufacturer ID: 0x20, Chip ID: 0xf1 (ST Micro NAND 128MiB 3,3V 8-bit)

[ 5055.637719] Creating 3 MTD partitions on "NAND 128MiB 3,3V 8-bit":

[ 5055.644103] 0x000000000000-0x000000040000 : "bootloader(nand)"

[ 5055.655353] 0x000000040000-0x000000440000 : "kernel"

[ 5055.666517] 0x000000440000-0x000008000000 : "rfs"

[ 5055.702953] UBI: attaching mtd2 to ubi0

[ 5055.707181] UBI: physical eraseblock size:   131072 bytes (128 KiB)

[ 5055.713412] UBI: logical eraseblock size:    129024 bytes

[ 5055.718797] UBI: smallest flash I/O unit:    2048

[ 5055.723503] UBI: sub-page size:              512

[ 5055.728129] UBI: VID header offset:          512 (aligned 512)

[ 5055.734003] UBI: data offset:                2048

[ 5056.022770] UBI: max. sequence number:       0

[ 5056.088319] UBI: volume 0 ("rfs") re-sized from 732 to 977 LEBs

[ 5056.096647] UBI: attached mtd2 to ubi0

[ 5056.100369] UBI: MTD device name:            "rfs"

[ 5056.105123] UBI: MTD device size:            123 MiB

[ 5056.110090] UBI: number of good PEBs:        990

[ 5056.114713] UBI: number of bad PEBs:         0

[ 5056.119166] UBI: max. allowed volumes:       128

[ 5056.123789] UBI: wear-leveling threshold:    4096

[ 5056.128502] UBI: number of internal volumes: 1

[ 5056.132953] UBI: number of user volumes:     1

[ 5056.137404] UBI: available PEBs:             0

[ 5056.141854] UBI: total number of reserved PEBs: 990

[ 5056.146741] UBI: number of PEBs reserved for bad PEB handling: 9

[ 5056.152763] UBI: max/mean erase counter: 1/0

[ 5056.157038] UBI: image sequence number:  0

[ 5056.161177] UBI: background thread "ubi_bgt0d" started, PID 288

[ 5056.167256] PPP generic driver version 2.4.2

[ 5056.180897] usbcore: registered new interface driver usbserial

[ 5056.186733] usbserial: USB Serial Driver core

[ 5056.204135] rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0

[ 5056.233742] i2c /dev entries driver

[ 5056.243819] as360x-battery as360x-battery.2: AS3606 Battery Fuel Gauge

[ 5056.290625] as360x 0-0046: AS3606_get_battery_voltage()

[ 5056.400840] No device for DAI WM8990 ADC/DAC Primary

[ 5056.412226] dma rx:3 tx:4, err irq:15, regs:ffc00800

[ 5056.418571] as360x 0-0046: AS3606_get_battery_voltage()

[ 5056.430959] WM8990 Audio Codec 0.2

[ 5057.369665] asoc: WM8990 ADC/DAC Primary <-> bf5xx-i2s mapping ok

[ 5057.375737] wm8990: SND_SOC_BIAS_STANDBY

[ 5057.514019] wm8990_set_bias_level: Setting WM8990_POWER_MANAGEMENT_1 to 0, 0x02, 0x03

[ 5057.703331] Failed to add route Mic Bias->RIN2

[ 5057.756012] ASoC: Failed to create RIN4/RXP debugfs file

[ 5057.761469] ASoC: Failed to create LIN4/RXN debugfs file

[ 5057.766954] ALSA device list:

[ 5057.769948]   #0: bf5xx_wm8990 (WM8990)

[ 5057.774455] TCP cubic registered

[ 5057.777710] NET: Registered protocol family 17

[ 5057.782252] lib80211: common routines for IEEE802.11 drivers

[ 5057.818818] regulator_init_complete: incomplete constraints, leaving CURR1 on

[ 5057.827503] regulator_init_complete: incomplete constraints, leaving VCCD2 on

[ 5057.835389] regulator_init_complete: incomplete constraints, leaving VCCD1 on

[ 5057.842502] regulator_init_complete: incomplete constraints, leaving PVDD27 on

[ 5057.850496] regulator_init_complete: incomplete constraints, leaving PVDD3 on

[ 5057.858417] regulator_init_complete: incomplete constraints, leaving PVDD2 on

[ 5057.866312] regulator_init_complete: incomplete constraints, leaving PVDD1 on

[ 5057.873768] rtc-bfin rtc-bfin: setting system clock to 1975-05-02 15:29:25 UTC (168276565)

[ 5058.211197] UBIFS: mounted UBI device 0, volume 0, name "rfs"

[ 5058.216938] UBIFS: file system size:   70318080 bytes (68670 KiB, 67 MiB, 545 LEBs)

[ 5058.224600] UBIFS: journal size:       9033728 bytes (8822 KiB, 8 MiB, 71 LEBs)

[ 5058.231914] UBIFS: media format:       w4/r0 (latest is w4/r0)

[ 5058.237748] UBIFS: default compressor: lzo

[ 5058.241851] UBIFS: reserved for root:  0 bytes (0 KiB)

[ 5058.264072] VFS: Mounted root (ubifs filesystem) on device 0:11.

[ 5058.270390] Freeing unused kernel memory: 120k freed

-------------- Loading I2C Keypad Driver ---------------

[ 5060.095311] input: adp5588-keys as /devices/platform/i2c-bfin-twi.0/i2c-0/0-0034/input/input1

[ 5060.121936] adp5588_keys 0-0034: Rev.2 keypad, irq 98

------------------ Loading Marvell SPI ------------------

[ 5060.335575] gspi8xxx: module license 'Marvell' taints kernel.

[ 5060.341304] Disabling lock debugging due to kernel taint

[ 5060.426738] register_user

------------------ First Time Audio Init ------------------

-------------- Loading Blackfin USB Host ---------------

[ 5061.918177] musb_hdrc: version 6.0, pio, host, debug=0

[ 5061.934540] musb_hdrc musb_hdrc.0: MUSB HDRC host driver

[ 5061.939829] musb_hdrc musb_hdrc.0: new USB bus registered, assigned bus number 1

[ 5061.947592] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002

[ 5061.954388] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1

[ 5061.961596] usb usb1: Product: MUSB HDRC host driver

[ 5061.966552] usb usb1: Manufacturer: Linux 2.6.36-ADI-2011R1-pre-svn9439 musb-hcd

[ 5061.973963] usb usb1: SerialNumber: musb_hdrc.0

[ 5062.016570] hub 1-0:1.0: USB hub found

[ 5062.020439] hub 1-0:1.0: 1 port detected

[ 5062.025572] musb_hdrc musb_hdrc.0: USB Host mode controller at ffc03800 using PIO, IRQ 59

-------------- Loading Sierra USB Wireless ---------------

[ 5062.153417] USB Serial support registered for Sierra USB modem

[ 5062.169990] usbcore: registered new interface driver sierra

[ 5062.175585] sierra: v.1.7.34:USB Driver for Sierra Wireless USB modems

------------------ Start WPA Supplicant ------------------

Initializing interface 'wlan0' conf 'N/A' driver 'marvell' ctrl_interface '/tmp' bridge 'N/A'

Initializing interface (2) 'wlan0'

Interface wlan0 set UP - waiting a second for the driver to complete initialization

ioctl[SIOCSIWPMKSA]: Invalid argument

SIOCGIWRANGE: WE(compiled)=22 WE(source)=15 enc_capa=0x0

  capabilities: key_mgmt 0x0 enc 0x3 flags 0x0

WEXT: Operstate: linkmode=1, operstate=5

Own MAC address: 00:27:13:83:7b:a6

wpa_driver_marvell_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0

wpa_driver_marvell_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0

wpa_driver_marvell_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0

wpa_driver_marvell_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0

RSN: flushing PMKID list in the driver

Setting scan request: 0 sec 100000 usec

EAPOL: SUPP_PAE entering state DISCONNECTED

EAPOL: KEY_RX entering state NO_KEY_RECEIVE

EAPOL: SUPP_BE entering state INITIALIZE

EAP: EAP entering state DISABLED

Using existing control interface directory.

Added interface wlan0

Daemonize..

QuoteReplyEditDelete

 

 

2010-12-06 05:45:12     Re: BF524 Hibernation and USB issue

Sonic Zhang (CHINA)

Message: 96504   

 

Only 2 power management modes are supported on blackfin, standby and suspend to memory. Which one do you use in your product?

 

How do you make your system into power save mode and resume late? Could you show the shell command or application code here?

QuoteReplyEditDelete

 

 

2010-12-06 10:23:56     Re: BF524 Hibernation and USB issue

Reggy Perrin (UNITED STATES)

Message: 96506   

 

We are using suspend to mem with this code:

 

FILE * pmfile = fopen( "/sys/power/state", "w");

if( pmfile > 0 )

{

    fwrite( "mem", 1, 3, pmfile );

    fclose(pmfile);

}

 

The system wakes from hibernate using the PG15 pin.   There are several signals that are hardware "ored" to this pin to wake the device.   Keyboard interrupt, WiFi networking interrupt, etc.

QuoteReplyEditDelete

 

 

2010-12-09 00:58:23     Re: BF524 Hibernation and USB issue

Bob Liu (CHINA)

Message: 96571   

 

Hi,  Reggy

 

The usb device must be reprobe because the USB host will be power down during suspend to ram.

 

In my opinion there is no way to fix this.

 

Thanks.

QuoteReplyEditDelete

 

 

2010-12-28 04:55:07     Re: BF524 Hibernation and USB issue

Bob Liu (CHINA)

Message: 97029   

 

Hi,  Reggy

 

 

Attached patch can reduce the resume time to 1-2s.

 

You can try it and give some feedback.

 

But  USB connection still will be disconnect and reconnect.

 

Thanks.

 

a.patch

QuoteReplyEditDelete

 

 

2011-01-03 22:32:13     Re: BF524 Hibernation and USB issue

Sonic Zhang (CHINA)

Message: 97146   

 

Bob is still investigating why the USB device description query after resuming does not succeed. Take his former patch as a temporary walk around.

QuoteReplyEditDelete

 

 

2011-02-25 02:34:57     Re: BF524 Hibernation and USB issue

Bob Liu (CHINA)

Message: 98406   

 

This should be fixed by svn9626 now.

 

  blackfin.uclinux.org/gf/project/linux-kernel/scmsvn/?action=browse&view=rev&revision=9626

QuoteReplyEditDelete

Attachments

Outcomes