some new info about bp suspend.

here is debug log from 2.4 driver:
http://people.openezx.org/muromec/suspend_2.4.log

i found that bp goes to suspend before i send any data via mux:

r...@rokr:~# mux&
r...@rokr:~# echo suspend > /sys/bus/usb/devices/1-3/power/level
r...@rokr:~# dmesg | tail
[   47.247677] usb 1-3: configuration #1 chosen from 1 choice
[   47.284697] usb_ipc_probe: Only two endpoints supported got 1
[   47.284722] .
[   47.404315] usb_ipc: probe of 1-3:1.6 failed with error -1
[   47.544446] usb_ipc_probe: Only two endpoints supported got 1
[   47.544470] .
[   47.571247] usb_ipc: probe of 1-3:1.7 failed with error -1
[   49.951524] EXT2-fs warning: mounting unchecked fs, running e2fsck
is recommended
[   66.178423] ipc suspend
[   66.186866] read 0 from ipc: -2

r...@rokr:~# echo > /sys/devices/platform/ezx-bp/bp_wake ; echo on >
/sys/bus/usb/devices/1-3/power/level
r...@rokr:~# . open.sh &
r...@rokr:~#
+MBAN: Copyright 2000-2002 Motorola, Inc.

dmesg:

[   66.178423] ipc suspend
[   66.186866] read 0 from ipc: -2
[   94.062845] ipc resume
[   99.905268] ipcusb_xmit_data
[   99.910029] ipcusb_xmit_data end
[   99.914478] ipcusb_xmit_data
[   99.918658] read 7 from ipc: 0
[   99.922717] send read

but when i`m trying to do same thing later i`m having this:

[  171.646501] ipc suspend
[  171.649529] read 0 from ipc: -2
[  171.657887] BP rdy irq 0
[  171.660806] awake bp and usb
[  171.732648] ipc resume

-- 
 wbr, Ilya
 ICQ: none, Jabber: ilya.muro...@jabber.ru

Reply via email to