linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* 2.4.0-t1 & t3: dmasound
@ 2000-07-12 11:06 Iain Sandoe
  2000-07-12 13:10 ` schinder
  2000-07-12 14:52 ` Dan Malek
  0 siblings, 2 replies; 8+ messages in thread
From: Iain Sandoe @ 2000-07-12 11:06 UTC (permalink / raw)
  To: linuxppc-dev


has anyone got dmasound_awacs to produce output under test1-ac21 or test3?

The same code base is the one I pack-ported to 2.2.17pre7/10 & works OK
(with reservations) there.

not a peep from 2.4.0-tx.  Modules load OK, nothing seems overtly broken (no
crash, sndstat looks sensible, setting parameters works OK)... just no
output.

Happy to try & fix - but it would be useful to know whether there are *any*
conditions under which it has worked.

Iain.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: 2.4.0-t1 & t3: dmasound
  2000-07-12 11:06 2.4.0-t1 & t3: dmasound Iain Sandoe
@ 2000-07-12 13:10 ` schinder
  2000-07-12 14:52 ` Dan Malek
  1 sibling, 0 replies; 8+ messages in thread
From: schinder @ 2000-07-12 13:10 UTC (permalink / raw)
  To: Iain Sandoe; +Cc: linuxppc-dev


On Wed, Jul 12, 2000 at 12:06:48PM +0100, Iain Sandoe wrote:
}
} has anyone got dmasound_awacs to produce output under test1-ac21 or test3?
}
} The same code base is the one I pack-ported to 2.2.17pre7/10 & works OK
} (with reservations) there.
}
} not a peep from 2.4.0-tx.  Modules load OK, nothing seems overtly broken (no
} crash, sndstat looks sensible, setting parameters works OK)... just no
} output.
}
} Happy to try & fix - but it would be useful to know whether there are *any*
} conditions under which it has worked.

This is on a Performa 6400.

linux% cat /dev/sndstat
PowerMac (AWACS rev 2) DMA sound driver:
	sound.format = 0x20 (signed 16 bit big)
	sound.speed = 44100Hz (phys. 44100Hz)
	sound.stereo = 0x1 (stereo)
	sq.block_size = 32768 sq.max_count = 4 sq.max_active = 4
	sq.count = 0 sq.rear_size = 12288
	sq.active = 0 sq.syncing = 0

linux% uname -a
Linux c22234-c.scllg1.pa.home.com 2.4.0-test1-ac21 #1 Wed Jun 21 23:15:08 EDT 2000 ppc unknown

The source is from Paul's developent tree.

I've compiled sound support in rather than as a module.  It works, but
the only way to control the volume is by using the Gnome mixer.  On
anything else I've tried (xmms, the CD player that comes with Gnome,
reaplayer), the volume sliders don't work.  But the sound is fine.

}
} Iain.
}

--
Paul Schinder
schinder@pobox.com

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: 2.4.0-t1 & t3: dmasound
@ 2000-07-12 13:16 Iain Sandoe
  0 siblings, 0 replies; 8+ messages in thread
From: Iain Sandoe @ 2000-07-12 13:16 UTC (permalink / raw)
  To: schinder; +Cc: linuxppc-dev


[snip]
> } Happy to try & fix - but it would be useful to know whether there are *any*
> } conditions under which it has worked.
>
> This is on a Performa 6400.
>
> linux% cat /dev/sndstat
> PowerMac (AWACS rev 2) DMA sound driver:
>  sound.format = 0x20 (signed 16 bit big)
>  sound.speed = 44100Hz (phys. 44100Hz)
>  sound.stereo = 0x1 (stereo)
>  sq.block_size = 32768 sq.max_count = 4 sq.max_active = 4
>  sq.count = 0 sq.rear_size = 12288
>  sq.active = 0 sq.syncing = 0
>
> linux% uname -a
> Linux c22234-c.scllg1.pa.home.com 2.4.0-test1-ac21 #1 Wed Jun 21 23:15:08
> EDT 2000 ppc unknown
>
> The source is from Paul's developent tree.
>
> I've compiled sound support in rather than as a module.  It works, but
> the only way to control the volume is by using the Gnome mixer.  On
> anything else I've tried (xmms, the CD player that comes with Gnome,
> reaplayer), the volume sliders don't work.  But the sound is fine.

thnx v. much - I've a hunch we're not getting any interrupts...
still investigating...

Iain

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: 2.4.0-t1 & t3: dmasound
  2000-07-12 11:06 2.4.0-t1 & t3: dmasound Iain Sandoe
  2000-07-12 13:10 ` schinder
@ 2000-07-12 14:52 ` Dan Malek
  1 sibling, 0 replies; 8+ messages in thread
From: Dan Malek @ 2000-07-12 14:52 UTC (permalink / raw)
  To: Iain Sandoe; +Cc: linuxppc-dev


Iain Sandoe wrote:
>
> has anyone got dmasound_awacs to produce output under test1-ac21 or test3?

I am using test2-ac18 on my G4 server (workstation :-).  It works
fine there.  I haven't tried -test3 yet because of all of the other
bugs we are fixing.

By the way, I have some 48Khz modifications.  Basically the inverse
of the expand functions.  Anyone else doing this or attempting 48Khz
playback?  Obviously record only works at 44.1Khz.


	-- Dan

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: 2.4.0-t1 & t3: dmasound
@ 2000-07-12 15:55 Iain Sandoe
  2000-07-12 16:35 ` Dan Malek
  0 siblings, 1 reply; 8+ messages in thread
From: Iain Sandoe @ 2000-07-12 15:55 UTC (permalink / raw)
  To: Dan Malek; +Cc: linuxppc-dev


On  Wed, Jul 12, 2000,  Dan Malek wrote:
> Iain Sandoe wrote:
>>
>> has anyone got dmasound_awacs to produce output under test1-ac21 or test3?
>
> I am using test2-ac18 on my G4 server (workstation :-).  It works
> fine there.  I haven't tried -test3 yet because of all of the other
> bugs we are fixing.

Cool... can you tell me what AWACS rev you have working?
(we have one report of rev == OK) My rev 3 (!OK)

> By the way, I have some 48Khz modifications.  Basically the inverse
> of the expand functions.  Anyone else doing this or attempting 48Khz
> playback?  Obviously record only works at 44.1Khz.

Later definitely :-)))

[I'm struggling right now to try and get a common code base between
2.2.17prexx & 2.4.0 - to avoid confusion on *my* part :-)]

Iain.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: 2.4.0-t1 & t3: dmasound
  2000-07-12 15:55 Iain Sandoe
@ 2000-07-12 16:35 ` Dan Malek
  0 siblings, 0 replies; 8+ messages in thread
From: Dan Malek @ 2000-07-12 16:35 UTC (permalink / raw)
  To: Iain Sandoe; +Cc: Dan Malek, linuxppc-dev


Iain Sandoe wrote:

> Cool... can you tell me what AWACS rev you have working?
> (we have one report of rev == OK) My rev 3 (!OK)

Here is what I have been able to discover by poking around in the
device-tree and in memory.  It has "davbus" and "sound", so it isn't
Burgandy.  The value of awacs_revision in memory appears to be 3......

Now, when I say "works"......I have lots of my own custom audio
programs (lots of hacks, nothing interesting) and I don't typically
use any of the mixer or other playback programs (except mpeg3 players).
I can control speaker/line volume, enable disable speaker.  I am
really interested in audio processing (hence the G4 :-), and use
the output to just validate things sound correct.

> [I'm struggling right now to try and get a common code base between
> 2.2.17prexx & 2.4.0 - to avoid confusion on *my* part :-)]

You mean it won't just "drop in" (just kidding, been there :-).  Good
Luck...Have fun!


	-- Dan

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: 2.4.0-t1 & t3: dmasound
@ 2000-07-12 18:07 Iain Sandoe
  2000-07-12 18:19 ` Dan Malek
  0 siblings, 1 reply; 8+ messages in thread
From: Iain Sandoe @ 2000-07-12 18:07 UTC (permalink / raw)
  To: Dan Malek; +Cc: linuxppc-dev


>> Cool... can you tell me what AWACS rev you have working?
>> (we have one report of rev == OK) My rev 3 (!OK)
>
> Here is what I have been able to discover by poking around in the
> device-tree and in memory.  It has "davbus" and "sound", so it isn't
> Burgandy.  The value of awacs_revision in memory appears to be 3......

Thnx.

BTW cat /dev/sndstat is probably the quickest way of finding out ;-)

> Now, when I say "works"......I have lots of my own custom audio
> programs (lots of hacks, nothing interesting) and I don't typically
> use any of the mixer or other playback programs (except mpeg3 players).
> I can control speaker/line volume, enable disable speaker.  I am
> really interested in audio processing (hence the G4 :-), and use
> the output to just validate things sound correct.

Yeah... well that's my line of work too... just trying to get the
'underneath' in place and then I'm onto configuring my G4...

>> [I'm struggling right now to try and get a common code base between
>> 2.2.17prexx & 2.4.0 - to avoid confusion on *my* part :-)]
>
> You mean it won't just "drop in" (just kidding, been there :-).  Good
> Luck...Have fun!

It probably will...

Geert's split-up of the code makes it all modular with a separate routine
for each conversion...

I just don't want to add more confusion at the present..
Thanks for the reports..
Iain.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: 2.4.0-t1 & t3: dmasound
  2000-07-12 18:07 Iain Sandoe
@ 2000-07-12 18:19 ` Dan Malek
  0 siblings, 0 replies; 8+ messages in thread
From: Dan Malek @ 2000-07-12 18:19 UTC (permalink / raw)
  To: Iain Sandoe; +Cc: Dan Malek, linuxppc-dev


Iain Sandoe wrote:

> BTW cat /dev/sndstat is probably the quickest way of finding out ;-)

Oh yeah.  I always forget about all this fancy stuff (when you have
the code, all you need is hexdump and /dev/mem :-).

It says "AWACS rev 3", so I guess I still know how to do it the
hard way.

> Yeah... well that's my line of work too... just trying to get the
> 'underneath' in place and then I'm onto configuring my G4...

Just use 2.4.xx, it's more exciting :-).


	-- Dan

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2000-07-12 18:19 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-07-12 11:06 2.4.0-t1 & t3: dmasound Iain Sandoe
2000-07-12 13:10 ` schinder
2000-07-12 14:52 ` Dan Malek
  -- strict thread matches above, loose matches on Subject: below --
2000-07-12 13:16 Iain Sandoe
2000-07-12 15:55 Iain Sandoe
2000-07-12 16:35 ` Dan Malek
2000-07-12 18:07 Iain Sandoe
2000-07-12 18:19 ` Dan Malek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).