summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-discuss/2012-December/009022.html
blob: d0dc968513c3d5b4195bf9dabfb457c3cae28643 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-discuss] audio recording (from Line In) doesn't work in	Mageia 2
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20audio%20recording%20%28from%20Line%20In%29%20doesn%27t%20work%20in%0A%09Mageia%202&In-Reply-To=%3Ckbno8u%2435v%241%40ger.gmane.org%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="009021.html">
   <LINK REL="Next"  HREF="009023.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-discuss] audio recording (from Line In) doesn't work in	Mageia 2</H1>
    <B>David Walser</B> 
    <A HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20audio%20recording%20%28from%20Line%20In%29%20doesn%27t%20work%20in%0A%09Mageia%202&In-Reply-To=%3Ckbno8u%2435v%241%40ger.gmane.org%3E"
       TITLE="[Mageia-discuss] audio recording (from Line In) doesn't work in	Mageia 2">luigiwalser at yahoo.com
       </A><BR>
    <I>Sat Dec 29 22:45:04 CET 2012</I>
    <P><UL>
        <LI>Previous message: <A HREF="009021.html">[Mageia-discuss] audio recording (from Line In) doesn't work in	Mageia 2
</A></li>
        <LI>Next message: <A HREF="009023.html">[Mageia-discuss] audio recording (from Line In) doesn't work in	Mageia 2
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#9022">[ date ]</a>
              <a href="thread.html#9022">[ thread ]</a>
              <a href="subject.html#9022">[ subject ]</a>
              <a href="author.html#9022">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>AL13N wrote:
&gt;<i> Op zaterdag 29 december 2012 14:07:23 schreef David Walser:
</I>&gt;&gt;<i> David Walser wrote:
</I>&gt;&gt;<i> &gt; Christiaan Welvaart wrote:
</I>&gt;&gt;<i> &gt;&gt; On Sat, 29 Dec 2012, David Walser wrote:
</I>&gt;&gt;<i> &gt;&gt;&gt; I have an ATI TV Wonder VE video card which doesn't handle audio
</I>&gt;&gt;<i> &gt;&gt;&gt; internally, it just pipes it out a 1/8&quot; audio cable which you plug into
</I>&gt;&gt;<i> &gt;&gt;&gt; the Line In input in the sound card, and you record the audio from that.
</I>&gt;&gt;<i> &gt;&gt;&gt; For years, I've been using the script below to record TV from it.  The
</I>&gt;&gt;<i> &gt;&gt;&gt; aumix command sets the IGain mixer channel, which controls the volume of
</I>&gt;&gt;<i> &gt;&gt;&gt; the audio that gets recorded.  Up through Mageia 1, this worked fine.
</I>&gt;&gt;<i> &gt;&gt;&gt; Now in Mageia 2, I get no sound.
</I>&gt;&gt;<i> &gt;&gt;&gt; 
</I>&gt;&gt;<i> &gt;&gt;&gt; aumix -i 60
</I>&gt;&gt;<i> &gt;&gt;&gt; mencoder -tv
</I>&gt;&gt;<i> &gt;&gt;&gt; driver=v4l2:width=640:height=480:adevice=/dev/dsp:norm=ntsc:input=0
</I>&gt;&gt;<i> &gt;&gt;&gt; <A HREF="tv://">tv://</A> -o tv.avi -oac mp3lame -ovc lavc -lavcopts&gt; 
</I>&gt;&gt;<i> &gt; acodec=libmp3lame:abitrate=64:vbitrate=1800:vhq -lameopts vbr=3:br=64
</I>&gt;&gt;<i> &gt; -srate 44100 -vf crop=608:456:14:10 &gt; /dev/null 2&gt;&amp;1&gt; 
</I>&gt;&gt;<i> &gt;&gt;&gt; aumix -i 0
</I>&gt;&gt;<i> &gt;&gt; 
</I>&gt;&gt;<i> &gt;&gt; Well all kinds of things can be wrong. Does the TV card output sound?
</I>&gt;&gt;<i> &gt; 
</I>&gt;&gt;<i> &gt; The TV card is fine, all that's changed is upgrading to mga2.
</I>&gt;&gt;<i> &gt; 
</I>&gt;&gt;<i> &gt;&gt; Maybe the input selector of the sound card is set to microphone.
</I>&gt;&gt;<i> &gt; 
</I>&gt;&gt;<i> &gt; How would you check/change that?  Why would it get messed up all of a
</I>&gt;&gt;<i> &gt; sudden?&gt; 
</I>&gt;&gt;<i> &gt;&gt; Why are you using OSS instead of alsa directly?
</I>&gt;&gt;<i> &gt; 
</I>&gt;&gt;<i> &gt; That's what mencoder uses.  It should work fine.
</I>&gt;&gt;<i> 
</I>&gt;&gt;<i> I tried changing adevice=/dev/dsp to the following things, which all also
</I>&gt;&gt;<i> didn't work: alsa:adevice=hw.0,0
</I>&gt;&gt;<i> alsa:adevice=hw.0,1
</I>&gt;&gt;<i> alsa:adevice=hw.0,2
</I>&gt;&gt;<i> 
</I>&gt;&gt;<i> Here are the sound and TV devices from lspcidrake.  This is smelling like a
</I>&gt;&gt;<i> kernel bug to me. snd_hda_intel   : Intel Corporation|82801JI (ICH10
</I>&gt;&gt;<i> Family) HD Audio Controller bt878           : Brooktree Corporation|Bt878
</I>&gt;&gt;<i> Audio Capture [MULTIMEDIA_OTHER] (rev: 11) bttv            : Brooktree
</I>&gt;&gt;<i> Corporation|Bt878 Video Capture [MULTIMEDIA_VIDEO] (rev: 11)
</I>&gt;&gt;<i> &gt;&gt; Try to get things working with alsamixer if aumix doesn't work...
</I>&gt;&gt;<i> &gt; 
</I>&gt;&gt;<i> &gt; aumix seems to be working fine, it still sees the IGain channel and can
</I>&gt;&gt;<i> &gt; set it just fine.  I think something else is wrong.
</I>&gt;<i> 
</I>&gt;<i> it could still be that channels are being changed in kernel driver, perhaps 
</I>&gt;<i> you can with alsamixer try to select the correct line-in function, and up the 
</I>&gt;<i> volumes that could maybe have effect?
</I>
alsamixer seems broken on mga2.  Is there some other way to check/change the selected capture device?

I wanted to reboot to the mga1 kernel to see if that would work, but that was an unproductive adventure.

I installed the mga1 kernel which pointed /boot/initrd.img to the mga1 kernel's initrd, which was generated of course by dracut, but didn't 
work, and I couldn't boot any kernel.  I booted to the rescue from the installer and re-installed the mga2 kernel, which fixed the initrd 
links, so then I could boot the mga2 kernel.  I restored the mga1 kernel's initrd from the backups I made before the upgrade, so then I could 
also boot the mga1 kernel, but when KDM came up the mouse and keyboard didn't work and hitting the power button didn't shut down, so I had to 
hold the power button to kill it.  So I couldn't test if it works under the mga1 kernel.  Somewhere during this process, grub got messed up 
too, because /boot/grub/device.map got renamed to /boot/grub/device.map.old and replaced with an empty one, so I had to fix that by hand.

</PRE>


<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="009021.html">[Mageia-discuss] audio recording (from Line In) doesn't work in	Mageia 2
</A></li>
	<LI>Next message: <A HREF="009023.html">[Mageia-discuss] audio recording (from Line In) doesn't work in	Mageia 2
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#9022">[ date ]</a>
              <a href="thread.html#9022">[ thread ]</a>
              <a href="subject.html#9022">[ subject ]</a>
              <a href="author.html#9022">[ author ]</a>
         </LI>
       </UL>

<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-discuss">More information about the Mageia-discuss
mailing list</a><br>
</body></html>