From owner-freebsd-multimedia@FreeBSD.ORG Mon Jun 13 11:07:07 2011 Return-Path: Delivered-To: freebsd-multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E6E93106567D for ; Mon, 13 Jun 2011 11:07:07 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D4FC88FC1C for ; Mon, 13 Jun 2011 11:07:07 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p5DB77H2092129 for ; Mon, 13 Jun 2011 11:07:07 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p5DB770c092127 for freebsd-multimedia@FreeBSD.org; Mon, 13 Jun 2011 11:07:07 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 13 Jun 2011 11:07:07 GMT Message-Id: <201106131107.p5DB770c092127@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-multimedia@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-multimedia@FreeBSD.org 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, 13 Jun 2011 11:07:08 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/156874 multimedia [sound] [patch] OSS lacks SNDCTL_DSP_HALT o kern/156726 multimedia [snd_uaudio]: snd_uaudio(4) fails to detach when mixer o kern/156433 multimedia [sound] [patch] OSS4/VPC is broken on 64-bit platforms o kern/156198 multimedia [snd_hda] [hang] loading snd_hda kernel module hangs s o kern/156165 multimedia [hdac] Missing card definition for hdac audio device, o kern/153920 multimedia [sound] [patch] Replace the GPL'd sound/maestro3 heade o kern/153901 multimedia [sound] [patch] Replace the GPL'd emu10k1-alsa.h with o ports/153846 multimedia graphics/libcaca 0.99.beta17 - Hidden dependency on Xl o kern/152622 multimedia [pcm] uaudio recording problem o kern/152500 multimedia [hdac] play interrupt timeout, channel dead o kern/152378 multimedia [sound][patch] Update snd_envy24ht to be MPSAFE and us f ports/150502 multimedia multimedia/gpac-libgpac 0.4.5_4,1 fails to compile on o kern/150284 multimedia [snd_hda] No gain with Audio o kern/149943 multimedia [pcm]: CS4236 audio problem o kern/148741 multimedia [sound] Headphones are deaf (do not work) on Lenovo Th o kern/147504 multimedia [oss] [panic] panic: dev_pager_getpage: map function r o kern/146031 multimedia [snd_hda] race condition when kldunload snd_hda sound o kern/144659 multimedia [pcm] The distortion of the sound playback of music at o kern/143505 multimedia [pcm] FreeBSD 8.0-RELEASE (x64) won't make sound card o kern/141826 multimedia [snd_hda] load of snd_hda module fails o kern/140591 multimedia [PATCH][sound] No sound output on lineout/headphone ja o kern/140453 multimedia [sound] No sound inside Virtualbox on 50% volume o kern/137589 multimedia [snd_uaudio] snd_uaudio.ko (USB audio driver) doesn't o kern/134767 multimedia [sound] [snd_hda] [regression] Sigmatel STAC9205X no s o kern/132848 multimedia [sound] [snd_emu10kx] driver problem with card init, s o kern/132511 multimedia [sound] [snd_hda] Probing ALC888 codec on ASRock K10N7 o kern/129604 multimedia [sound] Sound stops with error: pcm0:virtual:dsp0.vp0: o kern/127131 multimedia [bktr] /usr/src/sys/dev/bktr/bktr_os.c, line 469: wron s kern/125756 multimedia [sound] [patch] cannot detect soft-modem on HDA bus o kern/124319 multimedia [sound] [snd_emu10k1] [regression] Cannot record from o kern/122086 multimedia [sound] maestro sound driver is working, but mixer ini p kern/121156 multimedia [sound] [patch] Turn on inverted external amplifier se o kern/120857 multimedia [sound] [snd_emu10k1] snd_emu10k1 driver issues a warn o kern/120780 multimedia [sound] [snd_hda] snd_hda doesn't work on Dell Latitut o kern/119973 multimedia [sound] [snd_maestro] [regression] snd_maestro only wo o kern/119931 multimedia [sound] No sound card detected on ASUS "K8V-X SE R2.00 o kern/119759 multimedia [sound] [snd_emu10k1] [regression] Can not record anyt f kern/115666 multimedia [sound] Microphone does not work o kern/115300 multimedia [sound] [snd_hda] [regression] snd_hda(4) fails to att o kern/114760 multimedia [sound] [snd_cmi] snd_cmi driver causing sporadic syst o kern/111767 multimedia [sound] ATI SB450 High Definition Audio Controller sou o kern/107516 multimedia [sound] [snd_emu10k1] - skips, clicks and lag after a o kern/107051 multimedia [sound] only 2 channels output works for the ALC850 (o o kern/104874 multimedia [sound] [snd_emu10k1] kldload snd_emu10k1 hangs system o kern/104626 multimedia [sound] FreeBSD 6.2 does not support SoundBlaster Audi o kern/101417 multimedia [sound] 4-speakers output not possible on Asus A8V-Del o kern/100859 multimedia [sound] [snd_ich] snd_ich broken on GIGABYTE 915 syste o kern/98752 multimedia [sound] Intel ich6 82801 FB - on Packard Bell A8810 la o kern/98504 multimedia [sound] Sound is distorted with SB Live 5.1 o kern/98496 multimedia [sound] [snd_ich] some functions don't work in my soun o kern/97609 multimedia [sound] Load Sound Module - VIA8233 - fails o kern/97535 multimedia [sound] [snd_mss] doesn't work in 6.0-RELEASE and abov o kern/96538 multimedia [sound] emu10k1-driver inverts channels o kern/95086 multimedia [sound] uaudio line in problem with sbdm lx o kern/94279 multimedia [sound] [snd_neomagic] snd_neomagic crashes on FreeBSD o kern/93986 multimedia [sound] Acer TravelMate 4652LMi pcm0 channel dead o kern/92512 multimedia [sound] distorted mono output with emu10k1 o kern/87782 multimedia [sound] snd_t4dwave and pcm0:record:0: record interrup s kern/83697 multimedia [sound] [snd_mss] [patch] support, docs added for full o kern/82043 multimedia [sound] snd_emu10k1 - mixer does not work. o kern/81146 multimedia [sound] Sound isn't working AT ALL for Sis7012 onboard o kern/80632 multimedia [sound] pcm driver missing support for CMI8738 auxilla o kern/79912 multimedia [sound] sound broken for 2 VIA chipsets: interrupt sto o kern/79905 multimedia [sound] sis7018 sound module problem o kern/79678 multimedia [sound] sound works except recording from any source o conf/75137 multimedia [sound] add snd_* modules support to /etc/rc.d/mixer f kern/72995 multimedia [sound] Intel ICH2 (82801BA) - sound nearly inaudible o kern/63204 multimedia [sound] /dev/mixer broken with ESS Maestro-2E (still o o kern/60677 multimedia [sound] [patch] No reaction of volume controy key on I s kern/60599 multimedia [bktr] [partial patch] No sound for ATI TV Wonder (ste o kern/37600 multimedia [sound] [partial patch] t4dwave drive doesn't record. o kern/23546 multimedia [sound] [snd_csa] [patch] csa DMA-interrupt problem 72 problems total. From owner-freebsd-multimedia@FreeBSD.ORG Tue Jun 14 19:44:41 2011 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B93C4106566B for ; Tue, 14 Jun 2011 19:44:41 +0000 (UTC) (envelope-from olivier@gid0.org) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9F3C38FC19 for ; Tue, 14 Jun 2011 19:44:41 +0000 (UTC) Received: by pwj8 with SMTP id 8so3608341pwj.13 for ; Tue, 14 Jun 2011 12:44:41 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.23.100 with SMTP id l4mr3029653pbf.358.1308079234828; Tue, 14 Jun 2011 12:20:34 -0700 (PDT) Received: by 10.68.50.166 with HTTP; Tue, 14 Jun 2011 12:20:34 -0700 (PDT) Date: Tue, 14 Jun 2011 21:20:34 +0200 Message-ID: From: Olivier Smedts To: multimedia@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Subject: [uaudio] M-Audio Fast Track Ultra is not recognized, where to start ? 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, 14 Jun 2011 19:44:41 -0000 Hello, I plugged an M-Audio Fast Track Ultra usb audio interface on my 9-CURRENT amd64 FreeBSD, and it's not recognized : ugen7.3: at usbus7 uaudio0: on usbus7 uaudio0: No playback! uaudio0: No recording! uaudio0: MIDI sequencer pcm4: on uaudio0 http://www.m-audio.com/products/en_au/FastTrackUltra.html After reading this list, I saw that someone reported some success with the M-Audio Fast Track Pro, so all is not lost. The device has 8 audio inputs and 8 outputs, can record and play at 24-bit 96kHz, and has midi in and out. It works quite well with Linux and alsa. Where can I start to try to have it work under FreeBSD ? Do I=A0have to add some ID in a driver ? (I'm sure it's not that easy...) Thanks --=20 Olivier Smedts=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=A0 _ =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 ASCII ribbon campaign ( ) e-mail: olivier@gid0.org=A0 =A0 =A0 =A0 - against HTML email & vCards=A0 X www: http://www.gid0.org=A0 =A0 - against proprietary attachments / \ =A0 "Il y a seulement 10 sortes de gens dans le monde : =A0 ceux qui comprennent le binaire, =A0 et ceux qui ne le comprennent pas." From owner-freebsd-multimedia@FreeBSD.ORG Tue Jun 14 19:58:27 2011 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 70B23106566B for ; Tue, 14 Jun 2011 19:58:27 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe01.c2i.net [212.247.154.2]) by mx1.freebsd.org (Postfix) with ESMTP id E90EE8FC13 for ; Tue, 14 Jun 2011 19:58:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mailfe01.swip.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.3.1 X-TFF-CGPSA-Version: 1.7 X-T2-CGPSA-Filter: Scanned X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=yYqb1Ndwz7LWRCrQG5Ocftr83lrAPRCEYBUdXOV8g40= c=1 sm=1 a=SvYTsOw2Z4kA:10 a=onvL5icAhc4A:10 a=WQU8e4WWZSUA:10 a=8nJEP1OIZ-IA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=TUjihnTEAAAA:8 a=zlnOVtexApQPdW_orWAA:9 a=L8Xz8CKG73IS45OTZTgA:7 a=wPNLvfGTeEIA:10 a=N-695SSi9qcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe01.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 140639403; Tue, 14 Jun 2011 21:58:24 +0200 From: Hans Petter Selasky To: freebsd-multimedia@freebsd.org Date: Tue, 14 Jun 2011 21:56:59 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: In-Reply-To: X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq,NwSZ4V" =?iso-8859-1?q?=7CLR=2E+tj=7Dg5=0A=09=25V?=,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( =?iso-8859-1?q?=0A=09=3AAuzV9=3A=2EhESm-x4h240C=609=3Dw?= MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201106142156.59630.hselasky@c2i.net> Cc: Subject: Re: [uaudio] M-Audio Fast Track Ultra is not recognized, where to start ? 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, 14 Jun 2011 19:58:27 -0000 On Tuesday 14 June 2011 21:20:34 Olivier Smedts wrote: > Hello, > > I plugged an M-Audio Fast Track Ultra usb audio interface on my > 9-CURRENT amd64 FreeBSD, and it's not recognized : > ugen7.3: at usbus7 > uaudio0: on usbus7 > uaudio0: No playback! > uaudio0: No recording! > uaudio0: MIDI sequencer > pcm4: on uaudio0 > > http://www.m-audio.com/products/en_au/FastTrackUltra.html > > After reading this list, I saw that someone reported some success with > the M-Audio Fast Track Pro, so all is not lost. The device has 8 audio > inputs and 8 outputs, can record and play at 24-bit 96kHz, and has > midi in and out. It works quite well with Linux and alsa. Where can I > start to try to have it work under FreeBSD ? Do I have to add some ID > in a driver ? (I'm sure it's not that easy...) > > Thanks Hi, Try to enable uaudio debugging before plugging in the device: sysctl hw.usb.uaudio.debug=15 --HPS From owner-freebsd-multimedia@FreeBSD.ORG Tue Jun 14 21:05:03 2011 Return-Path: Delivered-To: freebsd-multimedia@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A14A91065672; Tue, 14 Jun 2011 21:05:03 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 705B48FC18; Tue, 14 Jun 2011 21:05:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p5EL53EW021210; Tue, 14 Jun 2011 21:05:03 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p5EL53st021206; Tue, 14 Jun 2011 21:05:03 GMT (envelope-from linimon) Date: Tue, 14 Jun 2011 21:05:03 GMT Message-Id: <201106142105.p5EL53st021206@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, freebsd-multimedia@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: ports/157885: multimedia/mjpegtools 2.0.0 build failure 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, 14 Jun 2011 21:05:03 -0000 Old Synopsis: mjpegtools-2.0.0 build failure New Synopsis: multimedia/mjpegtools 2.0.0 build failure Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-multimedia Responsible-Changed-By: linimon Responsible-Changed-When: Tue Jun 14 21:04:03 UTC 2011 Responsible-Changed-Why: Fix synopsis and assign. http://www.freebsd.org/cgi/query-pr.cgi?pr=157885 From owner-freebsd-multimedia@FreeBSD.ORG Tue Jun 14 22:33:42 2011 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9DC051065673 for ; Tue, 14 Jun 2011 22:33:42 +0000 (UTC) (envelope-from olivier@gid0.org) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 7AC788FC17 for ; Tue, 14 Jun 2011 22:33:42 +0000 (UTC) Received: by pzk27 with SMTP id 27so3688142pzk.13 for ; Tue, 14 Jun 2011 15:33:42 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.26.42 with SMTP id i10mr3404825pbg.291.1308090423311; Tue, 14 Jun 2011 15:27:03 -0700 (PDT) Received: by 10.68.50.166 with HTTP; Tue, 14 Jun 2011 15:27:03 -0700 (PDT) In-Reply-To: References: <201106142156.59630.hselasky@c2i.net> Date: Wed, 15 Jun 2011 00:27:03 +0200 Message-ID: From: Olivier Smedts To: Hans Petter Selasky Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-multimedia@freebsd.org Subject: Re: [uaudio] M-Audio Fast Track Ultra is not recognized, where to start ? 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, 14 Jun 2011 22:33:42 -0000 2011/6/15 Olivier Smedts : > Hello, > > 2011/6/14 Hans Petter Selasky : >> Hi, >> >> Try to enable uaudio debugging before plugging in the device: >> >> sysctl hw.usb.uaudio.debug=3D15 > > Thanks for the suggestion (and all your work on the usb stack BTW). > After turning on debugging on uaudio and ehci : > Jun 15 00:09:10 q kernel: ehci_root_intr: port 1 changed > Jun 15 00:09:10 q kernel: ehci_set_hw_power: > Jun 15 00:09:11 q kernel: ehci_roothub_exec: ehci after reset, status=3D0= x00001005 > Jun 15 00:09:11 q kernel: ehci_roothub_exec: ehci port 1 reset, status > =3D 0x00001005 > Jun 15 00:09:11 q root: Unknown USB device: vendor 0x0763 product > 0x2080 bus uhub7 > Jun 15 00:09:11 q kernel: ehci_set_hw_power: > Jun 15 00:09:11 q kernel: ehci_set_hw_power: Async is active > Jun 15 00:09:11 q kernel: ugen7.3: at usbus7 > Jun 15 00:09:11 q kernel: uaudio0: on usbus7 > Jun 15 00:09:11 q kernel: uaudio_mixer_fill_info: invalid Audio Control h= eader > Jun 15 00:09:11 q kernel: uaudio_attach: audio rev 0.00 > Jun 15 00:09:11 q kernel: uaudio_attach: 0 mixer controls > Jun 15 00:09:11 q kernel: uaudio0: No playback! > Jun 15 00:09:11 q kernel: uaudio0: No recording! > Jun 15 00:09:11 q kernel: umidi_bulk_read_callback: start > Jun 15 00:09:11 q kernel: uaudio0: MIDI sequencer > Jun 15 00:09:11 q kernel: ehci_set_hw_power: > Jun 15 00:09:11 q kernel: uaudio_attach: doing child attach > Jun 15 00:09:11 q kernel: ehci_set_hw_power: Async is active > Jun 15 00:09:11 q kernel: pcm4: on uaudio0 > Jun 15 00:09:11 q kernel: uaudio_attach_sub: emulating master volume > Jun 15 00:09:11 q kernel: uaudio_mixer_init_sub: > Jun 15 00:09:11 q root: Unknown USB device: vendor 0x0763 product > 0x2080 bus uhub7 > Jun 15 00:09:11 q kernel: ehci_set_hw_power: > Jun 15 00:09:11 q kernel: ehci_set_hw_power: Async is active > Jun 15 00:09:14 q kernel: ehci_set_hw_power: > Jun 15 00:09:14 q kernel: ehci_set_hw_power: > Jun 15 00:09:14 q kernel: ehci_set_hw_power: Async is active > Jun 15 00:09:18 q kernel: ehci_set_hw_power: > Jun 15 00:09:18 q kernel: ehci_set_hw_power: > Jun 15 00:09:18 q kernel: ehci_set_hw_power: Async is active > Jun 15 00:09:22 q kernel: ehci_set_hw_power: > Jun 15 00:09:22 q kernel: ehci_set_hw_power: > Jun 15 00:09:22 q kernel: ehci_set_hw_power: Async is active > Jun 15 00:09:26 q kernel: ehci_set_hw_power: > Jun 15 00:09:26 q kernel: ehci_set_hw_power: > Jun 15 00:09:26 q kernel: ehci_set_hw_power: Async is active > Jun 15 00:09:27 q kernel: ehci_root_intr: port 1 changed > Jun 15 00:09:27 q kernel: ehci_set_hw_power: > Jun 15 00:09:27 q kernel: umidi_bulk_read_callback: error=3DUSB_ERR_STALL= ED > Jun 15 00:09:27 q kernel: ehci_set_hw_power: Async is active > Jun 15 00:09:27 q kernel: ehci_set_hw_power: > Jun 15 00:09:27 q kernel: ugen7.3: at usbus7 (disconnected) > Jun 15 00:09:27 q kernel: ehci_set_hw_power: Async is active > Jun 15 00:09:27 q kernel: uaudio0: at uhub7, port 1, addr 3 (disconnected= ) > Jun 15 00:09:27 q kernel: uaudio_mixer_uninit_sub: > Jun 15 00:09:27 q kernel: pcm4: detached > Jun 15 00:09:27 q kernel: umidi_bulk_read_callback: error=3DUSB_ERR_CANCE= LLED > Jun 15 00:09:28 q kernel: ehci_set_hw_power: > > The last errors are here because I turned off the device. I think > "uaudio_mixer_fill_info: invalid Audio Control header" is interesting. > Any way to dump this ? To reply at my own question, I saw this in src/sys/dev/sound/usb/uaudio.c : if ((acdp->bLength < sizeof(*acdp)) || (acdp->bDescriptorType !=3D UDESC_CS_INTERFACE) || (acdp->bDescriptorSubtype !=3D UDESCSUB_AC_HEADER)) { DPRINTF("invalid Audio Control header\n"); goto done; } And I tried : # usbconfig -u 7 -a 3 dump_device_desc ugen7.3: at usbus7, cfg=3D0 md=3DHOST spd=3DHIGH (480Mbps) pwr=3DON bLength =3D 0x0012 bDescriptorType =3D 0x0001 bcdUSB =3D 0x0200 bDeviceClass =3D 0x0000 bDeviceSubClass =3D 0x0000 bDeviceProtocol =3D 0x0000 bMaxPacketSize0 =3D 0x0040 idVendor =3D 0x0763 idProduct =3D 0x2080 bcdDevice =3D 0x0151 iManufacturer =3D 0x0001 iProduct =3D 0x0002 iSerialNumber =3D 0x0000 bNumConfigurations =3D 0x0001 # usbconfig -u 7 -a 3 dump_all_config_desc ugen7.3: at usbus7, cfg=3D0 md=3DHOST spd=3DHIGH (480Mbps) pwr=3DON Configuration index 0 bLength =3D 0x0009 bDescriptorType =3D 0x0002 wTotalLength =3D 0x0154 bNumInterfaces =3D 0x0005 bConfigurationValue =3D 0x0001 iConfiguration =3D 0x0000 bmAttributes =3D 0x0080 bMaxPower =3D 0x00f9 Additional Descriptor bLength =3D 0x08 bDescriptorType =3D 0x0b bDescriptorSubType =3D 0x00 RAW dump: 0x00 | 0x08, 0x0b, 0x00, 0x05, 0xff, 0x01, 0x00, 0x02 Interface 0 bLength =3D 0x0009 bDescriptorType =3D 0x0004 bInterfaceNumber =3D 0x0000 bAlternateSetting =3D 0x0000 bNumEndpoints =3D 0x0000 bInterfaceClass =3D 0x00ff bInterfaceSubClass =3D 0x0001 bInterfaceProtocol =3D 0x0000 iInterface =3D 0x0002 Additional Descriptor bLength =3D 0x0b bDescriptorType =3D 0x24 bDescriptorSubType =3D 0x01 RAW dump: 0x00 | 0x0b, 0x24, 0x01, 0x00, 0x01, 0x34, 0x00, 0x03, 0x08 | 0x01, 0x02, 0x03 Additional Descriptor bLength =3D 0x0c bDescriptorType =3D 0x24 bDescriptorSubType =3D 0x02 RAW dump: 0x00 | 0x0c, 0x24, 0x02, 0x01, 0x03, 0x06, 0x00, 0x08, 0x08 | 0x03, 0x00, 0x00, 0x00 Additional Descriptor bLength =3D 0x09 bDescriptorType =3D 0x24 bDescriptorSubType =3D 0x03 RAW dump: 0x00 | 0x09, 0x24, 0x03, 0x02, 0x01, 0x01, 0x00, 0x01, 0x08 | 0x00 Additional Descriptor bLength =3D 0x0c bDescriptorType =3D 0x24 bDescriptorSubType =3D 0x02 RAW dump: 0x00 | 0x0c, 0x24, 0x02, 0x03, 0x01, 0x01, 0x00, 0x08, 0x08 | 0x03, 0x00, 0x00, 0x00 Additional Descriptor bLength =3D 0x09 bDescriptorType =3D 0x24 bDescriptorSubType =3D 0x03 RAW dump: 0x00 | 0x09, 0x24, 0x03, 0x04, 0x03, 0x06, 0x00, 0x03, 0x08 | 0x00 Interface 1 bLength =3D 0x0009 bDescriptorType =3D 0x0004 bInterfaceNumber =3D 0x0001 bAlternateSetting =3D 0x0000 bNumEndpoints =3D 0x0000 bInterfaceClass =3D 0x00ff bInterfaceSubClass =3D 0x0002 bInterfaceProtocol =3D 0x0000 iInterface =3D 0x0000 Interface 1 Alt 1 bLength =3D 0x0009 bDescriptorType =3D 0x0004 bInterfaceNumber =3D 0x0001 bAlternateSetting =3D 0x0001 bNumEndpoints =3D 0x0002 bInterfaceClass =3D 0x00ff bInterfaceSubClass =3D 0x0002 bInterfaceProtocol =3D 0x0000 iInterface =3D 0x0000 Additional Descriptor bLength =3D 0x07 bDescriptorType =3D 0x24 bDescriptorSubType =3D 0x01 RAW dump: 0x00 | 0x07, 0x24, 0x01, 0x03, 0x01, 0x01, 0x00 Additional Descriptor bLength =3D 0x14 bDescriptorType =3D 0x24 bDescriptorSubType =3D 0x02 RAW dump: 0x00 | 0x14, 0x24, 0x02, 0x01, 0x08, 0x03, 0x18, 0x04, 0x08 | 0x44, 0xac, 0x00, 0x80, 0xbb, 0x00, 0x88, 0x58, 0x10 | 0x01, 0x00, 0x77, 0x01 Endpoint 0 bLength =3D 0x0007 bDescriptorType =3D 0x0005 bEndpointAddress =3D 0x0001 bmAttributes =3D 0x0005 wMaxPacketSize =3D 0x0138 bInterval =3D 0x0001 bRefresh =3D 0x0000 bSynchAddress =3D 0x0000 Additional Descriptor bLength =3D 0x07 bDescriptorType =3D 0x25 bDescriptorSubType =3D 0x01 RAW dump: 0x00 | 0x07, 0x25, 0x01, 0x01, 0x00, 0x00, 0x00 Endpoint 1 bLength =3D 0x0007 bDescriptorType =3D 0x0005 bEndpointAddress =3D 0x0082 bmAttributes =3D 0x0001 wMaxPacketSize =3D 0x0003 bInterval =3D 0x0001 bRefresh =3D 0x0000 bSynchAddress =3D 0x0000 Interface 2 bLength =3D 0x0009 bDescriptorType =3D 0x0004 bInterfaceNumber =3D 0x0002 bAlternateSetting =3D 0x0000 bNumEndpoints =3D 0x0000 bInterfaceClass =3D 0x00ff bInterfaceSubClass =3D 0x0002 bInterfaceProtocol =3D 0x0000 iInterface =3D 0x0000 Interface 2 Alt 1 bLength =3D 0x0009 bDescriptorType =3D 0x0004 bInterfaceNumber =3D 0x0002 bAlternateSetting =3D 0x0001 bNumEndpoints =3D 0x0001 bInterfaceClass =3D 0x00ff bInterfaceSubClass =3D 0x0002 bInterfaceProtocol =3D 0x0000 iInterface =3D 0x0000 Additional Descriptor bLength =3D 0x07 bDescriptorType =3D 0x24 bDescriptorSubType =3D 0x01 RAW dump: 0x00 | 0x07, 0x24, 0x01, 0x02, 0x01, 0x01, 0x00 Additional Descriptor bLength =3D 0x14 bDescriptorType =3D 0x24 bDescriptorSubType =3D 0x02 RAW dump: 0x00 | 0x14, 0x24, 0x02, 0x01, 0x08, 0x03, 0x18, 0x04, 0x08 | 0x44, 0xac, 0x00, 0x80, 0xbb, 0x00, 0x88, 0x58, 0x10 | 0x01, 0x00, 0x77, 0x01 Endpoint 0 bLength =3D 0x0007 bDescriptorType =3D 0x0005 bEndpointAddress =3D 0x0081 bmAttributes =3D 0x0005 wMaxPacketSize =3D 0x0138 bInterval =3D 0x0001 bRefresh =3D 0x0000 bSynchAddress =3D 0x0000 Additional Descriptor bLength =3D 0x07 bDescriptorType =3D 0x25 bDescriptorSubType =3D 0x01 RAW dump: 0x00 | 0x07, 0x25, 0x01, 0x01, 0x00, 0x00, 0x00 Interface 2 Alt 2 bLength =3D 0x0009 bDescriptorType =3D 0x0004 bInterfaceNumber =3D 0x0002 bAlternateSetting =3D 0x0002 bNumEndpoints =3D 0x0001 bInterfaceClass =3D 0x00ff bInterfaceSubClass =3D 0x0002 bInterfaceProtocol =3D 0x0000 iInterface =3D 0x0000 Additional Descriptor bLength =3D 0x07 bDescriptorType =3D 0x24 bDescriptorSubType =3D 0x01 RAW dump: 0x00 | 0x07, 0x24, 0x01, 0x02, 0x01, 0x01, 0x00 Additional Descriptor bLength =3D 0x14 bDescriptorType =3D 0x24 bDescriptorSubType =3D 0x02 RAW dump: 0x00 | 0x14, 0x24, 0x02, 0x01, 0x08, 0x03, 0x18, 0x04, 0x08 | 0x44, 0xac, 0x00, 0x80, 0xbb, 0x00, 0x88, 0x58, 0x10 | 0x01, 0x00, 0x77, 0x01 Endpoint 0 bLength =3D 0x0007 bDescriptorType =3D 0x0005 bEndpointAddress =3D 0x0081 bmAttributes =3D 0x0005 wMaxPacketSize =3D 0x0138 bInterval =3D 0x0001 bRefresh =3D 0x0000 bSynchAddress =3D 0x0000 Additional Descriptor bLength =3D 0x07 bDescriptorType =3D 0x25 bDescriptorSubType =3D 0x01 RAW dump: 0x00 | 0x07, 0x25, 0x01, 0x01, 0x00, 0x00, 0x00 Interface 3 bLength =3D 0x0009 bDescriptorType =3D 0x0004 bInterfaceNumber =3D 0x0003 bAlternateSetting =3D 0x0000 bNumEndpoints =3D 0x0002 bInterfaceClass =3D 0x0001 bInterfaceSubClass =3D 0x0003 bInterfaceProtocol =3D 0x0000 iInterface =3D 0x0005 Additional Descriptor bLength =3D 0x07 bDescriptorType =3D 0x24 bDescriptorSubType =3D 0x01 RAW dump: 0x00 | 0x07, 0x24, 0x01, 0x00, 0x01, 0x3f, 0x00 Additional Descriptor bLength =3D 0x06 bDescriptorType =3D 0x24 bDescriptorSubType =3D 0x02 RAW dump: 0x00 | 0x06, 0x24, 0x02, 0x01, 0x01, 0x00 Additional Descriptor bLength =3D 0x06 bDescriptorType =3D 0x24 bDescriptorSubType =3D 0x02 RAW dump: 0x00 | 0x06, 0x24, 0x02, 0x02, 0x02, 0x00 Additional Descriptor bLength =3D 0x08 bDescriptorType =3D 0x24 bDescriptorSubType =3D 0x03 RAW dump: 0x00 | 0x08, 0x24, 0x03, 0x01, 0x03, 0x01, 0x02, 0x01 Additional Descriptor bLength =3D 0x08 bDescriptorType =3D 0x24 bDescriptorSubType =3D 0x03 RAW dump: 0x00 | 0x08, 0x24, 0x03, 0x02, 0x04, 0x01, 0x01, 0x01 Endpoint 0 bLength =3D 0x0007 bDescriptorType =3D 0x0005 bEndpointAddress =3D 0x0007 bmAttributes =3D 0x0002 wMaxPacketSize =3D 0x0008 bInterval =3D 0x0008 bRefresh =3D 0x0000 bSynchAddress =3D 0x0000 Additional Descriptor bLength =3D 0x05 bDescriptorType =3D 0x25 bDescriptorSubType =3D 0x01 RAW dump: 0x00 | 0x05, 0x25, 0x01, 0x01, 0x01 Endpoint 1 bLength =3D 0x0007 bDescriptorType =3D 0x0005 bEndpointAddress =3D 0x0087 bmAttributes =3D 0x0002 wMaxPacketSize =3D 0x0008 bInterval =3D 0x0000 bRefresh =3D 0x0000 bSynchAddress =3D 0x0000 Additional Descriptor bLength =3D 0x05 bDescriptorType =3D 0x25 bDescriptorSubType =3D 0x01 RAW dump: 0x00 | 0x05, 0x25, 0x01, 0x01, 0x03 Interface 4 bLength =3D 0x0009 bDescriptorType =3D 0x0004 bInterfaceNumber =3D 0x0004 bAlternateSetting =3D 0x0000 bNumEndpoints =3D 0x0000 bInterfaceClass =3D 0x00fe bInterfaceSubClass =3D 0x0001 bInterfaceProtocol =3D 0x0000 iInterface =3D 0x0007 Additional Descriptor bLength =3D 0x09 bDescriptorType =3D 0x21 bDescriptorSubType =3D 0x01 RAW dump: 0x00 | 0x09, 0x21, 0x01, 0xd0, 0x07, 0x00, 0x04, 0x10, 0x08 | 0x01 --=20 Olivier Smedts=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=A0 _ =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 ASCII ribbon campaign ( ) e-mail: olivier@gid0.org=A0 =A0 =A0 =A0 - against HTML email & vCards=A0 X www: http://www.gid0.org=A0 =A0 - against proprietary attachments / \ =A0 "Il y a seulement 10 sortes de gens dans le monde : =A0 ceux qui comprennent le binaire, =A0 et ceux qui ne le comprennent pas." From owner-freebsd-multimedia@FreeBSD.ORG Tue Jun 14 22:39:44 2011 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9508F1065673 for ; Tue, 14 Jun 2011 22:39:44 +0000 (UTC) (envelope-from olivier@gid0.org) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 779F68FC12 for ; Tue, 14 Jun 2011 22:39:44 +0000 (UTC) Received: by pzk27 with SMTP id 27so3690819pzk.13 for ; Tue, 14 Jun 2011 15:39:44 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.36.10 with SMTP id m10mr3494773pbj.224.1308089878970; Tue, 14 Jun 2011 15:17:58 -0700 (PDT) Received: by 10.68.50.166 with HTTP; Tue, 14 Jun 2011 15:17:58 -0700 (PDT) In-Reply-To: <201106142156.59630.hselasky@c2i.net> References: <201106142156.59630.hselasky@c2i.net> Date: Wed, 15 Jun 2011 00:17:58 +0200 Message-ID: From: Olivier Smedts To: Hans Petter Selasky Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-multimedia@freebsd.org Subject: Re: [uaudio] M-Audio Fast Track Ultra is not recognized, where to start ? 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, 14 Jun 2011 22:39:44 -0000 Hello, 2011/6/14 Hans Petter Selasky : > Hi, > > Try to enable uaudio debugging before plugging in the device: > > sysctl hw.usb.uaudio.debug=3D15 Thanks for the suggestion (and all your work on the usb stack BTW). After turning on debugging on uaudio and ehci : Jun 15 00:09:10 q kernel: ehci_root_intr: port 1 changed Jun 15 00:09:10 q kernel: ehci_set_hw_power: Jun 15 00:09:11 q kernel: ehci_roothub_exec: ehci after reset, status=3D0x0= 0001005 Jun 15 00:09:11 q kernel: ehci_roothub_exec: ehci port 1 reset, status =3D 0x00001005 Jun 15 00:09:11 q root: Unknown USB device: vendor 0x0763 product 0x2080 bus uhub7 Jun 15 00:09:11 q kernel: ehci_set_hw_power: Jun 15 00:09:11 q kernel: ehci_set_hw_power: Async is active Jun 15 00:09:11 q kernel: ugen7.3: at usbus7 Jun 15 00:09:11 q kernel: uaudio0: on usbus7 Jun 15 00:09:11 q kernel: uaudio_mixer_fill_info: invalid Audio Control hea= der Jun 15 00:09:11 q kernel: uaudio_attach: audio rev 0.00 Jun 15 00:09:11 q kernel: uaudio_attach: 0 mixer controls Jun 15 00:09:11 q kernel: uaudio0: No playback! Jun 15 00:09:11 q kernel: uaudio0: No recording! Jun 15 00:09:11 q kernel: umidi_bulk_read_callback: start Jun 15 00:09:11 q kernel: uaudio0: MIDI sequencer Jun 15 00:09:11 q kernel: ehci_set_hw_power: Jun 15 00:09:11 q kernel: uaudio_attach: doing child attach Jun 15 00:09:11 q kernel: ehci_set_hw_power: Async is active Jun 15 00:09:11 q kernel: pcm4: on uaudio0 Jun 15 00:09:11 q kernel: uaudio_attach_sub: emulating master volume Jun 15 00:09:11 q kernel: uaudio_mixer_init_sub: Jun 15 00:09:11 q root: Unknown USB device: vendor 0x0763 product 0x2080 bus uhub7 Jun 15 00:09:11 q kernel: ehci_set_hw_power: Jun 15 00:09:11 q kernel: ehci_set_hw_power: Async is active Jun 15 00:09:14 q kernel: ehci_set_hw_power: Jun 15 00:09:14 q kernel: ehci_set_hw_power: Jun 15 00:09:14 q kernel: ehci_set_hw_power: Async is active Jun 15 00:09:18 q kernel: ehci_set_hw_power: Jun 15 00:09:18 q kernel: ehci_set_hw_power: Jun 15 00:09:18 q kernel: ehci_set_hw_power: Async is active Jun 15 00:09:22 q kernel: ehci_set_hw_power: Jun 15 00:09:22 q kernel: ehci_set_hw_power: Jun 15 00:09:22 q kernel: ehci_set_hw_power: Async is active Jun 15 00:09:26 q kernel: ehci_set_hw_power: Jun 15 00:09:26 q kernel: ehci_set_hw_power: Jun 15 00:09:26 q kernel: ehci_set_hw_power: Async is active Jun 15 00:09:27 q kernel: ehci_root_intr: port 1 changed Jun 15 00:09:27 q kernel: ehci_set_hw_power: Jun 15 00:09:27 q kernel: umidi_bulk_read_callback: error=3DUSB_ERR_STALLED Jun 15 00:09:27 q kernel: ehci_set_hw_power: Async is active Jun 15 00:09:27 q kernel: ehci_set_hw_power: Jun 15 00:09:27 q kernel: ugen7.3: at usbus7 (disconnected) Jun 15 00:09:27 q kernel: ehci_set_hw_power: Async is active Jun 15 00:09:27 q kernel: uaudio0: at uhub7, port 1, addr 3 (disconnected) Jun 15 00:09:27 q kernel: uaudio_mixer_uninit_sub: Jun 15 00:09:27 q kernel: pcm4: detached Jun 15 00:09:27 q kernel: umidi_bulk_read_callback: error=3DUSB_ERR_CANCELL= ED Jun 15 00:09:28 q kernel: ehci_set_hw_power: The last errors are here because I turned off the device. I think "uaudio_mixer_fill_info: invalid Audio Control header" is interesting. Any way to dump this ? --=20 Olivier Smedts=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=A0 _ =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 ASCII ribbon campaign ( ) e-mail: olivier@gid0.org=A0 =A0 =A0 =A0 - against HTML email & vCards=A0 X www: http://www.gid0.org=A0 =A0 - against proprietary attachments / \ =A0 "Il y a seulement 10 sortes de gens dans le monde : =A0 ceux qui comprennent le binaire, =A0 et ceux qui ne le comprennent pas." From owner-freebsd-multimedia@FreeBSD.ORG Wed Jun 15 09:21:26 2011 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D5D29106564A for ; Wed, 15 Jun 2011 09:21:26 +0000 (UTC) (envelope-from clemens@ladisch.de) Received: from out4.smtp.messagingengine.com (out4.smtp.messagingengine.com [66.111.4.28]) by mx1.freebsd.org (Postfix) with ESMTP id A472D8FC0C for ; Wed, 15 Jun 2011 09:21:26 +0000 (UTC) Received: from compute4.internal (compute4.nyi.mail.srv.osa [10.202.2.44]) by gateway1.messagingengine.com (Postfix) with ESMTP id DF8A3207FD; Wed, 15 Jun 2011 05:05:21 -0400 (EDT) Received: from frontend1.messagingengine.com ([10.202.2.160]) by compute4.internal (MEProxy); Wed, 15 Jun 2011 05:05:21 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=message-id:date:from:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; s=smtpout; bh=XuAciuGWVahpjzDtMORP7qUzhSE=; b=a+FL2q004xRmGVxKcGiC/uspOMTMq4fbCWP4NkBlj9l6UlPnhAKNYO6//LVK8N/tgAMfMqIuraMCbfky6yS19tRxLpVrY2a6P1r2w63akVW2SPgMVe0bks3P2qekH1me0SLwzbExzUq6c+kSRm4f3LIeraIsCZZ/jmPAqfsmmC4= X-Sasl-enc: vfx08P9CVn16XEhSD9wrcXsk+t3a4cq3xkQBls/v9cs8 1308128721 Received: from [10.1.2.56] (unknown [94.101.37.4]) by mail.messagingengine.com (Postfix) with ESMTPSA id 49C04402768; Wed, 15 Jun 2011 05:05:21 -0400 (EDT) Message-ID: <4DF87676.1090303@ladisch.de> Date: Wed, 15 Jun 2011 11:08:06 +0200 From: Clemens Ladisch User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Olivier Smedts References: <201106142156.59630.hselasky@c2i.net> In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org Subject: Re: [uaudio] M-Audio Fast Track Ultra is not recognized, where to start ? 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, 15 Jun 2011 09:21:26 -0000 Olivier Smedts wrote: > 2011/6/15 Olivier Smedts : > > I think "uaudio_mixer_fill_info: invalid Audio Control header" is interesting. The audio control interface is marked as being vendor-specific, so you'd have to add some quirks to the driver. The control and audio interfaces actually have audio descriptors, so you just have to tell the driver to look at the interfaces even though their bInterfaceClass seems to be wrong. The Linux driver overrides the audio interfaces' descriptors (see here: ), but I don't remember what the problem was, probably some wrong endpoint attributes. Regards, Clemens From owner-freebsd-multimedia@FreeBSD.ORG Wed Jun 15 17:46:05 2011 Return-Path: Delivered-To: multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C71D4106567C for ; Wed, 15 Jun 2011 17:46:05 +0000 (UTC) (envelope-from iasen.kostov@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 88C9F8FC18 for ; Wed, 15 Jun 2011 17:46:05 +0000 (UTC) Received: by ywf7 with SMTP id 7so543853ywf.13 for ; Wed, 15 Jun 2011 10:46:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=YCMZ9wCBQQKYBr+TeNmtvuLK7D2oOgouxaenryVfhxM=; b=ZLKPENldb5BXQ/vxF0koctGJbPDO0HII7J0M4VyBKh+nXWbFwqLbTWqqUz8c/SpFy3 OcEuJP1BPzCNUjovSds7OfbhA9fVXYW9HCoxnxmj+sQMufqAcd+OTHwaowhTRrrHXKMs vR4nWKoHipmdweHYAkCB5OO14IWxQIJNHZB98= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=R2OE+GO0354VqhgYNFy1CZF6pPOQo0v8xu1MLfXOOnUiItgM+2unZPwNZ1nv4/wYle YttgBRGhNMZ0ft4Q/ILUk2A5xdRqwgrBI1eR2tLAq/MUyBsRfwehTmDI28UxFxgXfr0r edSs6lF60lDHio93iRYgpS+JAUtjoy7agmjts= MIME-Version: 1.0 Received: by 10.151.50.15 with SMTP id c15mr1138622ybk.285.1308158544528; Wed, 15 Jun 2011 10:22:24 -0700 (PDT) Received: by 10.150.157.10 with HTTP; Wed, 15 Jun 2011 10:22:24 -0700 (PDT) Date: Wed, 15 Jun 2011 20:22:24 +0300 Message-ID: From: Iasen Kostov To: multimedia@FreeBSD.org Content-Type: text/plain; charset=UTF-8 Cc: Subject: FreeBSD Port: multimedia/mjpegtools 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, 15 Jun 2011 17:46:06 -0000 When I try to compile the port I get this : ------------ c++ -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/local/include -I../utils -I/usr/local/include -DNDEBUG -finline-functions -fno-PIC -O2 -pipe -march=athlon-mp -fno-strict-aliasing -D_THREAD_SAFE -MT newdenoise.o -MD -MP -MF .deps/newdenoise.Tpo -c -o newdenoise.o newdenoise.cc SkipList.hh: In member function 'void SkipList::Init(Status_t&, bool, const SkipList::InitParams&) [with KEY = VariableSizeAllocator::Block, VALUE = VariableSizeAllocator::Block, KEYFN = Ident, PRED = VariableSizeAllocator::Block::SortBySize, int HC = 10, ALLOC = PlacementAllocator]': SkipList.hh:546: internal compiler error: in do_SUBST, at combine.c:502 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. gmake[2]: *** [newdenoise.o] Error 1 gmake[2]: Leaving directory `/usr/tmp/usr/ports/multimedia/mjpegtools/work/mjpegtools-2.0.0/y4mdenoise' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/tmp/usr/ports/multimedia/mjpegtools/work/mjpegtools-2.0.0' gmake: *** [all] Error 2 *** Error code 1 Stop in /usr/ports/multimedia/mjpegtools. *** Error code 1 Stop in /usr/ports/multimedia/mjpegtools. --------------- When I try with 'USE_GCC=4.6+' I get this : --------------- libtool: link: cc -shared -fPIC -DPIC .libs/mjpeg_logging.o .libs/mpegconsts.o .libs/mpegtimecode.o .libs/yuv4mpeg.o .libs/yuv4mpeg_ratio.o .libs/motionsearch.o .libs/cpu_accel.o -L/usr/local/lib -lm -O2 -march=athlon-mp -Wl,-rpath=/usr/local/lib/gcc46 -pthread -Wl,-rpath=/usr/local/lib/gcc46 -pthread -Wl,-soname -Wl,libmjpegutils-2.0.so.0 -o .libs/libmjpegutils-2.0.so.0 .libs/mjpeg_logging.o(.text.__i686.get_pc_thunk.bx+0x0): In function `__i686.get_pc_thunk.bx': : multiple definition of `__i686.get_pc_thunk.bx' /usr/lib/crtbeginS.o(.gnu.linkonce.t.__i686.get_pc_thunk.bx+0x0): first defined here gmake[3]: *** [libmjpegutils.la] Error 1 gmake[3]: Leaving directory `/usr/tmp/usr/ports/multimedia/mjpegtools/work/mjpegtools-2.0.0/utils' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/tmp/usr/ports/multimedia/mjpegtools/work/mjpegtools-2.0.0/utils' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/tmp/usr/ports/multimedia/mjpegtools/work/mjpegtools-2.0.0' gmake: *** [all] Error 2 *** Error code 1 Stop in /usr/ports/multimedia/mjpegtools. *** Error code 1 Stop in /usr/ports/multimedia/mjpegtools. ------------------- Regards. From owner-freebsd-multimedia@FreeBSD.ORG Wed Jun 15 19:27:25 2011 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 132D4106564A for ; Wed, 15 Jun 2011 19:27:25 +0000 (UTC) (envelope-from jimmiejaz@gmail.com) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 966C78FC13 for ; Wed, 15 Jun 2011 19:27:24 +0000 (UTC) Received: by ewy1 with SMTP id 1so426379ewy.13 for ; Wed, 15 Jun 2011 12:27:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:reply-to:user-agent :mime-version:to:cc:subject:content-type:content-transfer-encoding; bh=cNRXqesdT1MEpJyPM2E4eD31Nc7yPfdOPVJ+7aA5qII=; b=LFFOdE41JskHQO9C41TcdlGUiaPESUE/4W+g5ZSX5gGTEOJeXMlhC59zA2qQQfVXlg Okuz2WlI+zOnnK9qrCqJmEWzQ13Ep3D6bR0G4xLdORLcPS/nEorVljEBtsNnVjPMnevv kV05f6TBgXESDbILKp5iSkbRVTwMrFNf7iV1o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject :content-type:content-transfer-encoding; b=ledc/pb5YLjFJoh69FNKKdHAykoTes77TfFi6rE5Bg3DY4I29Wy636yi0B2277dcQW KLGpwm+5q1FIzwaETD+Osne4YPy0h11apmG51I/JrwRniDd+ccRuD3N2Fe+veoivYzER Fpgu9Rfeel2NO3xnNfNnJnoe/6J8u8BpMPm3E= Received: by 10.14.17.156 with SMTP id j28mr32050eej.133.1308164341536; Wed, 15 Jun 2011 11:59:01 -0700 (PDT) Received: from jimmiejaz.org (bas2-toronto44-1176438264.dsl.bell.ca [70.31.5.248]) by mx.google.com with ESMTPS id t52sm662040eej.14.2011.06.15.11.58.58 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 15 Jun 2011 11:58:59 -0700 (PDT) Message-ID: <4DF900EC.1020601@gmail.com> Date: Wed, 15 Jun 2011 14:58:52 -0400 From: Jimmie James User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.17) Gecko/20110607 Lightning/1.0b2 Thunderbird/3.1.10 MIME-Version: 1.0 To: iasen.kostov@gmail.com Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: multimedia@FreeBSD.org Subject: RE: FreeBSD Port: multimedia/mjpegtools X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jimmiejaz@gmail.com List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Jun 2011 19:27:25 -0000 Iasen, You're not the only one with the problem, it has an open PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=157885 and has also been reported: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=1122336+0+current/freebsd-ports-bugs Maybe a good idea to submit a follow up to the PR since you have another GCC compiler error, which I was unable to grab (remote build, couldn't copy it at the time) Cheers. -- I am currently away on leave, traveling through time and will be returning last week. Life is tough, but it's tougher when you're stupid. From owner-freebsd-multimedia@FreeBSD.ORG Wed Jun 15 20:05:18 2011 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD892106564A for ; Wed, 15 Jun 2011 20:05:18 +0000 (UTC) (envelope-from olivier@gid0.org) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 617988FC13 for ; Wed, 15 Jun 2011 20:05:18 +0000 (UTC) Received: by wyf23 with SMTP id 23so911141wyf.13 for ; Wed, 15 Jun 2011 13:05:17 -0700 (PDT) MIME-Version: 1.0 Received: by 10.227.184.65 with SMTP id cj1mr23867wbb.51.1308168317131; Wed, 15 Jun 2011 13:05:17 -0700 (PDT) Received: by 10.227.197.209 with HTTP; Wed, 15 Jun 2011 13:05:17 -0700 (PDT) In-Reply-To: <4DF87676.1090303@ladisch.de> References: <201106142156.59630.hselasky@c2i.net> <4DF87676.1090303@ladisch.de> Date: Wed, 15 Jun 2011 22:05:17 +0200 Message-ID: From: Olivier Smedts To: Clemens Ladisch Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-multimedia@freebsd.org Subject: Re: [uaudio] M-Audio Fast Track Ultra is not recognized, where to start ? 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, 15 Jun 2011 20:05:18 -0000 2011/6/15 Clemens Ladisch : > Olivier Smedts wrote: >> 2011/6/15 Olivier Smedts : >> > I think "uaudio_mixer_fill_info: invalid Audio Control header" is inte= resting. > > The audio control interface is marked as being vendor-specific, so you'd > have to add some quirks to the driver. > > The control and audio interfaces actually have audio descriptors, so you > just have to tell the driver to look at the interfaces even though their > bInterfaceClass seems to be wrong. Ok, I tried this : # kldload snd_uaudio.ko # kldload usb_quirk.ko # sysctl hw.usb.uaudio.debug=3D1 # usbconfig add_dev_quirk_vplh 0x0763 0x2080 0x0000 0xffff UQ_AU_VENDOR_CLA= SS Plugged the device... ugen7.3: at usbus7 uaudio0: on usbus7 uaudio_chan_dump_ep_desc: endpoint=3D0xfffffe0025c0267c bLength=3D7 bDescriptorType=3D5 bEndpointAddress=3D1 bmAttributes=3D0x5 wMaxPacketSize=3D312 bInterval=3D1 bRefresh=3D0 bSynchAddress=3D0 uaudio_chan_fill_info_sub: Sample rate =3D 96000Hz, channels =3D 8, bits = =3D 24, format =3D 24-bit S-LE PCM uaudio_chan_dump_ep_desc: endpoint=3D0xfffffe0025c026be bLength=3D7 bDescriptorType=3D5 bEndpointAddress=3D129 bmAttributes=3D0x5 wMaxPacketSize=3D312 bInterval=3D1 bRefresh=3D0 bSynchAddress=3D0 uaudio_chan_fill_info_sub: Sample rate =3D 96000Hz, channels =3D 8, bits = =3D 24, format =3D 24-bit S-LE PCM uaudio_mixer_fill_info: Maximum ID=3D3 uaudio_mixer_fill_info: id 3: uaudio_mixer_fill_info: - AC_INPUT type=3DUAT_STREAM uaudio_mixer_dump_cluster: cluster: bNrChannels=3D0 iChannelNames=3D8 wChannelConfig=3D0x0003: uaudio_mixer_dump_cluster: - LEFT uaudio_mixer_dump_cluster: - RIGHT uaudio_mixer_fill_info: Inputs to this ID are: uaudio_mixer_fill_info: -- ID=3D3 uaudio_mixer_fill_info: Outputs from this ID are: uaudio_mixer_fill_info: id 2: uaudio_mixer_fill_info: - AC_OUTPUT type=3DUAT_STREAM src=3D1 uaudio_mixer_fill_info: Inputs to this ID are: uaudio_mixer_fill_info: -- ID=3D1 uaudio_mixer_fill_info: Outputs from this ID are: uaudio_mixer_fill_info: id 1: uaudio_mixer_fill_info: - AC_INPUT type=3DUATE_LINECONN uaudio_mixer_dump_cluster: cluster: bNrChannels=3D0 iChannelNames=3D8 wChannelConfig=3D0x0003: uaudio_mixer_dump_cluster: - LEFT uaudio_mixer_dump_cluster: - RIGHT uaudio_mixer_fill_info: Inputs to this ID are: uaudio_mixer_fill_info: -- ID=3D1 uaudio_mixer_fill_info: Outputs from this ID are: uaudio_mixer_fill_info: -- ID=3D2 uaudio_attach: audio rev 1.00 uaudio_attach: 0 mixer controls uaudio0: Play: 96000 Hz, 8 ch, 24-bit S-LE PCM format uaudio0: Record: 96000 Hz, 8 ch, 24-bit S-LE PCM format uaudio0: MIDI sequencer uaudio_attach: doing child attach umidi_bulk_read_callback: start pcm4: on uaudio0 uaudio_attach_sub: emulating master volume uaudio_mixer_init_sub: uaudio_chan_init: endpoint=3D0x01, speed=3D96000, iface=3D1 alt=3D1 uaudio_chan_init: fps=3D8000 sample_rem=3D0 uaudio_chan_init: endpoint=3D0x81, speed=3D96000, iface=3D2 alt=3D1 uaudio_chan_init: fps=3D8000 sample_rem=3D0 uaudio1: on usbus7 uaudio_chan_dump_ep_desc: endpoint=3D0xfffffe0025c0267c bLength=3D7 bDescriptorType=3D5 bEndpointAddress=3D1 bmAttributes=3D0x5 wMaxPacketSize=3D312 bInterval=3D1 bRefresh=3D0 bSynchAddress=3D0 uaudio_chan_fill_info_sub: Sample rate =3D 96000Hz, channels =3D 8, bits = =3D 24, format =3D 24-bit S-LE PCM uaudio_chan_dump_ep_desc: endpoint=3D0xfffffe0025c026be bLength=3D7 bDescriptorType=3D5 bEndpointAddress=3D129 bmAttributes=3D0x5 wMaxPacketSize=3D312 bInterval=3D1 bRefresh=3D0 bSynchAddress=3D0 uaudio_chan_fill_info_sub: Sample rate =3D 96000Hz, channels =3D 8, bits = =3D 24, format =3D 24-bit S-LE PCM uaudio_mixer_fill_info: invalid Audio Control header uaudio_attach: audio rev 0.00 uaudio_attach: 0 mixer controls uaudio1: Play: 96000 Hz, 8 ch, 24-bit S-LE PCM format uaudio1: Record: 96000 Hz, 8 ch, 24-bit S-LE PCM format uaudio1: MIDI sequencer uaudio_attach: doing child attach umidi_bulk_read_callback: start pcm5: on uaudio1 uaudio_attach_sub: emulating master volume uaudio_mixer_init_sub: uaudio_chan_init: endpoint=3D0x01, speed=3D96000, iface=3D1 alt=3D1 uaudio_chan_init: fps=3D8000 sample_rem=3D0 uaudio_chan_init: endpoint=3D0x81, speed=3D96000, iface=3D2 alt=3D1 uaudio_chan_init: fps=3D8000 sample_rem=3D0 So now it seems to be better. To have it in the kernel I think I should only modify sys/dev/usb/usbdevs (but there's another vendor with the same ID) and sys/dev/usb/quirk/usb_quirk.c # dmesg | grep uaudio0 uaudio0: on usbus7 uaudio0: Play: 96000 Hz, 8 ch, 24-bit S-LE PCM format uaudio0: Record: 96000 Hz, 8 ch, 24-bit S-LE PCM format uaudio0: MIDI sequencer pcm4: on uaudio0 # dmesg | grep uaudio1 uaudio1: on usbus7 uaudio1: Play: 96000 Hz, 8 ch, 24-bit S-LE PCM format uaudio1: Record: 96000 Hz, 8 ch, 24-bit S-LE PCM format uaudio1: MIDI sequencer pcm5: on uaudio1 # cat /dev/sndstat FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64) Installed devices: pcm0: (play/rec) default pcm1: (play) pcm2: (play) pcm3: (play) pcm4: (play/rec) pcm5: (play/rec) I don't know why two devices are detected, but at least the "96000 Hz, 8 ch, 24-bit S-LE PCM format" is correct ! Now I could # sysctl hw.snd.default_unit=3D4 And play some audio files on the first two outputs of the device (left and right channel). A little clicking noise during playback (not when there is a silence). I had the same clicking noise with alsa under Ubuntu Studio when using high sample rates. The Fast Track Ultra manual says it has an internal default clock frequency of 44100Hz, so I think that the driver should change the internal clock frequency or give an external clock when using sample rates different than 44100Hz. I tried starting jack but it could only see two inputs and two outputs and no midi. I connected the first input to the outputs, no sound (other than the monitor) on the outputs when playing something through the input. Next I configured jack like this (with qjackctl) : Driver : oss Audio : Duplex Input device : /dev/dsp4 (so that I don't have to change hw.snd.default_uni= t) Output device : /dev/dsp4 Input channels : 8 Output channels : 8 Samples/period : 256 Sample rate (Hz) : 96000 Periods/buffer : 2 Depth (bit) : 24 Nothing more... I tried various combinations of settings, some defaults, I could not hear the input. I don't think jack really likes oss... I also tried outputting vlc in jack, changing some dev.pcm.4.* sysctls but did not find something really useful. Did change vchans number, mode and format, the loud noises from jack were different but still noises. Any advice ? > > The Linux driver overrides the audio interfaces' descriptors (see here: > ), > but I don't remember what the problem was, probably some wrong endpoint > attributes. > > > Regards, > Clemens > Thanks for your help ! --=20 Olivier Smedts=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=A0 _ =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 ASCII ribbon campaign ( ) e-mail: olivier@gid0.org=A0 =A0 =A0 =A0 - against HTML email & vCards=A0 X www: http://www.gid0.org=A0 =A0 - against proprietary attachments / \ =A0 "Il y a seulement 10 sortes de gens dans le monde : =A0 ceux qui comprennent le binaire, =A0 et ceux qui ne le comprennent pas." From owner-freebsd-multimedia@FreeBSD.ORG Wed Jun 15 20:23:37 2011 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 52CC9106566B for ; Wed, 15 Jun 2011 20:23:37 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe02.c2i.net [212.247.154.34]) by mx1.freebsd.org (Postfix) with ESMTP id CE8D38FC1F for ; Wed, 15 Jun 2011 20:23:36 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=foYCH16XITld/fbj26BZH1w5uHt8raPKsF/FGYRmlU4= c=1 sm=1 a=SvYTsOw2Z4kA:10 a=onvL5icAhc4A:10 a=WQU8e4WWZSUA:10 a=8nJEP1OIZ-IA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=TfWq9i5PAAAA:8 a=KuDOeYcXxroCCVdn6iAA:9 a=wPNLvfGTeEIA:10 a=7t4jVOfIR2gA:10 a=Vce-_cLKp2kA:10 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe02.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 140835036; Wed, 15 Jun 2011 22:23:34 +0200 From: Hans Petter Selasky To: Olivier Smedts Date: Wed, 15 Jun 2011 22:22:08 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <4DF87676.1090303@ladisch.de> In-Reply-To: X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq, NwSZ4V"|LR.+tj}g5 %V,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( :AuzV9:.hESm-x4h240C`9=w MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201106152222.08318.hselasky@c2i.net> Cc: freebsd-multimedia@freebsd.org, Clemens Ladisch Subject: Re: [uaudio] M-Audio Fast Track Ultra is not recognized, where to start ? 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, 15 Jun 2011 20:23:37 -0000 On Wednesday 15 June 2011 22:05:17 Olivier Smedts wrote: > 2011/6/15 Clemens Ladisch : > > Olivier Smedts wrote: > >> 2011/6/15 Olivier Smedts : > >> > I think "uaudio_mixer_fill_info: invalid Audio Control header" is > >> > interesting. > > > > The audio control interface is marked as being vendor-specific, so you'd > > have to add some quirks to the driver. > > > > The control and audio interfaces actually have audio descriptors, so you > > just have to tell the driver to look at the interfaces even though their > > bInterfaceClass seems to be wrong. > > Ok, I tried this : > # kldload snd_uaudio.ko > # kldload usb_quirk.ko > # sysctl hw.usb.uaudio.debug=1 > # usbconfig add_dev_quirk_vplh 0x0763 0x2080 0x0000 0xffff > UQ_AU_VENDOR_CLASS Hi, You can make a quirk in usb_quirk.c for this. There is another quirk to force the sample rate to 44100Hz. Also see the other sysctl under hw.usb.uaudio to tune how your device behaves. > # dmesg | grep uaudio0 > uaudio0: on usbus7 > uaudio0: Play: 96000 Hz, 8 ch, 24-bit S-LE PCM format > uaudio0: Record: 96000 Hz, 8 ch, 24-bit S-LE PCM format > uaudio0: MIDI sequencer > pcm4: on uaudio0 > # dmesg | grep uaudio1 > uaudio1: on usbus7 > uaudio1: Play: 96000 Hz, 8 ch, 24-bit S-LE PCM format > uaudio1: Record: 96000 Hz, 8 ch, 24-bit S-LE PCM format > uaudio1: MIDI sequencer > pcm5: on uaudio1 > # cat /dev/sndstat > FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64) > Installed devices: > pcm0: (play/rec) default > pcm1: (play) > pcm2: (play) > pcm3: (play) > pcm4: (play/rec) > pcm5: (play/rec) > > I don't know why two devices are detected, but at least the "96000 Hz, > 8 ch, 24-bit S-LE PCM format" is correct ! What does usbconfig tell about the device? --HPS From owner-freebsd-multimedia@FreeBSD.ORG Thu Jun 16 14:58:02 2011 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2A5481065678 for ; Thu, 16 Jun 2011 14:58:02 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id B20E98FC19 for ; Thu, 16 Jun 2011 14:58:01 +0000 (UTC) Received: by fxm11 with SMTP id 11so1690026fxm.13 for ; Thu, 16 Jun 2011 07:58:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:from :date:x-google-sender-auth:message-id:subject:to:cc:content-type; bh=qdCXPZhXJlED4SkwacmL1gq0EDk+JJNGqs4pwqSP+Bg=; b=dC4Ocw6aa/EkZsV/tbDI02yortiRyMBV9j3BClXYhu5YCFAq7WGrrBJA1GFRX2l+iB ocx8ilx8AaWyc43J0o1AJ14wh2q5S945s8fSj2QfubKCXqRZH7DAopnz1uL7V5TA/ar2 fhhHXZBMyA01k+yZMFEhFPqkiFEF89id0kRcU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; b=vzp3nzHkKexXmi1583TsPp8Awabzz6n09q+mmy+L3/nI337LKVmhbwpJ+A9YeMEWYf 4E9tAVyB7NdPsp7aNCRKsMjlW1qibhDiUMs34Bt2nIwlm9msb3IPNXDih3mmOrTTXmc4 598bOo/aat/4wXHvB+Y7iJ1SwV1dk66WXkOTg= Received: by 10.223.94.129 with SMTP id z1mr1174129fam.144.1308234511107; Thu, 16 Jun 2011 07:28:31 -0700 (PDT) MIME-Version: 1.0 Sender: baptiste.daroussin@gmail.com Received: by 10.223.60.25 with HTTP; Thu, 16 Jun 2011 07:28:11 -0700 (PDT) In-Reply-To: <4DF900EC.1020601@gmail.com> References: <4DF900EC.1020601@gmail.com> From: Baptiste Daroussin Date: Thu, 16 Jun 2011 16:28:11 +0200 X-Google-Sender-Auth: 6mi73nBeCdZZT5VYwL0JqVcnq3I Message-ID: To: jimmiejaz@gmail.com Content-Type: text/plain; charset=ISO-8859-1 Cc: multimedia@freebsd.org, iasen.kostov@gmail.com Subject: Re: FreeBSD Port: multimedia/mjpegtools 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, 16 Jun 2011 14:58:02 -0000 2011/6/15 Jimmie James : > Iasen, > > You're not the only one with the problem, it has an open PR: > http://www.freebsd.org/cgi/query-pr.cgi?pr=157885 > and has also been reported: > http://docs.freebsd.org/cgi/getmsg.cgi?fetch=1122336+0+current/freebsd-ports-bugs > > Maybe a good idea to submit a follow up to the PR since you have another GCC > compiler error, which I was unable to grab (remote build, couldn't copy it > at the time) > > > Cheers. > > > -- > I am currently away on leave, traveling through time and will be returning > last week. > Life is tough, but it's tougher when you're stupid. > _______________________________________________ > 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" > The problem is that I can't reproduce that on my boxes. From owner-freebsd-multimedia@FreeBSD.ORG Fri Jun 17 03:55:09 2011 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A299C1065674; Fri, 17 Jun 2011 03:55:09 +0000 (UTC) (envelope-from jimmiejaz@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id D4DF88FC17; Fri, 17 Jun 2011 03:55:08 +0000 (UTC) Received: by yxl31 with SMTP id 31so1727922yxl.13 for ; Thu, 16 Jun 2011 20:55:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:reply-to:user-agent :mime-version:to:cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=cACbqTmH+pTc7uF9Elf7Zesar0fhAj1CfMH/MGNtrII=; b=GneWYc17Cr2Sy8OVeHmNPkJKr8/eucgQWqAPUj4rBAG5alf+VLj4UWc6RF8qIkX2Wj q1BZHedJosAlqK6Mcdfgp/sv/fEQr/korCqp2bwpX2aATZja+m95aeQRQ2HvvfZPeKle ilBXtY6XzjKM1dV1B7IKxE9EAHms6Mg9xulMo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=GokPUm971vfkjBUV737qEgxpHFjF5ENJg32fPi2JIX1IItWTJgcccmAxRbGWlpoEpB 1khEDGmVM1mNtOeKNgqCLmJ5qDhTlWqcPMNPLZYeDTAECJBhn9fj4p+od1kG9+mEASjZ XwLTYtAEXmjFBxnw/QX/9F+V5sYkSS2xTAR4Y= Received: by 10.236.185.100 with SMTP id t64mr2441024yhm.523.1308282908148; Thu, 16 Jun 2011 20:55:08 -0700 (PDT) Received: from jimmiejaz.org (bas2-toronto44-1242514508.dsl.bell.ca [74.15.68.76]) by mx.google.com with ESMTPS id o47sm1458534yhn.72.2011.06.16.20.55.06 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 16 Jun 2011 20:55:06 -0700 (PDT) Message-ID: <4DFAD019.1050108@gmail.com> Date: Thu, 16 Jun 2011 23:55:05 -0400 From: Jimmie James User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.17) Gecko/20110607 Lightning/1.0b2 Thunderbird/3.1.10 MIME-Version: 1.0 To: Baptiste Daroussin References: <4DF900EC.1020601@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: multimedia@freebsd.org Subject: Re: FreeBSD Port: multimedia/mjpegtools X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jimmiejaz@gmail.com List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Jun 2011 03:55:09 -0000 On 06/16/11 10:28, Baptiste Daroussin wrote: > 2011/6/15 Jimmie James: >> Iasen, >> >> You're not the only one with the problem, it has an open PR: >> http://www.freebsd.org/cgi/query-pr.cgi?pr=157885 >> and has also been reported: >> http://docs.freebsd.org/cgi/getmsg.cgi?fetch=1122336+0+current/freebsd-ports-bugs >> >> Maybe a good idea to submit a follow up to the PR since you have another GCC >> compiler error, which I was unable to grab (remote build, couldn't copy it >> at the time) >> >> >> Cheers. >> >> >> -- >> I am currently away on leave, traveling through time and will be returning >> last week. >> Life is tough, but it's tougher when you're stupid. >> _______________________________________________ >> 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" >> > > The problem is that I can't reproduce that on my boxes. > I can reproduce it every time, and I'd be willing to do some testing, but that compiler error, I have no idea about, and since each GCC version throws a different error, I'm at a loss. No make.conf, and default options. With GCC4.4: /bin/sh /usr/local/bin/libtool --tag=CXX --mode=link g++44 -O2 -pipe -Wl,-rpath=/usr/local/lib/gcc44 -fno-strict-aliasing -D_THREAD_SAFE -version-info 0:0:0 -release 2.0 -L/usr/local/lib -pthread -Wl,-rpath=/usr/local/lib/gcc44 -o libmplex2.la -rpath /usr/local/lib libmplex2_la-ac3strm_in.lo libmplex2_la-audiostrm_out.lo libmplex2_la-bits.lo libmplex2_la-decodebufmodel.lo libmplex2_la-dtsstrm_in.lo libmplex2_la-inputstrm.lo libmplex2_la-interact.lo libmplex2_la-lpcmstrm_in.lo libmplex2_la-mpastrm_in.lo libmplex2_la-multiplexor.lo libmplex2_la-padstrm.lo libmplex2_la-stillsstream.lo libmplex2_la-stream_params.lo libmplex2_la-systems.lo libmplex2_la-videostrm_in.lo libmplex2_la-videostrm_out.lo libmplex2_la-subpstream.lo ../utils/libmjpegutils.la -lm libtool: link: c++ -fPIC -DPIC -shared -nostdlib /usr/lib/crti.o /usr/lib/crtbeginS.o .libs/libmplex2_la-ac3strm_in.o .libs/libmplex2_la-audiostrm_out.o .libs/libmplex2_la-bits.o .libs/libmplex2_la-decodebufmodel.o .libs/libmplex2_la-dtsstrm_in.o .libs/libmplex2_la-inputstrm.o .libs/libmplex2_la-interact.o .libs/libmplex2_la-lpcmstrm_in.o .libs/libmplex2_la-mpastrm_in.o .libs/libmplex2_la-multiplexor.o .libs/libmplex2_la-padstrm.o .libs/libmplex2_la-stillsstream.o .libs/libmplex2_la-stream_params.o .libs/libmplex2_la-systems.o .libs/libmplex2_la-videostrm_in.o .libs/libmplex2_la-videostrm_out.o .libs/libmplex2_la-subpstream.o -Wl,-rpath -Wl,/usr/ports/multimedia/mjpegtools/work/mjpegtools-2.0.0/utils/.libs -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib ../utils/.libs/libmjpegutils.so -L/usr/lib -lstdc++ -lm -lc -lgcc_s /usr/lib/crtendS.o /usr/lib/crtn.o -O2 -Wl,-rpath=/usr/local/lib/gcc44 -pthread -Wl,-rpath=/usr/local/lib/gcc44 -pthread -Wl,-soname -Wl,libmplex2-2.0.so.0 -o .libs/libmplex2-2.0.so.0 local symbol 0: discarded in section `.text._ZN16ElementaryStream7AUMuxedEb' from .libs/libmplex2_la-dtsstrm_in.o local symbol 1: discarded in section `.text._ZN16ElementaryStream16ReadStreamHeaderEPhj' from .libs/libmplex2_la-dtsstrm_in.o local symbol 2: discarded in section `.text._ZN16ElementaryStream7AUMuxedEb' from .libs/libmplex2_la-inputstrm.o local symbol 3: discarded in section `.text._ZN16ElementaryStream16StreamHeaderSizeEv' from .libs/libmplex2_la-inputstrm.o local symbol 4: discarded in section `.text._ZN16ElementaryStream16ReadStreamHeaderEPhj' from .libs/libmplex2_la-inputstrm.o local symbol 5: discarded in section `.text._ZN16ElementaryStream7AUMuxedEb' from .libs/libmplex2_la-lpcmstrm_in.o local symbol 6: discarded in section `.text._ZN16ElementaryStream16ReadStreamHeaderEPhj' from .libs/libmplex2_la-lpcmstrm_in.o local symbol 7: discarded in section `.text._ZN16ElementaryStream7AUMuxedEb' from .libs/libmplex2_la-mpastrm_in.o local symbol 8: discarded in section `.text._ZN16ElementaryStream16StreamHeaderSizeEv' from .libs/libmplex2_la-mpastrm_in.o local symbol 9: discarded in section `.text._ZN16ElementaryStream16ReadStreamHeaderEPhj' from .libs/libmplex2_la-mpastrm_in.o local symbol 10: discarded in section `.text._ZN9MuxStream16StreamHeaderSizeEv' from .libs/libmplex2_la-multiplexor.o local symbol 11: discarded in section `.text._ZNSt11_Deque_baseI14DecodeBufEntrySaIS0_EED2Ev' from .libs/libmplex2_la-multiplexor.o local symbol 12: discarded in section `.text._ZN9MuxStreamD1Ev' from .libs/libmplex2_la-multiplexor.o local symbol 13: discarded in section `.text._ZN9MuxStreamD0Ev' from .libs/libmplex2_la-multiplexor.o local symbol 14: discarded in section `.text._ZN16ElementaryStream16StreamHeaderSizeEv' from .libs/libmplex2_la-videostrm_in.o local symbol 15: discarded in section `.text._ZN16ElementaryStream16ReadStreamHeaderEPhj' from .libs/libmplex2_la-videostrm_in.o local symbol 16: discarded in section `.text._ZN11VideoStream14NominalBitRateEv' from .libs/libmplex2_la-videostrm_in.o local symbol 17: discarded in section `.text._ZN16ElementaryStream7AUMuxedEb' from .libs/libmplex2_la-subpstream.o local symbol 18: discarded in section `.text._ZN16ElementaryStream16ReadStreamHeaderEPhj' from .libs/libmplex2_la-subpstream.o gmake[2]: *** [libmplex2.la] Error 1 GCC4.5 /bin/sh /usr/local/bin/libtool --tag=CC --mode=link gcc45 -O2 -pipe -Wl,-rpath=/usr/local/lib/gcc45 -fno-strict-aliasing -D_THREAD_SAFE -Wall -Wunused -fPIC -version-info 0:0:0 -release 2.0 -L/usr/local/lib -pthread -Wl,-rpath=/usr/local/lib/gcc45 -o libmjpegutils.la -rpath /usr/local/lib mjpeg_logging.lo mpegconsts.lo mpegtimecode.lo yuv4mpeg.lo yuv4mpeg_ratio.lo motionsearch.lo cpu_accel.lo -lm libtool: link: cc -shared -fPIC -DPIC .libs/mjpeg_logging.o .libs/mpegconsts.o .libs/mpegtimecode.o .libs/yuv4mpeg.o .libs/yuv4mpeg_ratio.o .libs/motionsearch.o .libs/cpu_accel.o -L/usr/local/lib -lm -O2 -Wl,-rpath=/usr/local/lib/gcc45 -pthread -Wl,-rpath=/usr/local/lib/gcc45 -pthread -Wl,-soname -Wl,libmjpegutils-2.0.so.0 -o .libs/libmjpegutils-2.0.so.0 .libs/mjpeg_logging.o(.text.__i686.get_pc_thunk.bx+0x0): In function `__i686.get_pc_thunk.bx': : multiple definition of `__i686.get_pc_thunk.bx' /usr/lib/crtbeginS.o(.gnu.linkonce.t.__i686.get_pc_thunk.bx+0x0): first defined here gmake[3]: *** [libmjpegutils.la] Error 1 gmake[3]: Leaving directory `/usr/ports/multimedia/mjpegtools/work/mjpegtools-2.0.0/utils' gmake[2]: *** [all-recursive] Error 1 GCC4.6 /bin/sh /usr/local/bin/libtool --tag=CC --mode=link gcc46 -O2 -pipe -Wl,-rpath=/usr/local/lib/gcc46 -fno-strict-aliasing -D_THREAD_SAFE -Wall -Wunused -fPIC -version-info 0:0:0 -release 2.0 -L/usr/local/lib -pthread -Wl,-rpath=/usr/local/lib/gcc46 -o libmjpegutils.la -rpath /usr/local/lib mjpeg_logging.lo mpegconsts.lo mpegtimecode.lo yuv4mpeg.lo yuv4mpeg_ratio.lo motionsearch.lo cpu_accel.lo -lm libtool: link: cc -shared -fPIC -DPIC .libs/mjpeg_logging.o .libs/mpegconsts.o .libs/mpegtimecode.o .libs/yuv4mpeg.o .libs/yuv4mpeg_ratio.o .libs/motionsearch.o .libs/cpu_accel.o -L/usr/local/lib -lm -O2 -Wl,-rpath=/usr/local/lib/gcc46 -pthread -Wl,-rpath=/usr/local/lib/gcc46 -pthread -Wl,-soname -Wl,libmjpegutils-2.0.so.0 -o .libs/libmjpegutils-2.0.so.0 .libs/mjpeg_logging.o(.text.__i686.get_pc_thunk.bx+0x0): In function `__i686.get_pc_thunk.bx': : multiple definition of `__i686.get_pc_thunk.bx' /usr/lib/crtbeginS.o(.gnu.linkonce.t.__i686.get_pc_thunk.bx+0x0): first defined here gmake[3]: *** [libmjpegutils.la] Error 1