2000-12-08 17:34:44

by Simon Huggins

[permalink] [raw]
Subject: Re: 2.4.0-test12-pre7 [ymfpci doesn't survive suspend to disk]

Hi,

On Wed, Dec 06, 2000 at 05:29:14PM -0800, Linus Torvalds wrote:
> - test7:
> - Kai Germaschewski: ymfpci cleanups and resource leak fixes
> - pre5:
> - Jaroslav Kysela: ymfpci driver

Just tried this out on my laptop and it played and didn't give strange
messages that Pete's driver did when I tried 2.2.18presummat (I can
check if it's interesting to know).

However when I then suspended the machine and resumed it sound no longer
worked. In fact the mpg123 that I used to test it after the resume is
now just sitting there.

000 1000 387 277 9 0 1576 676 ? S tty1 0:00
mpg123 a.mp3

I CTRL-C'd it, it spat out:
[0:00] Decoding of a.mp3 finished.
And it's erm still sitting there.

Is this driver apm aware?

lspci says:
00:09.0 Multimedia audio controller: Yamaha Corporation YMF-744B [DS-1S Audio Controller] (rev 02)
Subsystem: Sony Corporation: Unknown device 8072
Flags: bus master, medium devsel, latency 64, IRQ 9
Memory at fedf8000 (32-bit, non-prefetchable) [size=32K]
I/O ports at fcc0 [size=64]
I/O ports at fc8c [size=4]
Capabilities: <available only to root>

It's been assigned interrupt 9 which is also used for the cardbus stuff.
[huggie@langly ~]$ cat /proc/interrupts
CPU0
0: 141136 XT-PIC timer
1: 3848 XT-PIC keyboard
2: 0 XT-PIC cascade
3: 2988 XT-PIC pcnet_cs
9: 27977 XT-PIC Ricoh Co Ltd RL5c478 (#2), Ricoh Co Ltd RL5c478, ymfpci
12: 3722 XT-PIC PS/2 Mouse
14: 4851 XT-PIC ide0
15: 1 XT-PIC ide1
NMI: 0
ERR: 0

This was compiled on gcc 2.95.2 (so does that mean this bug report hits
/dev/null?)

--
----------( Cows turn themselves inside out all the time. - )----------
----------( Officer, South Park )----------
Simon ----( )---- Nomis
Htag.pl 0.0.17


2000-12-08 17:51:37

by Alan

[permalink] [raw]
Subject: Re: 2.4.0-test12-pre7 [ymfpci doesn't survive suspend to disk]

> However when I then suspended the machine and resumed it sound no longer
> worked. In fact the mpg123 that I used to test it after the resume is
> now just sitting there.

The driver does not currently support power management. In fact whoever
hacked on the include files went and put __init in there when it was left
non __init for a reason.

You have to completely reload and reinitialise the YMF-7xx cards on most laptops
over a suspend

> Is this driver apm aware?

Bingo.. its not

>