List Info

Thread: Audigy in Linux 2.6.20




Audigy in Linux 2.6.20
user name
2007-04-11 05:23:44
Hello. I have updated the kernel, and while the MIDI note
dropping is
probably gone, the line input does not work. That is, the
card plays
what goes to line in, but arecord and other apps do not
record
anything, even silence. That is, arecord writes only the WAV
header.
The same apps record from the motherboard sound chip without
problems
if hw:1 is replaced with hw:0.

What can it be?


Cheers,
Artur

------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Alsa-user mailing list
Alsa-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: Audigy in Linux 2.6.20
country flaguser name
Switzerland
2007-04-11 07:44:40
Le Wed, 11 Apr 2007 12:23:44 +0200,
"Artur Rataj" <arturratajgmail.com> a écrit :

> Hello. I have updated the kernel, and while the MIDI
note dropping is
> probably gone, the line input does not work. That is,
the card plays
> what goes to line in, but arecord and other apps do not
record
> anything, even silence. That is, arecord writes only
the WAV header.
> The same apps record from the motherboard sound chip
without problems
> if hw:1 is replaced with hw:0.
> 
> What can it be?
> 
> 
> Cheers,
> Artur
> 

Do you have any other sound card as the audigy as an USB
sound card ( a webcam,
whatever...)?

What is the output of cat /proc/asound/cards ?

If it is the case, you have to use the index option in alsa
configuration:

alias snd-card-0 snd-emu10k1
options snd-emu10k1 index=0
alias snd-card-1 snd-usb-audio
options snd-usb-audio index=1

and add too:
options snd cards_limit=2

Note at the index begin with 0 where 0 is the first sound
card, and cards_limit
is the number of sound cards: 1 is for 1 sound card, 2 for
2, and so on.

Ciao,
Dominique


------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Alsa-user mailing list
Alsa-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Re: Audigy in Linux 2.6.20
user name
2007-04-11 18:57:43
On 4/11/07, Artur Rataj <arturratajgmail.com> wrote:
> Hello. I have updated the kernel, and while the MIDI
note dropping is
> probably gone, the line input does not work. That is,
the card plays
> what goes to line in, but arecord and other apps do not
record
> anything, even silence. That is, arecord writes only
the WAV header.
> The same apps record from the motherboard sound chip
without problems
> if hw:1 is replaced with hw:0.
>
> What can it be?

If arecord writes only the .wav header it means that your
interrupt
routing is broken - if it were a mixer settings issue
arecord would
capture silence.  You can confirm this by checking
/proc/interrupts
and see that the interrupt count for the Audigy does not
increase.

This is going to be an issue with the upstream kernel not
ALSA.  Try
booting with "acpi=off".

Lee

------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Alsa-user mailing list
Alsa-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: Audigy in Linux 2.6.20
user name
2007-04-11 20:03:15
Please read inline

On 4/11/07, Lee Revell < rlrevelljoe-job.com">rlrevelljoe-job.com> wrote:
On 4/11/07, Artur Rataj < arturratajgmail.com">arturratajgmail.com> wrote:
>; Hello. I have updated the kernel, and while the MIDI note dropping is
> probably gone, the line input does not work. That is, the card plays
&gt; what goes to line in, but arecord and other apps do not record
>; anything, even silence. That is, arecord writes only the WAV header.
&gt; The same apps record from the motherboard sound chip without problems
> if hw:1 is replaced with hw:0.
>
> What can it be?

If arecord writes only the .wav header it means that your interrupt
routing is broken - if it were a mixer settings issue arecord would
capture silence.&nbsp; You can confirm this by checking /proc/interrupts
and see that the interrupt count for the Audigy does not increase.

This is going to be an issue with the upstream kernel not ALSA. 

Since Alsa is in the upstream kernel per say then yeah it is,
 

Try
booting with "acpi=off"

This may be ok for a work around, but hardly a fix turning ACPI off is not always a bright move since ACPI pretty much controls important stuff like power managment, heat control etc etc .  For laptops and high end desktops this could be fatal over heating is going to be a worry.

also other area's may not work correctly without ACPI, so as you can see it maybe just a trade for another issue.

Regards
.

Lee

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Alsa-user mailing list
Alsa-userlists.sourceforge.net">Alsa-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Re: Audigy in Linux 2.6.20
user name
2007-04-11 20:58:05
On 4/11/07, Nigel Sollars <nsollarsgmail.com> wrote:
> On 4/11/07, Lee Revell <rlrevelljoe-job.com> wrote:
> > This is going to be an issue with the upstream
kernel not ALSA.
>
>
> Since Alsa is in the upstream kernel per say then yeah
it is,
>

It's not an ALSA bug, it's a bug in the kernel's ACPI
subsystem.

> > Try
> > booting with "acpi=off"
>
> This may be ok for a work around, but hardly a fix
turning ACPI off is not
> always a bright move since ACPI pretty much controls
important stuff like
> power managment, heat control etc etc .  For laptops
and high end desktops
> this could be fatal over heating is going to be a
worry.
>

Of course.  This suggestion was just to confirm the bug.

If acpi=off fixes the problem then the only solution is to
get the
kernel ACPI maintainers to fix the bug.  Upgrading the BIOS
also may
help.

Lee

------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Alsa-user mailing list
Alsa-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: Audigy in Linux 2.6.20
user name
2007-04-14 06:17:56
Dominique Michel <dominique.michelcitycable.ch> wrote:
> Do you have any other sound card as the audigy as an
USB sound card ( a
> webcam, whatever...)?

Yes, I have a USB webcam with a microphone. The webcam
connected at booting
caused that I could not use the Audigy. Currently the webcam
is not
connected at all, though.

On 4/12/07, Lee Revell <rlrevelljoe-job.com> wrote:
> If acpi=off fixes the problem then the only solution is
to get the
> kernel ACPI maintainers to fix the bug.  Upgrading the
BIOS also may
> help.

I tried to set acpi=off, yet the kernel could not probably
boot with
that option, saying something about the irqpoll option. So I
added
acpi=off and irqpoll and that time the kernel booted.

With acpi turned on:

arecord -l shows:

card 0: V8237 [VIA 8237], device 0: VIA 8237 [VIA 8237]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: V8237 [VIA 8237], device 1: VIA 8237 [VIA 8237]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Audigy [Audigy 1 [Unknown]], device 0: emu10k1 [ADC
Capture/Standard PCM Pla
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Audigy [Audigy 1 [Unknown]], device 1: emu10k1 mic
[Mic Capture]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Audigy [Audigy 1 [Unknown]], device 2: emu10k1 efx
[Multichannel Capture/PT
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Recording from hw:1,0 using arecord only wrote the file
header.
Recording from hw:1,1 using arecord produced some data but
the header,
but printed:

Recording WAVE 'stdin' : Signed 16 bit Little Endian, Rate
48000 Hz, Stereo
Warning: rate is not accurate (requested = 48000Hz, got =
8000Hz)
         please, try the plug plugin

Recording from hw:1,2 using arecord exits with an error:
Recording WAVE 'stdin' : Signed 16 bit Little Endian, Rate
48000 Hz, Stereo
arecord: set_params:905: Channels count non available

The interrupts were as follows:

           CPU0
  0:    1165828   IO-APIC-edge      timer
  1:       1898   IO-APIC-edge      i8042
  7:          0   IO-APIC-edge      parport0
  8:       9218   IO-APIC-edge      rtc
  9:          1   IO-APIC-fasteoi   acpi
 12:       6042   IO-APIC-edge      i8042
 14:      14150   IO-APIC-edge      ide0
 15:       3463   IO-APIC-edge      ide1
 16:          0   IO-APIC-fasteoi   libata
 17:       3523   IO-APIC-fasteoi   uhci_hcd:usb1,
uhci_hcd:usb2,
uhci_hcd:usb3, uhc
 18:          3   IO-APIC-fasteoi   ohci1394, eth0
 19:          3   IO-APIC-fasteoi   bttv0, bt878
 20:     114203   IO-APIC-fasteoi   nvidia
 21:          0   IO-APIC-fasteoi   VIA8237
 22:       2675   IO-APIC-fasteoi   EMU10K1
NMI:          0
LOC:    1165768
ERR:          0
MIS:          0


With acpi turned off:

arecord -l shows:

**** List of CAPTURE Hardware Devices ****
card 0: Audigy [Audigy 1 [Unknown]], device 0: emu10k1 [ADC
Capture/Standard PC
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Audigy [Audigy 1 [Unknown]], device 1: emu10k1 mic
[Mic Capture]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Audigy [Audigy 1 [Unknown]], device 2: emu10k1 efx
[Multichannel Captur
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: V8237 [VIA 8237], device 0: VIA 8237 [VIA 8237]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: V8237 [VIA 8237], device 1: VIA 8237 [VIA 8237]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Recording from hw:0,0 using arecord only wrote the file
header.
Recording from hw:0,1 using arecord produced some data but
the header,
but printed:

Recording WAVE 'stdin' : Signed 16 bit Little Endian, Rate
48000 Hz, Stereo
Warning: rate is not accurate (requested = 48000Hz, got =
8000Hz)
         please, try the plug plugin

Recording from hw:0,2 using arecord  exits with an error:
Recording WAVE 'stdin' : Signed 16 bit Little Endian, Rate
48000 Hz, Stereo
arecord: set_params:905: Channels count non available

The interrupts were as follows:
           CPU0
  0:     260006    XT-PIC-XT        timer
  1:        884    XT-PIC-XT        i8042
  2:          0    XT-PIC-XT        cascade
  5:          3    XT-PIC-XT        eth0, ohci1394
  6:        979    XT-PIC-XT        ehci_hcd:usb5, VIA8237
  8:          1    XT-PIC-XT        rtc
  9:         44    XT-PIC-XT        EMU10K1
 10:          0    XT-PIC-XT        uhci_hcd:usb3,
uhci_hcd:usb4, libata
 11:      21326    XT-PIC-XT        uhci_hcd:usb1,
uhci_hcd:usb2,
bttv0, bt878, nvid
 12:       1929    XT-PIC-XT        i8042
 14:         31    XT-PIC-XT        ide0
 15:     100013    XT-PIC-XT        ide1
NMI:          0
LOC:     259925
ERR:       5555
MIS:          0

------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Alsa-user mailing list
Alsa-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


[1-6]

about | contact  Other archives ( Real Estate discussion Medical topics )