From owner-freebsd-multimedia@FreeBSD.ORG Sun Sep 4 19:18:33 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 521861065675 for ; Sun, 4 Sep 2011 19:18:33 +0000 (UTC) (envelope-from jakub_lach@mailplus.pl) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id 2DC968FC14 for ; Sun, 4 Sep 2011 19:18:33 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1R0Hud-0005nn-JJ for freebsd-multimedia@freebsd.org; Sun, 04 Sep 2011 11:59:23 -0700 Date: Sun, 4 Sep 2011 11:59:23 -0700 (PDT) From: Jakub Lach To: freebsd-multimedia@freebsd.org Message-ID: <1315162763591-4768128.post@n5.nabble.com> In-Reply-To: <1305876511361-4411946.post@n5.nabble.com> References: <1305234464812-4391516.post@n5.nabble.com> <1305273816481-4392469.post@n5.nabble.com> <1305876511361-4411946.post@n5.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: gstreamer-plugins-ogg/vorbis 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: Sun, 04 Sep 2011 19:18:33 -0000 Could somebody test drive those problem files besides me? The problem is abnormal playback speed. eg. http://www.powerliftingwatch.com/node/20152 (some affected embedded vp8/html5 youtube videos) You can use multimedia/gst123, www/opera or anything else that uses gstreamer. regards, -Jakub Lach -- View this message in context: http://freebsd.1045724.n5.nabble.com/gstreamer-plugins-ogg-vorbis-tp4391516p4768128.html Sent from the freebsd-multimedia mailing list archive at Nabble.com. From owner-freebsd-multimedia@FreeBSD.ORG Mon Sep 5 01:40: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 0326E106566B for ; Mon, 5 Sep 2011 01:40:42 +0000 (UTC) (envelope-from alexvpetrov@gmail.com) Received: from mail-pz0-f45.google.com (mail-pz0-f45.google.com [209.85.210.45]) by mx1.freebsd.org (Postfix) with ESMTP id D0BB58FC12 for ; Mon, 5 Sep 2011 01:40:41 +0000 (UTC) Received: by pzk33 with SMTP id 33so13832142pzk.18 for ; Sun, 04 Sep 2011 18:40:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=m6xWVP5NQSXHFfU2FWN+PmqXlS8utsTHiIdWjjSvs3A=; b=cH8QlfX6MUxG9bdRE0Lxj78OgFjttS15RaVeYp0VC4YyL4swxi0sJ2srsU47HUdgfk i2UIIoReWBidjKdNEn/CAYCOIvQGDeE1fgVYjXfGEMbBQvgdeNfT4OEpTn+H0PZr42Bq QNdf9CVJ7ku79LPdSVokxvDIT66/KBmjRfIUE= Received: by 10.68.32.227 with SMTP id m3mr6335215pbi.332.1315186841313; Sun, 04 Sep 2011 18:40:41 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.55.103 with HTTP; Sun, 4 Sep 2011 18:40:21 -0700 (PDT) In-Reply-To: <4E6396F1.6030704@redhat.com> References: <201108311418.53651.hselasky@c2i.net> <4E6396F1.6030704@redhat.com> From: "Alex V. Petrov" Date: Mon, 5 Sep 2011 09:40:21 +0800 Message-ID: To: Hans de Goede Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-multimedia@freebsd.org Subject: Re: Fwd: I have problem with libv4l 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, 05 Sep 2011 01:40:42 -0000 2011/9/4 Hans de Goede > Hi, > > On 08/31/2011 02:18 PM, Hans Petter Selasky wrote: > >> >> ---------- Forwarded Message ---------- >> >> Subject: I have problem with libv4l >> Date: Wednesday 31 August 2011, 13:44:37 >> From: "Alex V. Petrov" >> To: freebsd-multimedia@freebsd.org >> CC: hselasky@freebsd.org >> >> Hi all! >> >> In June, after updating libv4l, my webcam (Mustek Gsmart mini 3) is not >> working (I use pwcview). >> >> $ pwcview >> Webcam set to: 320x240 (sif) at 5 fps >> Segmentation fault (core dumped) >> >> gdb: >> #0 0x0000000800ae1bfb in jpeg_idct_16x16 (cinfo=Variable "cinfo" is not >> available.) at jidctint.c:2760 >> 2760 outptr[0] = range_limit[(int) RIGHT_SHIFT(tmp20 + tmp0, >> [New Thread 803807400 (LWP 101450/pwcview)] >> > > Hmm, this points to a bug in libjpeg, since recent versions of libv4l > have switched to using libjpeg for jpeg decompression, because of speed > reasons, except for some special cases (because some cams produce non > standard compliant JPEG data and the tinyjpeg copy bundled with libv4l > contains several patches to deal with this). > > Can you tell me the usb-id / chipset of your camera, so that I can > try to reproduce? I likely won't be able to reproduce though. What > version of libjpeg are you using, and with which compiler is it > build ? > > Can you perhaps try to reproduce this under Linux? Preferably > Fedora 15? > > There are 2 solutions to this problem: > 1) If it is specific to this webcam / chipset, add a quirk to libv4l's > quirk table to use the embedded tinyjpeg copy > > 2) Figure out what is causing libjpeg to crash and fix it. > > > With 2 being preferable since a segfault inside libjpeg (assuming it > is not the way libv4l uses libjpeg for now), does smell like a security > issue to me. > > Regards, > > Hans > ugen0.2: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON jpeg-8_3 with cc (GCC) 4.2.2 20070831 prerelease [FreeBSD] Fedora 15 will try later. -- ---------------------- Alex V. Petrov From owner-freebsd-multimedia@FreeBSD.ORG Mon Sep 5 07:49:00 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 28B831065670 for ; Mon, 5 Sep 2011 07:49:00 +0000 (UTC) (envelope-from hdegoede@redhat.com) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx1.freebsd.org (Postfix) with ESMTP id 040E18FC08 for ; Mon, 5 Sep 2011 07:48:59 +0000 (UTC) Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p857mx40026806 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 5 Sep 2011 03:48:59 -0400 Received: from shalem.localdomain (vpn1-7-228.ams2.redhat.com [10.36.7.228]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p857mvZA007998 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 5 Sep 2011 03:48:58 -0400 Message-ID: <4E647F84.1080002@redhat.com> Date: Mon, 05 Sep 2011 09:51:32 +0200 From: Hans de Goede User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20110831 Thunderbird/6.0 MIME-Version: 1.0 To: "Alex V. Petrov" References: <201108311418.53651.hselasky@c2i.net> <4E6396F1.6030704@redhat.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 Cc: freebsd-multimedia@freebsd.org Subject: Re: Fwd: I have problem with libv4l 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, 05 Sep 2011 07:49:00 -0000 Hi, On 09/05/2011 03:40 AM, Alex V. Petrov wrote: > 2011/9/4 Hans de Goede > > > ugen0.2: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON Ok, so that is a generic sunplus camera, with a spca504 chipset. I do have one sunplus camera in my (web)cam collection, the Logitech ClickSmart 420. I just gave that a testrun and it works fine. But that has a spca504C and I'm using a different libjpeg version (libjpeg-turbo). > jpeg-8_3 with cc (GCC) 4.2.2 20070831 prerelease [FreeBSD] Ok, well that gcc does not look suspicious, although it is a prerelease ? (I was wondering if you guys maybe switched to clang). You could try downgrading your libjpeg to good old 62 / 6b, but be warned that that has a different ABI, so if you do that you need to rebuild libv4l before testing, and then restore 8.3 again before doing anything else! Actually that might very well be the cause of your issue to begin with, are you using libv4l binaries? And can you see against which libjpeg they were build? If not can you try rebuilding libv4l locally and see if that fixes things ? Regards, Hans From owner-freebsd-multimedia@FreeBSD.ORG Mon Sep 5 11:07:13 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 8ABE0106566B for ; Mon, 5 Sep 2011 11:07:13 +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 779CB8FC16 for ; Mon, 5 Sep 2011 11:07:13 +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 p85B7D95065940 for ; Mon, 5 Sep 2011 11:07:13 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p85B7Cao065938 for freebsd-multimedia@FreeBSD.org; Mon, 5 Sep 2011 11:07:12 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 5 Sep 2011 11:07:12 GMT Message-Id: <201109051107.p85B7Cao065938@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, 05 Sep 2011 11:07:13 -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 ports/159993 multimedia [patch] multimedia/podcatcher: broken with ruby19 o kern/159236 multimedia [pcm] [patch] set PCM_CAP_DEFAULT for the default snd o ports/158987 multimedia multimedia/py-kaa-multimedia: fix build error for grap o kern/158979 multimedia [snd_uadio] snd_uaudio fails to initialize built-in mi o kern/158542 multimedia [snd_hda] hdac0: hdac_get_capabilities: Invalid corb s f kern/158424 multimedia [snd_hda] snd_hda driver doesn't expose 'rec' flag for o ports/158102 multimedia ports/multimedia/mjpegtools triggers internal compiler o ports/157885 multimedia multimedia/mjpegtools 2.0.0 build failure 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 79 problems total. From owner-freebsd-multimedia@FreeBSD.ORG Wed Sep 7 06:29:35 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 39DA61065675 for ; Wed, 7 Sep 2011 06:29:35 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from koala.droso.net (koala.droso.net [IPv6:2001:6c8:130:400::6]) by mx1.freebsd.org (Postfix) with ESMTP id B72878FC22 for ; Wed, 7 Sep 2011 06:29:31 +0000 (UTC) Received: from koala.droso.net (localhost.droso.net [127.0.0.1]) by koala.droso.net (8.14.4/8.14.4) with ESMTP id p876TUIQ064072 for ; Wed, 7 Sep 2011 08:29:30 +0200 (CEST) (envelope-from linimon@FreeBSD.org) Date: Wed, 7 Sep 2011 08:29:30 +0200 (CEST) Message-Id: <201109070629.p876TUIQ064072@koala.droso.net> From: linimon@FreeBSD.org To: multimedia@FreeBSD.org Cc: Subject: FreeBSD ports that you maintain which are currently marked broken X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: portmgr-feedback@FreeBSD.org List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Sep 2011 06:29:35 -0000 Dear FreeBSD port maintainer: As part of an ongoing effort to reduce the number of problems in the FreeBSD ports system, we periodically notify users of ports that are marked as "broken" in their Makefiles. In many cases these ports are failing to compile on some subset of the FreeBSD build environments. The most common problem is that recent versions of -CURRENT include gcc4.2, which is much stricter than older versions. The next most common problem is that compiles succeed on the i386 architecture (e.g. the common Intel PC), but fail on one or more of the other architectures due to assumptions about things such as size of various types, byte-alignment issues, and so forth. In occasional cases we see that the same port may have different errors in different build environments. The script that runs on the build cluster uses heuristics to try to 'guess' the error type to help you isolate problems, but it is only a rough guide. One more note: on occasion, there are transient build errors seen on the build farm. Unfortunately, there is not yet any way for this algorithm to tell the difference (humans are much, much better at this kind of thing.) The errors are listed below. In the case where the same problem exists on more than one build environment, the URL points to the latest errorlog for that type. (By 'build environment' here we mean 'combination of 6.x/7.x/-current with target architecture'.) (Note: the dates are included to help you to gauge whether or not the error still applies to the latest version. The program that generates this report is not yet able to determine this automatically.) portname: audio/gstreamer-plugins-flite broken because: Doesn't work due to link problem in audio/flite build errors: none. overview: http://portsmon.FreeBSD.org/portoverview.py?category=audio&portname=gstreamer-plugins-flite If these errors are ones that you are already aware of, please accept our apologies and ignore this message. On the other hand, if you no longer wish to maintain this port (or ports), please reply with a message stating that, and accept our thanks for your efforts in the past. Every effort has been made to make sure that these error reports really do correspond to a port that you maintain. However, due to the fact that this is an automated process, it may indeed generate false matches. If one of these errors fits that description, please forward this email to the author of this software, Mark Linimon , so that he can attempt to fix the problem in the future. Thanks for your efforts to help improve FreeBSD. From owner-freebsd-multimedia@FreeBSD.ORG Wed Sep 7 06:31:23 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 874CB1065676 for ; Wed, 7 Sep 2011 06:31:23 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from koala.droso.net (koala.droso.net [IPv6:2001:6c8:130:400::6]) by mx1.freebsd.org (Postfix) with ESMTP id 2A01D8FC2C for ; Wed, 7 Sep 2011 06:31:23 +0000 (UTC) Received: from koala.droso.net (localhost.droso.net [127.0.0.1]) by koala.droso.net (8.14.4/8.14.4) with ESMTP id p876VM9i073228 for ; Wed, 7 Sep 2011 08:31:22 +0200 (CEST) (envelope-from linimon@FreeBSD.org) Date: Wed, 7 Sep 2011 08:31:22 +0200 (CEST) Message-Id: <201109070631.p876VM9i073228@koala.droso.net> From: linimon@FreeBSD.org To: multimedia@FreeBSD.org Cc: Subject: FreeBSD ports that you maintain which are currently scheduled for deletion X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: portmgr-feedback@FreeBSD.org List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Sep 2011 06:31:23 -0000 Dear FreeBSD port maintainer: As part of an ongoing effort to reduce the number of problems in the FreeBSD ports system, we periodically schedule removal of ports that have been judged to have outlived their usefulness. Often, this is due to a better alternative having become available and/or the cessation of development on the existing port. In some cases, ports are marked for removal because they fail to build and install correctly from their sources, or otherwise fail in operation. The ports, and the reason and date that they have been scheduled for removal, are listed below. If no one has stepped forward before that time to propose a way to fix the problems (such as via a PR), the ports will be deleted. portname: multimedia/enjoympeg description: An MPEG-1 video player maintainer: multimedia@FreeBSD.org deprecated because: Look like an abandonware, no more public distfiles expiration date: 2011-09-01 build errors: none. overview: http://portsmon.FreeBSD.org/portoverview.py?category=multimedia&portname=enjoympeg If this problem is one that you are already aware of, please accept our apologies and ignore this message. On the other hand, if you no longer wish to maintain this port (or ports), please reply with a message stating that, and accept our thanks for your efforts in the past. Thanks for your efforts to help improve FreeBSD. From owner-freebsd-multimedia@FreeBSD.ORG Wed Sep 7 14:03:19 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 B2516106566C for ; Wed, 7 Sep 2011 14:03:19 +0000 (UTC) (envelope-from SRS0=55JS=3Y=gmx.de=solarcatcher@srs.kundenserver.de) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.10]) by mx1.freebsd.org (Postfix) with ESMTP id 48BBB8FC12 for ; Wed, 7 Sep 2011 14:03:19 +0000 (UTC) Received: from seagull.tc.local (75.231-128-109.adsl-dyn.isp.belgacom.be [109.128.231.75]) by mrelayeu.kundenserver.de (node=mrbap4) with ESMTP (Nemesis) id 0LlVhP-1RYhbJ2aKl-00b5vT; Wed, 07 Sep 2011 15:50:42 +0200 Message-ID: <4E6775F5.4010603@gmx.de> Date: Wed, 07 Sep 2011 15:47:33 +0200 From: SolarCatcher User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:5.0) Gecko/20110714 Thunderbird/5.0 MIME-Version: 1.0 To: freebsd-multimedia@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:kAF6wUBtSuUgjdf9vg9oawkvWmjWHal7KNs4YtLISXC x8eEzIXdA0cGFfHz49I8FDHWVT/JzH/OZX2y/tTkF9g7iENNVy xbdsd22Oqzk/oHjFZqEuVhPFH2lmzD/HUIUXzdaPtvjMgZShHG RgwXrI760sk9Fys/h10+EGaQBswzWzaYZ9si7dt+e/P/om56hi pI5ppE6u+GU6kLfCEdjzk5fiUP8LxToBRCKrCcRtqGZi5aWqxi c2DKKt9ucprzppokonuCcWJo0mEseKcRW8tkXMt8T6t/lIy18f Sjl+woZHDKEtKffYz3nMT4ANPC8Hc97wCkSLO6tiWiCwGCuCMJ 5AVWfgg8Ru0fKdujB0Xc= Subject: M-Audio Transit USB offers mic but no rec device 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, 07 Sep 2011 14:03:19 -0000 Hi, this is my first post to this mailing list. I hope someone can help me with this question. A few days ago I first tried the new audio/madfufw ports and it works very nicely for playback. But I can't get the mic to work as rec device. With mixer I get the following: #mixer -f /dev/mixer1 Mixer vol is currently set to 75:75 Mixer pcm is currently set to 75:75 Mixer mic is currently set to 100:100 #mixer -f /dev/mixer1 -S =rec mic mixer: unknown recording device: mic The rest of the output (dmesg, sndstat, sysctl...) all looks like it should have rec capabilities. Is there any variable that I must manually enable to get the device to work for recording? Here is the output of the different commands: dmesg: uaudio0: on usbus2 uaudio0: Play: 48000 Hz, 2 ch, 16-bit S-LE PCM format uaudio0: Record: 48000 Hz, 2 ch, 16-bit S-LE PCM format uaudio0: No midi sequencer pcm1: on uaudio0 cat /dev/sndstat FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386) Installed devices: pcm0: (play/rec) default pcm1: (play/rec) sysctl dev.pcm.0.rec.vchans: 2 dev.pcm.0.rec.vchanmode: fixed dev.pcm.0.rec.vchanrate: 48000 dev.pcm.0.rec.vchanformat: s16le:2.0 dev.pcm.1.rec.vchans: 1 dev.pcm.1.rec.vchanmode: fixed dev.pcm.1.rec.vchanrate: 48000 dev.pcm.1.rec.vchanformat: s16le:2.0 Does anybody have an idea of how to get the Transit to work as rec device (or how what else to do with the mic device so that I can record something). Many thanks for any suggestions. Regards SolarCatcher From owner-freebsd-multimedia@FreeBSD.ORG Wed Sep 7 19:42:13 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 746FB1065672 for ; Wed, 7 Sep 2011 19:42:13 +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 EE2388FC12 for ; Wed, 7 Sep 2011 19:42:12 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=wJvnH89EauZH5CtPccDXCoR3S15XcsUHhRLViNeYhtc= c=1 sm=1 a=SvYTsOw2Z4kA:10 a=bMB0mDxfWMQA:10 a=WQU8e4WWZSUA:10 a=8nJEP1OIZ-IA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=2O7r5XwVvW-M5OXN9fQA:9 a=KDXbv7IWZ9wXMjRC6HYA:7 a=wPNLvfGTeEIA: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 177364770; Wed, 07 Sep 2011 21:32:07 +0200 From: Hans Petter Selasky To: freebsd-multimedia@freebsd.org Date: Wed, 7 Sep 2011 21:29:24 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <4E6775F5.4010603@gmx.de> In-Reply-To: <4E6775F5.4010603@gmx.de> 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: <201109072129.24226.hselasky@c2i.net> Cc: Subject: Re: M-Audio Transit USB offers mic but no rec device 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, 07 Sep 2011 19:42:13 -0000 On Wednesday 07 September 2011 15:47:33 SolarCatcher wrote: > Hi, > > this is my first post to this mailing list. I hope someone can help me > with this question. > > A few days ago I first tried the new audio/madfufw ports and it works > very nicely for playback. But I can't get the mic to work as rec device. > With mixer I get the following: > > > #mixer -f /dev/mixer1 > Mixer vol is currently set to 75:75 > Mixer pcm is currently set to 75:75 > Mixer mic is currently set to 100:100l Hi, > #mixer -f /dev/mixer1 -S =rec mic > mixer: unknown recording device: mic > What does "mixer recsrc" output? > > The rest of the output (dmesg, sndstat, sysctl...) all looks like it > should have rec capabilities. Is there any variable that I must manually > enable to get the device to work for recording? Try to enable "sysctl hw.usb.uaudio.debug=15". Then replug the device. Maybe some error messages are printed. Usually there is a USB command which switches the recording source. Also try to set the recording rate to 44100 by using: sysctl hw.usb.uaudio.default_rate=44100 > > Here is the output of the different commands: > > dmesg: > uaudio0: on usbus2 > uaudio0: Play: 48000 Hz, 2 ch, 16-bit S-LE PCM format > uaudio0: Record: 48000 Hz, 2 ch, 16-bit S-LE PCM format > uaudio0: No midi sequencer pcm1: on uaudio0 > > cat /dev/sndstat > FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386) > Installed devices: > pcm0: (play/rec) default > pcm1: (play/rec) > > sysctl > dev.pcm.0.rec.vchans: 2 dev.pcm.0.rec.vchanmode: fixed > dev.pcm.0.rec.vchanrate: 48000 dev.pcm.0.rec.vchanformat: s16le:2.0 > dev.pcm.1.rec.vchans: 1 dev.pcm.1.rec.vchanmode: fixed > dev.pcm.1.rec.vchanrate: 48000 dev.pcm.1.rec.vchanformat: s16le:2.0 > > > Does anybody have an idea of how to get the Transit to work as rec > device (or how what else to do with the mic device so that I can record > something). --HPS From owner-freebsd-multimedia@FreeBSD.ORG Thu Sep 8 07:16: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 10B561065674 for ; Thu, 8 Sep 2011 07:16:18 +0000 (UTC) (envelope-from jdevelop@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 9584F8FC13 for ; Thu, 8 Sep 2011 07:16:17 +0000 (UTC) Received: by fxe4 with SMTP id 4so1699420fxe.13 for ; Thu, 08 Sep 2011 00:16:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:mime-version:content-type :content-disposition:user-agent; bh=n+aOxEctiI9SluprGmTkDcAxdGtptd9qQfysTxB7Q+E=; b=gO2EfkFKFnaLZiLJaGjvXqlCEt/QMHJyrL62E1ZDme4XdI708wBZEMrGuex9F9hSAC 2epNjcuuVMvMP0Y1u4nxXaeHos45qnLQU8uUwrwPXe3rTKFzK3AGcswcXzYIJzKhgHNR Ka6/Rv5IwpMB8dUoFBwvisbBj6EYatg8myOIE= Received: by 10.223.44.89 with SMTP id z25mr623377fae.28.1315464859811; Wed, 07 Sep 2011 23:54:19 -0700 (PDT) Received: from localhost ([46.118.103.69]) by mx.google.com with ESMTPS id p9sm301196fah.1.2011.09.07.23.54.18 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 07 Sep 2011 23:54:19 -0700 (PDT) Received: from bofh by localhost with local (Exim 4.75 (FreeBSD)) (envelope-from ) id 1R1PLy-00016Q-9P for freebsd-multimedia@freebsd.org; Thu, 08 Sep 2011 00:08:14 +0300 Date: Thu, 8 Sep 2011 00:08:14 +0300 From: Eugene Dzhurinsky To: freebsd-multimedia@freebsd.org Message-ID: <20110907210814.GA1724@localhost> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="HlL+5n6rz5pIUxbD" Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Web camera stream is flipped upsidedown 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, 08 Sep 2011 07:16:18 -0000 --HlL+5n6rz5pIUxbD Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello! I have some problem with my web camera on Asus K40IN laptop. FreeBSD localhost 8.2-STABLE FreeBSD 8.2-STABLE=20 usbconfig -u 1 -a 2 dump_device_desc ugen1.2: at usbus1, cfg=3D0 md=3DHO= ST spd=3DHIGH (480Mbps) pwr=3DON bLength =3D 0x0012=20 bDescriptorType =3D 0x0001=20 bcdUSB =3D 0x0200=20 bDeviceClass =3D 0x00ef=20 bDeviceSubClass =3D 0x0002=20 bDeviceProtocol =3D 0x0001=20 bMaxPacketSize0 =3D 0x0040=20 idVendor =3D 0x04f2=20 idProduct =3D 0xb071=20 bcdDevice =3D 0x1515=20 iManufacturer =3D 0x0002 iProduct =3D 0x0001 iSerialNumber =3D 0x0003 bNumConfigurations =3D 0x0001 I installed and started webcamd, and now I have the problem - pwcview shows= video flipped upsidedown, same happens in Skype. Is it possible to fix this with some settings for webcamd? Thanks in advance! --=20 Eugene N Dzhurinsky --HlL+5n6rz5pIUxbD Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (FreeBSD) iQEcBAEBAgAGBQJOZ909AAoJEJl2g18bZPdRJt4IAIYKRo5RYN4SMFBp9DHVUFtP 6KtSxWX2WF94XeZ1mSlhaLgxcFQknHAE6AeQtHtZCVmXvE/eVFZwCspLT+fCHRXw 1JLhUnh3te6MupnlF3stJ4xz0/J24h2ffpOBrthXXemZ9atmw4mBZnwwY3s5yjsu t1Bx0RA9VFYXqAZ8ChdjY4AU0AczIf91uzv6EsSzLTMOq3n1Kz513J9MsihQR92S m9gInSq9KFu+Z24N1A72zYh9dRma6SDa4CrOnSiwK5qvIK6SicFbGmISvAm7oGsM hjG24jIgTuHIboJBC3YdojBGcz+oeAsYsiK2WvLttTJ7n/foMctFRn5yYm3FU/g= =SgTz -----END PGP SIGNATURE----- --HlL+5n6rz5pIUxbD-- From owner-freebsd-multimedia@FreeBSD.ORG Thu Sep 8 07:46:36 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 E5420106566C for ; Thu, 8 Sep 2011 07:46:36 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe05.c2i.net [212.247.154.130]) by mx1.freebsd.org (Postfix) with ESMTP id 55F328FC19 for ; Thu, 8 Sep 2011 07:46:35 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=npWEf5XEtLL8qLh8yAfHNcIa2ktE1/5Qf1/k+5E0ZhU= c=1 sm=1 a=CX0pRFDQ4JIA:10 a=WQU8e4WWZSUA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=eq3QMAmQnGGowT92e5IA:9 a=wPNLvfGTeEIA:10 a=8kQB0OdkAAAA:8 a=AbXoaRu7GVRBjFZogBgA:9 a=HKUJo7mZ0wGSCxAfYTYA:7 a=9aOQ2cSd83gA:10 a=aavwdfFMX3zUXxn3:21 a=2G9VhY0fMo-NGMFK:21 a=T_HktwGXBy8R2PltwpMA:9 a=dmzZxMzJcAoQ0_DFmOAA:7 a=4jUF7Nk8RTzCWfgO:21 a=Oewt0-DUWerJntfq:21 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe05.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 174706708; Thu, 08 Sep 2011 09:46:33 +0200 To: freebsd-multimedia@freebsd.org From: Hans Petter Selasky X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq,NwSZ4V" =?iso-8859-15?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-15?q?=0A=09=3AAuzV9=3A=2EhESm-x4h240C=609=3Dw?= Date: Thu, 8 Sep 2011 09:43:51 +0200 MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_3IHaOvaFwI5ByeL" Message-Id: <201109080943.51981.hselasky@c2i.net> Cc: Hans de Goede Subject: Re: Web camera stream is flipped upsidedown 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, 08 Sep 2011 07:46:37 -0000 --Boundary-00=_3IHaOvaFwI5ByeL Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit On Wednesday 07 September 2011 23:08:14 Eugene Dzhurinsky wrote: > Hello! > > I have some problem with my web camera on Asus K40IN laptop. > > FreeBSD localhost 8.2-STABLE FreeBSD 8.2-STABLE > Hi Eugene, LibV4L is responsible for the flipping. Try to patch LibV4L using the attached patch after "make extract patch", and also the installed videodev2.h. --HPS > usbconfig -u 1 -a 2 dump_device_desc > ugen1.2: at usbus1, cfg=0 md=HOST > spd=HIGH (480Mbps) pwr=ON > > bLength = 0x0012 > bDescriptorType = 0x0001 > bcdUSB = 0x0200 > bDeviceClass = 0x00ef > bDeviceSubClass = 0x0002 > bDeviceProtocol = 0x0001 > bMaxPacketSize0 = 0x0040 > idVendor = 0x04f2 > idProduct = 0xb071 > bcdDevice = 0x1515 > iManufacturer = 0x0002 > iProduct = 0x0001 > iSerialNumber = 0x0003 > bNumConfigurations = 0x0001 > > I installed and started webcamd, and now I have the problem - pwcview shows > video flipped upsidedown, same happens in Skype. > > Is it possible to fix this with some settings for webcamd? > > Thanks in advance! --Boundary-00=_3IHaOvaFwI5ByeL Content-Type: text/x-patch; charset="iso-8859-1"; name="libv4l.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="libv4l.patch" commit 593e3a9167b4a194f2483cdf7fec4fe25606e8b8 Author: Hans Petter Selasky Date: Wed Jul 20 14:14:51 2011 +0200 Provide direct way of getting USB device information. Signed-off-by: Hans Petter Selasky diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h index 8b1224c..1ce7b78 100644 --- a/include/linux/videodev2.h +++ b/include/linux/videodev2.h @@ -1916,6 +1916,25 @@ struct v4l2_dbg_chip_ident { __u32 revision; /* chip revision, chip specific */ } __attribute__ ((packed)); +/** + * struct v4l2_usb_info - retrieve USB specific information + * @vid: device vendor ID + * @pid: device product ID + * @bcd: device revision + * @bus: device bus number + * @addr: device address number + * @speed: link speed in kilo bits per second + */ +/* VIDIOC_QUERYUSBINFO */ +struct v4l2_usb_info { + __u32 speed; /* USB link speed in kbit/s */ + __u16 vid; /* USB vendor information */ + __u16 pid; /* USB product information */ + __u16 bcd; /* USB device revision */ + __u8 bus; /* USB number */ + __u8 addr; /* USB address */ +} __attribute__((packed,aligned(64))); + /* * I O C T L C O D E S F O R V I D E O D E V I C E S * @@ -2005,6 +2024,7 @@ struct v4l2_dbg_chip_ident { #define VIDIOC_DQEVENT _IOR('V', 89, struct v4l2_event) #define VIDIOC_SUBSCRIBE_EVENT _IOW('V', 90, struct v4l2_event_subscription) #define VIDIOC_UNSUBSCRIBE_EVENT _IOW('V', 91, struct v4l2_event_subscription) +#define VIDIOC_QUERYUSBINFO _IOR('V', 92, struct v4l2_usb_info) /* Reminder: when adding new ioctls please add support for them to drivers/media/video/v4l2-compat-ioctl32.c as well! */ diff --git a/lib/libv4lconvert/control/libv4lcontrol.c b/lib/libv4lconvert/control/libv4lcontrol.c index b11d96c..098c7bd 100644 --- a/lib/libv4lconvert/control/libv4lcontrol.c +++ b/lib/libv4lconvert/control/libv4lcontrol.c @@ -637,6 +637,13 @@ static const struct v4lcontrol_flags_info v4lcontrol_flags[] = { static const struct v4l2_queryctrl fake_controls[]; +#ifdef __FreeBSD__ +static void v4lcontrol_get_dmi_string(const char *string, char *buf, int size) +{ + /* TODO */ + memset(buf, 0, size); +} +#else static void v4lcontrol_get_dmi_string(const char *string, char *buf, int size) { FILE *f; @@ -663,7 +670,24 @@ static void v4lcontrol_get_dmi_string(const char *string, char *buf, int size) s[strlen(s) - 1] = 0; fclose(f); } +#endif +#ifdef __FreeBSD__ +static int +v4lcontrol_get_usb_info(struct v4lcontrol_data *data, unsigned short *vendor_id, + unsigned short *product_id, int *speed) +{ + struct v4l2_usb_info usb_info; + + if (SYS_IOCTL(data->fd, VIDIOC_QUERYUSBINFO, &usb_info) == 0) { + *vendor_id = usb_info.vid; + *product_id = usb_info.pid; + *speed = usb_info.speed; + return (1); + } + return (0); +} +#else static int v4lcontrol_get_usb_info(struct v4lcontrol_data *data, unsigned short *vendor_id, unsigned short *product_id, int *speed) @@ -758,6 +782,7 @@ static int v4lcontrol_get_usb_info(struct v4lcontrol_data *data, return 1; } +#endif static void v4lcontrol_get_flags_from_db(struct v4lcontrol_data *data, unsigned short vendor_id, unsigned short product_id) --Boundary-00=_3IHaOvaFwI5ByeL Content-Type: text/x-patch; charset="iso-8859-1"; name="videodev2.h.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="videodev2.h.patch" diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h index 8b1224c..1ce7b78 100644 --- a/include/linux/videodev2.h +++ b/include/linux/videodev2.h @@ -1916,6 +1916,25 @@ struct v4l2_dbg_chip_ident { __u32 revision; /* chip revision, chip specific */ } __attribute__ ((packed)); +/** + * struct v4l2_usb_info - retrieve USB specific information + * @vid: device vendor ID + * @pid: device product ID + * @bcd: device revision + * @bus: device bus number + * @addr: device address number + * @speed: link speed in kilo bits per second + */ +/* VIDIOC_QUERYUSBINFO */ +struct v4l2_usb_info { + __u32 speed; /* USB link speed in kbit/s */ + __u16 vid; /* USB vendor information */ + __u16 pid; /* USB product information */ + __u16 bcd; /* USB device revision */ + __u8 bus; /* USB number */ + __u8 addr; /* USB address */ +} __attribute__((packed,aligned(64))); + /* * I O C T L C O D E S F O R V I D E O D E V I C E S * @@ -2005,6 +2024,7 @@ struct v4l2_dbg_chip_ident { #define VIDIOC_DQEVENT _IOR('V', 89, struct v4l2_event) #define VIDIOC_SUBSCRIBE_EVENT _IOW('V', 90, struct v4l2_event_subscription) #define VIDIOC_UNSUBSCRIBE_EVENT _IOW('V', 91, struct v4l2_event_subscription) +#define VIDIOC_QUERYUSBINFO _IOR('V', 92, struct v4l2_usb_info) /* Reminder: when adding new ioctls please add support for them to drivers/media/video/v4l2-compat-ioctl32.c as well! */ --Boundary-00=_3IHaOvaFwI5ByeL-- From owner-freebsd-multimedia@FreeBSD.ORG Thu Sep 8 07:47:25 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 9F0AB106564A for ; Thu, 8 Sep 2011 07:47:25 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe04.c2i.net [212.247.154.98]) by mx1.freebsd.org (Postfix) with ESMTP id 276488FC0A for ; Thu, 8 Sep 2011 07:47:24 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=nSp/lo0FDChGKjONaW+LFp6gLzUQbrH1VOzHQZWpGes= c=1 sm=1 a=SvYTsOw2Z4kA:10 a=CX0pRFDQ4JIA:10 a=WQU8e4WWZSUA:10 a=Q9fys5e9bTEA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=hp28I9e5uZqwqBYOEDgA:9 a=PUjeQqilurYA:10 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe04.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 176425885; Thu, 08 Sep 2011 09:47:21 +0200 From: Hans Petter Selasky To: freebsd-multimedia@freebsd.org Date: Thu, 8 Sep 2011 09:44:40 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <201109080943.51981.hselasky@c2i.net> In-Reply-To: <201109080943.51981.hselasky@c2i.net> 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-15" Content-Transfer-Encoding: 7bit Message-Id: <201109080944.40126.hselasky@c2i.net> Cc: Hans de Goede Subject: Re: Web camera stream is flipped upsidedown 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, 08 Sep 2011 07:47:25 -0000 On Thursday 08 September 2011 09:43:51 Hans Petter Selasky wrote: > On Wednesday 07 September 2011 23:08:14 Eugene Dzhurinsky wrote: > > Hello! > > > > I have some problem with my web camera on Asus K40IN laptop. > > > > FreeBSD localhost 8.2-STABLE FreeBSD 8.2-STABLE > > Hi Eugene, > > LibV4L is responsible for the flipping. > > Try to patch LibV4L using the attached patch after "make extract patch", > and also the installed videodev2.h. > Forgot to say, you need to install webcamd-3.0.0.2 . --HPS From owner-freebsd-multimedia@FreeBSD.ORG Thu Sep 8 12:57:13 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 91DB1106566C; Thu, 8 Sep 2011 12:57:13 +0000 (UTC) (envelope-from eadler@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 6897E8FC16; Thu, 8 Sep 2011 12:57:13 +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 p88CvDnC080528; Thu, 8 Sep 2011 12:57:13 GMT (envelope-from eadler@freefall.freebsd.org) Received: (from eadler@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p88CvDSm080524; Thu, 8 Sep 2011 12:57:13 GMT (envelope-from eadler) Date: Thu, 8 Sep 2011 12:57:13 GMT Message-Id: <201109081257.p88CvDSm080524@freefall.freebsd.org> To: eadler@FreeBSD.org, freebsd-multimedia@FreeBSD.org, freebsd-multimedia@FreeBSD.org From: eadler@FreeBSD.org Cc: Subject: Re: ports/157885: multimedia/mjpegtools 2.0.0 triggers gcc internal compiler error 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, 08 Sep 2011 12:57:13 -0000 Old Synopsis: multimedia/mjpegtools 2.0.0 build failure New Synopsis: multimedia/mjpegtools 2.0.0 triggers gcc internal compiler error Class-Changed-From-To: sw-bug->change-request Class-Changed-By: eadler Class-Changed-When: Thu Sep 8 12:55:42 UTC 2011 Class-Changed-Why: synopsis http://www.freebsd.org/cgi/query-pr.cgi?pr=157885 From owner-freebsd-multimedia@FreeBSD.ORG Thu Sep 8 12:57:52 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 81CA6106566C; Thu, 8 Sep 2011 12:57:52 +0000 (UTC) (envelope-from eadler@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 588D88FC1B; Thu, 8 Sep 2011 12:57:52 +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 p88CvqPn080641; Thu, 8 Sep 2011 12:57:52 GMT (envelope-from eadler@freefall.freebsd.org) Received: (from eadler@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p88CvpPD080637; Thu, 8 Sep 2011 12:57:51 GMT (envelope-from eadler) Date: Thu, 8 Sep 2011 12:57:51 GMT Message-Id: <201109081257.p88CvpPD080637@freefall.freebsd.org> To: ports-mjpegtools-jun11@oldach.net, eadler@FreeBSD.org, freebsd-multimedia@FreeBSD.org From: eadler@FreeBSD.org Cc: Subject: Re: ports/158102: ports/multimedia/mjpegtools triggers internal compiler error 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, 08 Sep 2011 12:57:52 -0000 Synopsis: ports/multimedia/mjpegtools triggers internal compiler error State-Changed-From-To: open->closed State-Changed-By: eadler State-Changed-When: Thu Sep 8 12:57:51 UTC 2011 State-Changed-Why: Duplicate of ports/157885 which has a workaround http://www.freebsd.org/cgi/query-pr.cgi?pr=158102 From owner-freebsd-multimedia@FreeBSD.ORG Thu Sep 8 14:33:04 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 7BA0D1065670 for ; Thu, 8 Sep 2011 14:33:04 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-vw0-f50.google.com (mail-vw0-f50.google.com [209.85.212.50]) by mx1.freebsd.org (Postfix) with ESMTP id 35B648FC13 for ; Thu, 8 Sep 2011 14:33:03 +0000 (UTC) Received: by vws14 with SMTP id 14so1960vws.37 for ; Thu, 08 Sep 2011 07:33:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:from:date:message-id:subject:to:content-type; bh=ofPCXoAAHrTkCbq+N7Rqj3iylZRB3pDu6NdVq2x9o8M=; b=bjn3my3Nlb9X0q9MhDE0j/bwX+4oyRFQpAG9LoFz5nd7EpHnefVnq33AML/avDC3GJ wFkgc/KEBo94S87tIcBO11pIRvY+pYA1u6ffBsV5luQLTqPAo9EWFmm7VkO/4IUFlJVf ZukoyWwowPIOLuRoKnxCluYTlFPlDNuXQe1f4= Received: by 10.52.108.66 with SMTP id hi2mr774051vdb.243.1315490874399; Thu, 08 Sep 2011 07:07:54 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.180.72 with HTTP; Thu, 8 Sep 2011 07:07:24 -0700 (PDT) From: Eitan Adler Date: Thu, 8 Sep 2011 10:07:24 -0400 Message-ID: To: multimedia@freebsd.org Content-Type: text/plain; charset=UTF-8 Cc: Subject: [patch] multimedia/mjpegtools build failure, implicit dependency issue 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, 08 Sep 2011 14:33:04 -0000 Hi, A user reported to me some problems with the multimedia/mjpegtools port. 1) ports/157885 results in an ICE with optimizations enabled 2) The port does not explicitly disable SDL when WITHOUT_SDL is requested. Here is a patch that fixes these issues. Index: Makefile =================================================================== RCS file: /home/ncvs/ports/multimedia/mjpegtools/Makefile,v retrieving revision 1.74 diff -u -r1.74 Makefile --- Makefile 2 Jul 2011 19:59:19 -0000 1.74 +++ Makefile 8 Sep 2011 13:16:36 -0000 @@ -30,7 +30,9 @@ WANT_SDL= yes USE_GMAKE= yes USE_AUTOTOOLS= libtool +CFLAGS= -O0 CONFIGURE_ENV= LDFLAGS="${LDFLAGS}" \ + CFLAGS="${CFLAGS}" \ PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \ PTHREAD_LIBS="${PTHREAD_LIBS}" \ ac_cv_lib_Xxf86dga_XF86DGAQueryExtension=no @@ -70,6 +72,7 @@ .if defined(WITHOUT_SDL) CONFIGURE_ENV+= ac_cv_path_SDL_CONFIG=no +CONFIGURE_ARGS+=--without-libsdl PLIST_SUB+= SDL:="@comment " .else USE_SDL+= gfx sdl -- Eitan Adler From owner-freebsd-multimedia@FreeBSD.ORG Sat Sep 10 09:28:08 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 635CF1065676 for ; Sat, 10 Sep 2011 09:28:08 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id B38BF8FC0A for ; Sat, 10 Sep 2011 09:28:07 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id MAA12612 for ; Sat, 10 Sep 2011 12:17:55 +0300 (EEST) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1R2JhD-000Exw-9a for freebsd-multimedia@FreeBSD.ORG; Sat, 10 Sep 2011 12:17:55 +0300 Message-ID: <4E6B2B42.3040006@FreeBSD.org> Date: Sat, 10 Sep 2011 12:17:54 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:6.0.2) Gecko/20110907 Thunderbird/6.0.2 MIME-Version: 1.0 To: freebsd-multimedia@FreeBSD.org References: <20110908212945.GA22059@darkbeer.org> In-Reply-To: <20110908212945.GA22059@darkbeer.org> X-Enigmail-Version: undefined X-Forwarded-Message-Id: <20110908212945.GA22059@darkbeer.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: Fwd: Trivial sound fix that should be in 9. 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: Sat, 10 Sep 2011 09:28:08 -0000 Can anyone on this list please review the following PR and patch? It seems sufficiently trivial, so if nobody reviews or objects to it, I will try to ask for RE approval of this patch in a couple of days. -------- Original Message -------- A while back a colleague sent this fix in for OSS4 it's extremely trivial and should really make it into 9 as more software is being affected. http://www.freebsd.org/cgi/query-pr.cgi?pr=156433 Since ariff has been idle for a while it was suggested I send an email to the last person to touch the file. Thanks! Amar. From owner-freebsd-multimedia@FreeBSD.ORG Sat Sep 10 10:24: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 4A60D10656F7; Sat, 10 Sep 2011 10:24:44 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe05.c2i.net [212.247.154.130]) by mx1.freebsd.org (Postfix) with ESMTP id 9F4A88FC17; Sat, 10 Sep 2011 10:24:40 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=npWEf5XEtLL8qLh8yAfHNcIa2ktE1/5Qf1/k+5E0ZhU= c=1 sm=1 a=SvYTsOw2Z4kA:10 a=AyQZo1s1oNUA:10 a=WQU8e4WWZSUA:10 a=8nJEP1OIZ-IA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=6I5d2MoRAAAA:8 a=KBpVlFAR-d7LEG76LXIA:9 a=Ye0B38K_9MZLi0l6V_4A:7 a=wPNLvfGTeEIA:10 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe05.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 175650905; Sat, 10 Sep 2011 12:24:37 +0200 From: Hans Petter Selasky To: freebsd-multimedia@freebsd.org Date: Sat, 10 Sep 2011 12:21:52 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <20110908212945.GA22059@darkbeer.org> <4E6B2B42.3040006@FreeBSD.org> In-Reply-To: <4E6B2B42.3040006@FreeBSD.org> 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: <201109101221.52950.hselasky@c2i.net> Cc: Andriy Gapon Subject: Re: Fwd: Trivial sound fix that should be in 9. 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: Sat, 10 Sep 2011 10:24:44 -0000 On Saturday 10 September 2011 11:17:54 Andriy Gapon wrote: > Can anyone on this list please review the following PR and patch? > It seems sufficiently trivial, so if nobody reviews or objects to it, I > will try to ask for RE approval of this patch in a couple of days. > > -------- Original Message -------- > > A while back a colleague sent this fix in for OSS4 it's extremely trivial > and should really make it into 9 as more software is being affected. > > http://www.freebsd.org/cgi/query-pr.cgi?pr=156433 > > Since ariff has been idle for a while it was suggested I send an email to > the last person to touch the file. > Hi, Except for the style, the patch looks good. IOCTL arguments are however not bigger than 32-bit, even though unsigned long is used. I think the problem here is sign-extension from int to unsigned long. If the xcmd was unsigned int, that would solve the problem aswell. --HPS From owner-freebsd-multimedia@FreeBSD.ORG Sat Sep 10 18:21:13 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 DD909106564A for ; Sat, 10 Sep 2011 18:21:13 +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 636528FC0C for ; Sat, 10 Sep 2011 18:21:12 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=wJvnH89EauZH5CtPccDXCoR3S15XcsUHhRLViNeYhtc= c=1 sm=1 a=SvYTsOw2Z4kA:10 a=CX0pRFDQ4JIA:10 a=WQU8e4WWZSUA:10 a=8nJEP1OIZ-IA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=jTo0IMjMfgGhiqRbDGEA:9 a=wPNLvfGTeEIA: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 178597004; Sat, 10 Sep 2011 20:21:10 +0200 From: Hans Petter Selasky To: Eugene Dzhurinsky Date: Sat, 10 Sep 2011 20:18:26 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <201109080943.51981.hselasky@c2i.net> <201109091259.11041.hselasky@c2i.net> 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: <201109102018.27015.hselasky@c2i.net> Cc: freebsd-multimedia@freebsd.org Subject: Re: Web camera stream is flipped upsidedown 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: Sat, 10 Sep 2011 18:21:13 -0000 Hi, I tried the patching over here: cd /usr/local/ cat videodev2.h.patch | patch -p1 cd /usr/port/multimedia/libv4l make patch extract cd work/v4l-utils-0.8.4 cat libv4l.patch | patch -p1 cd .. cd .. make all deinstall install clean --HPS