Re: sound on quad powermac/latest powerbooks/imacs

2006-04-06 Thread Johannes Berg
On Fri, 2006-04-07 at 00:41 +0300, Eddy Petrişor wrote: > I was wondering if an alsa enabled kernel would give me the needed info. No, it wouldn't. johannes signature.asc Description: This is a digitally signed message part

Re: sound on quad powermac/latest powerbooks/imacs

2006-04-06 Thread Eddy Petrişor
On 4/7/06, Johannes Berg <[EMAIL PROTECTED]> wrote: > On Fri, 2006-04-07 at 00:30 +0300, Eddy Petrişor wrote: > > > Should I try to run a kernel with alsa? > > No use. I was wondering if an alsa enabled kernel would give me the needed info. -- Regards, EddyP ==

Re: sound on quad powermac/latest powerbooks/imacs

2006-04-06 Thread Johannes Berg
On Fri, 2006-04-07 at 00:30 +0300, Eddy Petrişor wrote: > Should I try to run a kernel with alsa? No use. johannes signature.asc Description: This is a digitally signed message part

Re: sound on quad powermac/latest powerbooks/imacs

2006-04-06 Thread Eddy Petrişor
On 4/7/06, Johannes Berg <[EMAIL PROTECTED]> wrote: > On Fri, 2006-04-07 at 00:11 +0300, Eddy Petrişor wrote: > > > merci sound # for I in * ; do echo -e "$I:\n"; cat "$I" ; echo -e > > Ok. That doesn't seem to help me, but I'm at wireless summit right now > and can't do much research about this. I

Re: sound on quad powermac/latest powerbooks/imacs

2006-04-06 Thread Johannes Berg
On Fri, 2006-04-07 at 00:11 +0300, Eddy Petrişor wrote: > merci sound # for I in * ; do echo -e "$I:\n"; cat "$I" ; echo -e Ok. That doesn't seem to help me, but I'm at wireless summit right now and can't do much research about this. I'll get to it next week, I hope. johannes signature.asc Des

Re: sound on quad powermac/latest powerbooks/imacs

2006-04-06 Thread Eddy Petrişor
On 4/6/06, Johannes Berg <[EMAIL PROTECTED]> wrote: > On Thu, 2006-04-06 at 22:12 +0300, Eddy Petrişor wrote: > > > merci tasksel # find /proc/device-tree -name sound* > > /proc/device-tree/aliases/sound > > /proc/device-tree/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL > > PROTECTED]/[EMAIL PROTECT

Re: sound on quad powermac/latest powerbooks/imacs

2006-04-06 Thread Johannes Berg
On Thu, 2006-04-06 at 22:12 +0300, Eddy Petrişor wrote: > merci tasksel # find /proc/device-tree -name sound* > /proc/device-tree/aliases/sound > /proc/device-tree/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL > PROTECTED]/[EMAIL PROTECTED]/sound Can you show all the other files in that dir? thank

Re: sound on quad powermac/latest powerbooks/imacs

2006-04-06 Thread Eddy Petrişor
Please tell me if this is suffiicient. On 4/6/06, Eddy Petrişor <[EMAIL PROTECTED]> wrote: > On 4/6/06, Johannes Berg <[EMAIL PROTECTED]> wrote: > > On Thu, 2006-04-06 at 21:48 +0300, Eddy Petrişor wrote: > > > > > Sorry, please be more specific. I tried to get this info from (iirc) > > > System P

Re: sound on quad powermac/latest powerbooks/imacs

2006-04-06 Thread Eddy Petrişor
On 4/6/06, Johannes Berg <[EMAIL PROTECTED]> wrote: > On Thu, 2006-04-06 at 21:48 +0300, Eddy Petrişor wrote: > > > Sorry, please be more specific. I tried to get this info from (iirc) > > System Profiler, but found no info about the sound device; maybe I am > > MacOSX-retarded and don't see an obv

Re: sound on quad powermac/latest powerbooks/imacs

2006-04-06 Thread Johannes Berg
On Thu, 2006-04-06 at 21:48 +0300, Eddy Petrişor wrote: > Sorry, please be more specific. I tried to get this info from (iirc) > System Profiler, but found no info about the sound device; maybe I am > MacOSX-retarded and don't see an obvious thing. Maybe it isn't visible in osx, I don't know. Try

Re: sound on quad powermac/latest powerbooks/imacs

2006-04-06 Thread Eddy Petrişor
On 4/6/06, Johannes Berg <[EMAIL PROTECTED]> wrote: > On Thu, 2006-04-06 at 21:41 +0300, Eddy Petrişor wrote: > > > The end of the week passed and I got to this problem on Monday, but i > > hit a problem. I don't have alsa and, thus can't answer. Any way I can > > get this info without compiling a

Re: sound on quad powermac/latest powerbooks/imacs

2006-04-06 Thread Johannes Berg
On Thu, 2006-04-06 at 21:41 +0300, Eddy Petrişor wrote: > The end of the week passed and I got to this problem on Monday, but i > hit a problem. I don't have alsa and, thus can't answer. Any way I can > get this info without compiling a kernel? Look in the device tree or in OSX. johannes signa

Re: sound on quad powermac/latest powerbooks/imacs

2006-04-06 Thread Eddy Petrişor
On 3/27/06, Eddy Petrişor <[EMAIL PROTECTED]> wrote: > > that's a tas3001 right? Or tas3004? I have the datasheet for the latter > > and need tas3004 on my powerbook. > > I will not able to answer to this exactly for a few days.. will answer > until the end of the week. Please remind me if I don't

[works] Re: sound on quad powermac/latest powerbooks/imacs

2006-04-05 Thread Charles Plessy
On Tue, Mar 28, 2006 at 08:48:11PM +0200, Eduardo Trápani wrote : > >>$ insmod ./soundbus/i2sbus/i2sbus.ko > > > >sorbet【snd-aoa】$ sudo /sbin/insmod ./soundbus/soundbus.ko > >sorbet【snd-aoa】$ sudo /sbin/insmod ./soundbus/i2sbus/i2sbus.ko > >insmod: error inserting './soundbus/i2sbus/i2sbus.ko': -1

Re: sound on quad powermac/latest powerbooks/imacs

2006-03-29 Thread Johannes Berg
On Wed, 2006-03-29 at 10:23 +1100, Benjamin Herrenschmidt wrote: > Why not use plain git ? I think cogito is pretty much deprecated > nowadays no ? Dunno. I guess git-clone works too and I can happily use cg without telling anyone. Not that there's a particular reason I use cg.. :) johannes si

Re: sound on quad powermac/latest powerbooks/imacs

2006-03-29 Thread Johannes Berg
On Wed, 2006-03-29 at 13:29 +0200, Eduardo Trápani wrote: > Mar 29 13:26:17 mapache kernel: snd-aoa-codec-onyx: found k2-i2c, checking if > onyx chip is on it > Mar 29 13:26:17 mapache kernel: low_i2c:xfer() chan=0, addrdir=0x47, mode=4, > subsize=1, subaddr=0x43, 1 bytes, bus /[EMAIL PROTECTED],

Re: sound on quad powermac/latest powerbooks/imacs

2006-03-29 Thread Eduardo Trápani
You might want to load soundcore first. Or install the modules and do a depmod -a and then modprobe instead of insmod. I had the same problem. Sadly, up until 2.6.15 loading up soundcore hangs my imac so I haven't been able to go past that ... Its snd-powermac that hangs your imac, not so

Re: sound on quad powermac/latest powerbooks/imacs

2006-03-29 Thread Eduardo Trápani
How can I find that out? Try loading my driver, specifically snd-aoa-codec-onyx :P Or dive into the device tree, find the layout-id property, and cross reference it with the layout id in the Info.plist file from AppleOnboardAudio. Well, I didn't know where to get the Info.plist file (I only h

Re: sound on quad powermac/latest powerbooks/imacs

2006-03-28 Thread Benjamin Herrenschmidt
On Tue, 2006-03-28 at 20:48 +0200, Eduardo Trápani wrote: > >>$ insmod ./soundbus/i2sbus/i2sbus.ko > > > > > > sorbet【snd-aoa】$ sudo /sbin/insmod ./soundbus/soundbus.ko > > sorbet【snd-aoa】$ sudo /sbin/insmod ./soundbus/i2sbus/i2sbus.ko > > insmod: error inserting './soundbus/i2sbus/i2sbus.ko': -1

Re: sound on quad powermac/latest powerbooks/imacs

2006-03-28 Thread Benjamin Herrenschmidt
On Tue, 2006-03-28 at 16:41 +0200, Johannes Berg wrote: > On Tue, 2006-03-28 at 16:38 +0200, Eduardo Trápani wrote: > > > I had cgvg installed, that's why. I followed your steps and installed > > cogito and it works now :). > > heh ok I'll make sure to say cg-clone in the future :) Why not use

Re: sound on quad powermac/latest powerbooks/imacs

2006-03-28 Thread Eduardo Trápani
$ insmod ./soundbus/i2sbus/i2sbus.ko sorbet【snd-aoa】$ sudo /sbin/insmod ./soundbus/soundbus.ko sorbet【snd-aoa】$ sudo /sbin/insmod ./soundbus/i2sbus/i2sbus.ko insmod: error inserting './soundbus/i2sbus/i2sbus.ko': -1 Unknown symbol in module I built it against a just-downloaded 2.6.16 kernel (

Re: sound on quad powermac/latest powerbooks/imacs

2006-03-28 Thread Charles Plessy
On Tue, Mar 28, 2006 at 02:31:03PM +0200, Johannes Berg wrote : > I have already someone testing on 8,1, but just fyi: > > $ sudo apt-get install cogito > $ cd /wherever/ > $ cg clone http://johannes.sipsolutions.net/snd-aoa.git/ snd-aoa > $ cd snd-aoa > $ make > $ insmod ./soundbus/soundbus.ko T

Re: sound on quad powermac/latest powerbooks/imacs

2006-03-28 Thread Johannes Berg
On Tue, 2006-03-28 at 16:38 +0200, Eduardo Trápani wrote: > I had cgvg installed, that's why. I followed your steps and installed cogito > and it works now :). heh ok I'll make sure to say cg-clone in the future :) johannes signature.asc Description: This is a digitally signed message part

Re: sound on quad powermac/latest powerbooks/imacs

2006-03-28 Thread Eduardo Trápani
$ cg clone http://johannes.sipsolutions.net/snd-aoa.git/ snd-aoa Are you sure that works as-is? I'm trying it and cg returns without doing anything ... works fine here: $ cd /tmp/ $ cg clone http://johannes.sipsolutions.net/snd-aoa.git/ snd-aoa defaulting to local storage area Fetching head

Re: sound on quad powermac/latest powerbooks/imacs

2006-03-28 Thread Johannes Berg
On Tue, 2006-03-28 at 16:33 +0200, Eduardo Trápani wrote: > How can I find that out? Try loading my driver, specifically snd-aoa-codec-onyx :P Or dive into the device tree, find the layout-id property, and cross reference it with the layout id in the Info.plist file from AppleOnboardAudio. My dr

Re: sound on quad powermac/latest powerbooks/imacs

2006-03-28 Thread Eduardo Trápani
I have already someone testing on 8,1, but just fyi: And on 8,2? Whoops, missed this before. No, it hasn't been tested there to my knowledge, but I don't even know if that machine has an onyx How can I find that out? Eduardo. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of

Re: sound on quad powermac/latest powerbooks/imacs

2006-03-28 Thread Johannes Berg
On Tue, 2006-03-28 at 15:43 +0200, Eduardo Trápani wrote: > > I have already someone testing on 8,1, but just fyi: > > And on 8,2? Whoops, missed this before. No, it hasn't been tested there to my knowledge, but I don't even know if that machine has an onyx johannes signature.asc Description:

Re: sound on quad powermac/latest powerbooks/imacs

2006-03-28 Thread Johannes Berg
On Tue, 2006-03-28 at 15:43 +0200, Eduardo Trápani wrote: > > $ cg clone http://johannes.sipsolutions.net/snd-aoa.git/ snd-aoa > Are you sure that works as-is? I'm trying it and cg returns without doing > anything ... works fine here: $ cd /tmp/ $ cg clone http://johannes.sipsolutions.net/snd-

Re: sound on quad powermac/latest powerbooks/imacs

2006-03-28 Thread Eduardo Trápani
I have already someone testing on 8,1, but just fyi: And on 8,2? $ sudo apt-get install cogito $ cd /wherever/ $ cg clone http://johannes.sipsolutions.net/snd-aoa.git/ snd-aoa $ cd snd-aoa Are you sure that works as-is? I'm trying it and cg returns without doing anything ... Eduardo. --

Re: sound on quad powermac/latest powerbooks/imacs

2006-03-28 Thread Johannes Berg
On Tue, 2006-03-28 at 00:11 +0900, Charles Plessy wrote: > > I cannot offer help coding, but if you have something I can try on PowerMac > > 8,2 I can test it and report back to you. > > Same for 8,1. Actually, if you could share the patched sources of a > kernel, that would be great (I am affrai

Re: sound on quad powermac/latest powerbooks/imacs

2006-03-28 Thread Johannes Berg
On Mon, 2006-03-27 at 18:07 +0300, Eddy Petrişor wrote: > > > Does the current experimental implementation support input? > > > > No. A smaller rewrite of the clock/pcm/bitrate stuff is on order, after > > that it will. > > Ok, nice. When will that be ? :-D It's done, but for whatever reason inp

Re: sound on quad powermac/latest powerbooks/imacs

2006-03-27 Thread Charles Plessy
On Mon, Mar 27, 2006 at 04:51:09PM +0200, Eduardo Trápani wrote : > Hi, > > >I've been rewriting the linux apple sound driver completely with a much > >nicer layout :) > > >It isn't really to be used too widely now but if anyone is motivated to > >help hacking there are some things that need sort

Re: sound on quad powermac/latest powerbooks/imacs

2006-03-27 Thread Eddy Petrişor
On 3/25/06, Johannes Berg <[EMAIL PROTECTED]> wrote: > On Fri, 2006-03-24 at 16:26 +0200, Eddy Petrişor wrote: > > > So one could add now a codec over the lower layers? > > That's the plan, yes. > > > AFAICS my laptop* needs snapper[1]; I found it strinking that the > > powerbook in question (5,2)

Re: sound on quad powermac/latest powerbooks/imacs

2006-03-27 Thread Eduardo Trápani
Hi, I've been rewriting the linux apple sound driver completely with a much nicer layout :) It isn't really to be used too widely now but if anyone is motivated to help hacking there are some things that need sorting out and I'd certainly appreciate help :) I cannot offer help coding, but i

Re: sound on quad powermac/latest powerbooks/imacs

2006-03-24 Thread Johannes Berg
On Fri, 2006-03-24 at 16:26 +0200, Eddy Petrişor wrote: > So one could add now a codec over the lower layers? That's the plan, yes. > AFAICS my laptop* needs snapper[1]; I found it strinking that the > powerbook in question (5,2) hasn't mic support. There is also an > external mic input besides

Re: sound on quad powermac/latest powerbooks/imacs

2006-03-24 Thread Michael Schmitz
> > only output, no input etc.) > > Does the current experimental implementation support input? Kind of answers itself now? Michael -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: sound on quad powermac/latest powerbooks/imacs

2006-03-24 Thread Eddy Petrişor
On 3/24/06, Michael Schmitz <[EMAIL PROTECTED]> wrote: > > > only output, no input etc.) > > > > Does the current experimental implementation support input? > > Kind of answers itself now? I read the thread and saw that Johannes has made quite a few changes to the code, so, the question whould hav

Re: sound on quad powermac/latest powerbooks/imacs

2006-03-24 Thread Eddy Petrişor
On 3/24/06, Johannes Berg <[EMAIL PROTECTED]> wrote: > Hi, > > I've been rewriting the linux apple sound driver completely with a much > nicer layout :) > The result is currently actually working with very limited capabilities > (just 44.1KHz, 16 bit audio,...) on the onyx based machines (you get >

sound on quad powermac/latest powerbooks/imacs

2006-03-24 Thread Johannes Berg
Hi, I've been rewriting the linux apple sound driver completely with a much nicer layout :) The result is currently actually working with very limited capabilities (just 44.1KHz, 16 bit audio,...) on the onyx based machines (you get only output, no input etc.) Some more details are in this thread