Skip to contentSkip to conversation

: Can't record audio

ALSA - driver 0000628 Applied [email protected] 3 participants 6 messages Jan 17, 2005 – Jan 21, 2005 Sound

lore
Share & tools
lore
#0 lore raw

The following issue has been RESOLVED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=628>
======================================================================

Reported By:                pawlik
Assigned To:                tiwai
======================================================================
Project:                    ALSA - driver
Issue ID:                   628
Category:                   PCI - via82xx
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     resolved
Distribution:               Debian
Kernel Version:             2.6.8.1
Resolution:                 not an issue
Fixed in Version:           
======================================================================
Date Submitted:             11-03-2004 18:46 CET
Last Modified:              01-17-2005 15:07 CET

======================================================================
Summary: Can't record audio
Description:
I'm not able to record any audio. Reading from /dev/dsp results in an "Input/Output Error".
The hardware I'm using is Soltek 75DRV5 with built-in soundcard.
======================================================================

----------------------------------------------------------------------
rossaxe - 01-16-05 17:09
----------------------------------------------------------------------
What is this particular knob supposed to do? So far as I can tell, it just offers a choice betweens 'works' and 'breaks'

----------------------------------------------------------------------
tiwai - 01-17-05 15:07
----------------------------------------------------------------------
This defines the connection of which input pin is selected for the certain input path. So, whether it works or not strongly depends on the hardware.

Issue History
Date Modified Username Field Change
======================================================================

11-03-04 18:46 pawlik         New Issue                                    
11-03-04 18:46 pawlik         Distribution              => Debian          
11-03-04 18:46 pawlik         Kernel Version            => 2.6.8.1         
11-09-04 15:28 tiwai          Note Added: 0002323                          
11-18-04 19:41 prymitive      Issue Monitored: prymitive                    
01-16-05 10:05 pawlik         Note Added: 0003214                          
01-16-05 17:09 rossaxe        Note Added: 0003219                          
01-17-05 15:07 tiwai          Status                   new => resolved     
01-17-05 15:07 tiwai          Resolution               open => not an issue
01-17-05 15:07 tiwai          Assigned To               => tiwai           
01-17-05 15:07 tiwai          Note Added: 0003236                          

======================================================================

-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt

#1 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[email protected] wrote:

| The following issue has been RESOLVED.
| ======================================================================
| <https://bugtrack.alsa-project.org/alsa-bug/view.php?id=628>
| ======================================================================
| Reported By:                pawlik
| Assigned To:                tiwai
| ======================================================================
| Project:                    ALSA - driver
| Issue ID:                   628
| Category:                   PCI - via82xx
| Reproducibility:            always
| Severity:                   major
| Priority:                   normal
| Status:                     resolved
| Distribution:               Debian
| Kernel Version:             2.6.8.1
| Resolution:                 not an issue
| Fixed in Version:
| ======================================================================
| Date Submitted:             11-03-2004 18:46 CET
| Last Modified:              01-17-2005 15:07 CET
| ======================================================================
| Summary:                    Can't record audio
| Description:
| I'm not able to record any audio. Reading from /dev/dsp results in an
| "Input/Output Error".
| The hardware I'm using is Soltek 75DRV5 with built-in soundcard.
| ======================================================================
|
| ----------------------------------------------------------------------
|  rossaxe - 01-16-05 17:09
| ----------------------------------------------------------------------
| What is this particular knob supposed to do? So far as I can tell, it just
| offers a choice betweens 'works' and 'breaks'
|
| ----------------------------------------------------------------------
|  tiwai - 01-17-05 15:07
| ----------------------------------------------------------------------
| This defines the connection of which input pin is selected for the certain
| input path.  So, whether it works or not strongly depends on the hardware.

Wouldn't it make sense to disable it on hardware for which it does not work?

Ross

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFB8Bvg9bR4xmappRARAtWbAJ4yMhnjJsmPYx2wJhFzdIMjGEAIpQCgj6u1 VU6489GB6yag+RcNT/h/Rzk=
=oc4t
-----END PGP SIGNATURE-----

-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl

#2 lore raw

At Thu, 20 Jan 2005 21:00:18 +0000,

Quoted 46 lines · Ross Kendall Axe

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[email protected] wrote:

| The following issue has been RESOLVED.
| ======================================================================
| <https://bugtrack.alsa-project.org/alsa-bug/view.php?id=628>
| ======================================================================
| Reported By:                pawlik
| Assigned To:                tiwai
| ======================================================================
| Project:                    ALSA - driver
| Issue ID:                   628
| Category:                   PCI - via82xx
| Reproducibility:            always
| Severity:                   major
| Priority:                   normal
| Status:                     resolved
| Distribution:               Debian
| Kernel Version:             2.6.8.1
| Resolution:                 not an issue
| Fixed in Version:
| ======================================================================
| Date Submitted:             11-03-2004 18:46 CET
| Last Modified:              01-17-2005 15:07 CET
| ======================================================================
| Summary:                    Can't record audio
| Description:
| I'm not able to record any audio. Reading from /dev/dsp results in an
| "Input/Output Error".
| The hardware I'm using is Soltek 75DRV5 with built-in soundcard.
| ======================================================================
|
| ----------------------------------------------------------------------
|  rossaxe - 01-16-05 17:09
| ----------------------------------------------------------------------
| What is this particular knob supposed to do? So far as I can tell, it just
| offers a choice betweens 'works' and 'breaks'
|
| ----------------------------------------------------------------------
|  tiwai - 01-17-05 15:07
| ----------------------------------------------------------------------
| This defines the connection of which input pin is selected for the certain
| input path.  So, whether it works or not strongly depends on the hardware.
Quoted 1 line

Wouldn't it make sense to disable it on hardware for which it does not work?

Yep. Patches are welcome :)

Takashi

-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl

#3 lore raw
Quoted 23 lines · Takashi Iwai

At Thu, 20 Jan 2005 21:00:18 +0000,

Quoted 20 lines · Ross Kendall Axe
| ======================================================================
| Summary:                    Can't record audio
| Description:
| I'm not able to record any audio. Reading from /dev/dsp results in an
| "Input/Output Error".
| The hardware I'm using is Soltek 75DRV5 with built-in soundcard.
| ======================================================================
|
| ----------------------------------------------------------------------
|  rossaxe - 01-16-05 17:09
| ----------------------------------------------------------------------
| What is this particular knob supposed to do? So far as I can tell, it just
| offers a choice betweens 'works' and 'breaks'
|
| ----------------------------------------------------------------------
|  tiwai - 01-17-05 15:07
| ----------------------------------------------------------------------
| This defines the connection of which input pin is selected for the certain
| input path.  So, whether it works or not strongly depends on the hardware.
Quoted 5 lines
Quoted 1 line

Wouldn't it make sense to disable it on hardware for which it does not work?

Yep. Patches are welcome :)

Hmm. Probably best save that until I'm at least a *half* decent kernel coder :-)
Meanwhile, a note in the docs probably wouldn't go amiss. Patch attached.

Ross

alsa-kernel/Documentation/VIA82xx-mixer.txt +8 -0
diff -urN alsa-driver-1.0.8.orig/alsa-kernel/Documentation/VIA82xx-mixer.txt alsa-driver-1.0.8/alsa-kernel/Documentation/VIA82xx-mixer.txt
@@ -0,0 +1,8 @@
+
+				VIA82xx mixer
+				=============
+
+On many VIA82xx boards, the 'Input Source Select' mixer control does not work.
+Setting it to 'Input2' on such boards will cause recording to hang, or fail
+with EIO (input/output error) via OSS emulation.  This control should be left
+at 'Input1' for such cards.
sound/Documentation/VIA82xx-mixer.txt +8 -0
diff -urN alsa-driver-1.0.8.orig/sound/Documentation/VIA82xx-mixer.txt alsa-driver-1.0.8/sound/Documentation/VIA82xx-mixer.txt
@@ -0,0 +1,8 @@
+
+				VIA82xx mixer
+				=============
+
+On many VIA82xx boards, the 'Input Source Select' mixer control does not work.
+Setting it to 'Input2' on such boards will cause recording to hang, or fail
+with EIO (input/output error) via OSS emulation.  This control should be left
+at 'Input1' for such cards.
#4 lore raw
Quoted 33 lines · Ross Kendall Axe
Quoted 31 lines · Takashi Iwai

At Thu, 20 Jan 2005 21:00:18 +0000,

Quoted 25 lines · Ross Kendall Axe
| ======================================================================
| Summary:                    Can't record audio
| Description:
| I'm not able to record any audio. Reading from /dev/dsp results in an
| "Input/Output Error".
| The hardware I'm using is Soltek 75DRV5 with built-in soundcard.
| ======================================================================
|
| ----------------------------------------------------------------------
|  rossaxe - 01-16-05 17:09
| ----------------------------------------------------------------------
| What is this particular knob supposed to do? So far as I can tell,
it just
| offers a choice betweens 'works' and 'breaks'
|
| ----------------------------------------------------------------------
|  tiwai - 01-17-05 15:07
| ----------------------------------------------------------------------
| This defines the connection of which input pin is selected for the

certain
| input path. So, whether it works or not strongly depends on the hardware.

Wouldn't it make sense to disable it on hardware for which it does not work?

Quoted 9 lines
Quoted 2 lines

Yep. Patches are welcome :)

Hmm. Probably best save that until I'm at least a *half* decent kernel coder :-)
Meanwhile, a note in the docs probably wouldn't go amiss. Patch attached.

Ross

And here's an unbroken patch, with a signed-off-by line as well :-)

Ross

Add warning about the consequences of adjusting the 'Input Source Select' of VIA82xx.

alsa-kernel/Documentation/VIA82xx-mixer.txt +8 -0
diff -urN alsa-driver-1.0.8.orig/alsa-kernel/Documentation/VIA82xx-mixer.txt alsa-driver-1.0.8/alsa-kernel/Documentation/VIA82xx-mixer.txt
@@ -0,0 +1,8 @@
+
+				VIA82xx mixer
+				=============
+
+On many VIA82xx boards, the 'Input Source Select' mixer control does not work.
+Setting it to 'Input2' on such boards will cause recording to hang, or fail
+with EIO (input/output error) via OSS emulation.  This control should be left
+at 'Input1' for such cards.
Applied
#5 lore raw

At Fri, 21 Jan 2005 15:15:07 +0000,

Quoted 10 lines · Ross Kendall Axe
Quoted 8 lines

Hmm. Probably best save that until I'm at least a *half* decent kernel coder :-)
Meanwhile, a note in the docs probably wouldn't go amiss. Patch attached.

Ross

And here's an unbroken patch, with a signed-off-by line as well :-)

Thanks, applied to CVS.
Documents are of course always appreciated as well as codes :)

Takashi

-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl