From owner-freebsd-multimedia Mon Mar 1 12:18:12 1999 Delivered-To: freebsd-multimedia@freebsd.org Received: from lips.lcse.umn.edu (lips.lcse.umn.edu [128.101.182.100]) by hub.freebsd.org (Postfix) with ESMTP id 7A41C1545C for ; Mon, 1 Mar 1999 12:16:37 -0800 (PST) (envelope-from cattelan@thebarn.com) Received: from thebarn.com (ysam.mappcc.mapp.org [148.142.0.3]) by lips.lcse.umn.edu (8.9.2/8.9.1) with ESMTP id OAA27096 for ; Mon, 1 Mar 1999 14:16:20 -0600 (CST) Message-ID: <36DAF572.2043A976@thebarn.com> Date: Mon, 01 Mar 1999 14:15:46 -0600 From: Russell Cattelan X-Mailer: Mozilla 4.5 [en] (X11; U; FreeBSD 3.1-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-multimedia@freebsd.org Subject: Ensoniq ES1371 Driver. Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I've managed to paste enough of Thomas Sailer linux driver for the es1371 together to get basics working... ie it plays sounds files. The mixer interface needs more work and I haven't tested recording. If anybody has a desperate need to get one of these cards running drop me a note I'll send you what I have. Hopefully if I find some time over the next few weeks I'll clean it up a bit more. -Russell Cattelan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Mon Mar 1 16:27: 2 1999 Delivered-To: freebsd-multimedia@freebsd.org Received: from lips.lcse.umn.edu (lips.lcse.umn.edu [128.101.182.100]) by hub.freebsd.org (Postfix) with ESMTP id EFFDE1545D for ; Mon, 1 Mar 1999 16:26:55 -0800 (PST) (envelope-from cattelan@thebarn.com) Received: from thebarn.com (ysam.mappcc.mapp.org [148.142.0.3]) by lips.lcse.umn.edu (8.9.2/8.9.1) with ESMTP id SAA27779; Mon, 1 Mar 1999 18:26:35 -0600 (CST) Message-ID: <36DB301C.99117802@thebarn.com> Date: Mon, 01 Mar 1999 18:26:05 -0600 From: Russell Cattelan X-Mailer: Mozilla 4.5 [en] (X11; U; FreeBSD 3.1-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: Randy Bush , freebsd-multimedia@FreeBSD.ORG Subject: Re: how to cd to mp3 References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Randy Bush wrote: > given input from cd, how do i make an mp3 file? > > randy I'm just got done putting my 400+ cd collection online. whew. The basic programs I use tosha (hacked to spit out the CDDB query string) mp3encode (based on the dist10 source) and a bunch of perl scripts, including one that will keep a specified number of encode process running... I do a lot of my encoding on SMP boxes. (The 8 cpu R10000 SGI box works out nicely) I can make my scripts available if you would like to look at them. -Russell To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Mon Mar 1 17:40: 2 1999 Delivered-To: freebsd-multimedia@freebsd.org Received: from scam.xcf.berkeley.edu (scam.XCF.Berkeley.EDU [128.32.43.201]) by hub.freebsd.org (Postfix) with SMTP id 7CB051522E for ; Mon, 1 Mar 1999 17:39:59 -0800 (PST) (envelope-from grady@scam.XCF.Berkeley.EDU) Received: (qmail 5686 invoked by uid 348); 2 Mar 1999 01:40:20 -0000 Received: from localhost (HELO scam.XCF.Berkeley.EDU) (sendmail-bs@127.0.0.1) by localhost with SMTP; 2 Mar 1999 01:40:20 -0000 To: freebsd-multimedia@freebsd.org, freebsd-bugs@freebsd.org Subject: CD-ROM problem on 3.0: Invalid argument? From: grady@xcf.berkeley.edu (Steven Grady) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <5680.920338819.1@scam.XCF.Berkeley.EDU> Date: Mon, 01 Mar 1999 17:40:20 -0800 Message-Id: <19990302013959.7CB051522E@hub.freebsd.org> Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org (Sorry about not using send-pr, but installing GNATS on my machine for non-FreeBSD purposes seems to have screwed up send-pr.) I'm trying to rip my CDs. The program I'm using to get the header info (to query CDDB) works the first n times I run it (where n >= 1), but at some point the open fails with "Invalid argument". It works again the next time I reboot. Sounds like a bug to me. Anyone have a clue? The program (courtesy of Daniel O'Connor, doconnor@gsoft.com.au), is the following: ==== #include #include #include #include #include #include int cddb_sum(int n); unsigned long cddb_discid(int tot_trks, struct cd_toc_entry *cdtoc); int main(int argc, char **argv) { int cd_fd, tot_tracks, i; struct ioc_toc_header toc_head; struct ioc_read_toc_entry toc_entries_head; struct cd_toc_entry *toc_entries; char cd_path[256]; if (argc != 2) { warnx("Usage: %s ", argv[0]); exit(EX_USAGE); } strcpy(cd_path, argv[1]); if ((cd_fd = open(cd_path, O_RDWR)) == -1) { warnx("Failed to open %s, reason: %s", cd_path, strerror(errno)); exit(EX_IOERR); } if (ioctl(cd_fd, CDIOREADTOCHEADER, &toc_head) == -1) { warnx("Failed to get TOC header, reason: %s", strerror(errno)); exit(EX_UNAVAILABLE); } printf("Start track = %d, end track = %d, length = %d\n", toc_head.starting_track, toc_head.ending_track, toc_head.len); tot_tracks = toc_head.ending_track - toc_head.starting_track + 1; toc_entries = (struct cd_toc_entry *)malloc(sizeof(struct cd_toc_entry) * (tot_tracks + 1)); if (toc_entries == NULL) { warnx("Couldn't allocate memeory for TOC entries"); exit(EX_UNAVAILABLE); } toc_entries_head.data = toc_entries; toc_entries_head.data_len = sizeof(struct cd_toc_entry) * (tot_tracks + 1); toc_entries_head.starting_track = 0; toc_entries_head.address_format = CD_MSF_FORMAT; if (ioctl(cd_fd, CDIOREADTOCENTRYS, &toc_entries_head) == -1) { warnx("Failed to get TOC entries, reason: %s\n", strerror(errno)); exit(EX_UNAVAILABLE); } for (i = 0; i < (tot_tracks + 1); i++) { printf("Track %d, Minute = %d, Second = %d, Frame = %d, Type = %s, Offset = %d\n", toc_entries[i].track, toc_entries[i].addr.msf.minute, toc_entries[i].addr.msf.second, toc_entries[i].addr.msf.frame, (toc_entries[i].control & 4) ? "data" : "audio", (toc_entries[i].addr.msf.minute * 60 * 75) + (toc_entries[i].addr.msf.second * 75) + toc_entries[i].addr.msf.frame); } printf("Disc ID is %08x\n", cddb_discid(tot_tracks, toc_entries)); printf("Length is %d seconds\n", (toc_entries[tot_tracks].addr.msf.minute * 60) + (toc_entries[tot_tracks].addr.msf.second)); } int cddb_sum(int n) { int ret; /* For backward compatibility this algorithm must not change */ ret = 0; while (n > 0) { ret = ret + (n % 10); n = n / 10; } return (ret); } unsigned long cddb_discid(int tot_trks, struct cd_toc_entry *cdtoc) { int i, t = 0, n = 0; /* For backward compatibility this algorithm must not change */ i = 0; while (i < tot_trks) { n = n + cddb_sum((cdtoc[i].addr.msf.minute * 60) + cdtoc[i].addr.msf.second); i++; } t = ((cdtoc[tot_trks].addr.msf.minute * 60) + cdtoc[tot_trks].addr.msf.second) - ((cdtoc[0].addr.msf.minute * 60) + cdtoc[0].addr.msf.second); return ((n % 0xff) << 24 | t << 8 | tot_trks); } ==== My system is 3.0-RELEASE. Dmesg output follows. Note that the CD-ROM is a Toshiba XM-5401. ==== Copyright (c) 1992-1998 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 3.0-RELEASE #3: Mon Feb 15 11:47:19 PST 1999 grady@semprini.ip.holonet.net:/usr/src/sys/compile/SEMPRINI Timecounter "i8254" frequency 1193182 Hz cost 3011 ns CPU: Pentium II (300.68-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x634 Stepping=4 Features=0x80f9ff real memory = 67108864 (65536K bytes) avail memory = 62554112 (61088K bytes) Probing for devices on PCI bus 0: chip0: rev 0x03 on pci0.0.0 chip1: rev 0x03 on pci0.1.0 chip2: rev 0x01 on pci0.4.0 ide_pci0: rev 0x01 on pci0.4.1 chip3: rev 0x01 int d irq 9 on pci0.4.2 chip4: rev 0x01 on pci0.4.3 vga0: rev 0x00 int a irq 9 on pci0.10.0 ahc0: rev 0x01 int a irq 11 on pci0.12.0 ahc0: aic7860 Single Channel A, SCSI Id=7, 3/255 SCBs Probing for devices on PCI bus 1: Probing for PnP devices: CSN 1 Vendor ID: CTL0039 [0x39008c0e] Serial 0x0001d455 Comp ID: PNP0600 [0x0006d041] pcm1 (SB16pnp sn 0x0001d455) at 0x220-0x22f irq 5 drq 1 flags 0x15 on isa Probing for devices on the ISA bus: sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <16 virtual consoles, flags=0x0> ed0 at 0x300-0x31f irq 15 on isa ed0: address 00:40:33:5a:29:e9, type NE2000 (16 bit) pcm0 not found sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa sio0: type 16550A sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A lpt0 at 0x378-0x37f irq 7 on isa lpt0: Interrupt-driven port lp0: TCP/IP capable interface psm0 at 0x60-0x64 irq 12 on motherboard psm0: model Generic PS/2 mouse, device ID 0 fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: FIFO enabled, 8 bytes threshold fd0: 1.44MB 3.5in wdc0 at 0x1f0-0x1f7 irq 14 on isa wdc0: unit 0 (wd0): wd0: 11497MB (23547888 sectors), 23361 cyls, 16 heads, 63 S/T, 512 B/S npx0 on motherboard npx0: INT 16 interface apm0 on isa apm: found APM BIOS version 1.2 Waiting 2 seconds for SCSI devices to settle changing root device to da1s2a da0 at ahc0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI2 device da0: 10.0MB/s transfers (10.0MHz, offset 8) da0: 516MB (1057616 512 byte sectors: 64H 32S/T 516C) da1 at ahc0 bus 0 target 1 lun 0 da1: Fixed Direct Access SCSI2 device da1: 10.0MB/s transfers (10.0MHz, offset 15), Tagged Queueing Enabled da1: 8296MB (16992188 512 byte sectors: 255H 63S/T 1057C) ffs_mountfs: superblock updated ffs_mountfs: superblock updated cd0 at ahc0 bus 0 target 2 lun 0 cd0: Removable CD-ROM SCSI2 device cd0: 4.237MB/s transfers (4.237MHz, offset 15) cd0: cd present [331145 x 2048 byte records] (da2:ahc0:0:4:0): SCB 0x2 - timed out while idle, LASTPHASE == 0x1, SCSISIGI == 0x0 SEQADDR == 0x8 SSTAT1 == 0xa (da2:ahc0:0:4:0): Queuing a BDR SCB (da2:ahc0:0:4:0): Bus Device Reset Message Sent (da2:ahc0:0:4:0): no longer in timeout, status = 34b ahc0: Bus Device Reset on A:4. 1 SCBs aborted da2 at ahc0 bus 0 target 4 lun 0 da2: Removable Direct Access SCSI2 device da2: 10.0MB/s transfers (10.0MHz, offset 15) da2: 1021MB (2091050 512 byte sectors: 64H 32S/T 1021C) ed0: promiscuous mode enabled (da1:ahc0:0:1:0): tagged openings now 48 ==== The output of the program looks like: % cddb-id /dev/cd0a cddb-id: Failed to open /dev/cd0a, reason: Invalid argument As stated before, the program works just fine at least once before it gets into this state. Steven grady@xcf.berkeley.edu It's true that every time you hear a bell, an angel gets its wings. But what they don't tell you is that every time you hear a mouse trap snap, an angel gets set on fire. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Mon Mar 1 21: 4:17 1999 Delivered-To: freebsd-multimedia@freebsd.org Received: from panzer.plutotech.com (panzer.plutotech.com [206.168.67.125]) by hub.freebsd.org (Postfix) with ESMTP id B076C154F2; Mon, 1 Mar 1999 21:04:14 -0800 (PST) (envelope-from ken@panzer.plutotech.com) Received: (from ken@localhost) by panzer.plutotech.com (8.9.2/8.8.5) id WAA76930; Mon, 1 Mar 1999 22:03:51 -0700 (MST) From: "Kenneth D. Merry" Message-Id: <199903020503.WAA76930@panzer.plutotech.com> Subject: Re: CD-ROM problem on 3.0: Invalid argument? In-Reply-To: <19990302013959.8005D1536F@hub.freebsd.org> from Steven Grady at "Mar 1, 1999 5:40:20 pm" To: grady@xcf.berkeley.edu (Steven Grady) Date: Mon, 1 Mar 1999 22:03:51 -0700 (MST) Cc: freebsd-multimedia@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Steven Grady wrote... > (Sorry about not using send-pr, but installing GNATS on my machine > for non-FreeBSD purposes seems to have screwed up send-pr.) You can also submit bug reports here: http://www.freebsd.org/send-pr.html > I'm trying to rip my CDs. The program I'm using to get the header info > (to query CDDB) works the first n times I run it (where n >= 1), > but at some point the open fails with "Invalid argument". It works again the > next time I reboot. Sounds like a bug to me. Anyone have a clue? > > The program (courtesy of Daniel O'Connor, doconnor@gsoft.com.au), is the > following: [ ... ] It's hard to say what the problem is. It sounds like there could be some sort of race condition, or it could be that your CDROM drive gets kinda hosed eventually. There are a couple of things you can try to diagnose the problem. The first is to boot with -v, and see if you get any error messages returned from the CD driver. The second is to turn on CD debugging for your CDROM drive. Try this: camcontrol debug -c 0:2:0 That will tell us what commands are being sent to the drive. If we can figure out what the last few commands are, we may be able to figure out why you're getting EINVAL back. > My system is 3.0-RELEASE. Dmesg output follows. Note that the CD-ROM is > a Toshiba XM-5401. [ ... ] > The output of the program looks like: > > % cddb-id /dev/cd0a > cddb-id: Failed to open /dev/cd0a, reason: Invalid argument > > As stated before, the program works just fine at least once before it gets > into this state. I can't reproduce the problem, but then again, I'm not running 3.0-R, and things have changed somewhat in the CD driver since 3.0. Ken -- Kenneth Merry ken@plutotech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Tue Mar 2 18: 2:32 1999 Delivered-To: freebsd-multimedia@freebsd.org Received: from scam.xcf.berkeley.edu (scam.XCF.Berkeley.EDU [128.32.43.201]) by hub.freebsd.org (Postfix) with SMTP id 520AA14D00 for ; Tue, 2 Mar 1999 18:01:32 -0800 (PST) (envelope-from grady@scam.XCF.Berkeley.EDU) Received: (qmail 2685 invoked by uid 348); 3 Mar 1999 02:01:54 -0000 Received: from localhost (HELO scam.XCF.Berkeley.EDU) (sendmail-bs@127.0.0.1) by localhost with SMTP; 3 Mar 1999 02:01:54 -0000 To: "Kenneth D. Merry" Cc: freebsd-multimedia@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: CD-ROM problem on 3.0: Invalid argument? From: grady@xcf.berkeley.edu (Steven Grady) In-reply-to: Your message of Mon, 1 Mar 1999 22:03:51 -0700 (MST) <199903020503.WAA76930@panzer.plutotech.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2681.920426513.1@scam.XCF.Berkeley.EDU> Date: Tue, 02 Mar 1999 18:01:54 -0800 Message-Id: <19990303020132.520AA14D00@hub.freebsd.org> Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Thanks for the information. I turned on CAM debugging, and when I reproduced the problem, I found the following syslog data: [At this point, it was successfully reading the disc.] (pass2:ahc0:0:2:0): READ(10). CDB: 28 0 0 0 d bd 0 0 a 0 [Here I interrupted the read, and ran the program.] (cd0:ahc0:0:2:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 1 0 (cd0:ahc0:0:2:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (cd0:ahc0:0:2:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 0 0 [Here, I ran the program again.] (cd0:ahc0:0:2:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 Each subsequent (failing) run of the cddb-id program generates the same single "READ CD RECORDED CAPACITY" message. By the way, I also tried to boot with -v, but I get a reproducible page fault during boot. The information I saved is that the bell turns on, and it enteres the debugger with the message: Fatal trap 12; page fault in kernel mode ... Stopped at _ansi_put+0x92: movw %ax,0(%ecx) Since I've never debugged a kernel before, I gave up booting with -v at this point. I'm looking forward to the arrival of the 3.1 discs -- maybe they will fix this problem. But meanwhile, perhaps this information can shed some light on the bug. Steven grady@xcf.berkeley.edu "Hello soldier boy! Me so horny! Me love you long time!" "Go away kid, you're grossing me out." "HELLO PLEASE! Please hello hello sucky sucky hello please!" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Tue Mar 2 21:40:59 1999 Delivered-To: freebsd-multimedia@freebsd.org Received: from panzer.plutotech.com (panzer.plutotech.com [206.168.67.125]) by hub.freebsd.org (Postfix) with ESMTP id CE6A714EA5; Tue, 2 Mar 1999 21:40:53 -0800 (PST) (envelope-from ken@panzer.plutotech.com) Received: (from ken@localhost) by panzer.plutotech.com (8.9.2/8.8.5) id WAA82810; Tue, 2 Mar 1999 22:40:30 -0700 (MST) From: "Kenneth D. Merry" Message-Id: <199903030540.WAA82810@panzer.plutotech.com> Subject: Re: CD-ROM problem on 3.0: Invalid argument? In-Reply-To: <199903030201.TAA12937@pluto.plutotech.com> from Steven Grady at "Mar 2, 1999 6: 1:54 pm" To: grady@xcf.berkeley.edu (Steven Grady) Date: Tue, 2 Mar 1999 22:40:30 -0700 (MST) Cc: freebsd-multimedia@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Steven Grady wrote... > Thanks for the information. I turned on CAM debugging, and when > I reproduced the problem, I found the following syslog data: > > [At this point, it was successfully reading the disc.] > (pass2:ahc0:0:2:0): READ(10). CDB: 28 0 0 0 d bd 0 0 a 0 > [Here I interrupted the read, and ran the program.] > (cd0:ahc0:0:2:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 1 0 > (cd0:ahc0:0:2:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 > (cd0:ahc0:0:2:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 0 0 > [Here, I ran the program again.] > (cd0:ahc0:0:2:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 > > Each subsequent (failing) run of the cddb-id program generates the > same single "READ CD RECORDED CAPACITY" message. Weird. It sounds like there may be a state-keeping type problem with the driver in 3.0. You should get a prevent removal and an allow removal each time. But evidently you aren't getting that... > By the way, I also tried to boot with -v, but I get a reproducible > page fault during boot. The information I saved is that the bell > turns on, and it enteres the debugger with the message: > Fatal trap 12; page fault in kernel mode > ... > Stopped at _ansi_put+0x92: movw %ax,0(%ecx) > > Since I've never debugged a kernel before, I gave up booting with -v > at this point. Just put the following in your kernel config file: options DDB And then when you get a panic, type 'trace' at the DDB prompt. > I'm looking forward to the arrival of the 3.1 discs -- maybe they will > fix this problem. But meanwhile, perhaps this information can shed > some light on the bug. There have been a number of changes in the CD driver since 3.0. My guess is that 3.1 may well fix your problem. It's probably worth just waiting for 3.1, since I suspect you'll be getting it soon. If 3.1 doesn't fix the problem, we'll have to hunt this one down. Ken -- Kenneth Merry ken@plutotech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Wed Mar 3 1:15: 6 1999 Delivered-To: freebsd-multimedia@freebsd.org Received: from alpha.matrixinet.com (alpha.matrixinet.com [205.254.232.10]) by hub.freebsd.org (Postfix) with ESMTP id 069DC14ED0 for ; Wed, 3 Mar 1999 01:14:43 -0800 (PST) (envelope-from eriku@silcom.com) Received: from beach.silcom.com (beach.silcom.com [199.201.128.19]) by alpha.matrixinet.com (8.9.1a/8.9.1) with ESMTP id BAA20465 for ; Wed, 3 Mar 1999 01:13:16 -0800 (PST) Received: from silcom.com (root@pm5-23.sba1.avtel.net [207.71.222.23]) by beach.silcom.com (8.9.0/8.9.0) with ESMTP id BAA27447 for ; Wed, 3 Mar 1999 01:14:24 -0800 (PST) Message-ID: <36DC8CE5.E75C9A81@silcom.com> Date: Wed, 03 Mar 1999 01:14:13 +0000 From: Erik Umenofer Reply-To: eriku@silcom.com Organization: firebelly.net X-Mailer: Mozilla 4.08 [en] (X11; I; FreeBSD 3.0-STABLE i386) MIME-Version: 1.0 To: multimedia@freebsd.org Subject: DMA/IRC timeout on SB16 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi. I have a Vibra16x pnpinfo says... Checking for Plug-n-Play devices... Card assigned CSN #1 Vendor ID CTL00f0 (0xf0008c0e), Serial Number 0xffffffff PnP Version 1.0, Vendor Version 16 Device Description: Creative ViBRA16X PnP Logical Device ID: CTL0043 0x43008c0e #0 Device Description: Audio TAG Start DF Good Configuration IRQ: 5 - only one type (true/edge) DMA: channel(s) 1 8-bit, not a bus master, count by byte, , Compatibility mode DMA: channel(s) 3 8-bit, not a bus master, count by byte, , Compatibility mode I/O Range 0x220 .. 0x220, alignment 0x1, len 0x10 [16-bit addr] I/O Range 0x330 .. 0x330, alignment 0x1, len 0x2 [16-bit addr] I/O Range 0x388 .. 0x388, alignment 0x1, len 0x4Acceptable Configuration IRQ: 5 7 9 10 - only one type (true/edge) DMA: channel(s) 0 1 3 8-bit, not a bus master, count by byte, , Compatibility mode DMA: channel(s) 0 1 3 8-bit, not a bus master, count by byte, , Compatibility mode I/O Range 0x220 .. 0x280, alignment 0x20, len 0x10 [16-bit addr] I/O Range 0x300 .. 0x330, alignment 0x30, len 0x2 [16-bit addr] I/O Range 0x388 .. 0x388, alignment 0x1, len 0x4 [16-bit addr] TAG Start DF dmesg..... sb0 at 0x220 irq 5 drq 1 on isa snd0: sbxvi0 at drq 5 on isa snd0: sbmidi0 at 0x330 on isa snd0: opl0 at 0x388 on isa snd0: Loosk good huh?? well.... Sound: DMA (output) timed out - IRQ/DRQ config error? is all i get.... I've tried drq's 1, 3 but then it says on dmesg sb0 at 0x220 irq 5 drq 1 on isa snd0: SB16 Error: Invalid DMA channel 1/3 bxvi0 not found sbmidi0 at 0x330 on isa snd0: opl0 at 0x388 on isa snd0: How do I tweak my dma's so that it doesnt' time out and the kernel likes it ive tried 1,3 and 1,5 WHat else can I do. IRQ 5 is correct. erik To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Wed Mar 3 8:51:29 1999 Delivered-To: freebsd-multimedia@freebsd.org Received: from alpha.matrixinet.com (alpha.matrixinet.com [205.254.232.10]) by hub.freebsd.org (Postfix) with ESMTP id 895FC14ECB for ; Wed, 3 Mar 1999 08:51:13 -0800 (PST) (envelope-from eriku@silcom.com) Received: from beach.silcom.com (beach.silcom.com [199.201.128.19]) by alpha.matrixinet.com (8.9.1a/8.9.1) with ESMTP id IAA21987; Wed, 3 Mar 1999 08:49:40 -0800 (PST) Received: from silcom.com (root@pm0-36.sba1.avtel.net [207.71.218.36]) by beach.silcom.com (8.9.0/8.9.0) with ESMTP id IAA08846; Wed, 3 Mar 1999 08:50:48 -0800 (PST) Message-ID: <36DCF7DD.DE97FF46@silcom.com> Date: Wed, 03 Mar 1999 08:50:38 +0000 From: Erik Umenofer Reply-To: eriku@silcom.com Organization: firebelly.net X-Mailer: Mozilla 4.08 [en] (X11; I; FreeBSD 3.0-STABLE i386) MIME-Version: 1.0 To: Norbert Grundmann Cc: multimedia@freebsd.org Subject: DMA/IRQ timeout on SB16 References: <199903031003.LAA17634@hopper.Informatik.RWTH-Aachen.DE> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Norbert Grundmann wrote: > Content-MD5: oZ9Ubs/H8MDgfeSgn3iSXg== > > >Hi. > >I have a Vibra16x > > > >dmesg..... > > > >sb0 at 0x220 irq 5 drq 1 on isa > >snd0: > >sbxvi0 at drq 5 on isa > >snd0: > >sbmidi0 at 0x330 on isa > >snd0: > >opl0 at 0x388 on isa > >snd0: > > > >Loosk good huh?? > > > >well.... > > > >Sound: DMA (output) timed out - IRQ/DRQ config error? > > > >is all i get.... > > > >I've tried drq's 1, 3 but then it says on dmesg > > > >sb0 at 0x220 irq 5 drq 1 on isa > >snd0: > >SB16 Error: Invalid DMA channel 1/3 > >bxvi0 not found > >sbmidi0 at 0x330 on isa > >snd0: > >opl0 at 0x388 on isa > >snd0: > > > >How do I tweak my dma's so that it doesnt' time out and the kernel likes > >it > > > >ive tried 1,3 and 1,5 > >WHat else can I do. > >IRQ 5 is correct. > > > > > >erik > > Hello, > > i had nearly the same problem with a ASound Gold > soundblaster compatible board. I had commented out > in a source file the question if the drq for 16 bit > transfers is greater or equal 5. > > The irq should make no problems, the drq is the > problem. > > The message 'SB16 Error: Invalid DMA channel 1/3' > I had left, but only for remembering reasons. > > Hope it helps, > > Norbert > > PS: Sorry, i can't say excatly what file to change, > I am not at home. Perhaps I look into my own host > at home. > > +------------------------+------------------------+ > | EMail: Norbert.Grundmann@post.rwth-aachen.de | > | or: grundman@i5.informatik.rwth-aachen.de | > | | > | ...powered by FreeBSD | > +------------------------+------------------------+ Hello, does anyone know what file this is? I think the problem is that my card uses irq 5 drq's 1 and 3 but the sound driver thinks that 1 and 3 aren't valid. How can I go around this? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Wed Mar 3 13:59:22 1999 Delivered-To: freebsd-multimedia@freebsd.org Received: from pcayk.ukc.ac.uk (pcayk.ukc.ac.uk [129.12.41.131]) by hub.freebsd.org (Postfix) with ESMTP id 0760A14EC5 for ; Wed, 3 Mar 1999 13:59:11 -0800 (PST) (envelope-from dlombardo@excite.com) Received: from excite.com (xtsw12c.ukc.ac.uk [129.12.41.85]) by pcayk.ukc.ac.uk (8.8.8/8.8.8) with ESMTP id WAA24138 for ; Wed, 3 Mar 1999 22:00:44 GMT (envelope-from dlombardo@excite.com) Message-ID: <36DDB14D.5C66E00F@excite.com> Date: Wed, 03 Mar 1999 22:01:49 +0000 From: Dean Lombardo Organization: University of Kent at Canterbury X-Mailer: Mozilla 4.5 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.unix.bsd.freebsd.misc To: multimedia@freebsd.org Subject: S3 SonicVibes still unsupported?! Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Dear all, I have just noticed that OpenBSD (as well as NetBSD) supports the above... I guess it shouldn't be too much of a problem porting it to FreeBSD now, right? OpenBSD has a different directory structure though - it's in /src/sys/dev/pci, while FreeBSD has all the sound stuff in /usr/src/sys/i386/isa/snd (or sound), which apparently only deals with ISA cards. Perhaps it's time to create a /usr/src/sys/pci/snd, or just put sound cards together with other devices in pci? Somehow OpenBSD's location seems more logical... A lot of inexpensive good quality cards (e.g. Turtle Beach Daytona PCI) use the SonicVibes chip. Luigi, anyone? Dean To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Wed Mar 3 15:29:20 1999 Delivered-To: freebsd-multimedia@freebsd.org Received: from hawaii.conterra.com (hawaii.conterra.com [209.12.164.32]) by hub.freebsd.org (Postfix) with ESMTP id 0E2F51575F for ; Wed, 3 Mar 1999 15:27:16 -0800 (PST) (envelope-from myself@conterra.com) Received: from dmaddox.conterra.com (myself@dmaddox.conterra.com [209.12.169.48]) by hawaii.conterra.com (8.8.8/8.8.7) with ESMTP id SAA13951; Wed, 3 Mar 1999 18:26:53 -0500 (EST) Received: (from myself@localhost) by dmaddox.conterra.com (8.9.3/8.9.1) id SAA01464; Wed, 3 Mar 1999 18:26:55 -0500 (EST) (envelope-from myself) Date: Wed, 3 Mar 1999 18:26:55 -0500 From: "Donald J . Maddox" To: Erik Umenofer Cc: multimedia@FreeBSD.ORG Subject: Re: DMA/IRC timeout on SB16 Message-ID: <19990303182655.C1295@dmaddox.conterra.com> Reply-To: dmaddox@conterra.com References: <36DC8CE5.E75C9A81@silcom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.1i In-Reply-To: <36DC8CE5.E75C9A81@silcom.com>; from Erik Umenofer on Wed, Mar 03, 1999 at 01:14:13AM +0000 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I don't believe that the Vibra16x is supported by the VoxWare driver. It is, however, supported by the pcm driver. Pcm has no support for MIDI, but it looks like you may have no choice. Try this in your kernel config: controller pnp0 device pcm0 at isa? port 0x220 tty irq 5 drq 1 flags 0x15 vector pcmintr On Wed, Mar 03, 1999 at 01:14:13AM +0000, Erik Umenofer wrote: > Hi. > I have a Vibra16x > pnpinfo says... > Checking for Plug-n-Play devices... > > Card assigned CSN #1 > Vendor ID CTL00f0 (0xf0008c0e), Serial Number 0xffffffff > PnP Version 1.0, Vendor Version 16 > Device Description: Creative ViBRA16X PnP > > Logical Device ID: CTL0043 0x43008c0e #0 > Device Description: Audio > TAG Start DF > Good Configuration > IRQ: 5 - only one type (true/edge) > DMA: channel(s) 1 > 8-bit, not a bus master, count by byte, , Compatibility mode > DMA: channel(s) 3 > 8-bit, not a bus master, count by byte, , Compatibility mode > I/O Range 0x220 .. 0x220, alignment 0x1, len 0x10 > [16-bit addr] > I/O Range 0x330 .. 0x330, alignment 0x1, len 0x2 > [16-bit addr] > I/O Range 0x388 .. 0x388, alignment 0x1, len 0x4Acceptable > Configuration > IRQ: 5 7 9 10 - only one type (true/edge) > DMA: channel(s) 0 1 3 > 8-bit, not a bus master, count by byte, , Compatibility mode > DMA: channel(s) 0 1 3 > 8-bit, not a bus master, count by byte, , Compatibility mode > I/O Range 0x220 .. 0x280, alignment 0x20, len 0x10 > [16-bit addr] > I/O Range 0x300 .. 0x330, alignment 0x30, len 0x2 > [16-bit addr] > I/O Range 0x388 .. 0x388, alignment 0x1, len 0x4 > [16-bit addr] > TAG Start DF > > dmesg..... > > sb0 at 0x220 irq 5 drq 1 on isa > snd0: > sbxvi0 at drq 5 on isa > snd0: > sbmidi0 at 0x330 on isa > snd0: > opl0 at 0x388 on isa > snd0: > > Loosk good huh?? > > well.... > > Sound: DMA (output) timed out - IRQ/DRQ config error? > > is all i get.... > > I've tried drq's 1, 3 but then it says on dmesg > > sb0 at 0x220 irq 5 drq 1 on isa > snd0: > SB16 Error: Invalid DMA channel 1/3 > bxvi0 not found > sbmidi0 at 0x330 on isa > snd0: > opl0 at 0x388 on isa > snd0: > > > How do I tweak my dma's so that it doesnt' time out and the kernel likes > it > > ive tried 1,3 and 1,5 > WHat else can I do. > IRQ 5 is correct. > > > erik > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-multimedia" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Wed Mar 3 16:50:10 1999 Delivered-To: freebsd-multimedia@freebsd.org Received: from alpha.matrixinet.com (alpha.matrixinet.com [205.254.232.10]) by hub.freebsd.org (Postfix) with ESMTP id CD23014DFF; Wed, 3 Mar 1999 16:50:07 -0800 (PST) (envelope-from eriku@silcom.com) Received: from beach.silcom.com (beach.silcom.com [199.201.128.19]) by alpha.matrixinet.com (8.9.1a/8.9.1) with ESMTP id QAA07067; Wed, 3 Mar 1999 16:48:37 -0800 (PST) Received: from silcom.com (root@pm7-24.sba1.avtel.net [207.71.222.124]) by beach.silcom.com (8.9.0/8.9.0) with ESMTP id QAA06642; Wed, 3 Mar 1999 16:49:46 -0800 (PST) Message-ID: <36DD6820.FF7B4A9A@silcom.com> Date: Wed, 03 Mar 1999 16:49:36 +0000 From: Erik Umenofer Reply-To: eriku@silcom.com Organization: firebelly.net X-Mailer: Mozilla 4.08 [en] (X11; I; FreeBSD 3.0-STABLE i386) MIME-Version: 1.0 To: dmaddox@conterra.com Cc: multimedia@FreeBSD.ORG, questions@FreeBSD.ORG Subject: DMA/IRC timeout on SB16 References: <36DC8CE5.E75C9A81@silcom.com> <19990303182655.C1295@dmaddox.conterra.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Donald J . Maddox wrote: > I don't believe that the Vibra16x is supported by the VoxWare driver. > It is, however, supported by the pcm driver. Pcm has no support for > MIDI, but it looks like you may have no choice. > > Try this in your kernel config: > > controller pnp0 > device pcm0 at isa? port 0x220 tty irq 5 drq 1 flags 0x15 vector pcmintr > > On Wed, Mar 03, 1999 at 01:14:13AM +0000, Erik Umenofer wrote: > > Hi. > > I have a Vibra16x > > pnpinfo says... > > Checking for Plug-n-Play devices... > > > > Card assigned CSN #1 > > Vendor ID CTL00f0 (0xf0008c0e), Serial Number 0xffffffff > > PnP Version 1.0, Vendor Version 16 > > Device Description: Creative ViBRA16X PnP > > > > Logical Device ID: CTL0043 0x43008c0e #0 > > Device Description: Audio > > TAG Start DF > > Good Configuration > > IRQ: 5 - only one type (true/edge) > > DMA: channel(s) 1 > > 8-bit, not a bus master, count by byte, , Compatibility mode > > DMA: channel(s) 3 > > 8-bit, not a bus master, count by byte, , Compatibility mode > > I/O Range 0x220 .. 0x220, alignment 0x1, len 0x10 > > [16-bit addr] > > I/O Range 0x330 .. 0x330, alignment 0x1, len 0x2 > > [16-bit addr] > > I/O Range 0x388 .. 0x388, alignment 0x1, len 0x4Acceptable > > Configuration > > IRQ: 5 7 9 10 - only one type (true/edge) > > DMA: channel(s) 0 1 3 > > 8-bit, not a bus master, count by byte, , Compatibility mode > > DMA: channel(s) 0 1 3 > > 8-bit, not a bus master, count by byte, , Compatibility mode > > I/O Range 0x220 .. 0x280, alignment 0x20, len 0x10 > > [16-bit addr] > > I/O Range 0x300 .. 0x330, alignment 0x30, len 0x2 > > [16-bit addr] > > I/O Range 0x388 .. 0x388, alignment 0x1, len 0x4 > > [16-bit addr] > > TAG Start DF > > > > dmesg..... > > > > sb0 at 0x220 irq 5 drq 1 on isa > > snd0: > > sbxvi0 at drq 5 on isa > > snd0: > > sbmidi0 at 0x330 on isa > > snd0: > > opl0 at 0x388 on isa > > snd0: > > > > Loosk good huh?? > > > > well.... > > > > Sound: DMA (output) timed out - IRQ/DRQ config error? > > > > is all i get.... > > > > I've tried drq's 1, 3 but then it says on dmesg > > > > sb0 at 0x220 irq 5 drq 1 on isa > > snd0: > > SB16 Error: Invalid DMA channel 1/3 > > bxvi0 not found > > sbmidi0 at 0x330 on isa > > snd0: > > opl0 at 0x388 on isa > > snd0: > > > > > > How do I tweak my dma's so that it doesnt' time out and the kernel likes > > it > > > > ive tried 1,3 and 1,5 > > WHat else can I do. > > IRQ 5 is correct. > > > > > > erik > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-multimedia" in the body of the message > > I Read somewhere in the source that the Vibra16X is supported but the voxware drivers didn't know how to use it I found some .c file in /usr/src/sys/i386/isa/sound/ that says something like "this is for Vibra16x but i don't know how to set it..." Then it sets the 16 bit DMA to >4 making it so if you use dma channel 1 and <4 it says that doesn't work. IT forces you to use DMA channels over 4 ie 5 Solution?? Find the code that restricts the 16 DMA to drq's over 4 since Vibra16x's use 3. Obviously it can be done. BUT HOW??????? What file do i edit.? and what do i change?? A guy told me he edited a source file and got the voxware drivers to be happy with using the 3 DMA channel for 16 bit.. Tell me if i'm wrong. I think this can be down since it's just a limting factor in the code.... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Wed Mar 3 17:10:18 1999 Delivered-To: freebsd-multimedia@freebsd.org Received: from hawaii.conterra.com (hawaii.conterra.com [209.12.164.32]) by hub.freebsd.org (Postfix) with ESMTP id A50F214F4A; Wed, 3 Mar 1999 17:10:01 -0800 (PST) (envelope-from myself@conterra.com) Received: from dmaddox.conterra.com (myself@dmaddox.conterra.com [209.12.169.48]) by hawaii.conterra.com (8.8.8/8.8.7) with ESMTP id UAA17374; Wed, 3 Mar 1999 20:09:43 -0500 (EST) Received: (from myself@localhost) by dmaddox.conterra.com (8.9.3/8.9.1) id UAA02329; Wed, 3 Mar 1999 20:09:45 -0500 (EST) (envelope-from myself) Date: Wed, 3 Mar 1999 20:09:44 -0500 From: "Donald J . Maddox" To: Erik Umenofer Cc: dmaddox@conterra.com, multimedia@FreeBSD.ORG, questions@FreeBSD.ORG Subject: Re: DMA/IRC timeout on SB16 Message-ID: <19990303200944.A2133@dmaddox.conterra.com> Reply-To: dmaddox@conterra.com References: <36DC8CE5.E75C9A81@silcom.com> <19990303182655.C1295@dmaddox.conterra.com> <36DD6820.FF7B4A9A@silcom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.1i In-Reply-To: <36DD6820.FF7B4A9A@silcom.com>; from Erik Umenofer on Wed, Mar 03, 1999 at 04:49:36PM +0000 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, Mar 03, 1999 at 04:49:36PM +0000, Erik Umenofer wrote: > Donald J . Maddox wrote: > > > I don't believe that the Vibra16x is supported by the VoxWare driver. > > It is, however, supported by the pcm driver. Pcm has no support for > > MIDI, but it looks like you may have no choice. > > > > Try this in your kernel config: > > > > controller pnp0 > > device pcm0 at isa? port 0x220 tty irq 5 drq 1 flags 0x15 vector pcmintr > > > > On Wed, Mar 03, 1999 at 01:14:13AM +0000, Erik Umenofer wrote: > > > Hi. > > > I have a Vibra16x > > > pnpinfo says... > > > Checking for Plug-n-Play devices... > > I Read somewhere in the source that the Vibra16X is supported but the voxware drivers > didn't know how to use it > > I found some .c file in /usr/src/sys/i386/isa/sound/ that says something like > > "this is for Vibra16x but i don't know how to set it..." I think you saw that in /usr/src/sys/i386/isa/snd/ instead... I can find no mention whatsoever of the Vibra16X in the sound/ subdir. I don't know what would need to be hacked to add this support to VoxWare, but you might want to take a closer look at the pcm driver's support for this card, either to see how it's done and add it to the VoxWare driver, or to use it instead of VoxWare. > Then it sets the 16 bit DMA to >4 making it so if you use dma channel 1 and <4 it says > that doesn't work. IT forces you to use DMA channels over 4 ie 5 > > Solution?? > > Find the code that restricts the 16 DMA to drq's over 4 since Vibra16x's use 3. > > Obviously it can be done. BUT HOW??????? > > What file do i edit.? and what do i change?? > > A guy told me he edited a source file and got the voxware drivers to be happy with > using the 3 DMA channel for 16 bit.. > > Tell me if i'm wrong. I think this can be down since it's just a limting factor in the > code.... > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Wed Mar 3 17:37:37 1999 Delivered-To: freebsd-multimedia@freebsd.org Received: from hunkular.glarp.com (hunkular.glarp.com [199.117.25.251]) by hub.freebsd.org (Postfix) with ESMTP id 6BF4A14C21 for ; Wed, 3 Mar 1999 17:37:32 -0800 (PST) (envelope-from huntting@glarp.com) Received: from hunkular.glarp.com (localhost.glarp.com [127.0.0.1]) by hunkular.glarp.com (8.9.1/8.9.1) with ESMTP id SAA24714 for ; Wed, 3 Mar 1999 18:37:14 -0700 (MST) Message-Id: <199903040137.SAA24714@hunkular.glarp.com> To: multimedia@freebsd.org Subject: voice messaging for FreeBSD? Date: Wed, 03 Mar 1999 18:37:13 -0700 From: Brad Huntting Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I'm looking for anything to do with voice messaging on open systems (preferably freebsd) and was refered to this mailing list by ftp://rah.star-gate.com/. thanx, brad To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Wed Mar 3 18:17:57 1999 Delivered-To: freebsd-multimedia@freebsd.org Received: from alpha.matrixinet.com (alpha.matrixinet.com [205.254.232.10]) by hub.freebsd.org (Postfix) with ESMTP id DE5AE14E77; Wed, 3 Mar 1999 18:17:51 -0800 (PST) (envelope-from eriku@silcom.com) Received: from beach.silcom.com (beach.silcom.com [199.201.128.19]) by alpha.matrixinet.com (8.9.1a/8.9.1) with ESMTP id SAA27042; Wed, 3 Mar 1999 18:16:20 -0800 (PST) Received: from silcom.com (root@pm7-24.sba1.avtel.net [207.71.222.124]) by beach.silcom.com (8.9.0/8.9.0) with ESMTP id SAA29025; Wed, 3 Mar 1999 18:17:29 -0800 (PST) Message-ID: <36DD7CAF.B3AB8CFA@silcom.com> Date: Wed, 03 Mar 1999 18:17:19 +0000 From: Erik Umenofer Reply-To: eriku@silcom.com Organization: firebelly.net X-Mailer: Mozilla 4.08 [en] (X11; I; FreeBSD 3.0-STABLE i386) MIME-Version: 1.0 To: dmaddox@conterra.com Cc: multimedia@FreeBSD.ORG, questions@FreeBSD.ORG Subject: Re: DMA/IRC timeout on SB16 References: <36DC8CE5.E75C9A81@silcom.com> <19990303182655.C1295@dmaddox.conterra.com> <36DD6820.FF7B4A9A@silcom.com> <19990303200944.A2133@dmaddox.conterra.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I think you saw that in /usr/src/sys/i386/isa/snd/ instead... I can find no > mention whatsoever of the Vibra16X in the sound/ subdir. I don't know what > would need to be hacked to add this support to VoxWare, but you might want > to take a closer look at the pcm driver's support for this card, either to > see how it's done and add it to the VoxWare driver, or to use it instead of > VoxWare. I've used the pcm drivers. And pcm runs on the idea of a single dma. So if you use the PCM driver my card only half works. IE it only can play mp3's and certian sound apps work. Quake and many other programs fail on sound with PCM. I still think there is a way to hack at the sound code so that sb0 will allow lower DMA's I am NOT a programmer so i don't know what's going on. I think /snd is for PCM and /sound is for snd0 *Shrugs* There is a way since sb0 finds my Card ok. So it's supported. But since it restricts my second DMA to 5 and Up it errors because my second DMA is 3. There has to be a .h or .c somewhere in there that says.. "Don't allow 16 BIT DMA's under 5" I need to change that to "Don't allow 16 DMA's under 3" It sounds easy but I don't know how to go about it. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Wed Mar 3 20:51:43 1999 Delivered-To: freebsd-multimedia@freebsd.org Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (Postfix) with SMTP id D310C14DCB; Wed, 3 Mar 1999 20:51:16 -0800 (PST) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id DAA08723; Thu, 4 Mar 1999 03:43:15 +0100 From: Luigi Rizzo Message-Id: <199903040243.DAA08723@labinfo.iet.unipi.it> Subject: Re: DMA/IRC timeout on SB16 To: eriku@silcom.com Date: Thu, 4 Mar 1999 03:43:15 +0100 (MET) Cc: dmaddox@conterra.com, multimedia@FreeBSD.ORG, questions@FreeBSD.ORG In-Reply-To: <36DD7CAF.B3AB8CFA@silcom.com> from "Erik Umenofer" at Mar 3, 99 06:17:00 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 1122 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I've used the pcm drivers. And pcm runs on the idea of a single dma. So if you use the that is only for the Vibra16X card and because CreativeLabs are not releasing programming info for this card and the card is different from the Vibra16C so the same code just does not work. > I still think there is a way to hack at the sound code so that > sb0 will allow lower DMA's > > I am NOT a programmer so i don't know what's going on. nice pair of sentences :) please stay with the second one, things are not as simple as you think. cheers luigi > I think /snd is for PCM and /sound is for snd0 > > *Shrugs* > > There is a way since sb0 finds my Card ok. So it's supported. But since it restricts my > second DMA to 5 and Up it errors because my second DMA is 3. > > There has to be a .h or .c somewhere in there that says.. "Don't allow 16 BIT DMA's under > 5" > > I need to change that to "Don't allow 16 DMA's under 3" > > It sounds easy but I don't know how to go about it. > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-multimedia" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Thu Mar 4 0:58:39 1999 Delivered-To: freebsd-multimedia@freebsd.org Received: from solaris.matti.ee (solaris.matti.ee [194.126.98.135]) by hub.freebsd.org (Postfix) with ESMTP id 6AAFA14D25 for ; Thu, 4 Mar 1999 00:58:31 -0800 (PST) (envelope-from vallo@myhakas.matti.ee) Received: from myhakas.matti.ee (myhakas.matti.ee [194.126.114.87]) by solaris.matti.ee (8.8.8/8.8.8.s) with ESMTP id KAA00725; Thu, 4 Mar 1999 10:58:10 +0200 (EET) Received: (from vallo@localhost) by myhakas.matti.ee (8.9.3/8.9.1) id KAA02527; Thu, 4 Mar 1999 10:58:11 +0200 (EET) (envelope-from vallo) Message-ID: <19990304105811.A2324@matti.ee> Date: Thu, 4 Mar 1999 10:58:11 +0200 From: Vallo Kallaste To: "Kenneth D. Merry" , Steven Grady Cc: freebsd-multimedia@FreeBSD.ORG Subject: Re: CD-ROM problem on 3.0: Invalid argument? Reply-To: vallo@matti.ee References: <19990302013959.8005D1536F@hub.freebsd.org> <199903020503.WAA76930@panzer.plutotech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <199903020503.WAA76930@panzer.plutotech.com>; from Kenneth D. Merry on Mon, Mar 01, 1999 at 10:03:51PM -0700 Organization: =?iso-8859-15?Q?AS_Matti_B=FCrootehnika?= Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, Mar 01, 1999 at 10:03:51PM -0700, "Kenneth D. Merry" wrote: > > The output of the program looks like: > > > > % cddb-id /dev/cd0a > > cddb-id: Failed to open /dev/cd0a, reason: Invalid argument > > > > As stated before, the program works just fine at least once before it gets > > into this state. > > I can't reproduce the problem, but then again, I'm not running 3.0-R, and > things have changed somewhat in the CD driver since 3.0. I have exactly same problem and got rid of it by running tosha -r which resets the device. The error message is same as above and it was caused by running dagrab just for testing (althought dagrab doesn't seem to work with my SCSI CD-ROM). Actually I use tosha because I have an SCSI CD-ROM. With using tosha only I haven't fallen into such state. dmesg: Copyright (c) 1992-1999 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 4.0-CURRENT #0: Sat Feb 20 21:38:27 EET 1999 root@myhakas.matti.ee:/usr/src/sys/compile/Myhakas_SMP Timecounter "i8254" frequency 1193055 Hz CPU: Pentium II/Xeon/Celeron (686-class CPU) Origin = "GenuineIntel" Id = 0x652 Stepping=2 Features=0x183fbff> real memory = 134217728 (131072K bytes) avail memory = 127598592 (124608K bytes) Programming 24 pins in IOAPIC #0 FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 0, version: 0x00040011, at 0xfee00000 cpu1 (AP): apic id: 1, version: 0x00040011, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec00000 Preloaded elf kernel "kernel" at 0xf02df000. Probing for devices on PCI bus 0: chip0: rev 0x00 on pci0.0.0 chip1: rev 0x00 on pci0.1.0 chip2: rev 0x02 on pci0.7.0 chip3: rev 0x02 on pci0.7.3 chip4: rev 0x03 on pci0.16.0 fxp0: rev 0x05 int a irq 19 on pci0.17.0 fxp0: Ethernet address 00:e0:81:10:18:e0 ahc0: rev 0x04 int a irq 16 on pci0.18.0 ahc0: aic7895 Wide Channel A, SCSI Id=7, 16/255 SCBs ahc1: rev 0x04 int b irq 16 on pci0.18.1 ahc1: aic7895 Wide Channel B, SCSI Id=7, 16/255 SCBs ncr0: rev 0x03 int a irq 16 on pci0.19.0 fxp1: rev 0x05 int a irq 17 on pci0.20.0 fxp1: Ethernet address 00:90:27:45:26:03 Probing for devices on PCI bus 1: vga0: rev 0x01 int a irq 2 on pci1.0.0 Probing for devices on PCI bus 2: Probing for PnP devices: CSN 1 Vendor ID: CTL00f0 [0xf0008c0e] Serial 0xffffffff Comp ID: PNPb02f [0x2fb0d041] pcm1 (SB16pnp sn 0xffffffff) at 0x220-0x22f irq 5 drq 1 flags 0x13 on isa Probing for devices on the ISA bus: sc0 on isa sc0: VGA color <8 virtual consoles, flags=0x0> atkbdc0 at 0x60-0x6f on motherboard atkbd0 irq 1 on isa psm0 irq 12 on isa psm0: model Generic PS/2 mouse, device ID 0 sio0 at 0x3f8-0x3ff irq 4 on isa sio0: type 16550A sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A pcm0 not found ppc0 not found fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: FIFO enabled, 8 bytes threshold fd0: 1.44MB 3.5in vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa npx0 on motherboard npx0: INT 16 interface APIC_IO: Testing 8254 interrupt delivery APIC_IO: routing 8254 via pin 2 lo0 XXX: driver didn't set ifq_maxlen BRIDGE 981214, have 5 interfaces -- index 1 fxp0 type 6 phy 0 addrl 6 addr 00.e0.81.10.18.e0 -- index 2 fxp1 type 6 phy 0 addrl 6 addr 00.90.27.45.26.03 Waiting 5 seconds for SCSI devices to settle SMP: AP CPU #1 Launched! changing root device to da0s1a cd0 at ncr0 bus 0 target 0 lun 0 cd0: Removable CD-ROM SCSI-2 device cd0: 10.000MB/s transfers (10.000MHz, offset 16) cd0: cd present [328332 x 2048 byte records] da0 at ahc0 bus 0 target 6 lun 0 da0: Fixed Direct Access SCSI-2 device da0: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled da0: 4350MB (8910423 512 byte sectors: 255H 63S/T 554C) da1 at ahc1 bus 0 target 6 lun 0 da1: Fixed Direct Access SCSI-2 device da1: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled da1: 4350MB (8910423 512 byte sectors: 255H 63S/T 554C) ffs_mountfs: superblock updated for soft updates ffs_mountfs: superblock updated for soft updates ffs_mountfs: superblock updated for soft updates ffs_mountfs: superblock updated for soft updates ffs_mountfs: superblock updated for soft updates (da1:ahc1:0:6:0): tagged openings now 63 (da0:ahc0:0:6:0): tagged openings now 64 (da0:ahc0:0:6:0): tagged openings now 63 called sysctl for bridge name bridge arg2 0 val 0->0 called sysctl for bridge name bridge arg2 0 val 0->0 called sysctl for bridge name bridge arg2 0 val 0->1 called sysctl for bridge name bridge arg2 0 val 1->1 called sysctl for bridge name bridge arg2 0 val 1->1 fxp0: promiscuous mode enabled >> now fxp0 flags 0xffff8943 promisc 0 fxp1: promiscuous mode enabled >> now fxp1 flags 0xffff8943 promisc 0 collision at 0 collision at 0 collision at 0 collision at 0 collision at 0 collision at 0 collision at 0 collision at 0 collision at 0 called sysctl for bridge name bridge arg2 0 val 1->1 called sysctl for bridge name bridge arg2 0 val 1->1 called sysctl for bridge name bridge arg2 0 val 1->0 called sysctl for bridge name bridge arg2 0 val 0->0 called sysctl for bridge name bridge arg2 0 val 0->0 called sysctl for bridge name bridge arg2 0 val 0->0 called sysctl for bridge name bridge arg2 0 val 0->0 called sysctl for bridge name bridge arg2 0 val 0->0 called sysctl for bridge name bridge arg2 0 val 0->0 called sysctl for bridge name bridge arg2 0 val 0->1 called sysctl for bridge name bridge arg2 0 val 1->1 called sysctl for bridge name bridge arg2 0 val 1->1 collision at 0 collision at 0 collision at 0 collision at 0 -- Vallo Kallaste vallo@matti.ee To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Thu Mar 4 1:23:34 1999 Delivered-To: freebsd-multimedia@freebsd.org Received: from gatekeeper2 (unknown [195.152.254.179]) by hub.freebsd.org (Postfix) with ESMTP id 0F0EC14D18 for ; Thu, 4 Mar 1999 01:22:36 -0800 (PST) (envelope-from Gleb.Butuzov@ccmail.eu.sony.co.jp) Received: by gatekeeper2; id JAA15583; Thu, 4 Mar 1999 09:23:30 GMT Received: from eugw.eu.sony.co.jp(43.194.154.4) by gatekeeper2.eu.sony.co.jp via smap (V4.2) id xma015497; Thu, 4 Mar 99 09:22:52 GMT Received: from ccmail.eu.sony.co.jp (ccmail.eu.sony.co.jp [43.194.154.11]) by eugw.eu.sony.co.jp (AIX4.3/UCB 8.8.8/8.8.8) with SMTP id JAA16206 for ; Thu, 4 Mar 1999 09:17:35 -0600 Received: from ccMail by ccmail.eu.sony.co.jp (IMA Internet Exchange 3.0 Enterprise) id 002D63A2; Thu, 4 Mar 99 09:20:57 +0000 Mime-Version: 1.0 Date: Thu, 4 Mar 1999 11:15:06 +0000 Message-ID: <002D63A2.CE21233@ccmail.eu.sony.co.jp> From: Gleb.Butuzov@ccmail.eu.sony.co.jp (Gleb Butuzov) Subject: Re: FW: PCM-800 Discontinuation To: uginchus@sherl.kiev.ua, cinema@ukrpack.net, ims@itv.kiev.ua Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Description: cc:Mail note part Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org For your info. Regards. Gleb. ______________________________ Forward Header __________________________________ Subject: Re: FW: PCM-800 Discontinuation Author: Mikhail Bronshtein at PSCIS Date: 04/03/99 09:23 Daniel Woodall announced in September 1998 that Basingstoke Procurement had made a last time buy from Japan and this product had officially been discontinued . To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Thu Mar 4 2:20:52 1999 Delivered-To: freebsd-multimedia@freebsd.org Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (Postfix) with SMTP id 1F9A314EA7 for ; Thu, 4 Mar 1999 02:20:01 -0800 (PST) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id JAA09451; Thu, 4 Mar 1999 09:11:56 +0100 From: Luigi Rizzo Message-Id: <199903040811.JAA09451@labinfo.iet.unipi.it> Subject: Re: S3 SonicVibes still unsupported?! To: dlombardo@excite.com (Dean Lombardo) Date: Thu, 4 Mar 1999 09:11:56 +0100 (MET) Cc: multimedia@FreeBSD.ORG In-Reply-To: <36DDB14D.5C66E00F@excite.com> from "Dean Lombardo" at Mar 3, 99 10:01:30 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 1564 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Dear all, > > I have just noticed that OpenBSD (as well as NetBSD) supports the > above... I guess it shouldn't be too much of a problem porting it to > FreeBSD now, right? OpenBSD has a different directory structure though > - it's in /src/sys/dev/pci, while FreeBSD has all the sound stuff in > /usr/src/sys/i386/isa/snd (or sound), which apparently only deals with > ISA cards. > > Perhaps it's time to create a /usr/src/sys/pci/snd, or just put sound > cards together with other devices in pci? Somehow OpenBSD's location > seems more logical... > > A lot of inexpensive good quality cards (e.g. Turtle Beach Daytona PCI) > use the SonicVibes chip. > > Luigi, anyone? just a comment on the architecture of the pcm driver, if someone wants guidelines to support new devices. If you look at it the only important files in /sys/i386/isa/snd are ad1848.c, mss.h MSS support dmabuf.c ISA dma stuff sb_dsp.c, sbcard.h SB and clones sound.c, sound.h generic audio stuff For sure sound.[ch] could be moved to some architecture-independent place (because ISA does not mean I386). The only thing really dependent on the PC architecture is dmabuf.c, whereas the other card drivers care probably arch.independent as well. In the 2.2.x port (never committed because not complete) of the es1370 (PCI) driver i have, most routines are inherited from sound.c and ad1848.c and i only had to rewrite some glue functions and device-specific stuff to manipulate the card's registers. as for the SonicVibes driver being easy to port, i have no idea... luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Thu Mar 4 8:29:42 1999 Delivered-To: freebsd-multimedia@freebsd.org Received: from singularity.enigami.com (singularity.enigami.com [208.140.182.42]) by hub.freebsd.org (Postfix) with ESMTP id A8F4315054 for ; Thu, 4 Mar 1999 08:29:27 -0800 (PST) (envelope-from ckempf@singularity.enigami.com) Received: (from ckempf@localhost) by singularity.enigami.com (8.9.3/8.9.1) id LAA26960; Thu, 4 Mar 1999 11:28:23 -0500 (EST) To: Brad Huntting Cc: multimedia@FreeBSD.ORG Subject: Re: voice messaging for FreeBSD? References: <199903040137.SAA24714@hunkular.glarp.com> Cc: From: Cory Kempf Date: 04 Mar 1999 11:28:22 -0500 In-Reply-To: Brad Huntting's message of "Wed, 03 Mar 1999 18:37:13 -0700" Message-ID: <5fogm9qkwp.fsf@singularity.enigami.com> Lines: 20 X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald" Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Brad Huntting writes: > I'm looking for anything to do with voice messaging on open systems > (preferably freebsd) and was refered to this mailing list by > ftp://rah.star-gate.com/. In the mgetty+sendfax port, there is a vgetty directory. The 'v' stands for 'voice'. I haven't used it, but it is supposed to be able to act as an anwering machine / IVR system. Somewhat limited as to which hardware it works with though. +C -- Thinking of purchasing RAM from the Chip Merchant? Please read this first: Cory Kempf Macintosh / Unix Consulting & Software Development ckempf@enigami.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Thu Mar 4 13: 6:31 1999 Delivered-To: freebsd-multimedia@freebsd.org Received: from scam.xcf.berkeley.edu (scam.XCF.Berkeley.EDU [128.32.43.201]) by hub.freebsd.org (Postfix) with SMTP id 0BE0C14EA7 for ; Thu, 4 Mar 1999 13:06:29 -0800 (PST) (envelope-from grady@scam.XCF.Berkeley.EDU) Received: (qmail 17095 invoked by uid 348); 4 Mar 1999 21:06:08 -0000 Received: from localhost (HELO scam.XCF.Berkeley.EDU) (sendmail-bs@127.0.0.1) by localhost with SMTP; 4 Mar 1999 21:06:08 -0000 To: vallo@matti.ee Cc: "Kenneth D. Merry" , freebsd-multimedia@FreeBSD.ORG Subject: Re: CD-ROM problem on 3.0: Invalid argument? From: grady@xcf.berkeley.edu (Steven Grady) In-reply-to: Your message of Thu, 4 Mar 1999 10:58:11 +0200 <19990304105811.A2324@matti.ee> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <17088.920581567.1@scam.XCF.Berkeley.EDU> Date: Thu, 04 Mar 1999 13:06:08 -0800 Message-Id: <19990304210630.0BE0C14EA7@hub.freebsd.org> Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Great! That did the trick. I also discovered that I had a _way_ old version of tosha -- version 0.05 instead of 0.6. I'm pleased that the new one lets me store directly in .wav format -- it lets me remove about 4 lines from my CD ripper... :-) Steven > From: Vallo Kallaste > Subject: Re: CD-ROM problem on 3.0: Invalid argument? > > I have exactly same problem and got rid of it by running tosha -r > which resets the device. The error message is same as above and it > was caused by running dagrab just for testing (althought dagrab > doesn't seem to work with my SCSI CD-ROM). Actually I use tosha > because I have an SCSI CD-ROM. With using tosha only I haven't fallen > into such state. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Mar 5 15:38:29 1999 Delivered-To: freebsd-multimedia@freebsd.org Received: from homepageworld.com (homepageworld.com [192.41.47.215]) by hub.freebsd.org (Postfix) with ESMTP id CCD44153D1 for ; Fri, 5 Mar 1999 15:38:27 -0800 (PST) (envelope-from khan.oh@changnam.com) Received: from ------ ([210.97.191.133]) by homepageworld.com (8.8.5) id IAA28787; Sat, 6 Mar 1999 08:38:01 +0900 (KST) Message-ID: <000601be6761$398ec8a0$0f9ffea9@------> Reply-To: "=?euc-kr?B?v8Cw5sij?=" From: "=?euc-kr?B?v8Cw5sij?=" To: Subject: PC Card mounting type digital 8-VSB reception module. Date: Fri, 5 Mar 1999 19:09:05 +0900 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0004_01BE673B.A37D93C0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multi-part message in MIME format. ------=_NextPart_000_0004_01BE673B.A37D93C0 Content-Type: text/plain; charset="euc-kr" Content-Transfer-Encoding: base64 DQogICAgICAgICAgIERlYXIgU2lyLA0KDQogICAgICAgICAgSSdtIHNvIG11Y2ggaW50ZXJlc3Rl ZCBpbiB5b3VyIHByb3Bvc2FsIG9uIFNUQiBUVi4NCiAgICAgICAgICBJbnRoaXMgcmVhZ3JkIEkg YWxzbyBob3BlIHRvIGtub3cgaWYgeW91IGhhdmUgYW5vdGhlciBzb2x1dGlvbiBJIG1lbnlpb25l ZCANCiAgICAgICAgICBhYm92ZSB0aXRsZS4NCiAgICAgICAgICBJZiB5b3UgYXJlIGF2YWlsYWJs ZSBub3csIHlvdSBhcmUgcmVxdWVzdGVkIHRvIGluZm9ybSBtZSBieSByZXR1cm4uDQoNCg0KICAg ICAgICAgIFdpdGggQmVzdCBSZWdhcmRzDQoNCg0KICAgICAgICAgS2hhbiBPaA0K ------=_NextPart_000_0004_01BE673B.A37D93C0 Content-Type: text/html; charset="euc-kr" Content-Transfer-Encoding: base64 PCFET0NUWVBFIEhUTUwgUFVCTElDICItLy9XM0MvL0RURCBXMyBIVE1MLy9FTiI+DQo8SFRNTD4N CjxIRUFEPg0KDQo8TUVUQSBjb250ZW50PSJ0ZXh0L2h0bWw7IGNoYXJzZXQ9a3NfY181NjAxLTE5 ODciIGh0dHAtZXF1aXY9Q29udGVudC1UeXBlPg0KPE1FVEEgY29udGVudD0nIk1TSFRNTCA0Ljcy LjMxMTAuNyInIG5hbWU9R0VORVJBVE9SPg0KPC9IRUFEPg0KPEJPRFkgYmdDb2xvcj0jZmZmZmZm Pg0KPERJVj4mbmJzcDs8L0RJVj4NCjxESVY+PEZPTlQgY29sb3I9IzAwMDAwMCANCnNpemU9Mj4m bmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJz cDsgRGVhciANClNpciw8L0ZPTlQ+PC9ESVY+DQo8RElWPjxGT05UIGNvbG9yPSMwMDAwMDAgc2l6 ZT0yPjwvRk9OVD4mbmJzcDs8L0RJVj4NCjxESVY+PEZPTlQgY29sb3I9IzAwMDAwMCANCnNpemU9 Mj4mbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsg SSdtIHNvIG11Y2ggDQppbnRlcmVzdGVkIGluIHlvdXIgcHJvcG9zYWwgb24gU1RCIFRWLjwvRk9O VD48L0RJVj4NCjxESVY+PEZPTlQgY29sb3I9IzAwMDAwMCANCnNpemU9Mj4mbmJzcDsmbmJzcDsm bmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsgSW50aGlzIHJlYWdyZCBJ IA0KYWxzbyBob3BlIHRvIGtub3cgaWYgeW91IGhhdmUgYW5vdGhlciBzb2x1dGlvbiBJIG1lbnlp b25lZCA8L0ZPTlQ+PC9ESVY+DQo8RElWPjxGT05UIGNvbG9yPSMwMDAwMDAgDQpzaXplPTI+Jm5i c3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7IGFib3Zl IA0KdGl0bGUuPC9GT05UPjwvRElWPg0KPERJVj48Rk9OVCBjb2xvcj0jMDAwMDAwIA0Kc2l6ZT0y PiZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyBJ ZiB5b3UgYXJlIA0KYXZhaWxhYmxlIG5vdywgeW91IGFyZSByZXF1ZXN0ZWQgdG8gaW5mb3JtIG1l IGJ5IHJldHVybi48L0ZPTlQ+PC9ESVY+DQo8RElWPjxGT05UIGNvbG9yPSMwMDAwMDAgc2l6ZT0y PjwvRk9OVD4mbmJzcDs8L0RJVj4NCjxESVY+PEZPTlQgY29sb3I9IzAwMDAwMCBzaXplPTI+PC9G T05UPiZuYnNwOzwvRElWPg0KPERJVj48Rk9OVCBjb2xvcj0jMDAwMDAwIA0Kc2l6ZT0yPiZuYnNw OyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyBXaXRoIEJl c3QgDQpSZWdhcmRzPC9GT05UPjwvRElWPg0KPERJVj48Rk9OVCBjb2xvcj0jMDAwMDAwIHNpemU9 Mj48L0ZPTlQ+Jm5ic3A7PC9ESVY+DQo8RElWPjxGT05UIGNvbG9yPSMwMDAwMDAgc2l6ZT0yPjwv Rk9OVD4mbmJzcDs8L0RJVj4NCjxESVY+PEZPTlQgY29sb3I9IzAwMDAwMCBzaXplPTI+Jm5ic3A7 Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7IA0KS2hhbiBPaDwvRk9O VD48L0RJVj48L0JPRFk+PC9IVE1MPg0K ------=_NextPart_000_0004_01BE673B.A37D93C0-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sat Mar 6 8:57:34 1999 Delivered-To: freebsd-multimedia@freebsd.org Received: from wireless.net (wireless.net [207.137.156.159]) by hub.freebsd.org (Postfix) with ESMTP id 1664215264 for ; Sat, 6 Mar 1999 08:57:25 -0800 (PST) (envelope-from bad@uhf.wireless.net) Received: from uhf.wireless.net (uhf.wireless.net [209.75.70.121]) by wireless.net (8.8.7/8.8.4) with ESMTP id JAA06500 for ; Sat, 6 Mar 1999 09:07:39 -0800 (PST) Received: from localhost (bad@localhost) by uhf.wireless.net (8.9.2/8.9.1) with ESMTP id LAA15763 for ; Sat, 6 Mar 1999 11:58:38 -0500 (EST) (envelope-from bad@uhf.wireless.net) Date: Sat, 6 Mar 1999 11:58:38 -0500 (EST) From: Bernie Doehner To: multimedia@freebsd.org Subject: Trouble with mpegaudio/musicin (Video capture works fine). Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello All: Program Versions: fxtv 0.48, mpeg_encode-1.5b mpegaudio-3.9 mpg123-0.59o sox-12.12 Hardware (not that it matters), is a OPTI931 audio card, Millenium II PCI video card. When trying to record video with the following parameters: TARGET: MPEG IMAGE CAPTURE: FORMAT: RGB SPEED: 30 fps IMAGE ENCODE: PPM AUDIO CAPTURE: (ENABLE) 16-bit Signed (LSB) Stereo 44,100 samp/s AUDIO ENCODE: FORMAT: MPEG-2 the conversion script fails with: ======FRAMES READ: 47 ::STATUS:: 0 ::EXEC:: rm /usr/tmp/test.param ::STATUS:: 0 ::EXEC:: sox -t raw -s -w -c 2 -r 44100 /usr/tmp/test.AUDraw -t aiff /usr/tmp/test.aiff && mpeg_musicin -l 2 -p 1 /usr/tmp/test.aiff /usr/tmp/test.mp2 && rm /usr/tmp/test.aiff >>> Using Audio IFF sound file headers SmpFrqIndex: 0 is not a legal sample rate in "/usr/tmp/test.aiff". ::STATUS:: 1 Command Failed: sox -t raw -s -w -c 2 -r 44100 /usr/tmp/test.AUDraw -t aiff /usr/tmp/test.aiff && mpeg_musicin -l 2 -p 1 /usr/tmp/test.aiff /usr/tmp/test.mp2 && rm /usr/tmp/test.aiff Conversion Aborted. In looking at common.c in mpegaudio ports build directory I see function: int SmpFrqIndex(sRate) /* convert samp frq in Hz to index */ long sRate; /* legal rates 32000, 44100, 48000 */ { if(sRate == 44100L) return(0); else if(sRate == 48000L) return(1); else if(sRate == 32000L) return(2); else { fprintf(stderr, "SmpFrqIndex: %ld is not a legal sample rate\n", sRate); return(-1); /* Error! */ } } And at musicin.c at line 195 we have: info->sampling_frequency = SmpFrqIndex((long)pcm_aiff_data.sampleRate); printf(">>> %.f Hz sampling frequency selected\n", pcm_aiff_data.sampleRate); This is where I think I am failing.. Question: Why on earth would pcm_aiff_data.sampleRate be 0, and not 41100L? Is there something wrong with my versions of the different components, before I start digging deeper into the code? Thanks. Bernie To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message