From owner-freebsd-multimedia@FreeBSD.ORG Mon Oct 3 09:29:56 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9BFF316A41F for ; Mon, 3 Oct 2005 09:29:56 +0000 (GMT) (envelope-from tanis@gaspode.franken.de) Received: from karnickel.franken.de (karnickel.franken.de [193.141.110.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id E6D2B43D45 for ; Mon, 3 Oct 2005 09:29:55 +0000 (GMT) (envelope-from tanis@gaspode.franken.de) Received: from [193.141.104.200] (bertha.franken.de [193.141.104.200]) by karnickel.franken.de (8.12.10/8.12.10) with ESMTP id j939Tr0Z064906 for ; Mon, 3 Oct 2005 11:29:53 +0200 (CEST) Message-ID: <4340FA0E.8000009@gaspode.franken.de> Date: Mon, 03 Oct 2005 11:29:50 +0200 From: German Tischler User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050827) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-multimedia@freebsd.org Content-Type: multipart/mixed; boundary="------------080506060601040701030604" Subject: DRI on PCIe Radeon X300SE X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Oct 2005 09:29:56 -0000 This is a multi-part message in MIME format. --------------080506060601040701030604 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi. Has someone had success with any ATI Radeon PCI express cards and DRI ? dri-devel in the ports just locks up my machine (as expected, according to some postings on the DRI mailing lists, this was not supported for the version that is available in the ports). Using DRM from CVS and applying the attached patch, I end up with drm0: port 0x9000-0x90ff mem 0xc0000000-0xc7ffffff,0xcf000000-0xcf00ffff irq 18 at device 0.0 on pci1 info: [drm] Initialized radeon 1.19.0 20050911 error: [drm:pid576:radeon_do_init_cp] *ERROR* Cannot use PCI Express without GART in FB memory so I guess I have to update Mesa and/or the X-server to a version that places GART in the framebuffer memory. However I cannot get Mesa from CVS to compile, so I don't know, if it would be of any help. The patch is also not complete for every DRM module, but it lets me compile the drm.ko and radeon.ko modules. Has someone else also looked at this or has patches to make a sufficiently recent version of Mesa compile on FreeBSD ? regards German Tischler --------------080506060601040701030604 Content-Type: text/plain; name="drm.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="drm.patch" diff -r -c drm/bsd-core/ati_pcigart.c drm-patched/bsd-core/ati_pcigart.c *** drm/bsd-core/ati_pcigart.c Fri Aug 26 21:07:03 2005 --- drm-patched/bsd-core/ati_pcigart.c Sun Oct 2 17:24:11 2005 *************** *** 35,49 **** #define ATI_MAX_PCIGART_PAGES 8192 /* 32 MB aperture, 4K pages */ #define ATI_PCIGART_TABLE_SIZE 32768 ! int drm_ati_pcigart_init(drm_device_t *dev, unsigned long *addr, ! dma_addr_t *bus_addr, int is_pcie) { unsigned long pages; u32 *pci_gart = 0, page_base; int i, j; ! *addr = 0; ! *bus_addr = 0; if (dev->sg == NULL) { DRM_ERROR( "no scatter/gather memory!\n" ); --- 35,48 ---- #define ATI_MAX_PCIGART_PAGES 8192 /* 32 MB aperture, 4K pages */ #define ATI_PCIGART_TABLE_SIZE 32768 ! int drm_ati_pcigart_init(drm_device_t * dev, drm_ati_pcigart_info *gart_info) { unsigned long pages; u32 *pci_gart = 0, page_base; int i, j; ! gart_info->addr = 0; ! gart_info->bus_addr = 0; if (dev->sg == NULL) { DRM_ERROR( "no scatter/gather memory!\n" ); *************** *** 57,64 **** return 0; } ! *addr = (long)dev->sg->dmah->vaddr; ! *bus_addr = dev->sg->dmah->busaddr; pci_gart = (u32 *)dev->sg->dmah->vaddr; pages = DRM_MIN(dev->sg->pages, ATI_MAX_PCIGART_PAGES); --- 56,63 ---- return 0; } ! gart_info->addr = (long)dev->sg->dmah->vaddr; ! gart_info->bus_addr = dev->sg->dmah->busaddr; pci_gart = (u32 *)dev->sg->dmah->vaddr; pages = DRM_MIN(dev->sg->pages, ATI_MAX_PCIGART_PAGES); *************** *** 71,77 **** page_base = (u32) dev->sg->busaddr[i]; for (j = 0; j < (PAGE_SIZE / ATI_PCIGART_PAGE_SIZE); j++) { ! if (is_pcie) { *pci_gart = (cpu_to_le32(page_base)>>8) | 0xc; DRM_DEBUG("PCIE: %d %08X %08X to %p\n", i, page_base, (cpu_to_le32(page_base)>>8)|0xc, --- 70,76 ---- page_base = (u32) dev->sg->busaddr[i]; for (j = 0; j < (PAGE_SIZE / ATI_PCIGART_PAGE_SIZE); j++) { ! if (gart_info->is_pcie) { *pci_gart = (cpu_to_le32(page_base)>>8) | 0xc; DRM_DEBUG("PCIE: %d %08X %08X to %p\n", i, page_base, (cpu_to_le32(page_base)>>8)|0xc, *************** *** 88,95 **** return 1; } ! int drm_ati_pcigart_cleanup(drm_device_t *dev, unsigned long addr, ! dma_addr_t bus_addr) { if (dev->sg == NULL) { DRM_ERROR( "no scatter/gather memory!\n" ); --- 87,93 ---- return 1; } ! int drm_ati_pcigart_cleanup(drm_device_t * dev, drm_ati_pcigart_info *gart_info) { if (dev->sg == NULL) { DRM_ERROR( "no scatter/gather memory!\n" ); diff -r -c drm/bsd-core/drmP.h drm-patched/bsd-core/drmP.h *** drm/bsd-core/drmP.h Mon Sep 12 07:35:51 2005 --- drm-patched/bsd-core/drmP.h Sun Oct 2 17:24:11 2005 *************** *** 274,279 **** --- 274,290 ---- typedef u_int16_t u16; typedef u_int8_t u8; + /* location of GART table */ + #define DRM_ATI_GART_MAIN 1 + #define DRM_ATI_GART_FB 2 + + typedef struct ati_pcigart_info { + int gart_table_location; + int is_pcie; + unsigned long addr; + dma_addr_t bus_addr; + } drm_ati_pcigart_info; + /* DRM_READMEMORYBARRIER() prevents reordering of reads. * DRM_WRITEMEMORYBARRIER() prevents reordering of writes. * DRM_MEMORYBARRIER() prevents reordering of reads and writes. *************** *** 828,835 **** void *drm_realloc(void *oldpt, size_t oldsize, size_t size, int area); void drm_free(void *pt, size_t size, int area); ! void *drm_ioremap(drm_device_t *dev, drm_local_map_t *map); ! void drm_ioremapfree(drm_local_map_t *map); int drm_mtrr_add(unsigned long offset, size_t size, int flags); int drm_mtrr_del(unsigned long offset, size_t size, int flags); --- 839,847 ---- void *drm_realloc(void *oldpt, size_t oldsize, size_t size, int area); void drm_free(void *pt, size_t size, int area); ! void *drm_ioremap(unsigned long offset, unsigned long size, ! drm_device_t * dev); ! void drm_ioremapfree (void *pt, unsigned long size, drm_device_t * dev); int drm_mtrr_add(unsigned long offset, size_t size, int flags); int drm_mtrr_del(unsigned long offset, size_t size, int flags); *************** *** 907,916 **** --- 919,934 ---- #endif /* __FreeBSD__ */ /* ATI PCIGART support (ati_pcigart.c) */ + int drm_ati_pcigart_init(drm_device_t * dev, drm_ati_pcigart_info *gart_info); + #if 0 int drm_ati_pcigart_init(drm_device_t *dev, unsigned long *addr, dma_addr_t *bus_addr, int is_pcie); + #endif + int drm_ati_pcigart_cleanup(drm_device_t * dev, drm_ati_pcigart_info *gart_info); + #if 0 int drm_ati_pcigart_cleanup(drm_device_t *dev, unsigned long addr, dma_addr_t bus_addr); + #endif /* Locking IOCTL support (drm_drv.c) */ int drm_lock(DRM_IOCTL_ARGS); *************** *** 984,995 **** /* Inline replacements for DRM_IOREMAP macros */ static __inline__ void drm_core_ioremap(struct drm_local_map *map, struct drm_device *dev) { ! map->handle = drm_ioremap(dev, map); } static __inline__ void drm_core_ioremapfree(struct drm_local_map *map, struct drm_device *dev) { if ( map->handle && map->size ) ! drm_ioremapfree(map); } static __inline__ struct drm_local_map *drm_core_findmap(struct drm_device *dev, unsigned long offset) --- 1002,1013 ---- /* Inline replacements for DRM_IOREMAP macros */ static __inline__ void drm_core_ioremap(struct drm_local_map *map, struct drm_device *dev) { ! map->handle = drm_ioremap(map->offset,map->size,dev); } static __inline__ void drm_core_ioremapfree(struct drm_local_map *map, struct drm_device *dev) { if ( map->handle && map->size ) ! drm_ioremapfree(map->handle,map->size,dev); } static __inline__ struct drm_local_map *drm_core_findmap(struct drm_device *dev, unsigned long offset) diff -r -c drm/bsd-core/drm_bufs.c drm-patched/bsd-core/drm_bufs.c *** drm/bsd-core/drm_bufs.c Sat Aug 27 01:27:19 2005 --- drm-patched/bsd-core/drm_bufs.c Sun Oct 2 17:24:11 2005 *************** *** 153,159 **** switch ( map->type ) { case _DRM_REGISTERS: ! map->handle = drm_ioremap(dev, map); if (!(map->flags & _DRM_WRITE_COMBINING)) break; /* FALLTHROUGH */ --- 153,159 ---- switch ( map->type ) { case _DRM_REGISTERS: ! map->handle = drm_ioremap(map->offset,map->size,dev); if (!(map->flags & _DRM_WRITE_COMBINING)) break; /* FALLTHROUGH */ *************** *** 290,296 **** switch (map->type) { case _DRM_REGISTERS: if (map->bsr == NULL) ! drm_ioremapfree(map); /* FALLTHROUGH */ case _DRM_FRAME_BUFFER: if (map->mtrr) { --- 290,296 ---- switch (map->type) { case _DRM_REGISTERS: if (map->bsr == NULL) ! drm_ioremapfree(map->handle,map->size,dev); /* FALLTHROUGH */ case _DRM_FRAME_BUFFER: if (map->mtrr) { diff -r -c drm/bsd-core/drm_memory.c drm-patched/bsd-core/drm_memory.c *** drm/bsd-core/drm_memory.c Sat Apr 16 05:02:52 2005 --- drm-patched/bsd-core/drm_memory.c Sun Oct 2 17:24:11 2005 *************** *** 75,84 **** free(pt, M_DRM); } ! void *drm_ioremap(drm_device_t *dev, drm_local_map_t *map) { #ifdef __FreeBSD__ ! return pmap_mapdev(map->offset, map->size); #elif defined(__NetBSD__) || defined(__OpenBSD__) map->bst = dev->pa.pa_memt; if (bus_space_map(map->bst, map->offset, map->size, --- 75,85 ---- free(pt, M_DRM); } ! void *drm_ioremap(unsigned long offset, unsigned long size, ! drm_device_t * dev) { #ifdef __FreeBSD__ ! return pmap_mapdev(offset, size); #elif defined(__NetBSD__) || defined(__OpenBSD__) map->bst = dev->pa.pa_memt; if (bus_space_map(map->bst, map->offset, map->size, *************** *** 88,97 **** #endif } ! void drm_ioremapfree(drm_local_map_t *map) { #ifdef __FreeBSD__ ! pmap_unmapdev((vm_offset_t) map->handle, map->size); #elif defined(__NetBSD__) || defined(__OpenBSD__) bus_space_unmap(map->bst, map->bsh, map->size); #endif --- 89,98 ---- #endif } ! void drm_ioremapfree (void *pt, unsigned long size, drm_device_t * dev) { #ifdef __FreeBSD__ ! pmap_unmapdev((vm_offset_t) pt, size); #elif defined(__NetBSD__) || defined(__OpenBSD__) bus_space_unmap(map->bst, map->bsh, map->size); #endif diff -r -c drm/shared-core/drm_pciids.txt drm-patched/shared-core/drm_pciids.txt *** drm/shared-core/drm_pciids.txt Mon Sep 12 06:37:52 2005 --- drm-patched/shared-core/drm_pciids.txt Sun Oct 2 17:24:11 2005 *************** *** 66,71 **** --- 66,72 ---- 0x1002 0x516B CHIP_R200 "ATI Radeon Qk R200" 0x1002 0x516C CHIP_R200 "ATI Radeon Ql R200" 0x1002 0x5460 CHIP_RV350 "ATI Radeon X300" + 0x1002 0x5B60 CHIP_RV350 "ATI Radeon X300SE" 0x1002 0x554F CHIP_R350 "ATI Radeon X800" 0x1002 0x5834 CHIP_RS300|CHIP_IS_IGP "ATI Radeon RS300 IGP" 0x1002 0x5835 CHIP_RS300|CHIP_IS_IGP|CHIP_IS_MOBILITY "ATI Radeon RS300 Mobility IGP" --------------080506060601040701030604-- From owner-freebsd-multimedia@FreeBSD.ORG Mon Oct 3 09:59:42 2005 Return-Path: X-Original-To: multimedia@freebsd.org Delivered-To: freebsd-multimedia@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AFFED16A41F for ; Mon, 3 Oct 2005 09:59:42 +0000 (GMT) (envelope-from freebsd@fadesa.es) Received: from fuego.fadesa.es (fuego.fadesa.es [195.55.55.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 195FC43D46 for ; Mon, 3 Oct 2005 09:59:39 +0000 (GMT) (envelope-from freebsd@fadesa.es) Received: (from root@localhost) by fuego.fadesa.es (8.9.3p2/8.8.8) id MAA15231 for ; Mon, 3 Oct 2005 12:02:18 +0200 Received: from tierra.fadesa.es(195.55.55.7) by fuego.fadesa.es Mon, 3 Oct 05 12:01:58 +0200 Received: from fadesa.es (filemon.fadesa.es [195.55.55.6] (may be forged)) by tierra.fadesa.es (8.9.3p2/8.8.8) with ESMTP id LAA19717 for ; Mon, 3 Oct 2005 11:59:05 +0200 Sender: fan@fadesa.es Message-ID: <434100E9.1AC8B80F@fadesa.es> Date: Mon, 03 Oct 2005 11:59:05 +0200 From: "=?iso-8859-15?Q?Jos=E9?= M. =?iso-8859-15?Q?Fandi=F1o?=" Organization: Inmobiliaria FADESA X-Mailer: Mozilla 4.8 [en] (X11; U; Linux 2.4.30-ow1 i686) X-Accept-Language: gl, en, es MIME-Version: 1.0 To: multimedia@freebsd.org References: <4337F580.C3FCE63C@fadesa.es> <432EF7AB.ED2AF314@fadesa.es> <43385AE4.6090007@luna.afraid.org> <433BB4AE.BDD6E180@fadesa.es> <433C453F.7080709@luna.afraid.org> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit X-Logged: Logged by tierra.fadesa.es as LAA19717 at Mon Oct 3 11:59:05 2005 Cc: Subject: Re: about text2wave (audio/festival) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd@fadesa.es List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Oct 2005 09:59:42 -0000 Raaf wrote: > Yes you are right, it doesn't work with large texts. This should > work though: > > (Parameter.set 'Audio_Command "cat $FILE >> foo.raw") > > Afterwards you can process the raw audio file with sox. Finally I got it working with this lines: (Parameter.set 'Audio_Method 'Audio_Command) (Parameter.set 'Audio_Required_Rate 11025) (Parameter.set 'Audio_Required_Format 'riff) (Parameter.set 'Audio_Command "lame --quiet --preset voice $FILE - >> $HOME/festival-output.mp3") thank you. -- -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCS/IT d- s+:+() a31 C+++ UBL+++$ P+ L+++ E--- W++ N+ o++ K- w--- O+ M+ V- PS+ PE+ Y++ PGP+>+++ t+ 5 X+$ R- tv-- b+++ DI D++>+++ G++ e- h+(++) !r !z ------END GEEK CODE BLOCK------ From owner-freebsd-multimedia@FreeBSD.ORG Mon Oct 3 11:02:33 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4438E16A42F for ; Mon, 3 Oct 2005 11:02:33 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6686543D97 for ; Mon, 3 Oct 2005 11:02:16 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j93B2G6M066315 for ; Mon, 3 Oct 2005 11:02:16 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j93B2F5Q066309 for freebsd-multimedia@freebsd.org; Mon, 3 Oct 2005 11:02:15 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 3 Oct 2005 11:02:15 GMT Message-Id: <200510031102.j93B2F5Q066309@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-multimedia@FreeBSD.org Cc: Subject: Current problem reports assigned to you X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Oct 2005 11:02:33 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- f [2002/02/26] kern/35351 multimedia [sound] emu10k1: no posibility to record f [2002/07/02] kern/40122 multimedia [sound] Device pcm stopps booting Kernel f [2002/08/29] kern/42173 multimedia [sound] Sony VAIO FXA 53 (or FXA 679 in M f [2003/04/23] kern/51308 multimedia [sound] Creative SB32 doesn't work under f [2003/04/24] kern/51338 multimedia [sound] [hang] system hangs randomly beca f [2003/07/21] kern/54705 multimedia [sound] codec timeout during read of regi f [2003/10/02] kern/57487 multimedia [sound] [patch] Sound stops working on my f [2004/02/08] kern/62519 multimedia [sound] Intel ICH4 (82801DB) sound card d o [2004/02/22] kern/63204 multimedia [sound] /dev/mixer broken with ESS Maestr f [2004/10/08] kern/72439 multimedia [sound] Sound not functioning for VIA_823 f [2004/11/16] kern/73987 multimedia [sound] Nforce2 MB sound problem o [2004/12/31] kern/75687 multimedia [patch] [sound] No sound on PC which is i o [2005/04/14] kern/79905 multimedia [sound] sis7018 sound module problem o [2005/04/14] kern/79912 multimedia [sound] sound broken for 2 VIA chipsets: f [2005/04/17] kern/80041 multimedia [sound] snd_via8233 does not support VIA8 o [2005/05/17] kern/81146 multimedia [sound] Sound isn't working AT ALL for Si o [2005/06/08] kern/82043 multimedia [sound] snd_emu10k1 - mixer does not work 17 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2000/07/30] kern/20297 multimedia [sound] [patch] Joystick is not enabled w f [2001/02/26] kern/25386 multimedia [sound] Incorrect mixer registers (line & f [2001/04/09] kern/26454 multimedia [sound] mixer volume settings on Maestro- f [2001/07/18] kern/29067 multimedia [sound] Yamaha OPL3Sa2 pcm/pnp stops play f [2001/07/30] kern/29312 multimedia [sound] Using mixer on pcm misbehaves wit f [2001/10/21] kern/31398 multimedia [sound] newpcm does not play back the tai f [2001/10/27] kern/31521 multimedia [sound] pcm0 plays too fast on Intel 8280 o [2002/04/30] kern/37600 multimedia [sound] [partial patch] t4dwave drive doe f [2002/05/02] kern/37657 multimedia [sound] /dev/dsp and /dev/audio skip the o [2002/07/03] kern/40132 multimedia [sound] [patch] enabling the joystick int f [2002/07/23] kern/40927 multimedia [sound] Acer Labs M5451 dies with pcm:pla f [2002/08/17] kern/41743 multimedia [sound] No sound from SiS630s controller f [2002/09/08] kern/42564 multimedia [sound] record bug with emu10k1 driver f [2002/09/10] kern/42638 multimedia [sound] CS4326/4327 (MSS) buggy output pl f [2003/01/20] kern/47243 multimedia [sound] Onboard CMedia CMI8738 playback n f [2003/01/22] kern/47352 multimedia [sound] pcm/ac'97, dsp device busy o [2003/02/16] kern/48338 multimedia [sound] pcm audio driver hogs /dev/dsp?.? o [2003/04/18] kern/51145 multimedia [sound] Audio Slows during Heavy I/O o [2003/06/17] kern/53417 multimedia [sound] Bad Recordings on AC97 onboard au o [2003/07/03] kern/54049 multimedia [sound] Sound driver reports device busy o [2003/07/03] kern/54078 multimedia [sound] Sound Plays ~10% Slow [4.8] o [2003/12/26] kern/60599 multimedia [sound] [partial patch] No sound for ATI o [2003/12/30] kern/60737 multimedia [sound] Sound card Turtle Beach Santa Cru o [2003/12/31] kern/60761 multimedia [sound] pcm performance on emu10k1 driver o [2004/02/15] kern/62862 multimedia [sound] [patch] fix pcm vchans related cr o [2004/03/10] kern/64040 multimedia [sound] crackling sound on 5.2.1-RELEASE o [2004/05/09] kern/66422 multimedia [sound] [patch] no sound on modern Sony V o [2004/05/14] kern/66642 multimedia [sound] pcm0: play: 0: play interrupt tim o [2004/06/19] kern/68122 multimedia [sound] Device busy (/dev/dsp)- insane, n o [2004/06/30] kern/68515 multimedia [sound] sound card noise (ES1938, 5.0) o [2004/07/04] kern/68665 multimedia [sound] pcm doesn't detect Realtek ac97 o a [2004/07/19] kern/69283 multimedia [sound] Via 8233 driver records at half s s [2004/08/23] kern/70852 multimedia [sound] via82xx PCM driver does not enabl o [2004/09/30] kern/72218 multimedia [sound] audio recording broken with emu10 o [2004/10/01] kern/72221 multimedia [sound] emu10k1 stereo channels are rever o [2004/10/19] kern/72887 multimedia [sound] emu10k1: sound lag o [2004/10/22] kern/72995 multimedia [sound] Intel ICH2 (82801BA) - sound near o [2004/10/25] kern/73098 multimedia [sound] Scan rate of sound card shifts wh f [2004/12/09] kern/74893 multimedia [patch] [sound] Channels of USB audio can o [2004/12/20] kern/75316 multimedia [patch] [sound] Enable to select a record o [2005/01/06] kern/75894 multimedia [sound] AD1981 not probing (shuttle ST62K o [2005/01/08] kern/75969 multimedia [patch] [sound] Support for Sigmatel STAC o [2005/01/31] kern/76918 multimedia [sound] ATI AD1981 AC'97 Audio Controller o [2005/04/01] kern/79427 multimedia [sound] No sound on Compaq Armada 100S la o [2005/04/03] kern/79498 multimedia [sound] sndfile-play (and many other play o [2005/04/08] kern/79678 multimedia [sound] sound works except recording from o [2005/04/20] kern/80147 multimedia [patch] [panic] with the vibra16x when tr o [2005/04/20] kern/80149 multimedia problems with an soundblaster-8 (original o [2005/04/20] kern/80151 multimedia [patch] [sound] Missing ESS ES1688 PCI-ID o [2005/04/20] kern/80152 multimedia [patch] [sound] SIMPLEX flag is not set p o [2005/04/22] kern/80234 multimedia [patch] [sound] add entry for Analog Devi o [2005/04/29] kern/80465 multimedia [sound] pcm0:record:0: record interrupt t o [2005/05/05] kern/80632 multimedia pcm driver missing support for CMI8738 au o [2005/05/09] kern/80824 multimedia [sound] kldunload can't unload sound.ko o [2005/05/14] kern/81013 multimedia [patch] Intel ICH3 sound chip reverts to o [2005/05/17] kern/81170 multimedia [sound] /dev/mixer misbehavior with enson o [2005/05/28] kern/81599 multimedia [sound] Via VT1612A Audio not working wel o [2005/07/29] kern/84311 multimedia [sound] 82801FB/FR/FW/FRW Intel High Defi o [2005/08/02] kern/84471 multimedia [sound][patch] no sound ICH4 (Analog Devi o [2005/08/03] kern/84507 multimedia [sound] fm801: Not every card supports va o [2005/09/11] kern/85964 multimedia [sound] Can't play 24 bit audio (Audigy 2 o [2005/09/25] kern/86557 multimedia [sound] Sound Card Volume isn't adjustabl 62 problems total. From owner-freebsd-multimedia@FreeBSD.ORG Mon Oct 3 12:31:43 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F35B216A41F for ; Mon, 3 Oct 2005 12:31:42 +0000 (GMT) (envelope-from astraserg@proc.ru) Received: from mail.proc.ru (mail.proc.ru [217.117.112.5]) by mx1.FreeBSD.org (Postfix) with SMTP id 13A8243D45 for ; Mon, 3 Oct 2005 12:31:37 +0000 (GMT) (envelope-from astraserg@proc.ru) Received: (qmail 79656 invoked by uid 1010); 3 Oct 2005 12:33:24 -0000 Received: from astraserg@proc.ru by mail.proc.ru by uid 1008 with qmail-scanner-1.22-st-qms ( Clear:RC:1(217.117.127.77):. Processed in 0.03429 secs); 03 Oct 2005 12:33:24 -0000 X-Antivirus-proc.ru-Mail-From: astraserg@proc.ru via mail.proc.ru X-Antivirus-proc.ru: 1.22-st-qms (Clear:RC:1(217.117.127.77):. Processed in 0.03429 secs Process 79651) Received: from 77.127.real.proc.ru (HELO astracomp) (217.117.127.77) by mail.proc.ru with SMTP; 3 Oct 2005 12:33:24 -0000 To: freebsd-multimedia@freebsd.org Date: Mon, 03 Oct 2005 16:31:33 +0400 From: =?koi8-r?B?88XSx8XKIPHSz9vF19PLyco=?= Organization: Procenter.ru Content-Type: text/plain; format=flowed; delsp=yes; charset=koi8-r MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: User-Agent: Opera M2/7.54 (Win32, build 3929) Subject: PIM-SM router X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: astraserg@proc.ru List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Oct 2005 12:31:43 -0000 How to make it? It is not enaf to compil the kernel with option PIM -- Sergey Yaroshevsky astraserg@proc.ru From owner-freebsd-multimedia@FreeBSD.ORG Mon Oct 3 21:02:59 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1D5DC16A41F for ; Mon, 3 Oct 2005 21:02:59 +0000 (GMT) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from osl1smout1.broadpark.no (osl1smout1.broadpark.no [80.202.4.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id A6A7D43D46 for ; Mon, 3 Oct 2005 21:02:56 +0000 (GMT) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from osl1sminn1.broadpark.no ([80.202.4.59]) by osl1smout1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0INS00EIMYLLLJ20@osl1smout1.broadpark.no> for freebsd-multimedia@freebsd.org; Mon, 03 Oct 2005 23:05:45 +0200 (CEST) Received: from kg-work.kg4.no ([80.203.92.30]) by osl1sminn1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with SMTP id <0INS00KR9YM1IP70@osl1sminn1.broadpark.no> for freebsd-multimedia@freebsd.org; Mon, 03 Oct 2005 23:06:02 +0200 (CEST) Date: Mon, 03 Oct 2005 23:02:55 +0200 From: Torfinn Ingolfsen X-Face: "t9w2,-X@O^I`jVW\sonI3.,36KBLZE*AL[y9lL[PyFD*r_S:dIL9c[8Y>V42R0"!"yb_zN,f#%.[PYYNq; m"_0v; ~rUM2Yy!zmkh)3&U|u!=T(zyv,MHJv"nDH>OJ`t(@mil461d_B'Uo|'nMwlKe0Mv=kvV?Nh@>Hb<3s_z2jYgZhPb@?Wi^x1a~Hplz1.zH To: freebsd-multimedia@freebsd.org Message-id: <20051003230255.4217bc40.torfinn.ingolfsen@broadpark.no> MIME-version: 1.0 X-Mailer: Sylpheed version 1.0.5 (GTK+ 1.2.10; i386-portbld-freebsd5.4) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: FreeBSD music player for both X and web? X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Oct 2005 21:02:59 -0000 I'm going to set up a "music machine" (ie a box that plays ogg/ mp3 files through the sound card and an external amplifier) for a community I know. Of course the machine will run FreeBSD! It would be best if the music player could be controlled both from the web (the machine will be on a local network) and from X. Are there any good players (for FreeBSD) that can do that? -- Regards, Torfinn Ingolfsen, Norway From owner-freebsd-multimedia@FreeBSD.ORG Mon Oct 3 21:38:49 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 95F4616A41F for ; Mon, 3 Oct 2005 21:38:49 +0000 (GMT) (envelope-from willmaier@ml1.net) Received: from out3.smtp.messagingengine.com (out3.smtp.messagingengine.com [66.111.4.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 36BEB43D46 for ; Mon, 3 Oct 2005 21:38:48 +0000 (GMT) (envelope-from willmaier@ml1.net) Received: from frontend1.internal (mysql-sessions.internal [10.202.2.149]) by frontend1.messagingengine.com (Postfix) with ESMTP id 660EFCCF625 for ; Mon, 3 Oct 2005 17:38:47 -0400 (EDT) Received: from frontend2.messagingengine.com ([10.202.2.151]) by frontend1.internal (MEProxy); Mon, 03 Oct 2005 17:38:47 -0400 X-Sasl-enc: 5d6aCkXgLskE5UZnWsVywmtaviPTLc/VGndPwgZvSttO 1128375526 Received: from merkur (host-66-202-74-42.choiceone.net [66.202.74.42]) by frontend2.messagingengine.com (Postfix) with ESMTP id 5AF6B570364 for ; Mon, 3 Oct 2005 17:38:46 -0400 (EDT) Received: by merkur (nbSMTP-1.00) for uid 1000 willmaier@ml1.net; Mon, 3 Oct 2005 16:38:51 -0500 (CDT) Date: Mon, 3 Oct 2005 16:38:48 -0500 From: Will Maier To: freebsd-multimedia@freebsd.org Message-ID: <20051003213848.GD7691@localdomain> Mail-Followup-To: freebsd-multimedia@freebsd.org References: <20051003230255.4217bc40.torfinn.ingolfsen@broadpark.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051003230255.4217bc40.torfinn.ingolfsen@broadpark.no> User-Agent: Mutt/1.5.6+20040907i Subject: Re: FreeBSD music player for both X and web? X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Oct 2005 21:38:49 -0000 On Mon, Oct 03, 2005 at 11:02:55PM +0200, Torfinn Ingolfsen wrote: [...] > It would be best if the music player could be controlled both from > the web (the machine will be on a local network) and from X. Are > there any good players (for FreeBSD) that can do that? The Music Player Daemon has a variety of interfaces, including (IIRC) a web interface. I use gmpc and ncmpc mostly. ~ % cat /usr/ports/$(portsdb musicpd)/pkg-descr Music Player Daemon (MPD) allows remote access for playing music (MP3, MP4, Ogg, and Flac) and managing playlists. The design focus is on integrating a computer into a stereo system that provides control for music playback over a local network. WWW: http://www.musicpd.org/ ~ % -- o--------------------------{ Will Maier }--------------------------o | jabber:..wcmaier@jabber.ccc.de | email:..........wcmaier@ml1.net | | \.........wcmaier@cae.wisc.edu | \..........wcmaier@cae.wisc.edu | *------------------[ BSD Unix: Live Free or Die ]------------------* From owner-freebsd-multimedia@FreeBSD.ORG Tue Oct 4 08:05:24 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 851BA16A41F for ; Tue, 4 Oct 2005 08:05:24 +0000 (GMT) (envelope-from andreas@dahlen.ws) Received: from av6-1-sn3.vrr.skanova.net (av6-1-sn3.vrr.skanova.net [81.228.9.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id 083C743D48 for ; Tue, 4 Oct 2005 08:05:23 +0000 (GMT) (envelope-from andreas@dahlen.ws) Received: by av6-1-sn3.vrr.skanova.net (Postfix, from userid 502) id 676F138117; Tue, 4 Oct 2005 10:05:22 +0200 (CEST) Received: from smtp3-2-sn3.vrr.skanova.net (smtp3-2-sn3.vrr.skanova.net [81.228.9.102]) by av6-1-sn3.vrr.skanova.net (Postfix) with ESMTP id 3CA1C380F0; Tue, 4 Oct 2005 10:05:22 +0200 (CEST) Received: from teena.dahlen.ws (h23n2fls31o990.telia.com [213.67.4.23]) by smtp3-2-sn3.vrr.skanova.net (Postfix) with ESMTP id DB50F37E43; Tue, 4 Oct 2005 10:05:21 +0200 (CEST) Received: from adina (mikaela.dahlen.ws [10.0.1.100] (may be forged)) by teena.dahlen.ws (8.13.1/8.13.1) with ESMTP id j9485LN7007337; Tue, 4 Oct 2005 10:05:21 +0200 (CEST) (envelope-from andreas@dahlen.ws) From: =?iso-8859-1?Q?Andreas_Dahl=E9n?= To: "'John-Mark Gurney'" Date: Tue, 4 Oct 2005 10:08:25 +0200 Message-ID: <011301c5c8ba$ce71bd80$6401000a@adina> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 In-Reply-To: <20050930170429.GG716@funkthat.com> Thread-Index: AcXF4Qo8jSjljqpUTWyyifATXa5mqgC2b4Ig X-Spam-Status: No, hits=-1.4 required=6.0 tests=ALL_TRUSTED version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.001000 (2005-09-13) X-Scanned-By: MIMEDefang 2.53 on 10.0.1.1 Cc: freebsd-multimedia@freebsd.org Subject: RE: Streaming X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Oct 2005 08:05:24 -0000 The streaming will be done from my server, and I don't wants to have X11 installed there. It seams to me that VLC requires X11, right? Is there any other program for streaming, that I could use? /Andreas -----Original Message----- From: John-Mark Gurney [mailto:gurney_j@resnet.uoregon.edu] Sent: den 30 september 2005 19:04 To: Andreas Dahlen Cc: freebsd-multimedia@freebsd.org Subject: Re: Streaming Andreas Dahlen wrote this message on Fri, Sep 30, 2005 at 14:27 +0200: > I've a server with FreeBSD 5.3. In the server I've got Hauppauge PVR250. > Using the pvr250 port, I can record to disc. > > On the client I'm thinking of using VLC or similiar program, or why not > a Pinnacle Showcenter. > Is it possible to stream mediafiles from disc or even directly from pvr250? > What program shoud I use? why not us vlc as the server? http://www.videolan.org/streaming/ -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." From owner-freebsd-multimedia@FreeBSD.ORG Tue Oct 4 11:40:36 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4DBA616A41F for ; Tue, 4 Oct 2005 11:40:36 +0000 (GMT) (envelope-from doug@cnd.dundas.on.ca) Received: from fep7.cogeco.net (smtp.cogeco.net [216.221.81.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id E369A43D46 for ; Tue, 4 Oct 2005 11:40:31 +0000 (GMT) (envelope-from doug@cnd.dundas.on.ca) Received: from srv.cnd.dundas.on.ca (d141-68-27.home.cgocable.net [24.141.68.27]) by fep7.cogeco.net (Postfix) with ESMTP id 97E611A74 for ; Tue, 4 Oct 2005 07:40:30 -0400 (EDT) Received: from monk.cnd.dundas.on.ca (monk.cnd.dundas.on.ca [10.87.0.20]) by srv.cnd.dundas.on.ca (8.13.1/8.13.1) with ESMTP id j94BeUUP033260 for ; Tue, 4 Oct 2005 07:40:30 -0400 (EDT) (envelope-from doug@cnd.dundas.on.ca) Received: from monk.cnd.dundas.on.ca (localhost [127.0.0.1]) by monk.cnd.dundas.on.ca (8.13.4/8.13.4) with ESMTP id j94BeUt7044311 for ; Tue, 4 Oct 2005 07:40:30 -0400 (EDT) (envelope-from doug@monk.cnd.dundas.on.ca) Message-Id: <200510041140.j94BeUt7044311@monk.cnd.dundas.on.ca> To: freebsd-multimedia@freebsd.org In-reply-to: Your message of "Tue, 04 Oct 2005 10:08:25 +0200." <011301c5c8ba$ce71bd80$6401000a@adina> From: "Douglas Berry" Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Date: Tue, 04 Oct 2005 07:40:30 -0400 Sender: doug@cnd.dundas.on.ca Subject: Re: Streaming X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Douglas Berry List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Oct 2005 11:40:36 -0000 On Tue, 04 Oct 2005 10:08:25 +0200, Andreas Dahl=E9n wrote: > Is there any other program for streaming, that I could use? You may find that net/liveMedia has the bits you need. doug From owner-freebsd-multimedia@FreeBSD.ORG Wed Oct 5 16:56:05 2005 Return-Path: X-Original-To: freebsd-multimedia@hub.freebsd.org Delivered-To: freebsd-multimedia@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8C7E216A41F; Wed, 5 Oct 2005 16:56:05 +0000 (GMT) (envelope-from arved@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4757043D48; Wed, 5 Oct 2005 16:56:05 +0000 (GMT) (envelope-from arved@FreeBSD.org) Received: from freefall.freebsd.org (arved@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j95Gu5E2038412; Wed, 5 Oct 2005 16:56:05 GMT (envelope-from arved@freefall.freebsd.org) Received: (from arved@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j95Gu5V4038408; Wed, 5 Oct 2005 16:56:05 GMT (envelope-from arved) Date: Wed, 5 Oct 2005 16:56:05 GMT From: Tilman Linneweh Message-Id: <200510051656.j95Gu5V4038408@freefall.freebsd.org> To: arved@FreeBSD.org, freebsd-i386@FreeBSD.org, freebsd-multimedia@FreeBSD.org Cc: Subject: Re: i386/86536: /dev/mixer has no devices (still) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Oct 2005 16:56:05 -0000 Synopsis: /dev/mixer has no devices (still) Responsible-Changed-From-To: freebsd-i386->freebsd-multimedia Responsible-Changed-By: arved Responsible-Changed-When: Wed Oct 5 16:55:31 GMT 2005 Responsible-Changed-Why: Over to multimedia list http://www.freebsd.org/cgi/query-pr.cgi?pr=86536 From owner-freebsd-multimedia@FreeBSD.ORG Wed Oct 5 17:00:30 2005 Return-Path: X-Original-To: freebsd-multimedia@hub.freebsd.org Delivered-To: freebsd-multimedia@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E670016A4DA; Wed, 5 Oct 2005 17:00:30 +0000 (GMT) (envelope-from arved@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2FEBD43D6A; Wed, 5 Oct 2005 17:00:28 +0000 (GMT) (envelope-from arved@FreeBSD.org) Received: from freefall.freebsd.org (arved@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j95H0SWE038655; Wed, 5 Oct 2005 17:00:28 GMT (envelope-from arved@freefall.freebsd.org) Received: (from arved@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j95H0RlJ038651; Wed, 5 Oct 2005 17:00:27 GMT (envelope-from arved) Date: Wed, 5 Oct 2005 17:00:27 GMT From: Tilman Linneweh Message-Id: <200510051700.j95H0RlJ038651@freefall.freebsd.org> To: arved@FreeBSD.org, freebsd-i386@FreeBSD.org, freebsd-multimedia@FreeBSD.org Cc: Subject: Re: i386/74191: Notebook PC2001 Compliant AC97 audio works for only first 15 seconds X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Oct 2005 17:00:31 -0000 Synopsis: Notebook PC2001 Compliant AC97 audio works for only first 15 seconds Responsible-Changed-From-To: freebsd-i386->freebsd-multimedia Responsible-Changed-By: arved Responsible-Changed-When: Wed Oct 5 16:59:57 GMT 2005 Responsible-Changed-Why: over to multimedia group http://www.freebsd.org/cgi/query-pr.cgi?pr=74191 From owner-freebsd-multimedia@FreeBSD.ORG Thu Oct 6 06:14:58 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7592216A432; Thu, 6 Oct 2005 06:14:58 +0000 (GMT) (envelope-from skywizard@MyBSD.org.my) Received: from tomoyo.MyBSD.org.my (tomoyo.mybsd.org.my [202.157.186.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id A0B9743D46; Thu, 6 Oct 2005 06:14:56 +0000 (GMT) (envelope-from skywizard@MyBSD.org.my) Received: from localhost (localhost [127.0.0.1]) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id D086A6CC27; Thu, 6 Oct 2005 14:15:22 +0800 (MYT) Received: from tomoyo.MyBSD.org.my ([127.0.0.1]) by localhost (tomoyo.MyBSD.org.my [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 21853-04; Thu, 6 Oct 2005 14:15:21 +0800 (MYT) Received: from kasumi.MyBSD.org.my (kasumi.MyBSD.org.my [IPv6:2001:328:2002:aa2::1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id 0941B6CC25; Thu, 6 Oct 2005 14:15:20 +0800 (MYT) Date: Thu, 6 Oct 2005 14:15:25 +0800 From: Ariff Abdullah To: pyunyh@gmail.com, Alexander@Leidinger.net, noackjr@alumni.rice.edu, davidxu@FreeBSD.org Message-Id: <20051006141525.4171b911.skywizard@MyBSD.org.my> Organization: MyBSD X-Mailer: /usr/local/lib/ruby/1.8/net/smtp.rb Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-antivirus-mail-gateway at TOMOYO.MYBSD.ORG.MY Cc: freebsd-multimedia@freebsd.org Subject: DAC1 / DAC2 for ex137x - ES1370/1/2/3 , CT5880/CT4730(EV1938) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Oct 2005 06:14:58 -0000 Please take a look at my latest patchset. Ensoniq based chips does have 2 DAC, so I've decided to take advantage of it to let the driver provide 2 distinct hardware playback channels for pcm. The original intent of DAC1 actually to implement some sort of wavetable synth, but somehow this idea was (maybe) abandoned by Creative after acquiring Ensoniq. Note: The original configuration still intact i.e: Only single DAC (DAC2) enabled. If you want to enable both DACs simultanuously, set kernel hint variable (hint.pcm..dac) to the appropriate value (0 or 3). Explaination of specific configuration can be found within the source itself. You probably need to disable vchan *on purpose* to see if both DAC really doing their job properly (no, it's not a bug, it is just that sometimes vchan can lure you into thinking that both DAC already enabled). http://staff.mybsd.org.my/skywizard/FreeBSD/sound/ -- Ariff Abdullah MyBSD http://www.MyBSD.org.my (IPv6/IPv4) http://staff.MyBSD.org.my (IPv6/IPv4) http://tomoyo.MyBSD.org.my (IPv6/IPv4) From owner-freebsd-multimedia@FreeBSD.ORG Thu Oct 6 06:29:24 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 48C0616A41F for ; Thu, 6 Oct 2005 06:29:24 +0000 (GMT) (envelope-from pyunyh@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id BBF0543D46 for ; Thu, 6 Oct 2005 06:29:23 +0000 (GMT) (envelope-from pyunyh@gmail.com) Received: by wproxy.gmail.com with SMTP id 71so147963wra for ; Wed, 05 Oct 2005 23:29:23 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=fzQnjb0gVhshNstVM9hscPifwL86mk8/lfVbTCZw4sTXawl/YPt7PXbQxGjzV8SRMfb2TcU4pWiWOU0FwsoCcV9R6LoEak0zcugN5vWXfUUr3w2YsLbkT/Y5OWowFPlt3CzqcdZ9pkYEgnHTsdpw25c6+1EEQ1lrpEzUgQxjP0w= Received: by 10.54.143.3 with SMTP id q3mr935151wrd; Wed, 05 Oct 2005 23:29:23 -0700 (PDT) Received: from michelle.rndsoft.co.kr ( [211.32.202.217]) by mx.gmail.com with ESMTP id 65sm750982wra.2005.10.05.23.29.21; Wed, 05 Oct 2005 23:29:22 -0700 (PDT) Received: from michelle.rndsoft.co.kr (localhost.rndsoft.co.kr [127.0.0.1]) by michelle.rndsoft.co.kr (8.13.1/8.13.1) with ESMTP id j966TK6H012548 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 6 Oct 2005 15:29:20 +0900 (KST) (envelope-from yongari@gmail.com) Received: (from yongari@localhost) by michelle.rndsoft.co.kr (8.13.1/8.13.1/Submit) id j966TFFA012546; Thu, 6 Oct 2005 15:29:15 +0900 (KST) (envelope-from yongari@gmail.com) Date: Thu, 6 Oct 2005 15:29:15 +0900 From: Pyun YongHyeon To: Ariff Abdullah Message-ID: <20051006062915.GB11441@rndsoft.co.kr> References: <200510051700.j95H0RlJ038651@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200510051700.j95H0RlJ038651@freefall.freebsd.org> User-Agent: Mutt/1.4.2.1i Cc: freebsd-multimedia@FreeBSD.org, Christopher Thielen Subject: Re: i386/74191: Notebook PC2001 Compliant AC97 audio works for only first 15 seconds X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Oct 2005 06:29:24 -0000 On Wed, Oct 05, 2005 at 05:00:27PM +0000, Tilman Linneweh wrote: > Synopsis: Notebook PC2001 Compliant AC97 audio works for only first 15 seconds > > Responsible-Changed-From-To: freebsd-i386->freebsd-multimedia > Responsible-Changed-By: arved > Responsible-Changed-When: Wed Oct 5 16:59:57 GMT 2005 > Responsible-Changed-Why: > over to multimedia group > > http://www.freebsd.org/cgi/query-pr.cgi?pr=74191 I can't sure what caused this but it seems that there is a bug in interrupt handler. In stock t4dwave(4), we have the following code in tr_intr(). 725 intsrc = tr_rd(tr, TR_REG_MISCINT, 4); 726 if (intsrc & TR_INT_ADDR) { 727 chnum = 0; 728 while (chnum < 64) { ^^^ 729 mask = 0x00000001; I think it would be 32 for M5451 as the hardware only supports 32 channels. The correct one should be selected by checking pci_get_devid(). Ariff, what's your opinion? -- Regards, Pyun YongHyeon From owner-freebsd-multimedia@FreeBSD.ORG Thu Oct 6 07:10:03 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7817B16A423 for ; Thu, 6 Oct 2005 07:10:03 +0000 (GMT) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from osl1smout1.broadpark.no (osl1smout1.broadpark.no [80.202.4.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id 72CF443D48 for ; Thu, 6 Oct 2005 07:10:02 +0000 (GMT) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from osl1sminn1.broadpark.no ([80.202.4.59]) by osl1smout1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0INX0047PG1GTH20@osl1smout1.broadpark.no> for freebsd-multimedia@freebsd.org; Thu, 06 Oct 2005 09:12:52 +0200 (CEST) Received: from kg-work.kg4.no ([80.203.92.30]) by osl1sminn1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with SMTP id <0INX0078MG1TWR80@osl1sminn1.broadpark.no> for freebsd-multimedia@freebsd.org; Thu, 06 Oct 2005 09:13:05 +0200 (CEST) Date: Thu, 06 Oct 2005 09:09:59 +0200 From: Torfinn Ingolfsen X-Face: "t9w2,-X@O^I`jVW\sonI3.,36KBLZE*AL[y9lL[PyFD*r_S:dIL9c[8Y>V42R0"!"yb_zN,f#%.[PYYNq; m"_0v; ~rUM2Yy!zmkh)3&U|u!=T(zyv,MHJv"nDH>OJ`t(@mil461d_B'Uo|'nMwlKe0Mv=kvV?Nh@>Hb<3s_z2jYgZhPb@?Wi^x1a~Hplz1.zH In-reply-to: <20051003213848.GD7691@localdomain> To: freebsd-multimedia@freebsd.org Message-id: <20051006090959.1cf502f2.torfinn.ingolfsen@broadpark.no> MIME-version: 1.0 X-Mailer: Sylpheed version 1.0.5 (GTK+ 1.2.10; i386-portbld-freebsd5.4) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT References: <20051003230255.4217bc40.torfinn.ingolfsen@broadpark.no> <20051003213848.GD7691@localdomain> Subject: Re: FreeBSD music player for both X and web? X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Oct 2005 07:10:03 -0000 On Mon, 03 Oct 2005 16:38:48 -0500 Will Maier wrote: > The Music Player Daemon has a variety of interfaces, including > (IIRC) a web interface. I use gmpc and ncmpc mostly. mpd has several web interfaces, actually. :-) I have now tested mpd, and it will do the job nicely. Thanks! -- Regards, Torfinn Ingolfsen, Norway From owner-freebsd-multimedia@FreeBSD.ORG Thu Oct 6 08:04:19 2005 Return-Path: X-Original-To: freebsd-multimedia@FreeBSD.org Delivered-To: freebsd-multimedia@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5A9B616A41F for ; Thu, 6 Oct 2005 08:04:19 +0000 (GMT) (envelope-from skywizard@MyBSD.org.my) Received: from tomoyo.MyBSD.org.my (tomoyo.mybsd.org.my [202.157.186.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD0E743D45 for ; Thu, 6 Oct 2005 08:04:18 +0000 (GMT) (envelope-from skywizard@MyBSD.org.my) Received: from localhost (localhost [127.0.0.1]) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id 521BF6CC23; Thu, 6 Oct 2005 16:04:39 +0800 (MYT) Received: from tomoyo.MyBSD.org.my ([127.0.0.1]) by localhost (tomoyo.MyBSD.org.my [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 21805-10; Thu, 6 Oct 2005 16:04:37 +0800 (MYT) Received: from kasumi.MyBSD.org.my (kasumi.MyBSD.org.my [IPv6:2001:328:2002:aa2::1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id 8D66B6CC22; Thu, 6 Oct 2005 16:04:37 +0800 (MYT) Date: Thu, 6 Oct 2005 16:04:51 +0800 From: Ariff Abdullah To: pyunyh@gmail.com Message-Id: <20051006160451.532a05fc.skywizard@MyBSD.org.my> In-Reply-To: <20051006062915.GB11441@rndsoft.co.kr> References: <200510051700.j95H0RlJ038651@freefall.freebsd.org> <20051006062915.GB11441@rndsoft.co.kr> Organization: MyBSD X-Mailer: /usr/local/lib/ruby/1.8/net/smtp.rb Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-antivirus-mail-gateway at TOMOYO.MYBSD.ORG.MY Cc: freebsd-multimedia@FreeBSD.org, chris@luethy.net Subject: Re: i386/74191: Notebook PC2001 Compliant AC97 audio works for only first 15 seconds X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Oct 2005 08:04:19 -0000 On Thu, 6 Oct 2005 15:29:15 +0900 Pyun YongHyeon wrote: > > I can't sure what caused this but it seems that there is a bug in > interrupt handler. > > In stock t4dwave(4), we have the following code in tr_intr(). > 725 intsrc = tr_rd(tr, TR_REG_MISCINT, 4); > 726 if (intsrc & TR_INT_ADDR) { > 727 chnum = 0; > 728 while (chnum < 64) { > ^^^ > 729 mask = 0x00000001; > > I think it would be 32 for M5451 as the hardware only supports 32 > channels. The correct one should be selected by checking > pci_get_devid(). Ariff, what's your opinion? > I can't comment on that (but probably worth a try). What keep bugging me is that there is a possibility that XMMS itself is the culprit (XMMS is notoriously keep polling / accessing / reading / abusing /dev/mixer) and somehow cause the entire ac97 codec failed. To the originator, could you please try playing mp3 using mpg123 or mpg321? Don't fire up xmms or mplayer or xine or mixer whatever. Do it in a clean environment, especially single user mode or without X. -- Ariff Abdullah MyBSD http://www.MyBSD.org.my (IPv6/IPv4) http://staff.MyBSD.org.my (IPv6/IPv4) http://tomoyo.MyBSD.org.my (IPv6/IPv4) From owner-freebsd-multimedia@FreeBSD.ORG Thu Oct 6 11:49:28 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1469816A41F for ; Thu, 6 Oct 2005 11:49:28 +0000 (GMT) (envelope-from kjelderg@gmail.com) Received: from qproxy.gmail.com (qproxy.gmail.com [72.14.204.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 69CFF43D53 for ; Thu, 6 Oct 2005 11:49:27 +0000 (GMT) (envelope-from kjelderg@gmail.com) Received: by qproxy.gmail.com with SMTP id o12so327349qba for ; Thu, 06 Oct 2005 04:49:26 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=uKnAoYQy4VKWA/fij4o6GnnWKKTNubfnwcVhcjjyl2X4e6gEDySkLEC3J8sXuXkRSl1ETuAhvxBFLuJQ4YF+lla8CPeR6B7bCjpcaJhfeu6RWfaLA1TuVjuARXkrSQR/PkvzwOmnuwQyutBlas3mwB6c0vp1eYcOdhoXz7Htz0U= Received: by 10.64.195.16 with SMTP id s16mr272386qbf; Thu, 06 Oct 2005 04:49:26 -0700 (PDT) Received: by 10.65.35.19 with HTTP; Thu, 6 Oct 2005 04:49:26 -0700 (PDT) Message-ID: Date: Thu, 6 Oct 2005 20:49:26 +0900 From: Eric Kjeldergaard To: Torfinn Ingolfsen In-Reply-To: <20051003230255.4217bc40.torfinn.ingolfsen@broadpark.no> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20051003230255.4217bc40.torfinn.ingolfsen@broadpark.no> Cc: freebsd-multimedia@freebsd.org Subject: Re: FreeBSD music player for both X and web? X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Eric Kjeldergaard List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Oct 2005 11:49:28 -0000 On 04/10/05, Torfinn Ingolfsen wrote: > I'm going to set up a "music machine" (ie a box that plays ogg/ mp3 > files through the sound card and an external amplifier) for a community > I know. > Of course the machine will run FreeBSD! > > It would be best if the music player could be controlled both from the > web (the machine will be on a local network) and from X. > Are there any good players (for FreeBSD) that can do that? I rather like vlc (you can get it in ports. videolan.org) It has a variety of interfaces available, many of which work. -- If I write a signature, my emails will appear more personalised. From owner-freebsd-multimedia@FreeBSD.ORG Thu Oct 6 15:15:22 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AC18516A41F for ; Thu, 6 Oct 2005 15:15:22 +0000 (GMT) (envelope-from hufe@mail.eecis.udel.edu) Received: from mail.eecis.udel.edu (louie.udel.edu [128.4.40.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5274643D45 for ; Thu, 6 Oct 2005 15:15:22 +0000 (GMT) (envelope-from hufe@mail.eecis.udel.edu) Received: by mail.eecis.udel.edu (Postfix, from userid 62) id C7AAB149; Thu, 6 Oct 2005 11:15:20 -0400 (EDT) Received: from webmail.eecis.udel.edu (localhost [127.0.0.1]) by mail.eecis.udel.edu (Postfix) with ESMTP id 5620DD1 for ; Thu, 6 Oct 2005 11:15:20 -0400 (EDT) Received: from 128.4.30.26 (SquirrelMail authenticated user hufe) by webmail.eecis.udel.edu with HTTP; Thu, 6 Oct 2005 11:15:20 -0400 (EDT) Message-ID: <52956.128.4.30.26.1128611720.squirrel@webmail.eecis.udel.edu> Date: Thu, 6 Oct 2005 11:15:20 -0400 (EDT) From: hufe@mail.eecis.udel.edu To: freebsd-multimedia@freebsd.org User-Agent: SquirrelMail/1.4.5 X-Priority: 3 (Normal) Importance: Normal X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on louie.udel.edu X-Spam-Level: X-Spam-Status: No, score=-3.8 required=4.1 tests=ALL_TRUSTED,BAYES_00, NO_REAL_NAME autolearn=ham version=3.0.4 X-Sanitizer: This message has been sanitized! X-Sanitizer-URL: http://mailtools.anomy.net/ X-Sanitizer-Rev: UDEL-ECECIS: Sanitizer.pm, v 1.64 2002/10/22 MIME-Version: 1.0 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Subject: No mixer after FreeBSD 5.4 install X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Oct 2005 15:15:22 -0000 We just upgraded from 4.9 to 5.4. After the upgrade, we no longer have a mixer. That is, if I run mixer, with no arguments, I get: $ /usr/sbin/mixer mixer: /dev/mixer: No such file or directory Similarly, I get the following: $ cat getsmart.au > /dev/dsp cannot create /dev/dsp: Operation not supported I think that should work, no? Can anybody point me in the right direction? Thanks. - Mark From owner-freebsd-multimedia@FreeBSD.ORG Thu Oct 6 15:24:04 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A32616A41F for ; Thu, 6 Oct 2005 15:24:04 +0000 (GMT) (envelope-from simond@home.irrelevant.org) Received: from home.irrelevant.org (dsl82-163-99-113.as15444.net [82.163.99.113]) by mx1.FreeBSD.org (Postfix) with ESMTP id CCFCB43D48 for ; Thu, 6 Oct 2005 15:24:03 +0000 (GMT) (envelope-from simond@home.irrelevant.org) Received: from simond by home.irrelevant.org with local (Exim 4.52 (FreeBSD)) id 1ENXbF-000PLh-Gg; Thu, 06 Oct 2005 16:24:01 +0100 Date: Thu, 6 Oct 2005 16:24:01 +0100 From: Simon Dick To: hufe@mail.eecis.udel.edu Message-ID: <20051006152401.GA95966@irrelevant.org> References: <52956.128.4.30.26.1128611720.squirrel@webmail.eecis.udel.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <52956.128.4.30.26.1128611720.squirrel@webmail.eecis.udel.edu> User-Agent: Mutt/1.5.10i Sender: Simon Dick Cc: freebsd-multimedia@freebsd.org Subject: Re: No mixer after FreeBSD 5.4 install X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Oct 2005 15:24:04 -0000 On Thu, Oct 06, 2005 at 11:15:20AM -0400, hufe@mail.eecis.udel.edu wrote: > We just upgraded from 4.9 to 5.4. After the upgrade, we no longer have a > mixer. That is, if I run mixer, with no arguments, I get: > > $ /usr/sbin/mixer > mixer: /dev/mixer: No such file or directory > > Similarly, I get the following: > > $ cat getsmart.au > /dev/dsp > cannot create /dev/dsp: Operation not supported > > I think that should work, no? > > Can anybody point me in the right direction? Have you loaded the kernel module for your sound card? -- Simon Dick simond@irrelevant.org From owner-freebsd-multimedia@FreeBSD.ORG Thu Oct 6 15:28:57 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 19B2116A41F for ; Thu, 6 Oct 2005 15:28:57 +0000 (GMT) (envelope-from hufe@mail.eecis.udel.edu) Received: from mail.eecis.udel.edu (louie.udel.edu [128.4.40.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 027E543D80 for ; Thu, 6 Oct 2005 15:28:44 +0000 (GMT) (envelope-from hufe@mail.eecis.udel.edu) Received: by mail.eecis.udel.edu (Postfix, from userid 62) id 5CA1014D; Thu, 6 Oct 2005 11:28:44 -0400 (EDT) Received: from webmail.eecis.udel.edu (localhost [127.0.0.1]) by mail.eecis.udel.edu (Postfix) with ESMTP id C933E113; Thu, 6 Oct 2005 11:28:43 -0400 (EDT) Received: from 128.4.30.26 (SquirrelMail authenticated user hufe) by webmail.eecis.udel.edu with HTTP; Thu, 6 Oct 2005 11:28:43 -0400 (EDT) Message-ID: <50433.128.4.30.26.1128612523.squirrel@webmail.eecis.udel.edu> In-Reply-To: <52956.128.4.30.26.1128611720.squirrel@webmail.eecis.udel.edu> References: <52956.128.4.30.26.1128611720.squirrel@webmail.eecis.udel.edu> Date: Thu, 6 Oct 2005 11:28:43 -0400 (EDT) From: hufe@mail.eecis.udel.edu To: hufe@mail.eecis.udel.edu User-Agent: SquirrelMail/1.4.5 X-Priority: 3 (Normal) Importance: Normal X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on louie.udel.edu X-Spam-Level: X-Spam-Status: No, score=-3.8 required=4.1 tests=ALL_TRUSTED,BAYES_00, NO_REAL_NAME autolearn=ham version=3.0.4 X-Sanitizer: This message has been sanitized! X-Sanitizer-URL: http://mailtools.anomy.net/ X-Sanitizer-Rev: UDEL-ECECIS: Sanitizer.pm, v 1.64 2002/10/22 MIME-Version: 1.0 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Cc: freebsd-multimedia@freebsd.org Subject: Re: No mixer after FreeBSD 5.4 install X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Oct 2005 15:28:57 -0000 Never mind. My colleagues set me straight: kldload snd_ich.ko - Mark > We just upgraded from 4.9 to 5.4. After the upgrade, we no longer have a > mixer. That is, if I run mixer, with no arguments, I get: > > $ /usr/sbin/mixer > mixer: /dev/mixer: No such file or directory > > Similarly, I get the following: > > $ cat getsmart.au > /dev/dsp > cannot create /dev/dsp: Operation not supported > > I think that should work, no? > > Can anybody point me in the right direction? > > Thanks. > > - Mark > > _______________________________________________ > freebsd-multimedia@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia > To unsubscribe, send any mail to > "freebsd-multimedia-unsubscribe@freebsd.org" > From owner-freebsd-multimedia@FreeBSD.ORG Thu Oct 6 16:48:46 2005 Return-Path: X-Original-To: multimedia@freebsd.org Delivered-To: freebsd-multimedia@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 262E916A41F for ; Thu, 6 Oct 2005 16:48:46 +0000 (GMT) (envelope-from michael@gargantuan.com) Received: from phoenix.gargantuan.com (srv01.lak.lwxdatacom.net [24.73.171.238]) by mx1.FreeBSD.org (Postfix) with ESMTP id 968DE43D46 for ; Thu, 6 Oct 2005 16:48:45 +0000 (GMT) (envelope-from michael@gargantuan.com) Received: from localhost (localhost.gargantuan.com [127.0.0.1]) by spamassassin-injector (Postfix) with SMTP id 66EBE7F5 for ; Thu, 6 Oct 2005 12:48:44 -0400 (EDT) X-Spam-DCC: sgs_public_dcc_server: phoenix.gargantuan.com 1199; Body=1 Fuz1=1 Fuz2=1 X-Spam-Flag: NO X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on phoenix.gargantuan.com X-Spam-Level: X-Spam-Status: No, score=-103.6 required=5.0 tests=AWL,BAYES_00,NO_RELAYS, USER_IN_WHITELIST autolearn=ham version=3.1.0 X-Spam-Pyzor: Received: by phoenix.gargantuan.com (Postfix, from userid 1001) id E4DE299F; Thu, 6 Oct 2005 12:48:33 -0400 (EDT) Date: Thu, 6 Oct 2005 12:48:33 -0400 From: "Michael W. Oliver" To: multimedia@freebsd.org Message-ID: <20051006164833.GG27507@gargantuan.com> Mail-Followup-To: multimedia@freebsd.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="NGIwU0kFl1Z1A3An" Content-Disposition: inline X-WWW-URL: http://michael.gargantuan.com X-GPG-PGP-Public-Key: http://michael.gargantuan.com/gnupg/pubkey.asc X-GPG-PGP-Fingerprint: 2694 0179 AE3F BFAE 0916 0BF5 B16B FBAB C5FA A3C9 X-Home-Phone: +1-863-816-8091 X-Mobile-Phone: +1-863-738-2334 X-Mailing-Address0: 8008 Apache Lane X-Mailing-Address1: Lakeland, FL X-Mailing-Address2: 33810-2172 X-Mailing-Address3: United States of America X-Guide-Questions: http://www.catb.org/~esr/faqs/smart-questions.html X-Guide-Netiquette: http://www.ietf.org/rfc/rfc1855.txt User-Agent: mutt-ng/devel-r445 (FreeBSD) Cc: Subject: thanks to Ariff and netchild! X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Oct 2005 16:48:46 -0000 --NGIwU0kFl1Z1A3An Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable awesome work guys, you have really stepped up development in the multimedia space. your work is very much appreciated! --=20 Mike Oliver [see complete headers for contact information] --NGIwU0kFl1Z1A3An Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDRVVhsWv7q8X6o8kRAif3AJ9Q4DDHmeftcwLhYgZK2T012ILs8QCgiq/B RN3qqSgThLsZSq/D3JQyk8c= =cD/k -----END PGP SIGNATURE----- --NGIwU0kFl1Z1A3An-- From owner-freebsd-multimedia@FreeBSD.ORG Thu Oct 6 22:45:55 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0040D16A41F for ; Thu, 6 Oct 2005 22:45:54 +0000 (GMT) (envelope-from erleya@gmail.com) Received: from smtp2-g19.free.fr (smtp2-g19.free.fr [212.27.42.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 10AB043D46 for ; Thu, 6 Oct 2005 22:45:54 +0000 (GMT) (envelope-from erleya@gmail.com) Received: from dexxa.mshome (vau06-2-82-238-188-208.fbx.proxad.net [82.238.188.208]) by smtp2-g19.free.fr (Postfix) with ESMTP id F084031B90; Fri, 7 Oct 2005 00:32:03 +0200 (CEST) Received: from dexxa.mshome (localhost.mshome [127.0.0.1]) by dexxa.mshome (8.13.5/8.13.4) with ESMTP id j96MMKfa037570; Fri, 7 Oct 2005 00:22:21 +0200 (CEST) (envelope-from erleya@gmail.com) Received: (from www@localhost) by dexxa.mshome (8.13.5/8.13.4/Submit) id j96MMJqA037569; Fri, 7 Oct 2005 00:22:19 +0200 (CEST) (envelope-from erleya@gmail.com) Message-Id: <200510062222.j96MMJqA037569@dexxa.mshome> X-Authentication-Warning: dexxa.mshome: www set sender to using -f To: From: Date: Fri, 7 Oct 2005 00:22:18 CEST Errors-To: X-Priority: 3 (Normal) User-Agent: NOCC MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV 0.87/1119/Thu Oct 6 20:29:53 2005 on dexxa.mshome X-Virus-Status: Clean Cc: Subject: Re: any hope for maestro support? X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: erleya@gmail.com List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Oct 2005 22:45:55 -0000 Hello, Just noticed this thread... > > My original PR is now 1 1/2 years old (kern/63204) and still no luck of > > getting the maestro-2e (ES1978) to work. While you can load the sound > > driver and it "seems" to work the mixer has no options and you cannot get > > any output out of the speakers. ... > I think it would apply cleanly to RELENG_6 too. I'd like to help to everybody who can look at and fix it. I'm having the same troubles with my Maestro2e on Toshiba 2595 XDVD laptop running FreeBSD 6.0 beta5 (everything works fine with WinXP). Tried your patch for RELENG_6 with no luck... Well, it is always the same, i.e. no sound. Here is some info about the system I'm running: ------------------------------ #uname -a FreeBSD toshka.mshome 6.0-BETA5 FreeBSD 6.0-BETA5 #10: Wed Oct 5 22:08:18 CEST 2005 root@toshka.mshome:/usr/obj/usr/src/sys/TOSHKA i386 #pciconf -lv ...skipped... pcm0@pci0:12:0: class=0x040100 card=0x00011179 chip=0x1978125d rev=0x10 hdr=0x00 vendor = 'ESS Technology' device = 'ES1978 Maestro-2E Audiodrive, ES1970 Canyon3D' class = multimedia subclass = audio ...skipped... #cat /dev/sndstat FreeBSD Audio Driver (newpcm) Installed devices: pcm0: port 0xfc00-0xfcff irq 11 at device 12.0 on pci0 (4p/1r/0v channels duplex default) #ls -l /dev cr--r--r-- 1 root wheel 0, 6 6 oct 23:14 sndstat crw-rw-rw- 1 root wheel 0, 54 6 oct 23:14 psm0 crw-rw-rw- 1 root wheel 0, 35 6 oct 23:14 mixer0 crw-rw-rw- 1 root wheel 0, 36 7 oct 00:02 dsp0.0 crw-rw-rw- 1 root wheel 0, 39 6 oct 23:14 dsp0.1 crw-rw-rw- 1 root wheel 0, 42 6 oct 23:14 dsp0.2 crw-rw-rw- 1 root wheel 0, 45 6 oct 23:14 dsp0.3 crw-rw-rw- 1 root wheel 0, 48 6 oct 23:14 dsp0.4 crw-rw-rw- 1 root wheel 0, 37 6 oct 23:14 dspW0.0 crw-rw-rw- 1 root wheel 0, 40 6 oct 23:14 dspW0.1 crw-rw-rw- 1 root wheel 0, 43 6 oct 23:14 dspW0.2 crw-rw-rw- 1 root wheel 0, 46 6 oct 23:14 dspW0.3 crw-rw-rw- 1 root wheel 0, 49 6 oct 23:14 dspW0.4 crw-rw-rw- 1 root wheel 0, 51 6 oct 23:14 dspr0.4 crw-rw-rw- 1 root wheel 0, 38 6 oct 23:14 audio0.0 crw-rw-rw- 1 root wheel 0, 41 6 oct 23:14 audio0.1 crw-rw-rw- 1 root wheel 0, 44 6 oct 23:14 audio0.2 crw-rw-rw- 1 root wheel 0, 47 6 oct 23:14 audio0.3 crw-rw-rw- 1 root wheel 0, 50 6 oct 23:14 audio0.4 crw-rw-rw- 1 root wheel 0, 55 6 oct 23:14 bpsm0 #tail /usr/src/sys/i386/conf/TOSHKA ...skipped... device sound device "snd_maestro" #kldstat Id Refs Address Size Name 1 6 0xc0400000 3cd094 kernel 2 16 0xc07ce000 604dc acpi.ko 3 1 0xc17a7000 3000 daemon_saver.ko 4 1 0xc180f000 69000 ltmdm.ko #dmesg Copyright (c) 1992-2005 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.0-BETA5 #10: Wed Oct 5 22:08:18 CEST 2005 root@toshka.mshome:/usr/obj/usr/src/sys/TOSHKA Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Pentium II/Pentium II Xeon/Celeron (399.06-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x66a Stepping = 10 Features=0x183f9ff real memory = 201195520 (191 MB) avail memory = 187379712 (178 MB) npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: Power Button (fixed) pci_link0: irq 11 on acpi0 pci_link1: irq 11 on acpi0 pci_link2: irq 11 on acpi0 pci_link3: irq 11 on acpi0 pci_link4: irq 3 on acpi0 Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0xfe08-0xfe0b on acpi0 cpu0: on acpi0 ...skipped... pcm0: port 0xfc00-0xfcff irq 11 at device 12.0 on pci0 pcm0: agg_rdcodec() RW_DONE timed out. pcm0: agg_rdcodec() PROGLESS timed out. pcm0: agg_wrcodec() PROGLESS timed out. pcm0: agg_rdcodec() PROGLESS timed out. pcm0: agg_wrcodec() PROGLESS timed out. pcm0: agg_rdcodec() PROGLESS timed out. pcm0: agg_wrcodec() PROGLESS timed out. pcm0: agg_rdcodec() PROGLESS timed out. pcm0: agg_wrcodec() PROGLESS timed out. pcm0: agg_rdcodec() PROGLESS timed out. pcm0: agg_wrcodec() PROGLESS timed out. pcm0: agg_rdcodec() PROGLESS timed out. pcm0: agg_wrcodec() PROGLESS timed out. pcm0: agg_rdcodec() PROGLESS timed out. pcm0: agg_wrcodec() PROGLESS timed out. pcm0: agg_rdcodec() PROGLESS timed out. pcm0: agg_wrcodec() PROGLESS timed out. pcm0: agg_rdcodec() PROGLESS timed out. pcm0: agg_wrcodec() PROGLESS timed out. pcm0: agg_rdcodec() PROGLESS timed out. pcm0: agg_wrcodec() PROGLESS timed out. pcm0: pcm0: agg_rdcodec() PROGLESS timed out. pcm0: agg_wrcodec() PROGLESS timed out. pcm0: agg_wrcodec() PROGLESS timed out. pcm0: agg_wrcodec() PROGLESS timed out. pci0: Failed to set ACPI power state D2 on \\_SB_.PCI0.SUND: AE_BAD_PARAMETER ...skipped... ------------------------------ Please let me know if you need more logs etc. As I understand something goes wrong with codec initialization. The problem existed with 5.4 too... WBR, Alex ___________________________________ NOCC, http://nocc.sourceforge.net From owner-freebsd-multimedia@FreeBSD.ORG Thu Oct 6 23:42:17 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ECD8016A41F for ; Thu, 6 Oct 2005 23:42:17 +0000 (GMT) (envelope-from skywizard@MyBSD.org.my) Received: from tomoyo.MyBSD.org.my (tomoyo.mybsd.org.my [202.157.186.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 728B243D45 for ; Thu, 6 Oct 2005 23:42:17 +0000 (GMT) (envelope-from skywizard@MyBSD.org.my) Received: from localhost (localhost [127.0.0.1]) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id 9E93D6CC23; Fri, 7 Oct 2005 07:42:47 +0800 (MYT) Received: from tomoyo.MyBSD.org.my ([127.0.0.1]) by localhost (tomoyo.MyBSD.org.my [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 47919-10; Fri, 7 Oct 2005 07:42:45 +0800 (MYT) Received: from kasumi.MyBSD.org.my (kasumi.MyBSD.org.my [IPv6:2001:328:2002:aa2::1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id 8B2776CC22; Fri, 7 Oct 2005 07:42:45 +0800 (MYT) Date: Fri, 7 Oct 2005 07:43:01 +0800 From: Ariff Abdullah To: erleya@gmail.com Message-Id: <20051007074301.36f0461c.skywizard@MyBSD.org.my> In-Reply-To: <200510062222.j96MMJqA037569@dexxa.mshome> References: <200510062222.j96MMJqA037569@dexxa.mshome> Organization: MyBSD X-Mailer: /usr/local/lib/ruby/1.8/net/smtp.rb Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-antivirus-mail-gateway at TOMOYO.MYBSD.ORG.MY Cc: freebsd-multimedia@freebsd.org Subject: Re: any hope for maestro support? X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Oct 2005 23:42:18 -0000 On Fri, 7 Oct 2005 00:22:18 CEST wrote: > Hello, > > Just noticed this thread... > > > > My original PR is now 1 1/2 years old (kern/63204) and still no > > > luck of getting the maestro-2e (ES1978) to work. While you can > > > load the sound driver and it "seems" to work the mixer has no > > > options and you cannot get any output out of the speakers. > ... > > I think it would apply cleanly to RELENG_6 too. > > I'd like to help to everybody who can look at and fix it. > I'm having the same troubles with my Maestro2e on Toshiba 2595 XDVD > laptop running FreeBSD 6.0 beta5 (everything works fine with WinXP). > [..] Can anybody suggest what was the last FreeBSD version this card works? -- Ariff Abdullah MyBSD http://www.MyBSD.org.my (IPv6/IPv4) http://staff.MyBSD.org.my (IPv6/IPv4) http://tomoyo.MyBSD.org.my (IPv6/IPv4) From owner-freebsd-multimedia@FreeBSD.ORG Thu Oct 6 23:49:40 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0BCAB16A41F for ; Thu, 6 Oct 2005 23:49:40 +0000 (GMT) (envelope-from steven@403forbidden.net) Received: from mxsf41.cluster1.charter.net (mxsf41.cluster1.charter.net [209.225.28.173]) by mx1.FreeBSD.org (Postfix) with ESMTP id E57E543D46 for ; Thu, 6 Oct 2005 23:49:33 +0000 (GMT) (envelope-from steven@403forbidden.net) Received: from mxip16a.cluster1.charter.net (mxip16a.cluster1.charter.net [209.225.28.146]) by mxsf41.cluster1.charter.net (8.12.11/8.12.11) with ESMTP id j96NnWVr016651 for ; Thu, 6 Oct 2005 19:49:32 -0400 Received: from 68-114-28-99.dhcp.gwnt.ga.charter.com (HELO services.403forbidden.net) (68.114.28.99) by mxip16a.cluster1.charter.net with ESMTP; 06 Oct 2005 19:49:20 -0400 X-IronPort-AV: i="3.97,184,1125892800"; d="scan'208"; a="1656748771:sNHT497747734" Received: from atlantis.403forbidden.net (atlantis.403forbidden.net [10.0.0.10]) by services.403forbidden.net (8.13.1/8.13.1) with ESMTP id j96NnUCU020884; Thu, 6 Oct 2005 19:49:30 -0400 (EDT) (envelope-from steven@403forbidden.net) Date: Thu, 6 Oct 2005 19:49:23 -0400 (EDT) From: "Steven S." To: Ariff Abdullah In-Reply-To: <20051007074301.36f0461c.skywizard@MyBSD.org.my> Message-ID: <20051006194821.J809@atlantis.403forbidden.net> References: <200510062222.j96MMJqA037569@dexxa.mshome> <20051007074301.36f0461c.skywizard@MyBSD.org.my> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-multimedia@freebsd.org, erleya@gmail.com Subject: Re: any hope for maestro support? X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Oct 2005 23:49:40 -0000 It has been awhile, probably 4.5 or 4.6. I do not recall it ever working totally with newpcm. On Fri, 7 Oct 2005, Ariff Abdullah wrote: > On Fri, 7 Oct 2005 00:22:18 CEST > wrote: >> Hello, >> >> Just noticed this thread... >> >>>> My original PR is now 1 1/2 years old (kern/63204) and still no >>>> luck of getting the maestro-2e (ES1978) to work. While you can >>>> load the sound driver and it "seems" to work the mixer has no >>>> options and you cannot get any output out of the speakers. >> ... >>> I think it would apply cleanly to RELENG_6 too. >> >> I'd like to help to everybody who can look at and fix it. >> I'm having the same troubles with my Maestro2e on Toshiba 2595 XDVD >> laptop running FreeBSD 6.0 beta5 (everything works fine with WinXP). >> > [..] > > Can anybody suggest what was the last FreeBSD version this card works? > > -- > > Ariff Abdullah > MyBSD > > http://www.MyBSD.org.my (IPv6/IPv4) > http://staff.MyBSD.org.my (IPv6/IPv4) > http://tomoyo.MyBSD.org.my (IPv6/IPv4) > _______________________________________________ > freebsd-multimedia@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia > To unsubscribe, send any mail to "freebsd-multimedia-unsubscribe@freebsd.org" > > From owner-freebsd-multimedia@FreeBSD.ORG Fri Oct 7 00:32:48 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from [127.0.0.1] (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 96A0D16A41F; Fri, 7 Oct 2005 00:32:47 +0000 (GMT) (envelope-from davidxu@freebsd.org) Message-ID: <4345C235.8060205@freebsd.org> Date: Fri, 07 Oct 2005 08:32:53 +0800 From: David Xu User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.7.10) Gecko/20050806 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ariff Abdullah References: <20051006141525.4171b911.skywizard@MyBSD.org.my> In-Reply-To: <20051006141525.4171b911.skywizard@MyBSD.org.my> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: Alexander@Leidinger.net, noackjr@alumni.rice.edu, freebsd-multimedia@freebsd.org Subject: Re: DAC1 / DAC2 for ex137x - ES1370/1/2/3 , CT5880/CT4730(EV1938) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Oct 2005 00:32:48 -0000 Ariff Abdullah wrote: >http://staff.mybsd.org.my/skywizard/FreeBSD/sound/ > >-- > >Ariff Abdullah >MyBSD > >http://www.MyBSD.org.my (IPv6/IPv4) >http://staff.MyBSD.org.my (IPv6/IPv4) >http://tomoyo.MyBSD.org.my (IPv6/IPv4) > > > > I have applied the patch, it works. Can you tell me how to test the DAC function, I feel the sound quality is a bit better than before when playing mp3. David Xu From owner-freebsd-multimedia@FreeBSD.ORG Fri Oct 7 01:09:12 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A1F4C16A41F; Fri, 7 Oct 2005 01:09:12 +0000 (GMT) (envelope-from skywizard@MyBSD.org.my) Received: from tomoyo.MyBSD.org.my (tomoyo.mybsd.org.my [202.157.186.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 19D0043D45; Fri, 7 Oct 2005 01:09:11 +0000 (GMT) (envelope-from skywizard@MyBSD.org.my) Received: from localhost (localhost [127.0.0.1]) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id C01906CC26; Fri, 7 Oct 2005 09:09:43 +0800 (MYT) Received: from tomoyo.MyBSD.org.my ([127.0.0.1]) by localhost (tomoyo.MyBSD.org.my [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 48659-01; Fri, 7 Oct 2005 09:09:42 +0800 (MYT) Received: from kasumi.MyBSD.org.my (kasumi.MyBSD.org.my [IPv6:2001:328:2002:aa2::1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id AB6E96CC22; Fri, 7 Oct 2005 09:09:41 +0800 (MYT) Date: Fri, 7 Oct 2005 09:09:57 +0800 From: Ariff Abdullah To: David Xu Message-Id: <20051007090957.28da4c9e.skywizard@MyBSD.org.my> In-Reply-To: <4345C235.8060205@freebsd.org> References: <20051006141525.4171b911.skywizard@MyBSD.org.my> <4345C235.8060205@freebsd.org> Organization: MyBSD X-Mailer: /usr/local/lib/ruby/1.8/net/smtp.rb Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-antivirus-mail-gateway at TOMOYO.MYBSD.ORG.MY Cc: freebsd-multimedia@freebsd.org, Alexander@Leidinger.net, noackjr@alumni.rice.edu Subject: Re: DAC1 / DAC2 for ex137x - ES1370/1/2/3 , CT5880/CT4730(EV1938) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Oct 2005 01:09:12 -0000 On Fri, 07 Oct 2005 08:32:53 +0800 David Xu wrote: > > I have applied the patch, it works. Can you tell me how to test > the DAC function By default, only DAC2. You need to set kernel hint hint.pcm.0.dac=0 (or 3, to swap the position) and reload the driver (or reboot, for RELENG_5). From dmesg, you'll see something like this: pcm0: port 0xe400-0xe41f,0xe800-0xe83f irq 18 at device 7.0 on pci0 pcm0: pcm0: ^^^^^^^^^ Now to ensure both are working, simply disable vchan: sysctl hw.snd.maxautovchans=0 sysctl hw.snd.pcm0.vchans=0 .. and play any mp3/audio. Make sure you can run 2 sound apps concurrently, which means the first one will use DAC1, and the second the other. You may enable vchan back if you think you need more than 2 :) > I feel the sound quality is a bit better than > before when playing mp3. > Which patchset did you applied? *_052.diff or *_052slave.diff ? -- Ariff Abdullah MyBSD http://www.MyBSD.org.my (IPv6/IPv4) http://staff.MyBSD.org.my (IPv6/IPv4) http://tomoyo.MyBSD.org.my (IPv6/IPv4) From owner-freebsd-multimedia@FreeBSD.ORG Fri Oct 7 01:15:08 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7A8C816A41F for ; Fri, 7 Oct 2005 01:15:08 +0000 (GMT) (envelope-from skywizard@MyBSD.org.my) Received: from tomoyo.MyBSD.org.my (tomoyo.mybsd.org.my [202.157.186.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id B427A43D45 for ; Fri, 7 Oct 2005 01:15:05 +0000 (GMT) (envelope-from skywizard@MyBSD.org.my) Received: from localhost (localhost [127.0.0.1]) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id 354C16CC23; Fri, 7 Oct 2005 09:15:37 +0800 (MYT) Received: from tomoyo.MyBSD.org.my ([127.0.0.1]) by localhost (tomoyo.MyBSD.org.my [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 48361-10; Fri, 7 Oct 2005 09:15:34 +0800 (MYT) Received: from kasumi.MyBSD.org.my (kasumi.MyBSD.org.my [IPv6:2001:328:2002:aa2::1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id CA9636CC22; Fri, 7 Oct 2005 09:15:32 +0800 (MYT) Date: Fri, 7 Oct 2005 09:15:48 +0800 From: Ariff Abdullah To: "Steven S." Message-Id: <20051007091548.5a8480e3.skywizard@MyBSD.org.my> In-Reply-To: <20051006194821.J809@atlantis.403forbidden.net> References: <200510062222.j96MMJqA037569@dexxa.mshome> <20051007074301.36f0461c.skywizard@MyBSD.org.my> <20051006194821.J809@atlantis.403forbidden.net> Organization: MyBSD X-Mailer: /usr/local/lib/ruby/1.8/net/smtp.rb Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Multipart=_Fri__7_Oct_2005_09_15_48_+0800_kwqXm+/7SEU=o1SN" X-Virus-Scanned: by amavisd-new-antivirus-mail-gateway at TOMOYO.MYBSD.ORG.MY Cc: freebsd-multimedia@freebsd.org, erleya@gmail.com Subject: Re: any hope for maestro support? X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Oct 2005 01:15:08 -0000 This is a multi-part message in MIME format. --Multipart=_Fri__7_Oct_2005_09_15_48_+0800_kwqXm+/7SEU=o1SN Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Thu, 6 Oct 2005 19:49:23 -0400 (EDT) "Steven S." wrote: > > > It has been awhile, probably 4.5 or 4.6. I do not recall it ever > working totally with newpcm. > Please replace your /usr/src/sys/dev/sound/pci/maestro.c with this one (attached). Note: THIS IS JUST AN UGLY, BLATANT HACK to revert everything back to it's very last known working configuration. I'll think a better solution after this. -- Ariff Abdullah MyBSD http://www.MyBSD.org.my (IPv6/IPv4) http://staff.MyBSD.org.my (IPv6/IPv4) http://tomoyo.MyBSD.org.my (IPv6/IPv4) --Multipart=_Fri__7_Oct_2005_09_15_48_+0800_kwqXm+/7SEU=o1SN Content-Type: text/plain; name="maestro.c" Content-Disposition: attachment; filename="maestro.c" Content-Transfer-Encoding: 7bit /*- * Copyright (c) 2000 Taku YAMAMOTO * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * $Id: maestro.c,v 1.12 2000/09/06 03:32:34 taku Exp $ */ /* * Credits: * * Part of this code (especially in many magic numbers) was heavily inspired * by the Linux driver originally written by * Alan Cox , modified heavily by * Zach Brown . * * busdma()-ize and buffer size reduction were suggested by * Cameron Grant . * Also he showed me the way to use busdma() suite. * * Internal speaker problems on NEC VersaPro's and Dell Inspiron 7500 * were looked at by * Munehiro Matsuda , * who brought patches based on the Linux driver with some simplification. */ #include #include #include #include #include SND_DECLARE_FILE("$FreeBSD: src/sys/dev/sound/pci/maestro.c,v 1.2.2.5 2002/04/22 15:49:32 cg Exp $"); #define inline __inline /* * PCI IDs of supported chips: * * MAESTRO-1 0x01001285 * MAESTRO-2 0x1968125d * MAESTRO-2E 0x1978125d */ #define MAESTRO_1_PCI_ID 0x01001285 #define MAESTRO_2_PCI_ID 0x1968125d #define MAESTRO_2E_PCI_ID 0x1978125d #define NEC_SUBID1 0x80581033 /* Taken from Linux driver */ #define NEC_SUBID2 0x803c1033 /* NEC VersaProNX VA26D */ #ifndef AGG_MAXPLAYCH # define AGG_MAXPLAYCH 4 #endif #define AGG_DEFAULT_BUFSZ 0x4000 /* 0x1000, but gets underflows */ /* ----------------------------- * Data structures. */ struct agg_chinfo { struct agg_info *parent; struct pcm_channel *channel; struct snd_dbuf *buffer; bus_addr_t offset; u_int32_t blocksize; u_int32_t speed; int dir; u_int num; u_int16_t aputype; u_int16_t wcreg_tpl; }; struct agg_info { device_t dev; struct resource *reg; int regid; bus_space_tag_t st; bus_space_handle_t sh; bus_dma_tag_t parent_dmat; struct resource *irq; int irqid; void *ih; u_int8_t *stat; bus_addr_t baseaddr; struct ac97_info *codec; struct mtx *lock; unsigned int bufsz; u_int playchns, active; struct agg_chinfo pch[AGG_MAXPLAYCH]; struct agg_chinfo rch; }; static inline void ringbus_setdest(struct agg_info*, int, int); static inline u_int16_t wp_rdreg(struct agg_info*, u_int16_t); static inline void wp_wrreg(struct agg_info*, u_int16_t, u_int16_t); static inline u_int16_t wp_rdapu(struct agg_info*, int, u_int16_t); static inline void wp_wrapu(struct agg_info*, int, u_int16_t, u_int16_t); static inline void wp_settimer(struct agg_info*, u_int); static inline void wp_starttimer(struct agg_info*); static inline void wp_stoptimer(struct agg_info*); static inline u_int16_t wc_rdreg(struct agg_info*, u_int16_t); static inline void wc_wrreg(struct agg_info*, u_int16_t, u_int16_t); static inline u_int16_t wc_rdchctl(struct agg_info*, int); static inline void wc_wrchctl(struct agg_info*, int, u_int16_t); static inline void agg_power(struct agg_info*, int); static void agg_init(struct agg_info*); static void aggch_start_dac(struct agg_chinfo*); static void aggch_stop_dac(struct agg_chinfo*); static inline void suppress_jitter(struct agg_chinfo*); static inline u_int calc_timer_freq(struct agg_chinfo*); static void set_timer(struct agg_info*); static void agg_intr(void *); static int agg_probe(device_t); static int agg_attach(device_t); static int agg_detach(device_t); static int agg_suspend(device_t); static int agg_resume(device_t); static int agg_shutdown(device_t); static void *dma_malloc(struct agg_info*, u_int32_t, bus_addr_t*); static void dma_free(struct agg_info*, void *); /* ----------------------------- * Subsystems. */ /* Codec/Ringbus */ /* -------------------------------------------------------------------- */ static u_int32_t agg_ac97_init(kobj_t obj, void *sc) { struct agg_info *ess = sc; return (bus_space_read_1(ess->st, ess->sh, PORT_CODEC_STAT) & CODEC_STAT_MASK)? 0 : 1; } static int agg_rdcodec(kobj_t obj, void *sc, int regno) { struct agg_info *ess = sc; unsigned t; /* We have to wait for a SAFE time to write addr/data */ for (t = 0; t < 20; t++) { if ((bus_space_read_1(ess->st, ess->sh, PORT_CODEC_STAT) & CODEC_STAT_MASK) != CODEC_STAT_PROGLESS) break; DELAY(2); /* 20.8us / 13 */ } if (t == 20) device_printf(ess->dev, "agg_rdcodec() PROGLESS timed out.\n"); bus_space_write_1(ess->st, ess->sh, PORT_CODEC_CMD, CODEC_CMD_READ | regno); DELAY(21); /* AC97 cycle = 20.8usec */ /* Wait for data retrieve */ for (t = 0; t < 20; t++) { if ((bus_space_read_1(ess->st, ess->sh, PORT_CODEC_STAT) & CODEC_STAT_MASK) == CODEC_STAT_RW_DONE) break; DELAY(2); /* 20.8us / 13 */ } if (t == 20) /* Timed out, but perform dummy read. */ device_printf(ess->dev, "agg_rdcodec() RW_DONE timed out.\n"); return bus_space_read_2(ess->st, ess->sh, PORT_CODEC_REG); } static int agg_wrcodec(kobj_t obj, void *sc, int regno, u_int32_t data) { unsigned t; struct agg_info *ess = sc; /* We have to wait for a SAFE time to write addr/data */ for (t = 0; t < 20; t++) { if ((bus_space_read_1(ess->st, ess->sh, PORT_CODEC_STAT) & CODEC_STAT_MASK) != CODEC_STAT_PROGLESS) break; DELAY(2); /* 20.8us / 13 */ } if (t == 20) { /* Timed out. Abort writing. */ device_printf(ess->dev, "agg_wrcodec() PROGLESS timed out.\n"); return -1; } bus_space_write_2(ess->st, ess->sh, PORT_CODEC_REG, data); bus_space_write_1(ess->st, ess->sh, PORT_CODEC_CMD, CODEC_CMD_WRITE | regno); return 0; } static kobj_method_t agg_ac97_methods[] = { KOBJMETHOD(ac97_init, agg_ac97_init), KOBJMETHOD(ac97_read, agg_rdcodec), KOBJMETHOD(ac97_write, agg_wrcodec), { 0, 0 } }; AC97_DECLARE(agg_ac97); /* -------------------------------------------------------------------- */ static inline void ringbus_setdest(struct agg_info *ess, int src, int dest) { u_int32_t data; data = bus_space_read_4(ess->st, ess->sh, PORT_RINGBUS_CTRL); data &= ~(0xfU << src); data |= (0xfU & dest) << src; bus_space_write_4(ess->st, ess->sh, PORT_RINGBUS_CTRL, data); } /* Wave Processor */ static inline u_int16_t wp_rdreg(struct agg_info *ess, u_int16_t reg) { bus_space_write_2(ess->st, ess->sh, PORT_DSP_INDEX, reg); return bus_space_read_2(ess->st, ess->sh, PORT_DSP_DATA); } static inline void wp_wrreg(struct agg_info *ess, u_int16_t reg, u_int16_t data) { bus_space_write_2(ess->st, ess->sh, PORT_DSP_INDEX, reg); bus_space_write_2(ess->st, ess->sh, PORT_DSP_DATA, data); } static inline void apu_setindex(struct agg_info *ess, u_int16_t reg) { int t; wp_wrreg(ess, WPREG_CRAM_PTR, reg); /* Sometimes WP fails to set apu register index. */ for (t = 0; t < 1000; t++) { if (bus_space_read_2(ess->st, ess->sh, PORT_DSP_DATA) == reg) break; bus_space_write_2(ess->st, ess->sh, PORT_DSP_DATA, reg); } if (t == 1000) device_printf(ess->dev, "apu_setindex() timed out.\n"); } static inline u_int16_t wp_rdapu(struct agg_info *ess, int ch, u_int16_t reg) { u_int16_t ret; apu_setindex(ess, ((unsigned)ch << 4) + reg); ret = wp_rdreg(ess, WPREG_DATA_PORT); return ret; } static inline void wp_wrapu(struct agg_info *ess, int ch, u_int16_t reg, u_int16_t data) { int t; apu_setindex(ess, ((unsigned)ch << 4) + reg); wp_wrreg(ess, WPREG_DATA_PORT, data); for (t = 0; t < 1000; t++) { if (bus_space_read_2(ess->st, ess->sh, PORT_DSP_DATA) == data) break; bus_space_write_2(ess->st, ess->sh, PORT_DSP_DATA, data); } if (t == 1000) device_printf(ess->dev, "wp_wrapu() timed out.\n"); } static inline void wp_settimer(struct agg_info *ess, u_int freq) { u_int clock = 48000 << 2; u_int prescale = 0, divide = (freq != 0) ? (clock / freq) : ~0; RANGE(divide, 4, 32 << 8); for (; divide > 32 << 1; divide >>= 1) prescale++; divide = (divide + 1) >> 1; for (; prescale < 7 && divide > 2 && !(divide & 1); divide >>= 1) prescale++; wp_wrreg(ess, WPREG_TIMER_ENABLE, 0); wp_wrreg(ess, WPREG_TIMER_FREQ, (prescale << WP_TIMER_FREQ_PRESCALE_SHIFT) | (divide - 1)); wp_wrreg(ess, WPREG_TIMER_ENABLE, 1); } static inline void wp_starttimer(struct agg_info *ess) { wp_wrreg(ess, WPREG_TIMER_START, 1); } static inline void wp_stoptimer(struct agg_info *ess) { wp_wrreg(ess, WPREG_TIMER_START, 0); bus_space_write_2(ess->st, ess->sh, PORT_INT_STAT, 1); } /* WaveCache */ static inline u_int16_t wc_rdreg(struct agg_info *ess, u_int16_t reg) { bus_space_write_2(ess->st, ess->sh, PORT_WAVCACHE_INDEX, reg); return bus_space_read_2(ess->st, ess->sh, PORT_WAVCACHE_DATA); } static inline void wc_wrreg(struct agg_info *ess, u_int16_t reg, u_int16_t data) { bus_space_write_2(ess->st, ess->sh, PORT_WAVCACHE_INDEX, reg); bus_space_write_2(ess->st, ess->sh, PORT_WAVCACHE_DATA, data); } static inline u_int16_t wc_rdchctl(struct agg_info *ess, int ch) { return wc_rdreg(ess, ch << 3); } static inline void wc_wrchctl(struct agg_info *ess, int ch, u_int16_t data) { wc_wrreg(ess, ch << 3, data); } /* Power management */ static inline void agg_power(struct agg_info *ess, int status) { u_int8_t data; data = pci_read_config(ess->dev, CONF_PM_PTR, 1); if (pci_read_config(ess->dev, data, 1) == PPMI_CID) pci_write_config(ess->dev, data + PM_CTRL, status, 1); } /* ----------------------------- * Controller. */ static inline void agg_initcodec(struct agg_info* ess) { u_int16_t data; if (bus_space_read_4(ess->st, ess->sh, PORT_RINGBUS_CTRL) & RINGBUS_CTRL_ACLINK_ENABLED) { bus_space_write_4(ess->st, ess->sh, PORT_RINGBUS_CTRL, 0); DELAY(104); /* 20.8us * (4 + 1) */ } /* XXX - 2nd codec should be looked at. */ bus_space_write_4(ess->st, ess->sh, PORT_RINGBUS_CTRL, RINGBUS_CTRL_AC97_SWRESET); DELAY(2); bus_space_write_4(ess->st, ess->sh, PORT_RINGBUS_CTRL, RINGBUS_CTRL_ACLINK_ENABLED); DELAY(21); agg_rdcodec(NULL, ess, 0); if (bus_space_read_1(ess->st, ess->sh, PORT_CODEC_STAT) & CODEC_STAT_MASK) { bus_space_write_4(ess->st, ess->sh, PORT_RINGBUS_CTRL, 0); DELAY(21); /* Try cold reset. */ device_printf(ess->dev, "will perform cold reset.\n"); data = bus_space_read_2(ess->st, ess->sh, PORT_GPIO_DIR); if (pci_read_config(ess->dev, 0x58, 2) & 1) data |= 0x10; data |= 0x009 & ~bus_space_read_2(ess->st, ess->sh, PORT_GPIO_DATA); bus_space_write_2(ess->st, ess->sh, PORT_GPIO_MASK, 0xff6); bus_space_write_2(ess->st, ess->sh, PORT_GPIO_DIR, data | 0x009); bus_space_write_2(ess->st, ess->sh, PORT_GPIO_DATA, 0x000); DELAY(2); bus_space_write_2(ess->st, ess->sh, PORT_GPIO_DATA, 0x001); DELAY(1); bus_space_write_2(ess->st, ess->sh, PORT_GPIO_DATA, 0x009); DELAY(500000); bus_space_write_2(ess->st, ess->sh, PORT_GPIO_DIR, data); DELAY(84); /* 20.8us * 4 */ bus_space_write_4(ess->st, ess->sh, PORT_RINGBUS_CTRL, RINGBUS_CTRL_ACLINK_ENABLED); DELAY(21); } } static void agg_init(struct agg_info* ess) { u_int32_t data; /* Setup PCI config registers. */ /* Disable all legacy emulations. */ data = pci_read_config(ess->dev, CONF_LEGACY, 2); data |= LEGACY_DISABLED; pci_write_config(ess->dev, CONF_LEGACY, data, 2); /* Disconnect from CHI. (Makes Dell inspiron 7500 work?) * Enable posted write. * Prefer PCI timing rather than that of ISA. * Don't swap L/R. */ data = pci_read_config(ess->dev, CONF_MAESTRO, 4); data |= MAESTRO_CHIBUS | MAESTRO_POSTEDWRITE | MAESTRO_DMA_PCITIMING; data &= ~MAESTRO_SWAP_LR; pci_write_config(ess->dev, CONF_MAESTRO, data, 4); /* Reset direct sound. */ bus_space_write_2(ess->st, ess->sh, PORT_HOSTINT_CTRL, HOSTINT_CTRL_DSOUND_RESET); DELAY(10000); /* XXX - too long? */ bus_space_write_2(ess->st, ess->sh, PORT_HOSTINT_CTRL, 0); DELAY(10000); /* Enable direct sound interruption and hardware volume control. */ bus_space_write_2(ess->st, ess->sh, PORT_HOSTINT_CTRL, HOSTINT_CTRL_DSOUND_INT_ENABLED | HOSTINT_CTRL_HWVOL_ENABLED); /* Setup Wave Processor. */ /* Enable WaveCache, set DMA base address. */ wp_wrreg(ess, WPREG_WAVE_ROMRAM, WP_WAVE_VIRTUAL_ENABLED | WP_WAVE_DRAM_ENABLED); bus_space_write_2(ess->st, ess->sh, PORT_WAVCACHE_CTRL, WAVCACHE_ENABLED | WAVCACHE_WTSIZE_4MB); for (data = WAVCACHE_PCMBAR; data < WAVCACHE_PCMBAR + 4; data++) wc_wrreg(ess, data, ess->baseaddr >> WAVCACHE_BASEADDR_SHIFT); /* Setup Codec/Ringbus. */ agg_initcodec(ess); bus_space_write_4(ess->st, ess->sh, PORT_RINGBUS_CTRL, RINGBUS_CTRL_RINGBUS_ENABLED | RINGBUS_CTRL_ACLINK_ENABLED); wp_wrreg(ess, WPREG_BASE, 0x8500); /* Parallel I/O */ ringbus_setdest(ess, RINGBUS_SRC_ADC, RINGBUS_DEST_STEREO | RINGBUS_DEST_DSOUND_IN); ringbus_setdest(ess, RINGBUS_SRC_DSOUND, RINGBUS_DEST_STEREO | RINGBUS_DEST_DAC); /* Setup ASSP. Needed for Dell Inspiron 7500? */ bus_space_write_1(ess->st, ess->sh, PORT_ASSP_CTRL_B, 0x00); bus_space_write_1(ess->st, ess->sh, PORT_ASSP_CTRL_A, 0x03); bus_space_write_1(ess->st, ess->sh, PORT_ASSP_CTRL_C, 0x00); /* * Setup GPIO. * There seems to be speciality with NEC systems. */ switch (pci_get_subvendor(ess->dev) | (pci_get_subdevice(ess->dev) << 16)) { case NEC_SUBID1: case NEC_SUBID2: /* Matthew Braithwaite reported that * NEC Versa LX doesn't need GPIO operation. */ bus_space_write_2(ess->st, ess->sh, PORT_GPIO_MASK, 0x9ff); bus_space_write_2(ess->st, ess->sh, PORT_GPIO_DIR, bus_space_read_2(ess->st, ess->sh, PORT_GPIO_DIR) | 0x600); bus_space_write_2(ess->st, ess->sh, PORT_GPIO_DATA, 0x200); break; } } /* Channel controller. */ static void aggch_start_dac(struct agg_chinfo *ch) { bus_addr_t wpwa = APU_USE_SYSMEM | (ch->offset >> 9); u_int size = ch->parent->bufsz >> 1; u_int speed = ch->speed; bus_addr_t offset = ch->offset >> 1; u_int cp = 0; u_int16_t apuch = ch->num << 1; u_int dv; int pan = 0; switch (ch->aputype) { case APUTYPE_16BITSTEREO: wpwa >>= 1; size >>= 1; offset >>= 1; cp >>= 1; /* FALLTHROUGH */ case APUTYPE_8BITSTEREO: pan = 8; apuch++; break; case APUTYPE_8BITLINEAR: speed >>= 1; break; } dv = (((speed % 48000) << 16) + 24000) / 48000 + ((speed / 48000) << 16); do { wp_wrapu(ch->parent, apuch, APUREG_WAVESPACE, wpwa & 0xff00); wp_wrapu(ch->parent, apuch, APUREG_CURPTR, offset + cp); wp_wrapu(ch->parent, apuch, APUREG_ENDPTR, offset + size); wp_wrapu(ch->parent, apuch, APUREG_LOOPLEN, size); wp_wrapu(ch->parent, apuch, APUREG_AMPLITUDE, 0xe800); wp_wrapu(ch->parent, apuch, APUREG_POSITION, 0x8f00 | (RADIUS_CENTERCIRCLE << APU_RADIUS_SHIFT) | ((PAN_FRONT + pan) << APU_PAN_SHIFT)); wp_wrapu(ch->parent, apuch, APUREG_FREQ_LOBYTE, APU_plus6dB | ((dv & 0xff) << APU_FREQ_LOBYTE_SHIFT)); wp_wrapu(ch->parent, apuch, APUREG_FREQ_HIWORD, dv >> 8); if (ch->aputype == APUTYPE_16BITSTEREO) wpwa |= APU_STEREO >> 1; pan = -pan; } while (pan < 0 && apuch--); wc_wrchctl(ch->parent, apuch, ch->wcreg_tpl); wc_wrchctl(ch->parent, apuch + 1, ch->wcreg_tpl); wp_wrapu(ch->parent, apuch, APUREG_APUTYPE, (ch->aputype << APU_APUTYPE_SHIFT) | APU_DMA_ENABLED | 0xf); if (ch->wcreg_tpl & WAVCACHE_CHCTL_STEREO) wp_wrapu(ch->parent, apuch + 1, APUREG_APUTYPE, (ch->aputype << APU_APUTYPE_SHIFT) | APU_DMA_ENABLED | 0xf); } static void aggch_stop_dac(struct agg_chinfo *ch) { wp_wrapu(ch->parent, (ch->num << 1), APUREG_APUTYPE, APUTYPE_INACTIVE << APU_APUTYPE_SHIFT); wp_wrapu(ch->parent, (ch->num << 1) + 1, APUREG_APUTYPE, APUTYPE_INACTIVE << APU_APUTYPE_SHIFT); } /* * Stereo jitter suppressor. * Sometimes playback pointers differ in stereo-paired channels. * Calling this routine within intr fixes the problem. */ static inline void suppress_jitter(struct agg_chinfo *ch) { if (ch->wcreg_tpl & WAVCACHE_CHCTL_STEREO) { int cp, diff, halfsize = ch->parent->bufsz >> 2; if (ch->aputype == APUTYPE_16BITSTEREO) halfsize >>= 1; cp = wp_rdapu(ch->parent, (ch->num << 1), APUREG_CURPTR); diff = wp_rdapu(ch->parent, (ch->num << 1) + 1, APUREG_CURPTR); diff -= cp; if (diff >> 1 && diff > -halfsize && diff < halfsize) bus_space_write_2(ch->parent->st, ch->parent->sh, PORT_DSP_DATA, cp); } } static inline u_int calc_timer_freq(struct agg_chinfo *ch) { u_int ss = 2; if (ch->aputype == APUTYPE_16BITSTEREO) ss <<= 1; if (ch->aputype == APUTYPE_8BITLINEAR) ss >>= 1; return (ch->speed * ss) / ch->blocksize; } static void set_timer(struct agg_info *ess) { int i; u_int freq = 0; for (i = 0; i < ess->playchns; i++) if ((ess->active & (1 << i)) && (freq < calc_timer_freq(ess->pch + i))) freq = calc_timer_freq(ess->pch + i); wp_settimer(ess, freq); } /* ----------------------------- * Newpcm glue. */ static void * aggch_init(kobj_t obj, void *devinfo, struct snd_dbuf *b, struct pcm_channel *c, int dir) { struct agg_info *ess = devinfo; struct agg_chinfo *ch; bus_addr_t physaddr; void *p; ch = (dir == PCMDIR_PLAY)? ess->pch + ess->playchns : &ess->rch; ch->parent = ess; ch->channel = c; ch->buffer = b; ch->num = ess->playchns; ch->dir = dir; p = dma_malloc(ess, ess->bufsz, &physaddr); if (p == NULL) return NULL; sndbuf_setup(b, p, ess->bufsz); ch->offset = physaddr - ess->baseaddr; if (physaddr < ess->baseaddr || ch->offset > WPWA_MAXADDR) { device_printf(ess->dev, "offset %#llx exceeds limit. ", (long long)ch->offset); dma_free(ess, sndbuf_getbuf(b)); return NULL; } ch->wcreg_tpl = (physaddr - 16) & WAVCACHE_CHCTL_ADDRTAG_MASK; if (dir == PCMDIR_PLAY) { ess->playchns++; if (bootverbose) device_printf(ess->dev, "pch[%d].offset = %#llx\n", ch->num, (long long)ch->offset); } else if (bootverbose) device_printf(ess->dev, "rch.offset = %#llx\n", (long long)ch->offset); return ch; } static int aggch_free(kobj_t obj, void *data) { struct agg_chinfo *ch = data; struct agg_info *ess = ch->parent; /* free up buffer - called after channel stopped */ dma_free(ess, sndbuf_getbuf(ch->buffer)); /* return 0 if ok */ return 0; } static int aggch_setplayformat(kobj_t obj, void *data, u_int32_t format) { struct agg_chinfo *ch = data; u_int16_t wcreg_tpl; u_int16_t aputype = APUTYPE_16BITLINEAR; wcreg_tpl = ch->wcreg_tpl & WAVCACHE_CHCTL_ADDRTAG_MASK; if (format & AFMT_STEREO) { wcreg_tpl |= WAVCACHE_CHCTL_STEREO; aputype += 1; } if (format & AFMT_U8 || format & AFMT_S8) { aputype += 2; if (format & AFMT_U8) wcreg_tpl |= WAVCACHE_CHCTL_U8; } if (format & AFMT_BIGENDIAN || format & AFMT_U16_LE) { format &= ~AFMT_BIGENDIAN & ~AFMT_U16_LE; format |= AFMT_S16_LE; } ch->wcreg_tpl = wcreg_tpl; ch->aputype = aputype; return 0; } static int aggch_setspeed(kobj_t obj, void *data, u_int32_t speed) { struct agg_chinfo *ch = data; ch->speed = speed; return ch->speed; } static int aggch_setblocksize(kobj_t obj, void *data, u_int32_t blocksize) { return ((struct agg_chinfo*)data)->blocksize = blocksize; } static int aggch_trigger(kobj_t obj, void *data, int go) { struct agg_chinfo *ch = data; switch (go) { case PCMTRIG_EMLDMAWR: return 0; case PCMTRIG_START: ch->parent->active |= (1 << ch->num); if (ch->dir == PCMDIR_PLAY) aggch_start_dac(ch); #if 0 /* XXX - RECORDING */ else aggch_start_adc(ch); #endif break; case PCMTRIG_ABORT: case PCMTRIG_STOP: ch->parent->active &= ~(1 << ch->num); if (ch->dir == PCMDIR_PLAY) aggch_stop_dac(ch); #if 0 /* XXX - RECORDING */ else aggch_stop_adc(ch); #endif break; } if (ch->parent->active) { set_timer(ch->parent); wp_starttimer(ch->parent); } else wp_stoptimer(ch->parent); return 0; } static int aggch_getplayptr(kobj_t obj, void *data) { struct agg_chinfo *ch = data; u_int cp; cp = wp_rdapu(ch->parent, (ch->num << 1), APUREG_CURPTR); if (ch->aputype == APUTYPE_16BITSTEREO) cp = (0xffff << 2) & ((cp << 2) - ch->offset); else cp = (0xffff << 1) & ((cp << 1) - ch->offset); return cp; } static struct pcmchan_caps * aggch_getcaps(kobj_t obj, void *data) { static u_int32_t playfmt[] = { AFMT_U8, AFMT_STEREO | AFMT_U8, AFMT_S8, AFMT_STEREO | AFMT_S8, AFMT_S16_LE, AFMT_STEREO | AFMT_S16_LE, 0 }; static struct pcmchan_caps playcaps = {2000, 96000, playfmt, 0}; static u_int32_t recfmt[] = { AFMT_S8, AFMT_STEREO | AFMT_S8, AFMT_S16_LE, AFMT_STEREO | AFMT_S16_LE, 0 }; static struct pcmchan_caps reccaps = {4000, 48000, recfmt, 0}; return (((struct agg_chinfo*)data)->dir == PCMDIR_PLAY)? &playcaps : &reccaps; } static kobj_method_t aggch_methods[] = { KOBJMETHOD(channel_init, aggch_init), KOBJMETHOD(channel_free, aggch_free), KOBJMETHOD(channel_setformat, aggch_setplayformat), KOBJMETHOD(channel_setspeed, aggch_setspeed), KOBJMETHOD(channel_setblocksize, aggch_setblocksize), KOBJMETHOD(channel_trigger, aggch_trigger), KOBJMETHOD(channel_getptr, aggch_getplayptr), KOBJMETHOD(channel_getcaps, aggch_getcaps), { 0, 0 } }; CHANNEL_DECLARE(aggch); /* ----------------------------- * Bus space. */ static void agg_intr(void *sc) { struct agg_info* ess = sc; u_int16_t status; int i; status = bus_space_read_1(ess->st, ess->sh, PORT_HOSTINT_STAT); if (!status) return; /* Acknowledge all. */ bus_space_write_2(ess->st, ess->sh, PORT_INT_STAT, 1); bus_space_write_1(ess->st, ess->sh, PORT_HOSTINT_STAT, 0xff); if (status & HOSTINT_STAT_HWVOL) { u_int event; event = bus_space_read_1(ess->st, ess->sh, PORT_HWVOL_MASTER); switch (event) { case HWVOL_MUTE: mixer_hwvol_mute(ess->dev); break; case HWVOL_UP: mixer_hwvol_step(ess->dev, 1, 1); break; case HWVOL_DOWN: mixer_hwvol_step(ess->dev, -1, -1); break; case HWVOL_NOP: break; default: device_printf(ess->dev, "%s: unknown HWVOL event 0x%x\n", device_get_nameunit(ess->dev), event); } bus_space_write_1(ess->st, ess->sh, PORT_HWVOL_MASTER, HWVOL_NOP); } for (i = 0; i < ess->playchns; i++) if (ess->active & (1 << i)) { suppress_jitter(ess->pch + i); chn_intr(ess->pch[i].channel); } #if 0 /* XXX - RECORDING */ if (ess->active & (1 << i)) chn_intr(ess->rch.channel); #endif } static void setmap(void *arg, bus_dma_segment_t *segs, int nseg, int error) { bus_addr_t *phys = arg; *phys = error? 0 : segs->ds_addr; if (bootverbose) { printf("setmap (%lx, %lx), nseg=%d, error=%d\n", (unsigned long)segs->ds_addr, (unsigned long)segs->ds_len, nseg, error); } } static void * dma_malloc(struct agg_info *sc, u_int32_t sz, bus_addr_t *phys) { void *buf; bus_dmamap_t map; if (bus_dmamem_alloc(sc->parent_dmat, &buf, BUS_DMA_NOWAIT, &map)) return NULL; if (bus_dmamap_load(sc->parent_dmat, map, buf, sz, setmap, phys, 0) || !*phys) { bus_dmamem_free(sc->parent_dmat, buf, map); return NULL; } return buf; } static void dma_free(struct agg_info *sc, void *buf) { bus_dmamem_free(sc->parent_dmat, buf, NULL); } static int agg_probe(device_t dev) { char *s = NULL; switch (pci_get_devid(dev)) { case MAESTRO_1_PCI_ID: s = "ESS Technology Maestro-1"; break; case MAESTRO_2_PCI_ID: s = "ESS Technology Maestro-2"; break; case MAESTRO_2E_PCI_ID: s = "ESS Technology Maestro-2E"; break; } if (s != NULL && pci_get_class(dev) == PCIC_MULTIMEDIA) { device_set_desc(dev, s); return BUS_PROBE_DEFAULT; } return ENXIO; } static int agg_attach(device_t dev) { struct agg_info *ess = NULL; u_int32_t data; int mapped = 0; int regid = PCIR_BAR(0); struct resource *reg = NULL; struct ac97_info *codec = NULL; int irqid = 0; struct resource *irq = NULL; void *ih = NULL; char status[SND_STATUSLEN]; if ((ess = malloc(sizeof *ess, M_DEVBUF, M_NOWAIT | M_ZERO)) == NULL) { device_printf(dev, "cannot allocate softc\n"); return ENXIO; } ess->dev = dev; ess->bufsz = pcm_getbuffersize(dev, 4096, AGG_DEFAULT_BUFSZ, 65536); if (bus_dma_tag_create(/*parent*/NULL, /*alignment*/1 << WAVCACHE_BASEADDR_SHIFT, /*boundary*/WPWA_MAXADDR + 1, /*lowaddr*/MAESTRO_MAXADDR, /*highaddr*/BUS_SPACE_MAXADDR, /*filter*/NULL, /*filterarg*/NULL, /*maxsize*/ess->bufsz, /*nsegments*/1, /*maxsegz*/0x3ffff, /*flags*/0, /*lockfunc*/busdma_lock_mutex, /*lockarg*/&Giant, &ess->parent_dmat) != 0) { device_printf(dev, "unable to create dma tag\n"); goto bad; } ess->stat = dma_malloc(ess, ess->bufsz, &ess->baseaddr); if (ess->stat == NULL) { device_printf(dev, "cannot allocate DMA memory\n"); goto bad; } if (bootverbose) device_printf(dev, "Maestro DMA base: %#llx\n", (long long)ess->baseaddr); agg_power(ess, PPMI_D0); DELAY(100000); data = pci_read_config(dev, PCIR_COMMAND, 2); data |= (PCIM_CMD_PORTEN|PCIM_CMD_BUSMASTEREN); pci_write_config(dev, PCIR_COMMAND, data, 2); data = pci_read_config(dev, PCIR_COMMAND, 2); if (data & PCIM_CMD_PORTEN) { reg = bus_alloc_resource(dev, SYS_RES_IOPORT, ®id, 0, BUS_SPACE_UNRESTRICTED, 256, RF_ACTIVE); if (reg != NULL) { ess->reg = reg; ess->regid = regid; ess->st = rman_get_bustag(reg); ess->sh = rman_get_bushandle(reg); mapped++; } } if (mapped == 0) { device_printf(dev, "unable to map register space\n"); goto bad; } agg_init(ess); if (agg_rdcodec(NULL, ess, 0) == 0x80) { device_printf(dev, "PT101 codec detected!\n"); goto bad; } codec = AC97_CREATE(dev, ess, agg_ac97); if (codec == NULL) goto bad; if (mixer_init(dev, ac97_getmixerclass(), codec) == -1) goto bad; ess->codec = codec; irq = bus_alloc_resource(dev, SYS_RES_IRQ, &irqid, 0, BUS_SPACE_UNRESTRICTED, 1, RF_ACTIVE | RF_SHAREABLE); if (irq == NULL || snd_setup_intr(dev, irq, 0, agg_intr, ess, &ih)) { device_printf(dev, "unable to map interrupt\n"); goto bad; } ess->irq = irq; ess->irqid = irqid; ess->ih = ih; snprintf(status, SND_STATUSLEN, "at I/O port 0x%lx irq %ld %s", rman_get_start(reg), rman_get_start(irq),PCM_KLDSTRING(snd_maestro)); if (pcm_register(dev, ess, AGG_MAXPLAYCH, 1)) goto bad; mixer_hwvol_init(dev); for (data = 0; data < AGG_MAXPLAYCH; data++) pcm_addchan(dev, PCMDIR_PLAY, &aggch_class, ess); #if 0 /* XXX - RECORDING */ pcm_addchan(dev, PCMDIR_REC, &aggrch_class, ess); #endif pcm_setstatus(dev, status); return 0; bad: if (codec != NULL) ac97_destroy(codec); if (ih != NULL) bus_teardown_intr(dev, irq, ih); if (irq != NULL) bus_release_resource(dev, SYS_RES_IRQ, irqid, irq); if (reg != NULL) bus_release_resource(dev, SYS_RES_IOPORT, regid, reg); if (ess != NULL) { agg_power(ess, PPMI_D3); if (ess->stat != NULL) dma_free(ess, ess->stat); if (ess->parent_dmat != NULL) bus_dma_tag_destroy(ess->parent_dmat); free(ess, M_DEVBUF); } return ENXIO; } static int agg_detach(device_t dev) { struct agg_info *ess = pcm_getdevinfo(dev); int r; r = pcm_unregister(dev); if (r) return r; ess = pcm_getdevinfo(dev); dma_free(ess, ess->stat); /* Power down everything except clock and vref. */ agg_wrcodec(NULL, ess, AC97_REG_POWER, 0xd700); DELAY(20); bus_space_write_4(ess->st, ess->sh, PORT_RINGBUS_CTRL, 0); agg_power(ess, PPMI_D3); bus_teardown_intr(dev, ess->irq, ess->ih); bus_release_resource(dev, SYS_RES_IRQ, ess->irqid, ess->irq); bus_release_resource(dev, SYS_RES_IOPORT, ess->regid, ess->reg); bus_dma_tag_destroy(ess->parent_dmat); free(ess, M_DEVBUF); return 0; } static int agg_suspend(device_t dev) { struct agg_info *ess = pcm_getdevinfo(dev); int i, x; x = spltty(); wp_stoptimer(ess); bus_space_write_2(ess->st, ess->sh, PORT_HOSTINT_CTRL, 0); for (i = 0; i < ess->playchns; i++) aggch_stop_dac(ess->pch + i); #if 0 /* XXX - RECORDING */ aggch_stop_adc(&ess->rch); #endif splx(x); /* Power down everything except clock. */ agg_wrcodec(NULL, ess, AC97_REG_POWER, 0xdf00); DELAY(20); bus_space_write_4(ess->st, ess->sh, PORT_RINGBUS_CTRL, 0); DELAY(1); agg_power(ess, PPMI_D3); return 0; } static int agg_resume(device_t dev) { int i, x; struct agg_info *ess = pcm_getdevinfo(dev); agg_power(ess, PPMI_D0); DELAY(100000); agg_init(ess); if (mixer_reinit(dev)) { device_printf(dev, "unable to reinitialize the mixer\n"); return ENXIO; } x = spltty(); for (i = 0; i < ess->playchns; i++) if (ess->active & (1 << i)) aggch_start_dac(ess->pch + i); #if 0 /* XXX - RECORDING */ if (ess->active & (1 << i)) aggch_start_adc(&ess->rch); #endif if (ess->active) { set_timer(ess); wp_starttimer(ess); } splx(x); return 0; } static int agg_shutdown(device_t dev) { struct agg_info *ess = pcm_getdevinfo(dev); int i; wp_stoptimer(ess); bus_space_write_2(ess->st, ess->sh, PORT_HOSTINT_CTRL, 0); for (i = 0; i < ess->playchns; i++) aggch_stop_dac(ess->pch + i); #if 0 /* XXX - RECORDING */ aggch_stop_adc(&ess->rch); #endif return 0; } static device_method_t agg_methods[] = { DEVMETHOD(device_probe, agg_probe), DEVMETHOD(device_attach, agg_attach), DEVMETHOD(device_detach, agg_detach), DEVMETHOD(device_suspend, agg_suspend), DEVMETHOD(device_resume, agg_resume), DEVMETHOD(device_shutdown, agg_shutdown), { 0, 0 } }; static driver_t agg_driver = { "pcm", agg_methods, PCM_SOFTC_SIZE, }; DRIVER_MODULE(snd_maestro, pci, agg_driver, pcm_devclass, 0, 0); MODULE_DEPEND(snd_maestro, sound, SOUND_MINVER, SOUND_PREFVER, SOUND_MAXVER); MODULE_VERSION(snd_maestro, 1); --Multipart=_Fri__7_Oct_2005_09_15_48_+0800_kwqXm+/7SEU=o1SN-- From owner-freebsd-multimedia@FreeBSD.ORG Fri Oct 7 02:09:31 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from [127.0.0.1] (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id C19C216A41F; Fri, 7 Oct 2005 02:09:30 +0000 (GMT) (envelope-from davidxu@freebsd.org) Message-ID: <4345D8E0.2020101@freebsd.org> Date: Fri, 07 Oct 2005 10:09:36 +0800 From: David Xu User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.7.10) Gecko/20050806 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ariff Abdullah References: <20051006141525.4171b911.skywizard@MyBSD.org.my> <4345C235.8060205@freebsd.org> <20051007090957.28da4c9e.skywizard@MyBSD.org.my> In-Reply-To: <20051007090957.28da4c9e.skywizard@MyBSD.org.my> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org, Alexander@Leidinger.net, noackjr@alumni.rice.edu Subject: Re: DAC1 / DAC2 for ex137x - ES1370/1/2/3 , CT5880/CT4730(EV1938) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Oct 2005 02:09:32 -0000 Ariff Abdullah wrote: >On Fri, 07 Oct 2005 08:32:53 +0800 >David Xu wrote: > > >>I have applied the patch, it works. Can you tell me how to test >>the DAC function >> >> >By default, only DAC2. You need to set kernel hint hint.pcm.0.dac=0 (or >3, to swap the position) and reload the driver (or reboot, for >RELENG_5). From dmesg, you'll see something like this: > >pcm0: port >0xe400-0xe41f,0xe800-0xe83f irq 18 at device 7.0 on pci0 >pcm0: >pcm0: > ^^^^^^^^^ > >Now to ensure both are working, simply disable vchan: >sysctl hw.snd.maxautovchans=0 >sysctl hw.snd.pcm0.vchans=0 > >.. and play any mp3/audio. Make sure you can run 2 sound apps >concurrently, which means the first one will use DAC1, and the second >the other. You may enable vchan back if you think you need more than 2 >:) > > > > Great, it is working smoothly! >>I feel the sound quality is a bit better than >>before when playing mp3. >> >> >> >Which patchset did you applied? *_052.diff or *_052slave.diff ? > > > > I have applied *_052.diff, what is difference with _052slave.diff ? >-- > >Ariff Abdullah >MyBSD > >http://www.MyBSD.org.my (IPv6/IPv4) >http://staff.MyBSD.org.my (IPv6/IPv4) >http://tomoyo.MyBSD.org.my (IPv6/IPv4) > > > > From owner-freebsd-multimedia@FreeBSD.ORG Fri Oct 7 02:39:34 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B82D216A41F; Fri, 7 Oct 2005 02:39:34 +0000 (GMT) (envelope-from skywizard@MyBSD.org.my) Received: from tomoyo.MyBSD.org.my (tomoyo.mybsd.org.my [202.157.186.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A61E43D45; Fri, 7 Oct 2005 02:39:34 +0000 (GMT) (envelope-from skywizard@MyBSD.org.my) Received: from localhost (localhost [127.0.0.1]) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id 1A3D16CC22; Fri, 7 Oct 2005 10:40:06 +0800 (MYT) Received: from tomoyo.MyBSD.org.my ([127.0.0.1]) by localhost (tomoyo.MyBSD.org.my [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 48659-06; Fri, 7 Oct 2005 10:40:04 +0800 (MYT) Received: from kasumi.MyBSD.org.my (kasumi.MyBSD.org.my [IPv6:2001:328:2002:aa2::1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id 0FDA26CC27; Fri, 7 Oct 2005 10:40:04 +0800 (MYT) Date: Fri, 7 Oct 2005 10:40:20 +0800 From: Ariff Abdullah To: David Xu Message-Id: <20051007104020.54184b39.skywizard@MyBSD.org.my> In-Reply-To: <4345D8E0.2020101@freebsd.org> References: <20051006141525.4171b911.skywizard@MyBSD.org.my> <4345C235.8060205@freebsd.org> <20051007090957.28da4c9e.skywizard@MyBSD.org.my> <4345D8E0.2020101@freebsd.org> Organization: MyBSD X-Mailer: /usr/local/lib/ruby/1.8/net/smtp.rb Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-antivirus-mail-gateway at TOMOYO.MYBSD.ORG.MY Cc: freebsd-multimedia@freebsd.org, Alexander@Leidinger.net, noackjr@alumni.rice.edu Subject: Re: DAC1 / DAC2 for ex137x - ES1370/1/2/3 , CT5880/CT4730(EV1938) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Oct 2005 02:39:34 -0000 On Fri, 07 Oct 2005 10:09:36 +0800 David Xu wrote: > > I have applied *_052.diff, what is difference with _052slave.diff ? > .. *slave.diff contains 'slave' implementation, a tiny layer to reduce (playback / locking) contention / latency between hardware interrupt delivery and userland io. If you experiencing random 'pops' or 'clicks', it is probably worth a try. 'Buzz'ing or continuous stuttering/crackling is another issue, mostly related to non-PREEMPTION kernel or PCI latency timing issue (which is why you get hw.snd.pcm0.latency_timer on es137x). -- Ariff Abdullah MyBSD http://www.MyBSD.org.my (IPv6/IPv4) http://staff.MyBSD.org.my (IPv6/IPv4) http://tomoyo.MyBSD.org.my (IPv6/IPv4) From owner-freebsd-multimedia@FreeBSD.ORG Fri Oct 7 02:44:32 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3F28316A41F for ; Fri, 7 Oct 2005 02:44:32 +0000 (GMT) (envelope-from pyunyh@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5275743D46 for ; Fri, 7 Oct 2005 02:44:31 +0000 (GMT) (envelope-from pyunyh@gmail.com) Received: by wproxy.gmail.com with SMTP id 71so257105wra for ; Thu, 06 Oct 2005 19:44:30 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=cx2zqxG9KdnCugTlrfhXWix34qA0/z+7l8dVEL6uUi8bvE+rTNu3/qHW7KH/jdQsA2WrMKEmgjYUAyK/u5s84i0z0xxpMqg1EWhjEsKVlfAyEwdjDLRE5lgFkSh/1j+Qdc1Tx8Q+UrOIE5nCYZsEZFCydzUJkBTQhG+/YpSSQeM= Received: by 10.54.72.8 with SMTP id u8mr1865779wra; Thu, 06 Oct 2005 19:44:30 -0700 (PDT) Received: from michelle.rndsoft.co.kr ( [211.32.202.217]) by mx.gmail.com with ESMTP id d8sm1422525wra.2005.10.06.19.44.27; Thu, 06 Oct 2005 19:44:30 -0700 (PDT) Received: from michelle.rndsoft.co.kr (localhost.rndsoft.co.kr [127.0.0.1]) by michelle.rndsoft.co.kr (8.13.1/8.13.1) with ESMTP id j972iaUF016187 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 7 Oct 2005 11:44:36 +0900 (KST) (envelope-from yongari@gmail.com) Received: (from yongari@localhost) by michelle.rndsoft.co.kr (8.13.1/8.13.1/Submit) id j972iRsk016186; Fri, 7 Oct 2005 11:44:27 +0900 (KST) (envelope-from yongari@gmail.com) Date: Fri, 7 Oct 2005 11:44:27 +0900 From: Pyun YongHyeon To: Ariff Abdullah Message-ID: <20051007024427.GA15660@rndsoft.co.kr> References: <20051006141525.4171b911.skywizard@MyBSD.org.my> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051006141525.4171b911.skywizard@MyBSD.org.my> User-Agent: Mutt/1.4.2.1i Cc: freebsd-multimedia@FreeBSD.org, Alexander@Leidinger.net, davidxu@FreeBSD.org, noackjr@alumni.rice.edu Subject: Re: DAC1 / DAC2 for ex137x - ES1370/1/2/3 , CT5880/CT4730(EV1938) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Oct 2005 02:44:32 -0000 On Thu, Oct 06, 2005 at 02:15:25PM +0800, Ariff Abdullah wrote: > Please take a look at my latest patchset. Ensoniq based chips does have > 2 DAC, so I've decided to take advantage of it to let the driver provide > 2 distinct hardware playback channels for pcm. The original intent of > DAC1 actually to implement some sort of wavetable synth, but somehow > this idea was (maybe) abandoned by Creative after acquiring Ensoniq. > Cool! It works great here on sparc64. vchan: off, DMA buffer size: 32KB DAC1: Ok DAC2: Ok DAC1 + DAC2: Ok ADC: Not tested. I'll have to connect es137x to build on sparc64. :-) Thank you. -- Regards, Pyun YongHyeon From owner-freebsd-multimedia@FreeBSD.ORG Fri Oct 7 07:43:46 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4908116A41F; Fri, 7 Oct 2005 07:43:46 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5838043D5C; Fri, 7 Oct 2005 07:43:45 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5CE81.dip.t-dialin.net [84.165.206.129]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.1/8.13.1) with ESMTP id j977QviP032047; Fri, 7 Oct 2005 09:27:13 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from localhost (localhost [127.0.0.1]) by Andro-Beta.Leidinger.net (8.13.3/8.13.3) with ESMTP id j977gTFk068786; Fri, 7 Oct 2005 09:42:29 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by netchild.homeip.net (Horde MIME library) with HTTP; Fri, 07 Oct 2005 09:42:28 +0200 Message-ID: <20051007094228.6dp859nhcg8gsow0@netchild.homeip.net> X-Priority: 3 (Normal) Date: Fri, 07 Oct 2005 09:42:28 +0200 From: Alexander Leidinger To: Ariff Abdullah References: <20051006141525.4171b911.skywizard@MyBSD.org.my> <4345C235.8060205@freebsd.org> <20051007090957.28da4c9e.skywizard@MyBSD.org.my> <4345D8E0.2020101@freebsd.org> <20051007104020.54184b39.skywizard@MyBSD.org.my> In-Reply-To: <20051007104020.54184b39.skywizard@MyBSD.org.my> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.0.3) / FreeBSD-4.11 X-Virus-Scanned: by amavisd-new Cc: freebsd-multimedia@freebsd.org, David Xu , noackjr@alumni.rice.edu Subject: Re: DAC1 / DAC2 for ex137x - ES1370/1/2/3 , CT5880/CT4730(EV1938) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Oct 2005 07:43:46 -0000 Ariff Abdullah wrote: > 'Buzz'ing or continuous stuttering/crackling is another issue, mostly > related to non-PREEMPTION kernel or PCI latency timing issue (which is > why you get hw.snd.pcm0.latency_timer on es137x). A thought comes into my mind... Stupid as I am sometimes, I thought so far the bad sound quality of my SoundBlaster PCI (128 or 512 ... damn, I have to look it up at home) is some kind of hardware problem in my PC... I thought this, because in Windows it sounds as bad as with FreeBSD. Ok, Windows is bad, but regarding the multimedia topic I've never seen such bad behavior from Windows XP. That's the reason for thinking it's a hardware problem. But now I'm not sure anymore. I have PREEMPTION in my kernel. And it doesn't sound like stuttering. It sounds like distortion. I don't know how to describe this further. It seems it is related to activity on the PCI bus. Does this sound like a problem which can be solved with latency_timer/slave channels? I think I have to get some time at Sunday to give it a try... Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 When smashing monuments, save the pedestals -- they always come in handy. -- Stanislaw J. Lem, "Unkempt Thoughts" From owner-freebsd-multimedia@FreeBSD.ORG Fri Oct 7 11:49:03 2005 Return-Path: X-Original-To: multimedia@freebsd.org Delivered-To: freebsd-multimedia@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BD15716A41F for ; Fri, 7 Oct 2005 11:49:03 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2692F43D46 for ; Fri, 7 Oct 2005 11:49:02 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5CE81.dip.t-dialin.net [84.165.206.129]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.1/8.13.1) with ESMTP id j97BWRS1032989; Fri, 7 Oct 2005 13:32:45 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from localhost (localhost [127.0.0.1]) by Andro-Beta.Leidinger.net (8.13.3/8.13.3) with ESMTP id j97Bm0VI013989; Fri, 7 Oct 2005 13:48:00 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by netchild.homeip.net (Horde MIME library) with HTTP; Fri, 07 Oct 2005 13:48:00 +0200 Message-ID: <20051007134800.o1w5s4vtc8o8s0og@netchild.homeip.net> X-Priority: 3 (Normal) Date: Fri, 07 Oct 2005 13:48:00 +0200 From: Alexander Leidinger To: "Michael W. Oliver" References: <20051006164833.GG27507@gargantuan.com> In-Reply-To: <20051006164833.GG27507@gargantuan.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.0.3) / FreeBSD-4.11 X-Virus-Scanned: by amavisd-new Cc: multimedia@freebsd.org Subject: Re: thanks to Ariff and netchild! X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Oct 2005 11:49:03 -0000 "Michael W. Oliver" wrote: > awesome work guys, you have really stepped up development in the > multimedia space. your work is very much appreciated! Thank you, but 98% of the congratulations have to go to Ariff. I'm just acting as a commit proxy for some PRs and for Ariff... Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 The POP server is out of Coke From owner-freebsd-multimedia@FreeBSD.ORG Fri Oct 7 14:23:12 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9AC7516A41F for ; Fri, 7 Oct 2005 14:23:12 +0000 (GMT) (envelope-from perusing@magixware.com) Received: from dky118.neoplus.adsl.tpnet.pl (dky118.neoplus.adsl.tpnet.pl [83.24.28.118]) by mx1.FreeBSD.org (Postfix) with SMTP id A2E2B43D45 for ; Fri, 7 Oct 2005 14:23:11 +0000 (GMT) (envelope-from perusing@magixware.com) Received: from unknown (HELO prey) (192.168.192.184) by dky118.neoplus.adsl.tpnet.pl with SMTP; Fri, 7 Oct 2005 02:41:48 +0200 Content-Transfer-Encoding: 7bit Message-Id: <57225131042.119117123511@dky118.neoplus.adsl.tpnet.pl> Content-Type: text/plain; charset=us-ascii To: freebsd-multimedia@freebsd.org From: Maud Fitzpatrick Date: Fri, 7 Oct 2005 14:23:11 +0000 (GMT) Subject: Now you can have sex when you want again and again! X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Oct 2005 14:23:12 -0000 Get the medication you need delivered to your door in 24 hours. http://heqht.8zdswueawndg8q81dqq1vq88.spinousdl.com/?tnvp Truth is more of a stranger than fiction. Charity sees the need not the cause. I'm free of all prejudices. I hate everyone equally. At least when I was govenor, cocaine was expensive. Only the winners decide what were war crimes. Life is divided into the horrible and the miserable. PREJUDICE, n. A vagrant opinion without visible means of support. From owner-freebsd-multimedia@FreeBSD.ORG Fri Oct 7 15:33:21 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1293416A41F; Fri, 7 Oct 2005 15:33:21 +0000 (GMT) (envelope-from lofi@freebsd.org) Received: from mail-in-02.arcor-online.net (mail-in-02.arcor-online.net [151.189.21.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 331BB43D45; Fri, 7 Oct 2005 15:33:20 +0000 (GMT) (envelope-from lofi@freebsd.org) Received: from mail-in-07-z2.arcor-online.net (mail-in-07-z2.arcor-online.net [151.189.8.19]) by mail-in-02.arcor-online.net (Postfix) with ESMTP id 813145B306; Fri, 7 Oct 2005 17:33:18 +0200 (CEST) Received: from mail-in-08.arcor-online.net (mail-in-08.arcor-online.net [151.189.21.48]) by mail-in-07-z2.arcor-online.net (Postfix) with ESMTP id 9C36F1720C1; Fri, 7 Oct 2005 17:33:20 +0200 (CEST) Received: from lofi.dyndns.org (dslb-084-061-130-148.pools.arcor-ip.net [84.61.130.148]) by mail-in-08.arcor-online.net (Postfix) with ESMTP id 36C008DF2B; Fri, 7 Oct 2005 17:33:18 +0200 (CEST) Received: from kiste.my.domain (root@kiste.my.domain [192.168.8.4]) by lofi.dyndns.org (8.13.4/8.13.3) with ESMTP id j97FXBih063366 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 7 Oct 2005 17:33:11 +0200 (CEST) (envelope-from lofi@freebsd.org) Received: from kiste.my.domain (lofi@localhost [127.0.0.1]) by kiste.my.domain (8.13.4/8.13.1) with ESMTP id j97FXAwF083956; Fri, 7 Oct 2005 17:33:10 +0200 (CEST) (envelope-from lofi@freebsd.org) Received: by kiste.my.domain (8.13.4/8.13.1/Submit) id j97FX4Fe083955; Fri, 7 Oct 2005 17:33:04 +0200 (CEST) (envelope-from lofi@freebsd.org) X-Authentication-Warning: kiste.my.domain: lofi set sender to lofi@freebsd.org using -f From: Michael Nottebrock To: freebsd-multimedia@freebsd.org Date: Fri, 7 Oct 2005 17:32:55 +0200 User-Agent: KMail/1.8.2 References: <20051006141525.4171b911.skywizard@MyBSD.org.my> In-Reply-To: <20051006141525.4171b911.skywizard@MyBSD.org.my> X-Face: =Ym$`&q\+S2X$4`X%x%6"L4>Y,$]<":'L%c9"#7#`2tb&E&wsN31on!N\)3BD[g<=?utf-8?q?=2EjnfV=5B=0A=093=23?=>XchLK,o; >bD>c:]^; :>0>vyZ.X[,63GW`&M>}nYnr]-Fp``,[[@lJ!QL|sfW!s)=?utf-8?q?A2!*=0A=09vNkB/=7CL-?=>&QdSbQg X-Virus-Scanned: by amavisd-new Cc: Alexander@leidinger.net, davidxu@freebsd.org, noackjr@alumni.rice.edu, Ariff Abdullah Subject: Re: DAC1 / DAC2 for ex137x - ES1370/1/2/3 , CT5880/CT4730(EV1938) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Oct 2005 15:33:21 -0000 --nextPart45231723.NyMtShVycv Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Thursday, 6. October 2005 08:15, Ariff Abdullah wrote: > Please take a look at my latest patchset. Ensoniq based chips does have > 2 DAC, so I've decided to take advantage of it to let the driver provide > 2 distinct hardware playback channels for pcm. The original intent of > DAC1 actually to implement some sort of wavetable synth, but somehow > this idea was (maybe) abandoned by Creative after acquiring Ensoniq. I seem to remember that the Ensoniq/Creative AudioPCI cards in fact *did* c= ome=20 with a general midi soundset that was uploaded onto the card by the device= =20 driver. =2D-=20 ,_, | Michael Nottebrock | lofi@freebsd.org (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org \u/ | K Desktop Environment on FreeBSD | http://freebsd.kde.org --nextPart45231723.NyMtShVycv Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQBDRpUvXhc68WspdLARAqT1AKCN2YTf5Gh+x2ext+f735q3Mkq0LQCfclHq Wt9bzpqPRAdr8184515lnUw= =lC1L -----END PGP SIGNATURE----- --nextPart45231723.NyMtShVycv-- From owner-freebsd-multimedia@FreeBSD.ORG Fri Oct 7 18:05:52 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5CCF516A41F; Fri, 7 Oct 2005 18:05:52 +0000 (GMT) (envelope-from skywizard@MyBSD.org.my) Received: from tomoyo.MyBSD.org.my (tomoyo.mybsd.org.my [202.157.186.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id C4F0843D46; Fri, 7 Oct 2005 18:05:51 +0000 (GMT) (envelope-from skywizard@MyBSD.org.my) Received: from localhost (localhost [127.0.0.1]) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id 4331D6CC26; Sat, 8 Oct 2005 02:06:24 +0800 (MYT) Received: from tomoyo.MyBSD.org.my ([127.0.0.1]) by localhost (tomoyo.MyBSD.org.my [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 52293-05; Sat, 8 Oct 2005 02:06:21 +0800 (MYT) Received: from kasumi.MyBSD.org.my (kasumi.MyBSD.org.my [IPv6:2001:328:2002:aa2::1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id C8C516CC25; Sat, 8 Oct 2005 02:06:19 +0800 (MYT) Date: Sat, 8 Oct 2005 02:06:26 +0800 From: Ariff Abdullah To: Alexander Leidinger Message-Id: <20051008020626.60d4d937.skywizard@MyBSD.org.my> In-Reply-To: <20051007094228.6dp859nhcg8gsow0@netchild.homeip.net> References: <20051006141525.4171b911.skywizard@MyBSD.org.my> <4345C235.8060205@freebsd.org> <20051007090957.28da4c9e.skywizard@MyBSD.org.my> <4345D8E0.2020101@freebsd.org> <20051007104020.54184b39.skywizard@MyBSD.org.my> <20051007094228.6dp859nhcg8gsow0@netchild.homeip.net> Organization: MyBSD X-Mailer: /usr/local/lib/ruby/1.8/net/smtp.rb Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-antivirus-mail-gateway at TOMOYO.MYBSD.ORG.MY Cc: freebsd-multimedia@freebsd.org, davidxu@freebsd.org, noackjr@alumni.rice.edu Subject: Re: DAC1 / DAC2 for ex137x - ES1370/1/2/3 , CT5880/CT4730(EV1938) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Oct 2005 18:05:52 -0000 On Fri, 07 Oct 2005 09:42:28 +0200 Alexander Leidinger wrote: > > A thought comes into my mind... > > Stupid as I am sometimes, I thought so far the bad sound quality of my > SoundBlaster PCI (128 or 512 ... damn, I have to look it up at home) > is some kind of hardware problem in my PC... I thought this, because > in Windows it sounds as bad as with FreeBSD. Ok, Windows is bad, but > regarding the multimedia topic I've never seen such bad behavior from > Windows XP. That's the reason for thinking it's a hardware problem. > I have lots of dropouts in Windows, mostly because of VIA motherboards and particularly because of bad driver. It amaze me that this soundcard sound alot better in FreeBSD, with correct tuning and configuration. > But now I'm not sure anymore. I have PREEMPTION in my kernel. And it > doesn't sound like stuttering. It sounds like distortion. I don't know > how to describe this further. It seems it is related to activity on > the PCI bus. > > Does this sound like a problem which can be solved with > latency_timer/slave channels? > Most likely.. especially with VIA motherboards. Increasing default buffersize also can help but usually it's a sign of bad PCI timing. I don't have any problem with Intel boards even sharing the interrupt with others. > I think I have to get some time at Sunday to give it a try... > You won't regret it. This is one of the cheap / best sounding soundcards ever exist. http://www.pcavtech.com/soundcards/summary/index.htm -- Ariff Abdullah MyBSD http://www.MyBSD.org.my (IPv6/IPv4) http://staff.MyBSD.org.my (IPv6/IPv4) http://tomoyo.MyBSD.org.my (IPv6/IPv4) From owner-freebsd-multimedia@FreeBSD.ORG Fri Oct 7 20:14:24 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 69BC916A420 for ; Fri, 7 Oct 2005 20:14:24 +0000 (GMT) (envelope-from erleya@gmail.com) Received: from smtp1-g19.free.fr (smtp1-g19.free.fr [212.27.42.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id C889843D46 for ; Fri, 7 Oct 2005 20:14:23 +0000 (GMT) (envelope-from erleya@gmail.com) Received: from dexxa.mshome (vau06-2-82-238-188-208.fbx.proxad.net [82.238.188.208]) by smtp1-g19.free.fr (Postfix) with ESMTP id F1F4B4D7C6; Fri, 7 Oct 2005 22:14:20 +0200 (CEST) Received: from dexxa.mshome (localhost.mshome [127.0.0.1]) by dexxa.mshome (8.13.5/8.13.4) with ESMTP id j97KBM1e042796; Fri, 7 Oct 2005 22:11:24 +0200 (CEST) (envelope-from erleya@gmail.com) Received: (from www@localhost) by dexxa.mshome (8.13.5/8.13.4/Submit) id j97KBKho042795; Fri, 7 Oct 2005 22:11:20 +0200 (CEST) (envelope-from erleya@gmail.com) Message-Id: <200510072011.j97KBKho042795@dexxa.mshome> X-Authentication-Warning: dexxa.mshome: www set sender to using -f To: Ariff Abdullah , "Steven S." , From: Date: Fri, 7 Oct 2005 22:11:18 CEST Errors-To: X-Priority: 3 (Normal) User-Agent: NOCC MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV 0.87/1121/Fri Oct 7 19:38:02 2005 on dexxa.mshome X-Virus-Status: Clean Cc: Subject: Re: any hope for maestro support? X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: erleya@gmail.com List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Oct 2005 20:14:24 -0000 Ariff, > Please replace your /usr/src/sys/dev/sound/pci/maestro.c with this one > (attached). Note: THIS IS JUST AN UGLY, BLATANT HACK to revert > everything back to it's very last known working configuration. Tried it and got this compilation error: ------------------- #cd /usr/src #make kernel ...skipped... cc -c -O2 -pipe -fno-strict-aliasing -march=pentium2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Werror /usr/src/sys/dev/sound/pci/maestro.c /usr/src/sys/dev/sound/pci/maestro.c: In function `aggch_start_dac': /usr/src/sys/dev/sound/pci/maestro.c:523: error: `APU_USE_SYSMEM' undeclared (first use in this function) /usr/src/sys/dev/sound/pci/maestro.c:523: error: (Each undeclared identifier is reported only once /usr/src/sys/dev/sound/pci/maestro.c:523: error: for each function it appears in.) /usr/src/sys/dev/sound/pci/maestro.c:565: error: `APU_STEREO' undeclared (first use in this function) *** Error code 1 Stop in /usr/obj/usr/src/sys/TOSHKA. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. ------------------------------ It's on RELENG_6 'cvsup'-ed yesterday. I'll try to look at the sources this weekend to find out what can be wrong, but I guess there'll be too many things... Thank you all for your contribution! WBR, Alex ___________________________________ NOCC, http://nocc.sourceforge.net From owner-freebsd-multimedia@FreeBSD.ORG Fri Oct 7 20:49:52 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7A09E16A420 for ; Fri, 7 Oct 2005 20:49:52 +0000 (GMT) (envelope-from skywizard@MyBSD.org.my) Received: from tomoyo.MyBSD.org.my (tomoyo.mybsd.org.my [202.157.186.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 002C443D48 for ; Fri, 7 Oct 2005 20:49:51 +0000 (GMT) (envelope-from skywizard@MyBSD.org.my) Received: from localhost (localhost [127.0.0.1]) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id 298D36CC23; Sat, 8 Oct 2005 04:50:26 +0800 (MYT) Received: from tomoyo.MyBSD.org.my ([127.0.0.1]) by localhost (tomoyo.MyBSD.org.my [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 27202-10; Sat, 8 Oct 2005 04:50:25 +0800 (MYT) Received: from kasumi.MyBSD.org.my (kasumi.MyBSD.org.my [IPv6:2001:328:2002:aa2::1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id 142876CC22; Sat, 8 Oct 2005 04:50:25 +0800 (MYT) Date: Sat, 8 Oct 2005 04:49:39 +0800 From: Ariff Abdullah To: erleya@gmail.com Message-Id: <20051008044939.436df2e6.skywizard@MyBSD.org.my> In-Reply-To: <200510072011.j97KBKho042795@dexxa.mshome> References: <200510072011.j97KBKho042795@dexxa.mshome> Organization: MyBSD X-Mailer: /usr/local/lib/ruby/1.8/net/smtp.rb Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-antivirus-mail-gateway at TOMOYO.MYBSD.ORG.MY Cc: freebsd-multimedia@freebsd.org Subject: Re: any hope for maestro support? X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Oct 2005 20:49:52 -0000 On Fri, 7 Oct 2005 22:11:18 CEST wrote: > > Stop in /usr/obj/usr/src/sys/TOSHKA. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > ------------------------------ > > It's on RELENG_6 'cvsup'-ed yesterday. > I'll try to look at the sources this weekend to find out what can be > wrong, but I guess there'll be too many things... > Please retry with http://staff.mybsd.org.my/skywizard/FreeBSD/sound/maestro.c -- Ariff Abdullah MyBSD http://www.MyBSD.org.my (IPv6/IPv4) http://staff.MyBSD.org.my (IPv6/IPv4) http://tomoyo.MyBSD.org.my (IPv6/IPv4) From owner-freebsd-multimedia@FreeBSD.ORG Sat Oct 8 02:50:05 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1323A16A420 for ; Sat, 8 Oct 2005 02:50:05 +0000 (GMT) (envelope-from pyunyh@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0091F43D45 for ; Sat, 8 Oct 2005 02:50:03 +0000 (GMT) (envelope-from pyunyh@gmail.com) Received: by zproxy.gmail.com with SMTP id 40so4920nzk for ; Fri, 07 Oct 2005 19:50:03 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=c/arLOFfXkq198NiqMMe49RsYKUlkkJiVfDIl5dgcJB8jLUEwi71tW92fd3VS4/6CuOhfmH2yeFVkYLBipBvAb8Tfboa+r0HI3I8qrF3v5ehVhp0jdAUBop0FILHPtWZCKd9h2+aAXMvI2hBrc92xAVQLPwWus/wWRgIKp1LLwQ= Received: by 10.36.82.13 with SMTP id f13mr356282nzb; Fri, 07 Oct 2005 19:50:03 -0700 (PDT) Received: from michelle.rndsoft.co.kr ( [211.32.202.217]) by mx.gmail.com with ESMTP id 19sm1605913nzp.2005.10.07.19.49.59; Fri, 07 Oct 2005 19:50:03 -0700 (PDT) Received: from michelle.rndsoft.co.kr (localhost.rndsoft.co.kr [127.0.0.1]) by michelle.rndsoft.co.kr (8.13.1/8.13.1) with ESMTP id j982nEtx003290 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 8 Oct 2005 11:49:14 +0900 (KST) (envelope-from yongari@gmail.com) Received: (from yongari@localhost) by michelle.rndsoft.co.kr (8.13.1/8.13.1/Submit) id j982nA95003289; Sat, 8 Oct 2005 11:49:10 +0900 (KST) (envelope-from yongari@gmail.com) Date: Sat, 8 Oct 2005 11:49:10 +0900 From: Pyun YongHyeon To: Ariff Abdullah Message-ID: <20051008024910.GA2999@rndsoft.co.kr> References: <20051006141525.4171b911.skywizard@MyBSD.org.my> <4345C235.8060205@freebsd.org> <20051007090957.28da4c9e.skywizard@MyBSD.org.my> <4345D8E0.2020101@freebsd.org> <20051007104020.54184b39.skywizard@MyBSD.org.my> <20051007094228.6dp859nhcg8gsow0@netchild.homeip.net> <20051008020626.60d4d937.skywizard@MyBSD.org.my> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051008020626.60d4d937.skywizard@MyBSD.org.my> User-Agent: Mutt/1.4.2.1i Cc: freebsd-multimedia@freebsd.org, Alexander Leidinger , davidxu@freebsd.org, noackjr@alumni.rice.edu Subject: Re: DAC1 / DAC2 for ex137x - ES1370/1/2/3 , CT5880/CT4730(EV1938) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Oct 2005 02:50:05 -0000 On Sat, Oct 08, 2005 at 02:06:26AM +0800, Ariff Abdullah wrote: > On Fri, 07 Oct 2005 09:42:28 +0200 > Alexander Leidinger wrote: > > > > A thought comes into my mind... > > > > Stupid as I am sometimes, I thought so far the bad sound quality of my > > SoundBlaster PCI (128 or 512 ... damn, I have to look it up at home) > > is some kind of hardware problem in my PC... I thought this, because > > in Windows it sounds as bad as with FreeBSD. Ok, Windows is bad, but > > regarding the multimedia topic I've never seen such bad behavior from > > Windows XP. That's the reason for thinking it's a hardware problem. > > > I have lots of dropouts in Windows, mostly because of VIA > motherboards and particularly because of bad driver. It amaze me that > this soundcard sound alot better in FreeBSD, with correct tuning and > configuration. > > > But now I'm not sure anymore. I have PREEMPTION in my kernel. And it > > doesn't sound like stuttering. It sounds like distortion. I don't know > > how to describe this further. It seems it is related to activity on > > the PCI bus. > > > > Does this sound like a problem which can be solved with > > latency_timer/slave channels? > > > Most likely.. especially with VIA motherboards. Increasing default > buffersize also can help but usually it's a sign of bad PCI timing. I > don't have any problem with Intel boards even sharing the interrupt with > others. > > > I think I have to get some time at Sunday to give it a try... > > > You won't regret it. This is one of the cheap / best sounding soundcards > ever exist. > > http://www.pcavtech.com/soundcards/summary/index.htm > For es137x, it has no DMA limitation(supports up to 4GB) which means it could be used on any architectures including sparc64/ppc. But it supports only little endian format, so kernel endian conversion feeder is required on big endian systems. This would add unavoidable playback/ capture latency under high system loads. In addition, its complex sampling register access methods and timing requiried on accessing CODECs effectivly defeats parallel execution capability of kernel threads on today's high speed CPUs. -- Regards, Pyun YongHyeon From owner-freebsd-multimedia@FreeBSD.ORG Sat Oct 8 14:14:22 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2F44116A41F for ; Sat, 8 Oct 2005 14:14:22 +0000 (GMT) (envelope-from erleya@gmail.com) Received: from smtp3-g19.free.fr (smtp3-g19.free.fr [212.27.42.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6084943D46 for ; Sat, 8 Oct 2005 14:14:21 +0000 (GMT) (envelope-from erleya@gmail.com) Received: from dexxa.mshome (vau06-2-82-238-188-208.fbx.proxad.net [82.238.188.208]) by smtp3-g19.free.fr (Postfix) with ESMTP id 7B08D28C35; Sat, 8 Oct 2005 16:14:19 +0200 (CEST) Received: from dexxa.mshome (localhost.mshome [127.0.0.1]) by dexxa.mshome (8.13.5/8.13.4) with ESMTP id j98E08E9090481; Sat, 8 Oct 2005 16:00:09 +0200 (CEST) (envelope-from erleya@gmail.com) Received: (from www@localhost) by dexxa.mshome (8.13.5/8.13.4/Submit) id j98E05TG090480; Sat, 8 Oct 2005 16:00:05 +0200 (CEST) (envelope-from erleya@gmail.com) Message-Id: <200510081400.j98E05TG090480@dexxa.mshome> X-Authentication-Warning: dexxa.mshome: www set sender to using -f To: From: Date: Sat, 8 Oct 2005 16:00:04 CEST Errors-To: X-Priority: 3 (Normal) User-Agent: NOCC MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=3.5 tests=ALL_TRUSTED,NO_REAL_NAME autolearn=failed version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on dexxa.mshome X-Virus-Scanned: ClamAV 0.87/1122/Sat Oct 8 10:12:40 2005 on dexxa.mshome X-Virus-Status: Clean Cc: freebsd-multimedia@freebsd.org Subject: Re: any hope for maestro support? X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: erleya@gmail.com List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Oct 2005 14:14:22 -0000 Hi, > Please retry with > http://staff.mybsd.org.my/skywizard/FreeBSD/sound/maestro.c Tried it with /usr/src CVSup'ed today (RELENG_6). It boots differently this time: ---------------------- #dmesg (kernel loaded in verbose mode) ...skipped... pcm0: port 0xfc00-0xfcff irq 11 at device 12.0 on pci0 setmap (bb1c000, 4000), nseg=1, error=0 pcm0: Maestro DMA base: 0xbb1c000 pcm0: Reserved 0x100 bytes for rid 0x10 type 4 at 0xfc00 pcm0: agg_rdcodec() RW_DONE timed out. pcm0: agg_rdcodec() PROGLESS timed out. pcm0: agg_rdcodec() RW_DONE timed out. pcm0: agg_wrcodec() PROGLESS timed out. pcm0: agg_rdcodec() PROGLESS timed out. pcm0: agg_rdcodec() RW_DONE timed out. pcm0: agg_wrcodec() PROGLESS timed out. pcm0: agg_rdcodec() PROGLESS timed out. pcm0: agg_rdcodec() RW_DONE timed out. pcm0: agg_wrcodec() PROGLESS timed out. pcm0: agg_rdcodec() PROGLESS timed out. pcm0: agg_rdcodec() RW_DONE timed out. pcm0: agg_wrcodec() PROGLESS timed out. pcm0: agg_rdcodec() PROGLESS timed out. pcm0: agg_rdcodec() RW_DONE timed out. pcm0: agg_wrcodec() PROGLESS timed out. pcm0: agg_rdcodec() PROGLESS timed out. pcm0: agg_rdcodec() RW_DONE timed out. pcm0: agg_wrcodec() PROGLESS timed out. pcm0: agg_rdcodec() PROGLESS timed out. pcm0: agg_rdcodec() RW_DONE timed out. pcm0: agg_wrcodec() PROGLESS timed out. pcm0: agg_rdcodec() PROGLESS timed out. pcm0: agg_rdcodec() RW_DONE timed out. pcm0: agg_wrcodec() PROGLESS timed out. pcm0: agg_rdcodec() PROGLESS timed out. pcm0: agg_rdcodec() RW_DONE timed out. pcm0: agg_wrcodec() PROGLESS timed out. pcm0: agg_rdcodec() PROGLESS timed out. pcm0: agg_rdcodec() RW_DONE timed out. pcm0: agg_wrcodec() PROGLESS timed out. pcm0: pcm0: Codec features 0 bit master volume, no 3D Stereo Enhancement pcm0: agg_rdcodec() PROGLESS timed out. pcm0: agg_rdcodec() RW_DONE timed out. pcm0: ac97 codec reports dac not ready pcm0: agg_wrcodec() PROGLESS timed out. pcm0: agg_wrcodec() PROGLESS timed out. pcm0: [GIANT-LOCKED] setmap (bb18000, 4000), nseg=1, error=0 pcm0: offset 0xffffc000 exceeds limit. pcm0: chn_init(pcm0:play:0) failed: err = 19 pcm0: pcm_chn_create(aggch, 1, 0xc14a2b00) failed setmap (bb18000, 4000), nseg=1, error=0 pcm0: offset 0xffffc000 exceeds limit. pcm0: chn_init(pcm0:play:0) failed: err = 19 pcm0: pcm_chn_create(aggch, 1, 0xc14a2b00) failed setmap (bb18000, 4000), nseg=1, error=0 pcm0: offset 0xffffc000 exceeds limit. pcm0: chn_init(pcm0:play:0) failed: err = 19 pcm0: pcm_chn_create(aggch, 1, 0xc14a2b00) failed setmap (bb18000, 4000), nseg=1, error=0 pcm0: offset 0xffffc000 exceeds limit. pcm0: chn_init(pcm0:play:0) failed: err = 19 pcm0: pcm_chn_create(aggch, 1, 0xc14a2b00) failed pcm0: agg_wrcodec() PROGLESS timed out. ...skipped... #cat /dev/sndstat FreeBSD Audio Driver (newpcm) Installed devices: pcm0: at I/O port 0xfc00 irq 11 (mixer only) #ll /dev ...skipped... crw-rw-rw- 1 root wheel 0, 35 8 oct 15:36 mixer0 ...skipped... ---------------------- So, only mixer is present. WBR, Alex ___________________________________ NOCC, http://nocc.sourceforge.net