You are not logged in.

#1 2006-06-12 18:35:00

kozaki
Member
From: London >. < Paris
Registered: 2005-06-13
Posts: 671
Website

tvtime has no sound: no 'mixer' device in /etc? [~SOLVED]

Hi everybody

Every audio app were workin fine in this location up to 1 or 2 days ago.
Got latest Alsa & edited /etc/modprobe.conf accordingly to alsa wikki a long time ago, removing anything but those lines:

alias snd-card-0 snd-intel8x0
alias sound-slot-0 snd-intel8x0

As of today, bmp, amarok, opera, mplayer have sound as allways, but tvtime has none (and that came out just in time for my single favorite tv show, you know that :cry: ) :

Running tvtime 1.0.1.
Reading configuration from /etc/tvtime/tvtime.xml
Reading configuration from /home/kozaki/.tvtime/tvtime.xml
mixer: Can't open device /dev/mixer, mixer volume and mute unavailable.

tvtime uses '/dev/mixer:line' by default:

option name="MixerDevice" value="/dev/mixer:line"/

And may use some others like 'pcm', 'vol', etc.
But it worked fine until 1 or 2 days ago, & I did not edit tvtime conf file since months !?
What I found is there's no 'mixer' device in /etc :

[root@llewellyn kozaki]# find /etc -name "mixer*"
[root@llewellyn kozaki]#

any clue about that pliz ?


Seeded last month: Arch 50 gig, derivatives 1 gig
Desktop @3.3GHz 8 gig RAM, linux-ck
laptop #1 Atom 2 gig RAM, Arch linux stock i686 (6H w/ 6yrs old battery smile) #2: ARM Tegra K1, 4 gig RAM, ChrOS
Atom Z520 2 gig RAM, OMV (Debian 7) kernel 3.16 bpo on SDHC | PGP Key: 0xFF0157D9

Offline

#2 2006-06-12 18:48:10

kozaki
Member
From: London >. < Paris
Registered: 2005-06-13
Posts: 671
Website

Re: tvtime has no sound: no 'mixer' device in /etc? [~SOLVED]

unmuted 'Line' in alsamixer and TV sound is back smile ...even if tvtime shows same warning message

mixer: Can't open device /dev/mixer, mixer volume and mute unavailable.

OK i get it clearer now : sound comes directly to/from the 'In' jack on my mobo integrated sound chip, so I have no control on it (like with an audio CD plugged directly to the sound card I guess).
That was most probably /me having played with alsamixer #-|

Uh, what is that still absent 'mixer' device supposed to do anyway ?


Seeded last month: Arch 50 gig, derivatives 1 gig
Desktop @3.3GHz 8 gig RAM, linux-ck
laptop #1 Atom 2 gig RAM, Arch linux stock i686 (6H w/ 6yrs old battery smile) #2: ARM Tegra K1, 4 gig RAM, ChrOS
Atom Z520 2 gig RAM, OMV (Debian 7) kernel 3.16 bpo on SDHC | PGP Key: 0xFF0157D9

Offline

#3 2006-06-12 20:24:39

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: tvtime has no sound: no 'mixer' device in /etc? [~SOLVED]

I have a /dev/mixer device. I don't really know what it's supposed to do. Do you have the snd_mixer_oss module loaded?

Offline

#4 2006-06-12 20:37:07

kozaki
Member
From: London >. < Paris
Registered: 2005-06-13
Posts: 671
Website

Re: tvtime has no sound: no 'mixer' device in /etc? [~SOLVED]

Man, lsmod shows not even a single 'snd(...)' module, beside 'snd_bt87x'. And everything works fine :-O


Seeded last month: Arch 50 gig, derivatives 1 gig
Desktop @3.3GHz 8 gig RAM, linux-ck
laptop #1 Atom 2 gig RAM, Arch linux stock i686 (6H w/ 6yrs old battery smile) #2: ARM Tegra K1, 4 gig RAM, ChrOS
Atom Z520 2 gig RAM, OMV (Debian 7) kernel 3.16 bpo on SDHC | PGP Key: 0xFF0157D9

Offline

#5 2006-06-12 21:12:18

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: tvtime has no sound: no 'mixer' device in /etc? [~SOLVED]

kozaki wrote:

Man, lsmod shows not even a single 'snd(...)' module, beside 'snd_bt87x'. And everything works fine :-O

Do you use a custom kernel? If these modules are compiled inside the kernel, they won't show up with lsmod. You could try to modprobe snd_mixer_oss to see if it will create the device.

Offline

#6 2006-06-12 21:39:27

kozaki
Member
From: London >. < Paris
Registered: 2005-06-13
Posts: 671
Website

Re: tvtime has no sound: no 'mixer' device in /etc? [~SOLVED]

And you're right Snowman smile


Seeded last month: Arch 50 gig, derivatives 1 gig
Desktop @3.3GHz 8 gig RAM, linux-ck
laptop #1 Atom 2 gig RAM, Arch linux stock i686 (6H w/ 6yrs old battery smile) #2: ARM Tegra K1, 4 gig RAM, ChrOS
Atom Z520 2 gig RAM, OMV (Debian 7) kernel 3.16 bpo on SDHC | PGP Key: 0xFF0157D9

Offline

#7 2011-07-28 21:55:43

nemamradfazole
Member
Registered: 2010-03-18
Posts: 40
Website

Re: tvtime has no sound: no 'mixer' device in /etc? [~SOLVED]

This problem is still recent. Another solution is to run tvtime and then route the sound from the TV tuner to the ALSA device. I use tv.sh with this content:

#!/bin/bash

tvtime &
sleep 7
sox -t alsa hw:1,0 -t alsa hw:0,0

Offline

Board footer

Powered by FluxBB