Recording with Envy24ht - routing problem?

OSS specific BSD discussion (FreeBSD/NetBSD/OpenBSD)

Moderators: cesium, dev, kodachi, hannu

Recording with Envy24ht - routing problem?

Postby BrienWS » Thu Nov 02, 2006 3:24 pm

Hello,

I just installed OSS4 on FreeBSD 6.1 and have a few problems with recording.

I'm attempting to record from the mic jack on my soundcard (Terratec Aureon Space 7.1).. I have found that when I try to record, I have to specify /dev/dsp5 for all audio functions to get anything to record. But I can't play back from /dev/dsp5 because it points to the mic jack.

I am wondering if it's possible for me to capture /dev/dsp5 and playback on say /dev/dsp0. I haven't found a way to do this and I'm a bit stuck. Here are ossinfo and dmesg:

Code: Select all
Version info: OSS 4.0rc2 (build 177/200610302312) (0x00040000)

Number of audio devices:   18
Number of MIDI devices:      0
Number of mixer devices:   2


Device objects
0: envy24ht0 Terratec Aureon 7.1 Space
1: softoss0 OSS Virtual Mixer v3.0

MIDI devices (/dev/midi*)

Mixer devices (/dev/mixer*)
0: Terratec Aureon 7.1 Space (Mixer 0 of device object 0)
1: Virtual Mixer (Mixer 0 of device object 1)

Audio devices (/dev/dsp*)
0: Terratec Aureon 7.1 Space front out (audio port 0 of device object 0)
1: Terratec Aureon 7.1 Space c/l out (audio port 1 of device object 0)
2: Terratec Aureon 7.1 Space surround out (audio port 2 of device object 0)
3: Terratec Aureon 7.1 Space rear out (audio port 3 of device object 0)
4: Terratec Aureon 7.1 Space digital out (audio port 4 of device object 0)
5: Terratec Aureon 7.1 Space analog in (audio port 5 of device object 0)
6: OSS Virtual Mixer v3.0 Playback CH #1 (audio port 0 of device object 1)
7: OSS Virtual Mixer v3.0 Playback CH #2 (audio port 1 of device object 1)
8: OSS Virtual Mixer v3.0 Playback CH #3 (audio port 2 of device object 1)
9: OSS Virtual Mixer v3.0 Playback CH #4 (audio port 3 of device object 1)
10: OSS Virtual Mixer v3.0 Playback CH #5 (audio port 4 of device object 1)
11: OSS Virtual Mixer v3.0 Playback CH #6 (audio port 5 of device object 1)
12: OSS Virtual Mixer v3.0 Playback CH #7 (audio port 6 of device object 1)
13: OSS Virtual Mixer v3.0 Playback CH #8 (audio port 7 of device object 1)
14: Virtual Mixer Loopback Record CH #1 (audio port 8 of device object 1)
15: Virtual Mixer Loopback Record CH #2 (audio port 9 of device object 1)
16: Virtual Mixer Loopback Record CH #3 (audio port 10 of device object 1)
17: Virtual Mixer Loopback Record CH #4 (audio port 11 of device object 1)


Code: Select all
Copyright (c) 1992-2006 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
   The Regents of the University of California. All rights reserved.
FreeBSD 6.1-RELEASE #0: Sun Aug 13 17:57:34 CDT 2006
    Spacedracula@.ok.cox.net:/usr/obj/usr/src/sys/BRIEN
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) 64 Processor 3500+ (2211.34-MHz K8-class CPU)
  Origin = "AuthenticAMD"  Id = 0x30ff2  Stepping = 2
  Features=0x78bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2>
  Features2=0x1<SSE3>
  AMD Features=0xe2500800<SYSCALL,NX,MMX+,FFXSR,LM,3DNow+,3DNow>
  AMD Features2=0x1<LAHF>
real memory  = 2147418112 (2047 MB)
avail memory = 2062757888 (1967 MB)
ACPI APIC Table: <Nvidia AWRDACPI>
ioapic0 <Version 1.1> irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: <Nvidia AWRDACPI> on motherboard
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi0: Power Button (fixed)
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pci0: <memory> at device 0.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 1.0 on pci0
isa0: <ISA bus> on isab0
pci0: <serial bus, SMBus> at device 1.1 (no driver attached)
ohci0: <OHCI (generic) USB controller> mem 0xf0101000-0xf0101fff irq 21 at device 2.0 on pci0
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: <OHCI (generic) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 10 ports with 10 removable, self powered
ehci0: <NVIDIA nForce4 USB 2.0 controller> mem 0xfeb00000-0xfeb000ff irq 22 at device 2.1 on pci0
ehci0: [GIANT-LOCKED]
usb1: EHCI version 1.0
usb1: companion controller, 4 ports each: usb0
usb1: <NVIDIA nForce4 USB 2.0 controller> on ehci0
usb1: USB revision 2.0
uhub1: nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub1: 10 ports with 10 removable, self powered
atapci0: <nVidia nForce CK804 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 6.0 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
atapci1: <nVidia nForce CK804 SATA300 controller> port 0x9f0-0x9f7,0xbf0-0xbf3,0x970-0x977,0xb70-0xb73,0xc800-0xc80f mem 0xf0104000-0xf0104fff irq 23 at device 7.0 on pci0
ata2: <ATA channel 0> on atapci1
ata3: <ATA channel 1> on atapci1
atapci2: <nVidia nForce CK804 SATA300 controller> port 0x9e0-0x9e7,0xbe0-0xbe3,0x960-0x967,0xb60-0xb63,0xdc00-0xdc0f mem 0xf0100000-0xf0100fff irq 21 at device 8.0 on pci0
ata4: <ATA channel 0> on atapci2
ata5: <ATA channel 1> on atapci2
pcib1: <ACPI PCI-PCI bridge> at device 9.0 on pci0
pci1: <ACPI PCI bus> on pcib1
rl0: <D-Link DFE-530TX+ 10/100BaseTX> port 0xa000-0xa0ff mem 0xf0005000-0xf00050ff irq 19 at device 7.0 on pci1
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:0d:88:26:b7:7d
pci1: <multimedia, audio> at device 8.0 (no driver attached)
fwohci0: <Texas Instruments TSB82AA2> mem 0xf0004000-0xf00047ff,0xf0000000-0xf0003fff irq 18 at device 10.0 on pci1
fwohci0: OHCI version 1.10 (ROM=1)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:16:e6:56:00:b2:98:7c
fwohci0: invalid speed 7 (fixed to 3).
fwohci0: Phy 1394a available S800, 3 ports.
fwohci0: Link S800, max_rec 4096 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 02:16:e6:b2:98:7c
fwe0: Ethernet address: 02:16:e6:b2:98:7c
fwe0: if_start running deferred for Giant
sbp0: <SBP-2/SCSI over FireWire> on firewire0
fwohci0: Initiate bus reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
fwohci0: phy int
nve0: <NVIDIA nForce MCP9 Networking Adapter> port 0xe400-0xe407 mem 0xf0102000-0xf0102fff irq 22 at device 10.0 on pci0
nve0: Ethernet address 00:16:e6:4b:55:6c
miibus1: <MII bus> on nve0
ciphy0: <Cicada CS8201 10/100/1000TX PHY> on miibus1
ciphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
nve0: Ethernet address: 00:16:e6:4b:55:6c
pcib2: <ACPI PCI-PCI bridge> at device 11.0 on pci0
pci2: <ACPI PCI bus> on pcib2
pcib3: <ACPI PCI-PCI bridge> at device 12.0 on pci0
pci3: <ACPI PCI bus> on pcib3
pcib4: <ACPI PCI-PCI bridge> at device 13.0 on pci0
pci4: <ACPI PCI bus> on pcib4
pcib5: <ACPI PCI-PCI bridge> at device 14.0 on pci0
pci5: <ACPI PCI bus> on pcib5
pci5: <display, VGA> at device 0.0 (no driver attached)
fdc0: <floppy drive controller> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FAST]
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
sio1: <Generic IRDA-compatible device> port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
ppc0: <Standard parallel printer port> port 0x378-0x37f irq 7 on acpi0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model MouseMan+, device ID 0
orm0: <ISA Option ROMs> at iomem 0xc0000-0xcefff,0xd0000-0xd17ff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 2211343563 Hz quality 800
Timecounters tick every 1.000 msec
module_register_init: MOD_LOAD (amr_linux, 0xffffffff806205d0, 0) error 6
acd0: DVDR <ASUS DRW-1608P3S/1.06> at ata0-master UDMA66
acd1: DVDR <ASUS DRW-1608P3S/1.06> at ata0-slave UDMA66
ad4: 286168MB <Seagate ST3300631AS 3.04> at ata2-master SATA150
ad6: 76319MB <Seagate ST3808110AS 3.AAH> at ata3-master SATA150
Trying to mount root from ufs:/dev/ad6s2a
WARNING: / was not properly dismounted
WARNING: /tmp was not properly dismounted
WARNING: /usr was not properly dismounted
/usr: mount pending error: blocks 180 files 2
WARNING: /var was not properly dismounted
/var: mount pending error: blocks 0 files 2
nve0: device timeout (6)
envy24ht0: <Terratec Aureon 7.1 Space> port 0xa400-0xa41f,0xa800-0xa87f irq 16 at device 8.0 on pci1
pid 2944 (sequencer), uid 1002: exited on signal 6 (core dumped)
envy24ht: envy24ht: Recording is not possible with dsp0
envy24ht: envy24ht: Recording is not possible with dsp0
envy24ht: envy24ht: Recording is not possible with dsp1
envy24ht: envy24ht: Recording is not possible with dsp1
envy24ht: envy24ht: Recording is not possible with dsp2
envy24ht: envy24ht: Recording is not possible with dsp2
envy24ht: envy24ht: Recording is not possible with dsp3
envy24ht: envy24ht: Recording is not possible with dsp3
envy24ht: envy24ht: Recording is not possible with dsp4
envy24ht: envy24ht: Recording is not possible with dsp4
envy24ht: envy24ht: Playback is not possible with dsp5
envy24ht: envy24ht: Recording is not possible with dsp0
envy24ht: envy24ht: Recording is not possible with dsp0
envy24ht: envy24ht: Recording is not possible with dsp0
envy24ht: envy24ht: Recording is not possible with dsp0
envy24ht: envy24ht: Recording is not possible with dsp0
envy24ht: envy24ht: Recording is not possible with dsp0
WARNING pid 2964 (mhwaveedit): ioctl sign-extension ioctl ffffffffc0045005
envy24ht: envy24ht: Recording is not possible with dsp0
envy24ht: envy24ht: Recording is not possible with dsp0
envy24ht: envy24ht: Recording is not possible with dsp0
osscore: Audio output 0 doesn't drain (6533120/6516736 0).
osscore: len=0/4096, total=16384
envy24ht: envy24ht: Recording is not possible with dsp0
envy24ht: envy24ht: Recording is not possible with dsp0
envy24ht: envy24ht: Recording is not possible with dsp0
envy24ht: envy24ht: Recording is not possible with dsp1
envy24ht: envy24ht: Recording is not possible with dsp1
envy24ht: envy24ht: Recording is not possible with dsp2
envy24ht: envy24ht: Recording is not possible with dsp2
envy24ht: envy24ht: Recording is not possible with dsp3
envy24ht: envy24ht: Recording is not possible with dsp3
envy24ht: envy24ht: Recording is not possible with dsp4
envy24ht: envy24ht: Recording is not possible with dsp4
envy24ht: envy24ht: Playback is not possible with dsp5
envy24ht: envy24ht: Recording is not possible with dsp0
envy24ht: envy24ht: Recording is not possible with dsp0
envy24ht: envy24ht: Recording is not possible with dsp0
envy24ht: envy24ht: Recording is not possible with dsp0
envy24ht: envy24ht: Recording is not possible with dsp0
envy24ht: envy24ht: Recording is not possible with dsp0
WARNING pid 3045 (mhwaveedit): ioctl sign-extension ioctl ffffffffc0045005
WARNING pid 3045 (mhwaveedit): ioctl sign-extension ioctl ffffffffc0045006
WARNING pid 3045 (mhwaveedit): ioctl sign-extension ioctl ffffffffc0045002
envy24ht: envy24ht: Playback is not possible with dsp5
envy24ht: envy24ht: Playback is not possible with dsp5
WARNING pid 3045 (mhwaveedit): ioctl sign-extension ioctl ffffffffc0045005
WARNING pid 3045 (mhwaveedit): ioctl sign-extension ioctl ffffffffc0045005
WARNING pid 3045 (mhwaveedit): ioctl sign-extension ioctl ffffffffc0045005
WARNING pid 3045 (mhwaveedit): ioctl sign-extension ioctl ffffffffc0045005
WARNING pid 3045 (mhwaveedit): ioctl sign-extension ioctl ffffffffc0045006
WARNING pid 3045 (mhwaveedit): ioctl sign-extension ioctl ffffffffc0045002
WARNING pid 3045 (mhwaveedit): ioctl sign-extension ioctl ffffffffc0045005
WARNING pid 3045 (mhwaveedit): ioctl sign-extension ioctl ffffffffc0045006
WARNING pid 3045 (mhwaveedit): ioctl sign-extension ioctl ffffffffc0045002
WARNING pid 3045 (mhwaveedit): ioctl sign-extension ioctl ffffffffc0045005
WARNING pid 3045 (mhwaveedit): ioctl sign-extension ioctl ffffffffc0045006
WARNING pid 3045 (mhwaveedit): ioctl sign-extension ioctl ffffffffc0045002
WARNING pid 3045 (mhwaveedit): ioctl sign-extension ioctl ffffffffc0045005
WARNING pid 3045 (mhwaveedit): ioctl sign-extension ioctl ffffffffc0045006
WARNING pid 3045 (mhwaveedit): ioctl sign-extension ioctl ffffffffc0045002
envy24ht: envy24ht: Recording is not possible with dsp0
envy24ht: envy24ht: Recording is not possible with dsp0
envy24ht: envy24ht: Recording is not possible with dsp1
envy24ht: envy24ht: Recording is not possible with dsp1
envy24ht: envy24ht: Recording is not possible with dsp2
envy24ht: envy24ht: Recording is not possible with dsp2
envy24ht: envy24ht: Recording is not possible with dsp3
envy24ht: envy24ht: Recording is not possible with dsp3
envy24ht: envy24ht: Recording is not possible with dsp4
envy24ht: envy24ht: Recording is not possible with dsp4
envy24ht: envy24ht: Playback is not possible with dsp5
envy24ht: envy24ht: Recording is not possible with dsp0
envy24ht: envy24ht: Recording is not possible with dsp0
envy24ht: envy24ht: Recording is not possible with dsp0
envy24ht: envy24ht: Recording is not possible with dsp0
envy24ht: envy24ht: Recording is not possible with dsp0
BrienWS
New Member
 
Posts: 2
Joined: Thu Nov 02, 2006 3:18 pm

Re: Recording with Envy24ht - routing problem?

Postby dev » Thu Nov 02, 2006 6:12 pm

BrienWS wrote:Hello,

I just installed OSS4 on FreeBSD 6.1 and have a few problems with recording.

I'm attempting to record from the mic jack on my soundcard (Terratec Aureon Space 7.1).. I have found that when I try to record, I have to specify /dev/dsp5 for all audio functions to get anything to record. But I can't play back from /dev/dsp5 because it points to the mic jack.


Yes on freebsd the automatica device redirection doesn't work the way it does on Solaris, Linux so you have to specify /dev/dsp5 for each application trying to record. If your app doesn't permit specifying a specific /dev/dsp port, then you can do: rm /dev/dsp; ln -s /dev/dsp5 /dev/dsp and now recording should work normally.


regards
Dev Mazumdar
dev
Developer
 
Posts: 578
Joined: Fri Sep 12, 2003 6:08 am
Location: Culver City, CA

Re: Recording with Envy24ht - routing problem?

Postby BrienWS » Thu Nov 02, 2006 8:07 pm

dev wrote:
BrienWS wrote:Hello,

I just installed OSS4 on FreeBSD 6.1 and have a few problems with recording.

I'm attempting to record from the mic jack on my soundcard (Terratec Aureon Space 7.1).. I have found that when I try to record, I have to specify /dev/dsp5 for all audio functions to get anything to record. But I can't play back from /dev/dsp5 because it points to the mic jack.


Yes on freebsd the automatica device redirection doesn't work the way it does on Solaris, Linux so you have to specify /dev/dsp5 for each application trying to record. If your app doesn't permit specifying a specific /dev/dsp port, then you can do: rm /dev/dsp; ln -s /dev/dsp5 /dev/dsp and now recording should work normally.


regards
Dev Mazumdar


Thanks for replying!

I have a program that lets me specify where to record from and I set it to dev/dsp5. The problem is that it tries to play back on the same dsp as it records from, and dsp5 won't support playback. But no other dsp's will support recording.

I will try the symbolic link idea and see how that works.

EDIT:

I just tried it. I got the following:

Code: Select all
# rm /dev/dsp
rm: /dev/dsp: No such file or directory


So I went ahead and tried to create the link:

Code: Select all
#ln /dev/dsp5 /dev/dsp
ln: /dev/dsp: File exists


This is starting to make less and less sense.
BrienWS
New Member
 
Posts: 2
Joined: Thu Nov 02, 2006 3:18 pm


Return to BSD

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron