Subject: Re: snapper: bad dbdma alignment
To: Davide Zanon <d.zanon@infinito.it>
From: Michael <macallan18@earthlink.net>
List: port-macppc
Date: 01/25/2005 10:50:21
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

>> They're not committed as far as I know. But it seems the Mac mini
>> hardware is very similar to the iBook G4.
>>   I made two drivers for hardware sensors found in various iBook G3 
>> and
>> G4 models - probably others too. If you want I'll send you a patch 
>> with
>> the whole thing. All the drivers need to be enabled in kernel config
>> and snapper audio didn't really work for me either, the output was
>> always distorted and choppy.
>
> Yes, but it's strange that snapper worked perfectly on 2.0 kernels and 
> now it
> doesn't, even without the hardware sensors patches...
Not my fault. The DBDMA misalignment was caused by someone adding a 
field to snapper's softc, this moved the DBDMA structures by 4 bytes 
and this way screwed their alignment - all I did was to allocate them 
separately - the choppiness is caused by something else.

>> No idea what kind of hardware sensor the Mac mini has - if at all -
>> just check the properties of the /uni-n/ki2c/fan node in OF, supported
>> sensors are ADT7467 and ADM1030
>
> I'll try it on my PowerBook and post the results if it helps...
Please have a look at this node on the Mac mini too - I'm just curious 
:)

have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iQEVAwUBQfZqvcpnzkX8Yg2nAQIvHggArpjd0S9aPMz81CuljIJyl9b5i64LoTVm
Sfu3lTEhF484YRIVqUYzTF3ywcTpSB6xTVyhZC6NtH4qqjlFvffb5W1dsYUyaU4s
ddBMstSi31hqkszsVa7IbVtL1zPFTXYfVooVEI5Opvkfay/e+EN/LIpGGC6kulBU
RWpyw/zaRRdSFUkyI3xZy9QjTLz1DlxrhfSo1JysD3lfmfehl0P1Sb6sRutWFS5o
9hHbcU33PlKumfWHP4OHtSehUsY7nKWNE2pc/h2jeV4SgEHx9SENJn2l7db7acM5
dvRG1ZLdOCKIZPVB8WZJA6ACA4s3hVoR7l2m3IHDQjNf412oH6Zv8g==
=vqEq
-----END PGP SIGNATURE-----