Re: snd-aoa status update / automatic driver loading

2006-05-25 Thread Eddy Petrişor

On 5/23/06, Sjoerd Simons [EMAIL PROTECTED] wrote:

On Fri, May 19, 2006 at 11:20:29PM +1000, Paul Collins wrote:
 Johannes Berg [EMAIL PROTECTED] writes:

  On Thu, 2006-05-18 at 10:25 +0300, Eddy Petri??or wrote:
 
  Any chance for 5,2 ? What is needed for it? Codec only?
 
  I don't know. If you try loading the modules, the kernel will tell you
  something about an unhandled layout id. Alternatively, you can find the
  layout-id file in your /proc/device-tree/ and tell me the number in it.
  The rest I can figure out.

I wanted to test on my PowerBook5,2. Uhfortunately i can't find no layout-id
file for the sound device or any other layout-id file for that matter:


Same machine here; I have cloned the aoa repo and made it.
Insmod didn't work on any other module but the the soundbus, and
resulted in a missing symbol.

This is on a 2.16.17 kernel


--
Regards,
EddyP
=
Imagination is more important than knowledge A.Einstein


Re: snd-aoa status update / automatic driver loading

2006-05-25 Thread Benjamin Herrenschmidt
On Wed, 2006-05-24 at 11:42 +0200, Johannes Berg wrote:
 On Wed, 2006-05-24 at 08:15 +1000, Benjamin Herrenschmidt wrote:
   Right, that's how snd-powermac does it. It has the nasty side-effect of
   polluting the cache a lot though, since dbdma commands are 16 bytes
   long. Am I wrong?
  
  You don't have that much DBDMA commands that it would pollute the cache
  _a lot_ :) 
 
 Ah, yeah, I guess so. Well I do have 32 dbdma commands, them being
 spaced up in 16-bytes means 16 cachelines, no? I'm not sure how the
 cache is wired up ...

On a 32 bits CPU yes.

   Alsa calls this thing the 'pointer' :) The frame counter we currently
   use is the frame counter register of the i2s bus controller, and I don't
   see why we shouldn't do that instead of reading back all the dbdma
   command status fields.
  
  If you manage to have it properly in sync, that may work too.
 
 Seems to work fine so far, even if bcm43xx kills a few interrupts ;)

So it's bcm's fault ? Did you do a bit of analysis ? that would be
useful...

Ben.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: gobby 0.4.0-rc1 compiling problems

2006-05-25 Thread Matteo Bigoi - Bigo!
* Mon 22 May (18:52), Matteo Bigoi - Bigo! scrive:
 Hi,
 I'm trying to compile gobby 0.4.0-rc1 and I've a problem:
 I've compiled gobby with g++ 3.3, 3.4, 4.0, 4.1 and during the linking
 make says:
 
 /usr/lib/gcc/powerpc-linux-gnu/4.1.1/libstdc++.so: undefined reference to 
 [EMAIL PROTECTED]'
 collect2: ld returned 1 exit status
 
 Google doesn't want to help me ;-)
 
 Any ideas?

I've resolved the problem recompiling gcc 4.1!
Now I've gobby 0.4.0-rc1 on my iBook G4!
As soon as possible you can find a debian package in my unofficial
repository.

 
 I've attached the full log of the error because is quite long...
 

Ciao

Bigo!

-- 
La solita diatriba tra sviluppatori php:
Joomla o PostNuke?
No, JUovoBW!!!
[30/03/06 IcPlus Bo/Re]

---
| Registered Linux User # 365044  |
| |
|WEB:http://crisi.homelinux.net   |
|http://crisi.homelinux.net/~bigo |
|RADIO:  http://crisi.homelinux.net:8000/various_from_my_mind.mp3 |
|DEB:deb ftp://crisi.homelinux.net/debian/stable/i386 ./  |
|deb ftp://crisi.homelinux.net/debian/unstable/i386 ./|
|deb ftp://crisi.homelinux.net/debian/unstable/ppc ./ |
| |
| Please don't send me any Micro$oft attachments! |
---


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: snd-aoa status update / automatic driver loading

2006-05-25 Thread Johannes Berg
On Thu, 2006-05-25 at 18:00 +1000, Benjamin Herrenschmidt wrote:

 So it's bcm's fault ? Did you do a bit of analysis ? that would be
 useful...

I kinda assumed the list was lagging again and my brother had already
posted the solution. Yes, bcm does some measuring stuff that keeps
interrupts disabled for lots of milliseconds (25 or something). It's
being fixed.

I still think, however, that we ought to be able to deal with lost
interrupts.

johannes


signature.asc
Description: This is a digitally signed message part


Re: snd-aoa status update / automatic driver loading

2006-05-25 Thread Eddy Petrişor

On 5/25/06, Eddy Petrişor [EMAIL PROTECTED] wrote:

This is on a 2.16.17 kernel


err, 2.6.16.17

--
Regards,
EddyP
=
Imagination is more important than knowledge A.Einstein


can't find a way to type brackets on powerbook g3

2006-05-25 Thread domenico

Hello everyone,
I'm moving to linux and I installed debian sarge on my old powerbook g3 
(lombard). Everyting worked fine and I added window maker to get a 
confortable developing platform with vi and gcc.

But I'm not able to type square and curly brackets...
I was trying option+(), option+shift+(), alt+..., ctrl+... 
alt+shift+..., ctrl+shift+..., almost with every character on the keyboard
Then I tried to compose ascii code (option+fn+123...), unsuccessfully, 
so I made some search on google (even some group) with keywords like 
ascii debian ppc, linux keyboard powerbook... but I couldn't find 
anything...

where is my mistake?
thanks in advance
domenico


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Linux on Mac PPC vs AMD64

2006-05-25 Thread Richard

this may be a slight off subject,
however, I have a choice to purchase a dual g5 with 4gb of Ram,
or build a dual core AMD 64 with 8GB or Ram... the real question here,
is longevities.

Since Mac is dumping ppc is moving intel,
and AMD 64 is moving up the ranks... I was just thinking, if
I purchase the Mac, may have a problem of supported hardware
for ppc ???

please note: been a long time mac user since 1982,
however, open source is really taking over, and looking
to stay with the flow.


Regards
Rich



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: SMP PReP (was Re: The powerpc port should be removed from etch release candidates ...)

2006-05-25 Thread Troy Benjegerdes
On Thu, May 25, 2006 at 09:50:57AM +0200, Sven Luther wrote:
 On Wed, May 24, 2006 at 11:14:33PM -0500, Troy Benjegerdes wrote:
SMP never worked under Linux on those machines because the AIX boot
sequence to enable it was never successfully reverse-engineered.
   
   Ah, ok, then it makes no sense to build a special kernel for those, until 
   more
   information is found about the above.
  
  I have a Motorola MTX PreP system with dual 604e's that I can test this
  on.
 
 But you never managed to get SMP working on it, right ?

SMP works but I was having problems where it would crash after 3 or 4
months of uptime in the software raid1 code. This was with 2.4 kernels
though.. I have not tried a recent 2.6 kernel yet.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: [snd] looking for layout-ids

2006-05-25 Thread Paul Collins
Johannes Berg [EMAIL PROTECTED] writes:

 Hey,

 In order to replace snd-powermac for the newer machines where the
 'sound' node has the 'layout-id' property, I'm looking for testers on
 machines that have a layout-id [1] property with one of the following
 values: 0x24, 0x29, 0x33, 0x50 and 0x3a.

0x33 here.

-- 
Dag vijandelijk luchtschip de huismeester is dood


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: snd-aoa status update / automatic driver loading

2006-05-25 Thread Johannes Berg
On Thu, 2006-05-25 at 20:44 +0300, Eddy Petrişor wrote:
 On 5/18/06, Johannes Berg [EMAIL PROTECTED] wrote:
  On Thu, 2006-05-18 at 10:25 +0300, Eddy Petrişor wrote:
 
   Any chance for 5,2 ? What is needed for it? Codec only?
 
  I don't know. If you try loading the modules, the kernel will tell you
  something about an unhandled layout id. Alternatively, you can find the
  layout-id file in your /proc/device-tree/ and tell me the number in it.
  The rest I can figure out.
 
 I am not sure if you can make _now_ somethign out of this info, but I
 guess this is will not hurt:

Hrm, I keep forgetting that you don't have a layout-id property... I
need to sort some things, been doing so much other stuff that I lost
track. Sorry.

johannes


signature.asc
Description: This is a digitally signed message part


Re: can't find a way to type brackets on powerbook g3

2006-05-25 Thread Wolfgang Pfeiffer
On Thu, May 25, 2006 at 09:35:39PM +0200, domenico wrote:
 Hello everyone,
 I'm moving to linux and I installed debian sarge on my old powerbook g3 
 (lombard). Everyting worked fine and I added window maker to get a 
 confortable developing platform with vi and gcc.
 But I'm not able to type square and curly brackets...
 I was trying option+(), option+shift+(), alt+..., ctrl+... 
 alt+shift+..., ctrl+shift+..., almost with every character on the keyboard
 Then I tried to compose ascii code (option+fn+123...), unsuccessfully, 
 so I made some search on google (even some group) with keywords like 
 ascii debian ppc, linux keyboard powerbook... but I couldn't find 
 anything...
 where is my mistake?


I don't believe this was your mistake: IIRC I *never* had a working
notebook keyboard (DE) on Debian after a fresh install .. :) .. If
it's just your keyboard on X that does not seem to work, you might let
people know what keyboard layout you have: qwertz or qwerty, French,
Italian or English, etc. ... this way people could be able to send you
their .xmodmap file that you can test/load with a 'xmodmap .xmodmap'
(w/o the quotes)

I'm no sure whether with a recent X the following notes are still
helpful: How To Set Up Your Keyboard For X:
http://wolfgangpfeiffer.com/foolinglinux.html#keyboard

HTH

Best Regards
Wolfgang


-- 
Wolfgang Pfeiffer: /ICQ: 286585973/ + + +  /AIM: crashinglinux/
http://profiles.yahoo.com/wolfgangpfeiffer

Key ID: E3037113
http://keyserver.mine.nu/pks/lookup?search=0xE3037113fingerprint=on


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: can't find a way to type brackets on powerbook g3

2006-05-25 Thread Gabriel Paubert
On Thu, May 25, 2006 at 09:35:39PM +0200, domenico wrote:
 Hello everyone,
 I'm moving to linux and I installed debian sarge on my old powerbook g3 
 (lombard). Everyting worked fine and I added window maker to get a 
 confortable developing platform with vi and gcc.
 But I'm not able to type square and curly brackets...
 I was trying option+(), option+shift+(), alt+..., ctrl+... 
 alt+shift+..., ctrl+shift+..., almost with every character on the keyboard
 Then I tried to compose ascii code (option+fn+123...), unsuccessfully, 
 so I made some search on google (even some group) with keywords like 
 ascii debian ppc, linux keyboard powerbook... but I couldn't find 
 anything...
 where is my mistake?

What is your keyboard layout? US? Italian? Other?

Gabriel


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: [snd] looking for layout-ids

2006-05-25 Thread Johannes Berg
On Thu, 2006-05-25 at 23:11 +0100, Ken Moffat wrote:

  it seemed to build fine with this morning's git.  There were some
 messages during the build which might be important (I'm using
 gcc-4.1.0) but I guess they are probably standard alsa things :
 
   CC [M]  /home/ken/snd-aoa/soundbus/core.o
 In file included from /home/ken/snd-aoa/soundbus/soundbus.h:12,
  from /home/ken/snd-aoa/soundbus/core.c:12:
 include/sound/pcm.h:59: warning: ‘struct snd_pcm_substream’ declared
 inside parameter list
 include/sound/pcm.h:59: warning: its scope is only this definition
 or declaration, which is probably not what you want
 include/sound/pcm.h:60: warning: ‘struct snd_pcm_substream’ declared
 inside parameter list

Nah, those should not happen. What kernel are you building against?

 i2sbus: ! WARNING !
 i2sbus: control: couldn't allocate resource
 i2sbus: going ahead anyway

That's fine. Everyone gets it :)

johannes


signature.asc
Description: This is a digitally signed message part


Re: [snd] looking for layout-ids

2006-05-25 Thread Johannes Berg
Hey,

  How about 0x3c and 0x3d (PowerMac9,1) ?  I can't see anything in
 snd-aoa-fabric-layout that matches 60 or 61.  I last tried to play
 with this a few weeks ago, but gave up with what I assumed were
 config problems (undefined symbols) and had too many other things to
 get on with.

undefined symbols are usually because alsa isn't configured, or snd-pcm
isn't loaded.

  Certainly, this is one of the machines where loading snd-powermac
 is catastrophic.

Catastrophic? How so? Anyway, I don't care much :)

Anyway, if you want to give it a spin, try the latest snd-aoa (see
http://johannes.sipsolutions.net/Projects/snd-aoa/ for a description).
It should report an unknown layout, which are those two ones you
described above. I think you probably have a tas and topaz combination,
so if you get i2sbus to load, I might be able to give you a patch to
test.

johannes


signature.asc
Description: This is a digitally signed message part


Re: [snd] looking for layout-ids

2006-05-25 Thread Johannes Berg

  In order to replace snd-powermac for the newer machines where the
  'sound' node has the 'layout-id' property, I'm looking for testers on
  machines that have a layout-id [1] property with one of the following
  values: 0x24
 
 That would be mine, but it has the problem of the broken device tree, so
 i2sbus doesn't work yet.

Ah, right. I'll have to check with Ben a bit more when he comes back. He
seemed to have half of a plan ;)

  [2] Before you ask: I will not do this before snd-aoa supports headphone
  detection :)
 
 Another important feature would be DRC, IMHO.

Yeah, I guess, but that's only doable with the tas codec. I don't think
it's hard, if anyone wnats to try: the tas datasheet is in my
repository, and all you need to do is modify the tas codec to show the
controls for that. Could also use some bass/treble controls.

If we want DRC even for the other machines, that's an alsa userspace
thing since it needs a soft-DSP then.

johannes


signature.asc
Description: This is a digitally signed message part


Re: [snd] looking for layout-ids

2006-05-25 Thread Andreas Schwab
Johannes Berg [EMAIL PROTECTED] writes:

 In order to replace snd-powermac for the newer machines where the
 'sound' node has the 'layout-id' property, I'm looking for testers on
 machines that have a layout-id [1] property with one of the following
 values: 0x24

That would be mine, but it has the problem of the broken device tree, so
i2sbus doesn't work yet.

 [2] Before you ask: I will not do this before snd-aoa supports headphone
 detection :)

Another important feature would be DRC, IMHO.

Andreas.

-- 
Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
And now for something completely different.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Linux on Mac PPC vs AMD64

2006-05-25 Thread Jack Malmostoso
On Thu, 25 May 2006 17:30:07 +0200, Richard wrote:

 I was just thinking, if I purchase the Mac, may have a problem of
 supported hardware for ppc ???

I would go for the AMD64 machine, given its compatibility with IA-32 (that
comes in handy) and the low cost.

Please note I have no clue whatsoever about performance differences.

-- 
Best Regards, Jack
Linux User #264449
Powered by Debian GNU/Linux on AMD64


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: SMP PReP (was Re: The powerpc port should be removed from etch release candidates ...)

2006-05-25 Thread Sven Luther
On Wed, May 24, 2006 at 11:14:33PM -0500, Troy Benjegerdes wrote:
   SMP never worked under Linux on those machines because the AIX boot
   sequence to enable it was never successfully reverse-engineered.
  
  Ah, ok, then it makes no sense to build a special kernel for those, until 
  more
  information is found about the above.
 
 I have a Motorola MTX PreP system with dual 604e's that I can test this
 on.

But you never managed to get SMP working on it, right ?

Friendly,

Sven Luther


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: SMP PReP (was Re: The powerpc port should be removed from etch release candidates ...)

2006-05-25 Thread Troy Benjegerdes
On Sun, May 21, 2006 at 05:00:15PM +0200, Sven Luther wrote:
 On Fri, May 19, 2006 at 07:09:08PM -0700, Daniel Gimpelevich wrote:
  On Thu, 04 May 2006 23:41:28 +0200, Sven Luther wrote:
  
   On Thu, May 04, 2006 at 10:52:49AM -0500, Olof Johansson wrote:
   On Thu, May 04, 2006 at 12:12:56PM +0200, Gabriel Paubert wrote:
On Thu, May 04, 2006 at 08:41:34AM +0200, Sven Luther wrote:
 On Thu, May 04, 2006 at 04:38:07PM +1000, Benjamin Herrenschmidt 
 wrote:
  
   Hey, cool. so ARCH=ppc will work both for apus and prep, and the 
   rest should
   go with ARCH=powerpc. This is the case both for 2.6.16 and the 
   upcoming
   2.6.17, right ?
  
  I don't remember when he fixed it precisely but I think 2.6.16 got 
  it
  yes.
 
 Do you know if there are SMP PReP machines around ? I think i will 
 do only a
 UP -prep flavour.

There were at least dual 604 PreP boards. 
   
   The IBM 7043-240 is a dual-cpu system, I think it's PReP?
   
   Thanks for the info.
   
   Friendly,
   
   Sven Luther
  
  SMP never worked under Linux on those machines because the AIX boot
  sequence to enable it was never successfully reverse-engineered.
 
 Ah, ok, then it makes no sense to build a special kernel for those, until more
 information is found about the above.

I have a Motorola MTX PreP system with dual 604e's that I can test this
on.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: snd-aoa status update / automatic driver loading

2006-05-25 Thread Eddy Petrişor

On 5/18/06, Johannes Berg [EMAIL PROTECTED] wrote:

On Thu, 2006-05-18 at 10:25 +0300, Eddy Petrişor wrote:

 Any chance for 5,2 ? What is needed for it? Codec only?

I don't know. If you try loading the modules, the kernel will tell you
something about an unhandled layout id. Alternatively, you can find the
layout-id file in your /proc/device-tree/ and tell me the number in it.
The rest I can figure out.


I am not sure if you can make _now_ somethign out of this info, but I
guess this is will not hurt:

http://lists.debian.org/debian-powerpc/2006/04/msg00059.html
http://lists.debian.org/debian-powerpc/2006/04/msg00063.html

--
Regards,
EddyP
=
Imagination is more important than knowledge A.Einstein