[mythtv-users] btaudio taking over /dev/dsp
Arlo
AClauser at comcast.net
Fri Sep 12 11:14:24 EDT 2003
I turned off the btaudio and bttv kernel modules. and I still don't get a
/dev/dsp or /dev/sound/dsp. I don't think my sound card (a intel8x0 chip) is
creating a /dev/dsp, the only thing I see is a a /dev/snd/ directory
containing:
crw------- 1 arlo audio 116, 0 Dec 31 1969 controlC0
crw------- 1 arlo audio 116, 24 Dec 31 1969 pcmC0D0c
crw------- 1 arlo audio 116, 16 Dec 31 1969 pcmC0D0p
crw------- 1 arlo audio 116, 33 Dec 31 1969 timer
if I do a "aplay -l" I get
**** List of PLAYBACK Hardware Devices ****
card 0: NForce2 [NVidia NForce2], device 0: Intel ICH [NVidia NForce2]
Subdevices: 0/1
Subdevice #0: subdevice #0
how can I figure out the device my sound card is using?
thanks again.
arlo
On Thursday 11 September 2003 7:38 pm, Jeremy Hanmer wrote:
> You have to make sure that your sound driver loads before btaudio. For
> some reason, the sound driver won't create a new dsp device if
> /dev/sound/dsp already exists...however, btaudio is happy to do it.
>
> On Thu, 2003-09-11 at 16:34, Arlo wrote:
> > thanks for taking the time to help.
> >
> > I am trying to install Mythtv 0.11 on gentoo 1.4
> > I am using a Hauppauge WinTV-dbx model 401 which is suppost to be the
> > only card that works reliably with btaudio. My sound card is built into
> > my Asus A7N8X deluxe mother board.
> > the install and initial setup (mysql etc.) gos smoothly I setup the
> > backend via mythsetup and start mythbackend.
> > When I go into the mythfrontend and go to setup I can only select from
> > two audio output devices. /dev/dsp and /dev/dsp1 if I choose ether of
> > these I get kicked out the moment I try to go into live TV.
> > My sound works fine (i can listen to music and the like) in kde but I
> > can't figure out how to get myth to use my sound card, now might be a
> > good time to mention I'm using alsa and I loaded alsa-oss below is the
> > error I get from mythfrontend:
> >
> > Opening OSS audio device '/dev/sound/dsp'.
> > ERROR: something is currently using: /dev/sound/dsp
> > Fix this, then run mythfrontend again
> >
> > I'm guessing this is because I'm using /dev/dsp as my Audio Device in
> > mythsetup and as my Audio Output Device in mythfrontend - setup
> > but what should my Audio Device be?
> >
> > by the way if I open xawtv I get good video but no audio (this is because
> > I'm using btaudio and have not hooked up a patch cable) if I type
> > aplay -f S16_LE -c2 -r32000 /dev/dsp I get the audio fine.
> > so I know btaudio works and the video works. just not in mythtv
> >
> > how can I find out what device in /dev/ is allowing me to hear sound?
> >
> > below I will list my modules.conf, and the usefull bits of of dmesg and
> > lspci ------------------modules.conf---------------------------------
> > alias char-major-10-175 agpgart
> > alias char-major-10-200 tun
> > alias char-major-81 bttv
> > alias char-major-108 ppp_generic
> > alias /dev/ppp ppp_generic
> > alias tty-ldisc-3 ppp_async
> > alias tty-ldisc-14 ppp_synctty
> > alias ppp-compress-21 bsd_comp
> > alias ppp-compress-24 ppp_deflate
> > alias ppp-compress-26 ppp_deflate
> >
> > # Crypto modules (see http://www.kerneli.org/)
> > alias loop-xfer-gen-0 loop_gen
> > alias loop-xfer-3 loop_fish2
> > alias loop-xfer-gen-10 loop_gen
> > alias cipher-2 des
> > alias cipher-3 fish2
> > alias cipher-4 blowfish
> > alias cipher-6 idea
> > alias cipher-7 serp6f
> > alias cipher-8 mars6
> > alias cipher-11 rc62
> > alias cipher-15 dfc2
> > alias cipher-16 rijndael
> > alias cipher-17 rc5
> >
> > # Support for i2c and lm_sensors
> > alias char-major-89 i2c-dev
> >
> > # Old nvidia support ...
> > alias char-major-195 NVdriver
> > alias /dev/nvidiactl char-major-195
> >
> > ### modules-update: end processing /etc/modules.d/aliases
> >
> > ### modules-update: start processing /etc/modules.d/alsa
> > # Alsa 0.9.X kernel modules' configuration file.
> > # $Header:
> > /home/cvsroot/gentoo-x86/media-sound/alsa-driver/files/alsa-modules.conf-
> >rc,v 1.1 2002/12/21 06:31:52 agenkin Exp $
> >
> > # ALSA portion
> > alias char-major-116 snd
> > # OSS/Free portion
> > # alias char-major-14 soundcore
> >
> > ## ALSA portion
> > alias snd-card-0 snd-intel8x0
> > ## alias snd-card-1 snd-ens1371
> > ## OSS/Free portion
> > ## alias sound-slot-0 snd-card-0
> > ## alias sound-slot-1 snd-card-1
> > ##
> >
> > # OSS/Free portion - card #1
> > alias sound-service-0-0 snd-mixer-oss
> > alias sound-service-0-1 snd-seq-oss
> > alias sound-service-0-3 snd-pcm-oss
> > alias sound-service-0-8 snd-seq-oss
> > alias sound-service-0-12 snd-pcm-oss
> > ## OSS/Free portion - card #2
> > ## alias sound-service-1-0 snd-mixer-oss
> > ## alias sound-service-1-3 snd-pcm-oss
> > ## alias sound-service-1-12 snd-pcm-oss
> >
> > alias /dev/mixer snd-mixer-oss
> > alias /dev/dsp snd-pcm-oss
> > alias /dev/midi snd-seq-oss
> >
> > # Set this to the correct number of cards.
> > options snd cards_limit=1
> >
> > ### modules-update: end processing /etc/modules.d/alsa
> >
> > ### modules-update: start processing /etc/modules.d/i386
> > alias parport_lowlevel parport_pc
> > alias char-major-10-144 nvram
> > alias binfmt-0064 binfmt_aout
> > alias char-major-10-135 rtc
> >
> > ### modules-update: end processing /etc/modules.d/i386
> >
> > ### modules-update: start processing /etc/modules.d/nvidia
> > # Nvidia drivers support
> > alias char-major-195 nvidia
> > alias /dev/nvidiactl char-major-195
> >
> > # To tweak the driver the following options can be used, note that
> > # you should be careful, as it could cause instability!!
> > #
> > # To enable Side Band Adressing: NVreg_EnableAGPSBA=1
> > #
> > # To enable Fast Writes: NVreg_EnableAGPFW=1
> > #
> > # To enable both for instance, uncomment following line:
> > #
> > #options nvidia NVreg_EnableAGPSBA=1 NVreg_EnableAGPFW=1
> > -------------------------------------------------------------------
> >
> > ------------------dmesg-----------------------------------------
> > bttv: driver version 0.7.104 loaded
> > bttv: using 4 buffers with 2080k (8320k total) for capture
> > bttv: Host bridge is PCI device 10de:01e0 (nVidia Corporation)
> > bttv: Bt8xx card found (0).
> > bttv0: Bt878 (rev 17) at 01:08.0, irq: 11, latency: 32, mmio: 0xd4000000
> > bttv0: detected: Hauppauge WinTV [card=10], PCI subsystem ID is 0070:13eb
> > bttv0: using: BT878(Hauppauge (bt878)) [card=10,autodetected]
> > bttv0: Hauppauge/Voodoo msp34xx: reset line init [5]
> > bttv0: Hauppauge eeprom: model=44371, tuner=Philips FM1236 (2), radio=yes
> > bttv0: using tuner=2
> > bttv0: i2c: checking for MSP34xx @ 0x80... found
> > msp34xx: init: chip=MSP3435G-B6 +nicam +simple +radio
> > msp3410: daemon started
> > bttv0: i2c: checking for TDA9875 @ 0xb0... not found
> > bttv0: i2c: checking for TDA7432 @ 0x8a... not found
> > tvaudio: TV audio decoder + audio/video mux driver
> > tvaudio: known chips:
> > tda9840,tda9873h,tda9874h/a,tda9850,tda9855,tea6300,tea6420,tda8425,pic16
> >c54 (PV951)
> > tuner: probing bt848 #0 i2c adapter [id=0x10005]
> > tuner: chip found @ 0xc2
> > tuner: type set to 2 (Philips NTSC (FI1236,FM1236 and compatibles))
> > bttv0: PLL: 28636363 => 35468950 .. ok
> > bttv0: registered device video0
> > bttv0: registered device vbi0
> > bttv0: registered device radio0
> > btaudio: driver version 0.7 loaded [digital+analog]
> > btaudio: Bt878 (rev 17) at 01:08.1, irq: 11, latency: 32, mmio:
> > 0xd4001000 btaudio: using card config "default"
> > btaudio: registered device dsp0 [digital]
> > btaudio: registered device dsp1 [analog]
> > btaudio: registered device mixer0
> > -----------------------------------------------------------------------
> >
> > ------------------lspci -v----------------------------------------------
> > 01:08.0 Multimedia video controller: Brooktree Corporation Bt878 Video
> > Capture (rev 11)
> > Subsystem: Hauppauge computer works Inc. WinTV Series
> > Flags: bus master, medium devsel, latency 32, IRQ 11
> > Memory at d4000000 (32-bit, prefetchable) [size=4K]
> > Capabilities: [44] Vital Product Data
> > Capabilities: [4c] Power Management version 2
> >
> > 01:08.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture
> > (rev 11)
> > Subsystem: Hauppauge computer works Inc. WinTV Series
> > Flags: bus master, medium devsel, latency 32, IRQ 11
> > Memory at d4001000 (32-bit, prefetchable) [size=4K]
> > Capabilities: [44] Vital Product Data
> > Capabilities: [4c] Power Management version 2
> > -------------------------------------------------------------------------
> >--
> >
> > _______________________________________________
> > mythtv-users mailing list
> > mythtv-users at mythtv.org
> > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
More information about the mythtv-users
mailing list