Re: Firewire HDs, Sleep, and Sound

2005-04-10 Thread Ray Kohler
I turned up DRC and got sound to work! I never even
looked at the odd channels in the mixer - in fact I
had to google to find out what DRC was (and found it
in one of your (benh's) own posts, heh). PEBKAC as
usual.

I'll take the sbp2 issue over to the linux1394-user
list. I'm so used to thinking of Firewire as an Apple
thing I had forgotten that it's actually
cross-platform.

I'll give up on the sleep, as I'm not in the market
for  new hardware now ;<)

-Ray


--- Benjamin Herrenschmidt <[EMAIL PROTECTED]>
wrote:
> On Sat, 2005-04-09 at 23:43 -0700, Ray Kohler wrote:
> > --- Benjamin Herrenschmidt
> <[EMAIL PROTECTED]>
> > wrote:
> > > On Fri, 2005-04-08 at 23:53 -0700, Ray Kohler
> wrote:
> > > > 2) Sound only partially works (Snapper). In
> > > > particular, only the internal speaker works. I
> > > have
> > > > some external speakers connected to the
> > > > Headphone/Line-out jack. snd-powermac is
> loaded.
> > > > alsamixer &c won't let me unmute that device.
> > > 
> > > Hrm... That should work ! Can you send me a
> tarball
> > > of /proc/device-tree
> > > of your machine ?
> > 
> > It's attached.
> 
> I don 't see anything obvious ... have you tried
> playing with things
> like DRC etc... ?
> 
> Ben.
> 
> 
> 



__ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/


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



Re: Firewire HDs, Sleep, and Sound

2005-04-09 Thread Benjamin Herrenschmidt
On Fri, 2005-04-08 at 23:53 -0700, Ray Kohler wrote:
> I have here a new install of Debian PPC on a desktop
> PowerMac (the Windtunnel). I'm running Sid with kernel
> 2.6.11. Most everything works fine, but I've got a few
> problems/questions that I couldn't track down. I'm new
> to Debian PPC, but not new to either Debian or PPC in
> general, so you don't have to be too gentle on me ;)
> 
> 1) I have a Firewire HD that I can't get to work. It's
> an OWC Mercury disk. When I plug it in, I see this in
> the logs:

for that one, I'll let you deal with the folks on linux-1394 mailing
list.

> 2) Sound only partially works (Snapper). In
> particular, only the internal speaker works. I have
> some external speakers connected to the
> Headphone/Line-out jack. snd-powermac is loaded.
> alsamixer &c won't let me unmute that device.

Hrm... That should work ! Can you send me a tarball of /proc/device-tree
of your machine ?

> 3) Can I suspend this machine, either to RAM or to
> disk? I saw some tools for doing it on a laptop (pmud)
> - will these work on this desktop model?

Suspend-to-ram is "partially" supported. That is, I have code that will
suspend-to-ram and wake up the machine, and I have code that deals even
with doing so on SMP (is your machine SMP ?), but the problem is to
rvive the video card. So it pretty much depends what video card you have
in there... If it's an nvidia, it's hopeless. If it's an ATI, I can
probably make it work, though it might require some time ... What does
lspci says ?

> Thanks for any help you can give me. Hope these aren't
> asked too frequently - after 21 hours awake, I'm too
> tired to find these previous posts if they exist ;)
> 
> -Ray
> 
> 
>   
> __ 
> Do you Yahoo!? 
> Yahoo! Small Business - Try our new resources site!
> http://smallbusiness.yahoo.com/resources/
> 
> 
-- 
Benjamin Herrenschmidt <[EMAIL PROTECTED]>


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



Re: Firewire HDs, Sleep, and Sound

2005-04-09 Thread Colin Leroy
On 08 Apr 2005 at 23h04, Ray Kohler wrote:

Hi, 

> 1) I have a Firewire HD that I can't get to work. It's
> an OWC Mercury disk. When I plug it in, I see this in
> the logs:

My ipod doesn't work over firewire here neither, using 2.6.12-rc2.
The sad thing with iPods are that they're so big that I don't remember
at all what version did work :-)

-- 
Colin


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



Re: Firewire HDs, Sleep, and Sound

2005-04-09 Thread Ray Kohler
--- Wolfgang Pfeiffer <[EMAIL PROTECTED]> wrote:
> On Fri, Apr 08, 2005 at 11:53:52PM -0700, Ray Kohler
> wrote:
> > I have here a new install of Debian PPC on a
> desktop
> > PowerMac (the Windtunnel). I'm running Sid with
> kernel
> > 2.6.11. Most everything works fine, but I've got a
> few
> > problems/questions that I couldn't track down. I'm
> new
> > to Debian PPC, but not new to either Debian or PPC
> in
> > general, so you don't have to be too gentle on me
> ;)
> > 
> > 1) I have a Firewire HD that I can't get to work.
> It's
> > an OWC Mercury disk. When I plug it in, I see this
> in
> > the logs:
> > 
> > Apr  9 00:45:50 arkadia kernel: ieee1394: got
> invalid
> > ack 252 from node 65473 (tcode 4)
> > [ ... ]
> 
> SCSI is shaky here, on a Powerbook G4 /2.6.10, too
> :)
> 
> Did you try to shut down the firewire modules, and
> then reload them? 
> 
> Something like:
> 
> 1:
> modprobe -r eth1394  ohci1394 sbp2 sd_mod sg
> 
> 2:
> modprobe -r iee1394 scsi_mod
> 
> 3:
> modprobe iee1394 scsi_mod
> 
> 4:
> modprobe eth1394  ohci1394 sbp2 sd_mod sg

Did that. I unloaded everything here, and then
modprobe'd sbp2 again. Nothing works.

> > 2) Sound only partially works (Snapper). In
> > particular, only the internal speaker works. I
> have
> > some external speakers connected to the
> > Headphone/Line-out jack. snd-powermac is loaded.
> > alsamixer &c won't let me unmute that device.
> 
> I had lots of problems getting alsa sound to work
> here:
> 
> Please:
> Go to alsamixer, check the values for
> "PC Speak" and "Auto Mut", write down the current
> values. Then start
> toggling their settings by pressing "m": My default
> values here are
> 
> 
>   MM 00
> PC Speak   Auto Mut
> 
> 
> Right now I changed them to
> 
>   00 MM
> PC Speak   Auto Mut
> 
> and with the latter setting both the external
> speakers and the built-in
> ones of the computer are enabled. If this does not
> help: Did you try
> unloading/loading the sound modules?

I have loaded and unloaded them many times. PC speaker
and Auto Mute are both on. Headphone has no volume
showing, just "00" or "MM" as choices.
 
> In alsamixer: PCM is up?

Yes, PCM is up.

> The modules:
> Here:
>  lsmod | grep snd
> snd_powermac   48132  3 
> snd_pcm_oss67940  0 
> snd_mixer_oss  23296  1 snd_pcm_oss
> snd_pcm   115128  2
> snd_powermac,snd_pcm_oss
> snd_timer  29316  1 snd_pcm
> snd67992  11
>
snd_powermac,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
> soundcore  11876  1 snd
> snd_page_alloc 11620  1 snd_pcm

Looks like mine.

-Ray



__ 
Yahoo! Mail Mobile 
Take Yahoo! Mail with you! Check email on your mobile phone. 
http://mobile.yahoo.com/learn/mail 


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



Re: Firewire HDs, Sleep, and Sound

2005-04-09 Thread Wolfgang Pfeiffer
On Fri, Apr 08, 2005 at 11:53:52PM -0700, Ray Kohler wrote:
> I have here a new install of Debian PPC on a desktop
> PowerMac (the Windtunnel). I'm running Sid with kernel
> 2.6.11. Most everything works fine, but I've got a few
> problems/questions that I couldn't track down. I'm new
> to Debian PPC, but not new to either Debian or PPC in
> general, so you don't have to be too gentle on me ;)
> 
> 1) I have a Firewire HD that I can't get to work. It's
> an OWC Mercury disk. When I plug it in, I see this in
> the logs:
> 
> Apr  9 00:45:50 arkadia kernel: ieee1394: got invalid
> ack 252 from node 65473 (tcode 4)
> [ ... ]

SCSI is shaky here, on a Powerbook G4 /2.6.10, too :)

Did you try to shut down the firewire modules, and then reload them? 

Something like:

1:
modprobe -r eth1394  ohci1394 sbp2 sd_mod sg

2:
modprobe -r iee1394 scsi_mod

3:
modprobe iee1394 scsi_mod

4:
modprobe eth1394  ohci1394 sbp2 sd_mod sg

> 
> 2) Sound only partially works (Snapper). In
> particular, only the internal speaker works. I have
> some external speakers connected to the
> Headphone/Line-out jack. snd-powermac is loaded.
> alsamixer &c won't let me unmute that device.

I had lots of problems getting alsa sound to work here:

Please:
Go to alsamixer, check the values for
"PC Speak" and "Auto Mut", write down the current values. Then start
toggling their settings by pressing "m": My default values here are


  MM 00
PC Speak   Auto Mut


Right now I changed them to

  00 MM
PC Speak   Auto Mut

and with the latter setting both the external speakers and the built-in
ones of the computer are enabled. If this does not help: Did you try
unloading/loading the sound modules?

In alsamixer: PCM is up?

The modules:
Here:
 lsmod | grep snd
snd_powermac   48132  3 
snd_pcm_oss67940  0 
snd_mixer_oss  23296  1 snd_pcm_oss
snd_pcm   115128  2 snd_powermac,snd_pcm_oss
snd_timer  29316  1 snd_pcm
snd67992  11 
snd_powermac,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore  11876  1 snd
snd_page_alloc 11620  1 snd_pcm


I just did
/etc/init.d/alsa force-reload

and it killed my whole sound system, including pbbuttonsd, as it
seems .. :) ... and only after restarting pbbuttinsd I got sound back
here, IIRC ... :


apt-cache show pbbuttonsd [Excerpt:]

" PBButtons is a program suite to handle the special hotkeys of an Apple
 iBook, Powerbook or TiBook.
 With this programs the keys for the display brightness, the volume of
 speaker and headphone, the mute key and the eject key will do their job
 as expected."

If I understand your next question below perhaps the fact you don't
have installed something like pbbuttonsd, or an equivalent for your
machine, might be a reason sound does not work as it should on your
machine: Anyone out there knowing more on that?

> 
> 3) Can I suspend this machine, either to RAM or to disk? I saw some
> tools for doing it on a laptop (pmud) - will these work on this
> desktop model?

Like above:
I don't know your machine, so anyone out there knowing what
power/sound management tool he needs? Something like a pbbuttonsd
equivalent for Windtunnel? ..

Good luck

Regards
Wolfgang


PS: I hope my mail editor/me didn't change your quoted message, except
for reformatting the line wrapping, perhaps ... Sorry if it/I did ... 

-- 
Wolfgang Pfeiffer
http://profiles.yahoo.com/wolfgangpfeiffer


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



Firewire HDs, Sleep, and Sound

2005-04-08 Thread Ray Kohler
I have here a new install of Debian PPC on a desktop
PowerMac (the Windtunnel). I'm running Sid with kernel
2.6.11. Most everything works fine, but I've got a few
problems/questions that I couldn't track down. I'm new
to Debian PPC, but not new to either Debian or PPC in
general, so you don't have to be too gentle on me ;)

1) I have a Firewire HD that I can't get to work. It's
an OWC Mercury disk. When I plug it in, I see this in
the logs:

Apr  9 00:45:50 arkadia kernel: ieee1394: got invalid
ack 252 from node 65473 (tcode 4)
Apr  9 00:45:51 arkadia last message repeated 2 times
Apr  9 00:45:51 arkadia kernel: ieee1394: Error
parsing configrom for node 0-01:1023
Apr  9 00:45:51 arkadia kernel: ieee1394: The root
node is not cycle master capable; selecting a new root
node and resetting...
Apr  9 00:45:52 arkadia kernel: ieee1394: got invalid
ack 252 from node 65472 (tcode 4)
Apr  9 00:45:52 arkadia last message repeated 2 times
Apr  9 00:45:53 arkadia kernel: ieee1394: Error
parsing configrom for node 0-00:1023
Apr  9 00:45:53 arkadia kernel: ieee1394: Node
changed: 0-00:1023 -> 0-01:1023
Apr  9 00:45:56 arkadia kernel: ieee1394: got invalid
ack 252 from node 65472 (tcode 4)
Apr  9 00:45:56 arkadia last message repeated 2 times
Apr  9 00:45:57 arkadia kernel: ieee1394: Error
parsing configrom for node 0-00:1023

Nothing shows in /proc/scsi/scsi. I've tried being
creative with the ordering of module loading vs.
plugging in the disk, but no change.

2) Sound only partially works (Snapper). In
particular, only the internal speaker works. I have
some external speakers connected to the
Headphone/Line-out jack. snd-powermac is loaded.
alsamixer &c won't let me unmute that device.

3) Can I suspend this machine, either to RAM or to
disk? I saw some tools for doing it on a laptop (pmud)
- will these work on this desktop model?

Thanks for any help you can give me. Hope these aren't
asked too frequently - after 21 hours awake, I'm too
tired to find these previous posts if they exist ;)

-Ray



__ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/


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