Re: i810_audio broken?

2001-04-23 Thread Doug Ledford

Chmouel Boudjnah wrote:
> 
> "Pawel Worach" <[EMAIL PROTECTED]> writes:
> 
> > I was using mpg123 (xmms and c/o does exactly the same)
> > if I run it like this Moby sounds very stupid... :)
> 
> i got the same problem when using mpg123 compiled with esd on my dell
> workstation (which has a need to have set explictely to a clocking of
> 41194 via ftsodell option), compiling without esd seems fix the prob
> for me.

The latest i810 driver does away with the ftsodell option entirely and should
work on your laptop without having to do anything special.

-- 

 Doug Ledford <[EMAIL PROTECTED]>  http://people.redhat.com/dledford
  Please check my web site for aic7xxx updates/answers before
  e-mailing me about problems
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: i810_audio broken?t

2001-04-23 Thread Alan Cox

> Are you guys running esd with any special arguments?
> 
> esd needs a special argument, -r RATE [iirc], in order to tell esd that
> it is dealing with a locked rate codec.

48Khz esound support was fixed the day I got an i810 board 8). Its the
rate conversions it cant handle
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: i810_audio broken?

2001-04-23 Thread Alan Cox

> Ok building mpg123 without eSound worked for me too,
> so guess this is not a Linux kernel issue, sorry for this.

Excellent.

> eSound sux?

esound has very broken rate conversion support (it converts the audio but rather
damages it on the way). Gnome is moving towards using the KDE arts daemon which
currently seems to get it right.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: i810_audio broken?

2001-04-23 Thread Pawel Worach

Ok i'll try :)

It's a little bit slow and the high tones get kind of very high
The first track of Moby Play sounds like you mixed Moby with
Donald Duck (but it not fast), like I said it's hard to describe sound
in text. :)

I can record it on another box and give You the result if You like? :)

- Original Message -
From: Alan Cox <[EMAIL PROTECTED]>
Date: Tuesday, April 24, 2001 1:02 am
Subject: Re: i810_audio broken?

> > I was using mpg123 (xmms and c/o does exactly the same)
> > if I run it like this Moby sounds very stupid... :)
> > [root@whyami mp3]# mpg123 -r 48000 Moby_01.wav.mp3 
> > unsupported playback rate: 44100
> > Audio device open for 44.1Khz, stereo, 16bit failed
> > Trying 44.1Khz, 8bit stereo.
> > unsupported sound format: 32
> > Audio device open for 44.1Khz, stereo, 8bit failed
> > Trying 48Khz, 16bit stereo.
> 
> Ok so its trying to do the right thing. Can you describe what it 
> sounds like
> better ?
> 
> 


begin:vcard
n:Worach;Pawel
fn:Pawel Worach
version:2.1
email;internet:[EMAIL PROTECTED]
end:vcard



Re: i810_audio broken?

2001-04-23 Thread David Woodhouse


[EMAIL PROTECTED] said:
>  esd needs a special argument, -r RATE [iirc], in order to tell esd
> that it is dealing with a locked rate codec.

Isn't there an ioctl for that?

--
dwmw2


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: i810_audio broken?

2001-04-23 Thread Pawel Worach

Ok building mpg123 without eSound worked for me too,
so guess this is not a Linux kernel issue, sorry for this.

I tried the fstodell hack but it seems to be obsoluted.
Now it works without any tweaks.

eSound sux?

Thanks guys!
Back to work (with music :)

- Original Message -
From: Chmouel Boudjnah <[EMAIL PROTECTED]>
Date: Tuesday, April 24, 2001 1:34 am
Subject: Re: i810_audio broken?

> "Pawel Worach" <[EMAIL PROTECTED]> writes:
> 
> > I was using mpg123 (xmms and c/o does exactly the same)
> > if I run it like this Moby sounds very stupid... :)
> 
> i got the same problem when using mpg123 compiled with esd on my dell
> workstation (which has a need to have set explictely to a clocking of
> 41194 via ftsodell option), compiling without esd seems fix the prob
> for me.
> 
> -- 
> Chmouel
> 


begin:vcard
n:Worach;Pawel
fn:Pawel Worach
version:2.1
email;internet:[EMAIL PROTECTED]
end:vcard



Re: i810_audio broken?

2001-04-23 Thread Pawel Worach

It sounds like when you play music very loud with bad speakers
and it's kind of slow. It's kind of "clinking", describing sound via
e-mail can be very hard.

what value shall i put for the clocking parameter?
is it trial-and-error or is there some formula?

And no, the cut off output does not mean that it worked. :(
xmms says this:
Audio device open for 44.1Khz, stereo, 8bit failed
Trying 48Khz, 16bit stereo.
But it still sounds strange.


- Original Message -
From: Jeff Garzik <[EMAIL PROTECTED]>
Date: Tuesday, April 24, 2001 0:07 am
Subject: Re: i810_audio broken?

> Pawel Worach wrote:
> > sorry the kernel version is 2.4.3-ac12, so it's kind of latest...
> > 
> > I was using mpg123 (xmms and c/o does exactly the same)
> > if I run it like this Moby sounds very stupid... :)
> 
> "very stupid" means "broken" obviously, but can you be more 
> specific? 
> music is faster? slower?  garbled?
> 
> > [root@whyami mp3]# mpg123 -r 48000 Moby_01.wav.mp3
> > unsupported playback rate: 44100
> > Audio device open for 44.1Khz, stereo, 16bit failed
> > Trying 44.1Khz, 8bit stereo.
> > unsupported sound format: 32
> > Audio device open for 44.1Khz, stereo, 8bit failed
> > Trying 48Khz, 16bit stereo.
> 
> so, since you provided no more output than this, I assume that
> 48Khz/16bit succeeded, which appears perfectly normal for a locked-
> ratecodec.
> 
> You may need the 'clocking' module option, not sure...
> 
> -- 
> Jeff Garzik  | The difference between America and England is that
> Building 1024| the English think 100 miles is a long distance and
> MandrakeSoft | the Americans think 100 years is a long time.
> |  (random fortune)
> 


begin:vcard
n:Worach;Pawel
fn:Pawel Worach
version:2.1
email;internet:[EMAIL PROTECTED]
end:vcard



Re: i810_audio broken?

2001-04-23 Thread Chmouel Boudjnah

"Pawel Worach" <[EMAIL PROTECTED]> writes:

> I was using mpg123 (xmms and c/o does exactly the same)
> if I run it like this Moby sounds very stupid... :)

i got the same problem when using mpg123 compiled with esd on my dell
workstation (which has a need to have set explictely to a clocking of
41194 via ftsodell option), compiling without esd seems fix the prob
for me.

-- 
Chmouel
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: i810_audio broken?

2001-04-23 Thread Jeff Garzik

Pawel Worach wrote:
> sorry the kernel version is 2.4.3-ac12, so it's kind of latest...
> 
> I was using mpg123 (xmms and c/o does exactly the same)
> if I run it like this Moby sounds very stupid... :)

"very stupid" means "broken" obviously, but can you be more specific? 
music is faster? slower?  garbled?

> [root@whyami mp3]# mpg123 -r 48000 Moby_01.wav.mp3
> unsupported playback rate: 44100
> Audio device open for 44.1Khz, stereo, 16bit failed
> Trying 44.1Khz, 8bit stereo.
> unsupported sound format: 32
> Audio device open for 44.1Khz, stereo, 8bit failed
> Trying 48Khz, 16bit stereo.

so, since you provided no more output than this, I assume that
48Khz/16bit succeeded, which appears perfectly normal for a locked-rate
codec.

You may need the 'clocking' module option, not sure...

-- 
Jeff Garzik  | The difference between America and England is that
Building 1024| the English think 100 miles is a long distance and
MandrakeSoft | the Americans think 100 years is a long time.
 |  (random fortune)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: i810_audio broken?

2001-04-23 Thread Pawel Worach

sorry the kernel version is 2.4.3-ac12, so it's kind of latest...

I was using mpg123 (xmms and c/o does exactly the same)
if I run it like this Moby sounds very stupid... :)
[root@whyami mp3]# mpg123 -r 48000 Moby_01.wav.mp3 
unsupported playback rate: 44100
Audio device open for 44.1Khz, stereo, 16bit failed
Trying 44.1Khz, 8bit stereo.
unsupported sound format: 32
Audio device open for 44.1Khz, stereo, 8bit failed
Trying 48Khz, 16bit stereo.

Cheers
Pawel Worach
PostGirot Bank AB
- Original Message -
From: Alan Cox <[EMAIL PROTECTED]>
Date: Monday, April 23, 2001 9:53 pm
Subject: Re: i810_audio broken?

> > The i810 audio driver is broken on my Fujitsu Lifebook
> > S-4546. All output is just noise. Here is a snip's from
> > the kernel log.
> > 
> > Intel 810 + AC97 Audio, version 0.02, 19:41:16 Apr 23 2001
> > PCI: Found IRQ 9 for device 00:00.1
> > PCI: The same IRQ used for device 00:00.2
> > PCI: The same IRQ used for device 00:13.1
> > PCI: Setting latency timer of device 00:00.1 to 64
> > i810: Intel 440MX found at IO 0x1cc0 and 0x1000, IRQ 9
> > ac97_codec: AC97 Audio codec, id: 0x594d:0x4800 (Unknown)
> > i810_audio: only 48Khz playback available
> 
> The dump looks fine. Its a cheap and cheeerful codec however by the 
> look of it.
> Make sure the applications you use properly handle 48Khz only 
> audio. That
> may be the problem or maybe not.
> 
> Also try the very latest kernels as a fair bit of work has been 
> done on them
> 
> 


begin:vcard
n:Worach;Pawel
fn:Pawel Worach
version:2.1
email;internet:[EMAIL PROTECTED]
end:vcard



Re: i810_audio broken?

2001-04-23 Thread Alan Cox

> The i810 audio driver is broken on my Fujitsu Lifebook
> S-4546. All output is just noise. Here is a snip's from
> the kernel log.
> 
> Intel 810 + AC97 Audio, version 0.02, 19:41:16 Apr 23 2001
> PCI: Found IRQ 9 for device 00:00.1
> PCI: The same IRQ used for device 00:00.2
> PCI: The same IRQ used for device 00:13.1
> PCI: Setting latency timer of device 00:00.1 to 64
> i810: Intel 440MX found at IO 0x1cc0 and 0x1000, IRQ 9
> ac97_codec: AC97 Audio codec, id: 0x594d:0x4800 (Unknown)
> i810_audio: only 48Khz playback available

The dump looks fine. Its a cheap and cheeerful codec however by the look of it.
Make sure the applications you use properly handle 48Khz only audio. That
may be the problem or maybe not.

Also try the very latest kernels as a fair bit of work has been done on them

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: i810_audio broken?

2001-04-23 Thread Alan Cox

 The i810 audio driver is broken on my Fujitsu Lifebook
 S-4546. All output is just noise. Here is a snip's from
 the kernel log.
 
 Intel 810 + AC97 Audio, version 0.02, 19:41:16 Apr 23 2001
 PCI: Found IRQ 9 for device 00:00.1
 PCI: The same IRQ used for device 00:00.2
 PCI: The same IRQ used for device 00:13.1
 PCI: Setting latency timer of device 00:00.1 to 64
 i810: Intel 440MX found at IO 0x1cc0 and 0x1000, IRQ 9
 ac97_codec: AC97 Audio codec, id: 0x594d:0x4800 (Unknown)
 i810_audio: only 48Khz playback available

The dump looks fine. Its a cheap and cheeerful codec however by the look of it.
Make sure the applications you use properly handle 48Khz only audio. That
may be the problem or maybe not.

Also try the very latest kernels as a fair bit of work has been done on them

-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: i810_audio broken?

2001-04-23 Thread Pawel Worach

sorry the kernel version is 2.4.3-ac12, so it's kind of latest...

I was using mpg123 (xmms and c/o does exactly the same)
if I run it like this Moby sounds very stupid... :)
[root@whyami mp3]# mpg123 -r 48000 Moby_01.wav.mp3 
unsupported playback rate: 44100
Audio device open for 44.1Khz, stereo, 16bit failed
Trying 44.1Khz, 8bit stereo.
unsupported sound format: 32
Audio device open for 44.1Khz, stereo, 8bit failed
Trying 48Khz, 16bit stereo.

Cheers
Pawel Worach
PostGirot Bank AB
- Original Message -
From: Alan Cox [EMAIL PROTECTED]
Date: Monday, April 23, 2001 9:53 pm
Subject: Re: i810_audio broken?

  The i810 audio driver is broken on my Fujitsu Lifebook
  S-4546. All output is just noise. Here is a snip's from
  the kernel log.
  
  Intel 810 + AC97 Audio, version 0.02, 19:41:16 Apr 23 2001
  PCI: Found IRQ 9 for device 00:00.1
  PCI: The same IRQ used for device 00:00.2
  PCI: The same IRQ used for device 00:13.1
  PCI: Setting latency timer of device 00:00.1 to 64
  i810: Intel 440MX found at IO 0x1cc0 and 0x1000, IRQ 9
  ac97_codec: AC97 Audio codec, id: 0x594d:0x4800 (Unknown)
  i810_audio: only 48Khz playback available
 
 The dump looks fine. Its a cheap and cheeerful codec however by the 
 look of it.
 Make sure the applications you use properly handle 48Khz only 
 audio. That
 may be the problem or maybe not.
 
 Also try the very latest kernels as a fair bit of work has been 
 done on them
 
 


begin:vcard
n:Worach;Pawel
fn:Pawel Worach
version:2.1
email;internet:[EMAIL PROTECTED]
end:vcard



Re: i810_audio broken?

2001-04-23 Thread Jeff Garzik

Pawel Worach wrote:
 sorry the kernel version is 2.4.3-ac12, so it's kind of latest...
 
 I was using mpg123 (xmms and c/o does exactly the same)
 if I run it like this Moby sounds very stupid... :)

very stupid means broken obviously, but can you be more specific? 
music is faster? slower?  garbled?

 [root@whyami mp3]# mpg123 -r 48000 Moby_01.wav.mp3
 unsupported playback rate: 44100
 Audio device open for 44.1Khz, stereo, 16bit failed
 Trying 44.1Khz, 8bit stereo.
 unsupported sound format: 32
 Audio device open for 44.1Khz, stereo, 8bit failed
 Trying 48Khz, 16bit stereo.

so, since you provided no more output than this, I assume that
48Khz/16bit succeeded, which appears perfectly normal for a locked-rate
codec.

You may need the 'clocking' module option, not sure...

-- 
Jeff Garzik  | The difference between America and England is that
Building 1024| the English think 100 miles is a long distance and
MandrakeSoft | the Americans think 100 years is a long time.
 |  (random fortune)
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: i810_audio broken?

2001-04-23 Thread Chmouel Boudjnah

Pawel Worach [EMAIL PROTECTED] writes:

 I was using mpg123 (xmms and c/o does exactly the same)
 if I run it like this Moby sounds very stupid... :)

i got the same problem when using mpg123 compiled with esd on my dell
workstation (which has a need to have set explictely to a clocking of
41194 via ftsodell option), compiling without esd seems fix the prob
for me.

-- 
Chmouel
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: i810_audio broken?

2001-04-23 Thread Pawel Worach

It sounds like when you play music very loud with bad speakers
and it's kind of slow. It's kind of clinking, describing sound via
e-mail can be very hard.

what value shall i put for the clocking parameter?
is it trial-and-error or is there some formula?

And no, the cut off output does not mean that it worked. :(
xmms says this:
Audio device open for 44.1Khz, stereo, 8bit failed
Trying 48Khz, 16bit stereo.
But it still sounds strange.


- Original Message -
From: Jeff Garzik [EMAIL PROTECTED]
Date: Tuesday, April 24, 2001 0:07 am
Subject: Re: i810_audio broken?

 Pawel Worach wrote:
  sorry the kernel version is 2.4.3-ac12, so it's kind of latest...
  
  I was using mpg123 (xmms and c/o does exactly the same)
  if I run it like this Moby sounds very stupid... :)
 
 very stupid means broken obviously, but can you be more 
 specific? 
 music is faster? slower?  garbled?
 
  [root@whyami mp3]# mpg123 -r 48000 Moby_01.wav.mp3
  unsupported playback rate: 44100
  Audio device open for 44.1Khz, stereo, 16bit failed
  Trying 44.1Khz, 8bit stereo.
  unsupported sound format: 32
  Audio device open for 44.1Khz, stereo, 8bit failed
  Trying 48Khz, 16bit stereo.
 
 so, since you provided no more output than this, I assume that
 48Khz/16bit succeeded, which appears perfectly normal for a locked-
 ratecodec.
 
 You may need the 'clocking' module option, not sure...
 
 -- 
 Jeff Garzik  | The difference between America and England is that
 Building 1024| the English think 100 miles is a long distance and
 MandrakeSoft | the Americans think 100 years is a long time.
 |  (random fortune)
 


begin:vcard
n:Worach;Pawel
fn:Pawel Worach
version:2.1
email;internet:[EMAIL PROTECTED]
end:vcard



Re: i810_audio broken?

2001-04-23 Thread Pawel Worach

Ok building mpg123 without eSound worked for me too,
so guess this is not a Linux kernel issue, sorry for this.

I tried the fstodell hack but it seems to be obsoluted.
Now it works without any tweaks.

eSound sux?

Thanks guys!
Back to work (with music :)

- Original Message -
From: Chmouel Boudjnah [EMAIL PROTECTED]
Date: Tuesday, April 24, 2001 1:34 am
Subject: Re: i810_audio broken?

 Pawel Worach [EMAIL PROTECTED] writes:
 
  I was using mpg123 (xmms and c/o does exactly the same)
  if I run it like this Moby sounds very stupid... :)
 
 i got the same problem when using mpg123 compiled with esd on my dell
 workstation (which has a need to have set explictely to a clocking of
 41194 via ftsodell option), compiling without esd seems fix the prob
 for me.
 
 -- 
 Chmouel
 


begin:vcard
n:Worach;Pawel
fn:Pawel Worach
version:2.1
email;internet:[EMAIL PROTECTED]
end:vcard



Re: i810_audio broken?

2001-04-23 Thread David Woodhouse


[EMAIL PROTECTED] said:
  esd needs a special argument, -r RATE [iirc], in order to tell esd
 that it is dealing with a locked rate codec.

Isn't there an ioctl for that?

--
dwmw2


-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: i810_audio broken?

2001-04-23 Thread Pawel Worach

Ok i'll try :)

It's a little bit slow and the high tones get kind of very high
The first track of Moby Play sounds like you mixed Moby with
Donald Duck (but it not fast), like I said it's hard to describe sound
in text. :)

I can record it on another box and give You the result if You like? :)

- Original Message -
From: Alan Cox [EMAIL PROTECTED]
Date: Tuesday, April 24, 2001 1:02 am
Subject: Re: i810_audio broken?

  I was using mpg123 (xmms and c/o does exactly the same)
  if I run it like this Moby sounds very stupid... :)
  [root@whyami mp3]# mpg123 -r 48000 Moby_01.wav.mp3 
  unsupported playback rate: 44100
  Audio device open for 44.1Khz, stereo, 16bit failed
  Trying 44.1Khz, 8bit stereo.
  unsupported sound format: 32
  Audio device open for 44.1Khz, stereo, 8bit failed
  Trying 48Khz, 16bit stereo.
 
 Ok so its trying to do the right thing. Can you describe what it 
 sounds like
 better ?
 
 


begin:vcard
n:Worach;Pawel
fn:Pawel Worach
version:2.1
email;internet:[EMAIL PROTECTED]
end:vcard



Re: i810_audio broken?

2001-04-23 Thread Alan Cox

 Ok building mpg123 without eSound worked for me too,
 so guess this is not a Linux kernel issue, sorry for this.

Excellent.

 eSound sux?

esound has very broken rate conversion support (it converts the audio but rather
damages it on the way). Gnome is moving towards using the KDE arts daemon which
currently seems to get it right.

-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: i810_audio broken?t

2001-04-23 Thread Alan Cox

 Are you guys running esd with any special arguments?
 
 esd needs a special argument, -r RATE [iirc], in order to tell esd that
 it is dealing with a locked rate codec.

48Khz esound support was fixed the day I got an i810 board 8). Its the
rate conversions it cant handle
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: i810_audio broken?

2001-04-23 Thread Doug Ledford

Chmouel Boudjnah wrote:
 
 Pawel Worach [EMAIL PROTECTED] writes:
 
  I was using mpg123 (xmms and c/o does exactly the same)
  if I run it like this Moby sounds very stupid... :)
 
 i got the same problem when using mpg123 compiled with esd on my dell
 workstation (which has a need to have set explictely to a clocking of
 41194 via ftsodell option), compiling without esd seems fix the prob
 for me.

The latest i810 driver does away with the ftsodell option entirely and should
work on your laptop without having to do anything special.

-- 

 Doug Ledford [EMAIL PROTECTED]  http://people.redhat.com/dledford
  Please check my web site for aic7xxx updates/answers before
  e-mailing me about problems
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/