[alsa-devel] AC97 reset fail after suspend
Tomas 'Sleep_Walker' Cech
sleep_walker at suse.cz
Fri May 8 01:48:19 CEST 2009
Hi,
I've got following error on Palm LifeDrive and PalmTX after suspend & resume:
pxa2xx_ac97_try_warm_reset: warm reset timeout (GSR=0x0)
pxa2xx_ac97_read: read error (ac97_reg=0 GSR=0x0)
pxa2xx_ac97_try_cold_reset: cold reset timeout (GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=0 GSR=0x44)
WM9712 AC97 reset failed
could not reset AC97 codec
That completely disable whole AC97 communication, so touchscreen, sound and
battery doesn't work any longer.
I also tried this with Treo680 (code will be sent soon). HW is very similar,
only codec is different - LD/T5/TX use WM9712, Treo680 use WM9713. On Treo680
there is no problem with that.
Thanks for any hint about that.
Tomas 'Sleep_Walker' Cech
Attaching config for LD/TX and dmesg output.
-------------- next part --------------
Linux version 2.6.30-rc3-TX.sw3 (tcech at daredevil) (gcc version 4.2.4) #246 Thu May 7 19:50:35 CEST 2009
CPU: XScale-PXA270 [69054117] revision 7 (ARMv5TE), cr=0000397f
CPU: VIVT data cache, VIVT instruction cache
Machine: Palm LifeDrive
Memory policy: ECC disabled, Data cache writeback
On node 0 totalpages: 8192
free_area_init_node: node 0, pgdat c0321ff4, node_mem_map c033f000
Normal zone: 64 pages used for memmap
Normal zone: 0 pages reserved
Normal zone: 8128 pages, LIFO batch:0
Run Mode clock: 208.00MHz (*16)
Turbo Mode clock: 416.00MHz (*2.0, active)
Memory clock: 208.00MHz (/2)
System bus clock: 208.00MHz
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128
Kernel command line: init=/sbin/init root=/dev/mmcblk0p2 psplash=false rootwait
NR_IRQS:192
PID hash table entries: 128 (order: 7, 512 bytes)
Console: colour dummy device 80x30
console [tty0] enabled
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 32MB = 32MB total
Memory: 29156KB available (2808K code, 252K data, 132K init, 0K highmem)
Calibrating delay loop... 415.33 BogoMIPS (lpj=2076672)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 716 bytes
NET: Registered protocol family 16
bio: create slab <bio-0> at 0
cfg80211: Using static regulatory domain info
cfg80211: Regulatory domain: US
(start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
(2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2700 mBm)
(5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
(5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
(5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
(5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
(5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 3000 mBm)
cfg80211: Calling CRDA for country: US
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
NET: Registered protocol family 1
PXA CPU 27x max frequency not defined (pxa27x_maxfreq), assuming pxa271 with 416000kHz maxfreq
PXA CPU frequency change support initialized
NetWinder Floating Point Emulator V0.97 (double precision)
squashfs: version 4.0 (2009/01/31) Phillip Lougher
msgmni has been set to 56
alg: No test for stdrng (krng)
io scheduler noop registered (default)
Console: switching to colour frame buffer device 53x43
pxa2xx-uart.0: ttyS0 at MMIO 0x40100000 (irq = 22) is a FFUART
pxa2xx-uart.1: ttyS1 at MMIO 0x40200000 (irq = 21) is a BTUART
pxa2xx-uart.2: ttyS2 at MMIO 0x40700000 (irq = 20) is a STUART
brd: module loaded
loop: module loaded
pxa2xx-pcmcia: use which platform_data?
pxa27x_udc: version 2008-04-18
g_ether gadget: using random self ethernet address
g_ether gadget: using random host ethernet address
usb0: MAC 3e:63:7e:d0:61:36
usb0: HOST MAC ba:45:a4:a0:15:95
g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
g_ether gadget: g_ether ready
mice: PS/2 mouse device common for all mice
input: pxa27x-keypad as /class/input/input0
input: gpio-keys as /class/input/input1
cpuidle: using governor ladder
palmld_mci_init: irq registered
Advanced Linux Sound Architecture Driver Version 1.0.19.
WM9711/WM9712 SoC Audio Codec 0.4
asoc: AC97 HiFi <-> pxa2xx-ac97 mapping ok
asoc: AC97 Aux <-> pxa2xx-ac97-aux mapping ok
wm97xx-ts 0-0:WM9712: detected a wm9712 codec
input: wm97xx touchscreen as /class/input/input2
ALSA device list:
#0: Palm/PXA27x (WM9712)
TCP cubic registered
NET: Registered protocol family 10
IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
lib80211: common routines for IEEE802.11 drivers
lib80211_crypt: registered algorithm 'NULL'
XScale iWMMXt coprocessor detected.
Waiting for root device /dev/mmcblk0p2...
mmc0: new SD card at address 1147
mmcblk0: mmc0:1147 SK01G 945 MiB
mmcblk0: p1 p2 p3
VFS: Mounted root (ext2 filesystem) readonly on device 179:2.
Freeing init memory: 132K
pcmcia_socket pcmcia_socket0: pccard: PCMCIA card inserted into slot 0
pcmcia 0.0: pcmcia: registering new device pcmcia0.0
Adding 94744k swap on /dev/mmcblk0p3. Priority:-1 extents:1 across:94744k SS
ADDRCONF(NETDEV_UP): usb0: link is not ready
wm97xx-ts 0-0:WM9712: No IRQ specified
PM: Syncing filesystems ... done.
Freezing user space processes ... (elapsed 0.05 seconds) done.
Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done.
Suspending console(s) (use no_console_suspend to debug)
pxa2xx_ac97_try_warm_reset: warm reset timeout (GSR=0x0)
pxa2xx_ac97_read: read error (ac97_reg=0 GSR=0x0)
pxa2xx_ac97_try_cold_reset: cold reset timeout (GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=0 GSR=0x44)
WM9712 AC97 reset failed
could not reset AC97 codec
pxa2xx_ac97_write: write error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_write: write error (ac97_reg=120 GSR=0x44)
pxa2xx_ac97_write: write error (ac97_reg=76 GSR=0x44)
pxa2xx_ac97_write: write error (ac97_reg=78 GSR=0x44)
pxa2xx_ac97_write: write error (ac97_reg=80 GSR=0x44)
pxa2xx_ac97_write: write error (ac97_reg=82 GSR=0x44)
pxa2xx_ac97_write: write error (ac97_reg=84 GSR=0x44)
pxa2xx_ac97_write: write error (ac97_reg=86 GSR=0x44)
Restarting tasks ... done.
pxa2xx_ac97_write: write error (ac97_reg=120 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=122 GSR=0x44)
wm97xx-ts 0-0:WM9712: No IRQ specified
pxa2xx_ac97_read: read error (ac97_reg=122 GSR=0x44)
pxa2xx_ac97_write: write error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_write: write error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_write: write error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_write: write error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_write: write error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_write: write error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
pxa2xx_ac97_read: read error (ac97_reg=118 GSR=0x44)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config-TX.zip
Type: application/zip
Size: 7794 bytes
Desc: not available
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20090508/8db42d7d/attachment-0001.zip
More information about the Alsa-devel
mailing list