From owner-freebsd-drivers@FreeBSD.ORG Sun Feb 23 00:24:03 2014 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DC33D413; Sun, 23 Feb 2014 00:24:03 +0000 (UTC) Received: from mail-yh0-x231.google.com (mail-yh0-x231.google.com [IPv6:2607:f8b0:4002:c01::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 745061BE3; Sun, 23 Feb 2014 00:24:03 +0000 (UTC) Received: by mail-yh0-f49.google.com with SMTP id t59so3911972yho.8 for ; Sat, 22 Feb 2014 16:24:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=DRPYypv9baE8M0IdPAHFmzqV7ICAkfw5hEEm6K5xlJQ=; b=J3ROv4JXeT93EwAmSdpwxhyPQqoYX/c50CV7M/KdFTZe2zuKFlm7aSbKgaPjURlAjR WZnKsHwKDZ7IbJ53S2DBdwFfsLPJprT5MG47r0mO43/wYhOPaW5sYTfDFmeIEtwPgJaF xDj0F9yg3EgjgaMiWOQvrHD26+J2poQrYAZbrqvF/0Xw0IgFfhDjZSp7i09OvTHxP8uz Mr72EptFo5ZBA32rnnb01VJ90KF7Kp6B5zYi28ddsoor5z3cztqYzLJys7iDCYcO6dzl ui/bEWz8ggYsjLIwUy3Nby1yc4umIZ5ybBVFezAjqvyT4KFX+HgC8Lr13xLbu8xN0DKZ uQdw== MIME-Version: 1.0 X-Received: by 10.236.149.2 with SMTP id w2mr20720775yhj.114.1393115042626; Sat, 22 Feb 2014 16:24:02 -0800 (PST) Received: by 10.170.136.193 with HTTP; Sat, 22 Feb 2014 16:24:02 -0800 (PST) In-Reply-To: References: <52ECA7F4.4000300@gmail.com> Date: Sun, 23 Feb 2014 08:24:02 +0800 Message-ID: Subject: Re: Macbook touchpad driver From: Huang Wen Hui To: Rohit Grover Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: Alfred Perlstein , freebsd-drivers@freebsd.org, "Danilo E. Gondolfo" , Cory Smelosky , hselasky@freebsd.org X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: huanghwh@gmail.com List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Feb 2014 00:24:03 -0000 Hi Rohit, nice work! I tested it and have some questions: 1. 2 fingers for scrolling is not implemented, right? 2. 2 fingers for page "back/forward" also not implemented? 3. Right button is more often used than middle button, so 2 fingers for right button, 3 fingers for middle button maybe better? Cheers, Huang Wen Hui 2014-02-22 21:52 GMT+08:00 Rohit Grover : > Hello, > > I have merged the recent work done by Huang Wen Hui to support Wellspring > trackpads into the original 'atp' driver. > > 'atp' supports two distinct families of Apple trackpad products: the older > Fountain/Geyser and the latest Wellspring trackpads. The first version made > its appearance with FreeBSD8 and worked only with the Fountain/Geyser > hardware. A fork of this driver for Wellspring was contributed by Huang Wen > Hui. This new driver unifies the Wellspring effort and also improves upon > the > original work. > > I have been testing it on a recent MacBookPro (Wellspring trackpad) and I > am satisfied with it. It includes all the features of the original driver > and should be able to support both families of hardware. > > I would like to solicit help to test this driver widely; especially on > older Fountain/Geyser hardware. I would also like to initiate the review > process to commit this to FreeBSD. > > https://github.com/rgrover/freebsd-atp > > thanks, > rohit. > > > On Sat, Feb 8, 2014 at 11:20 AM, Rohit Grover wrote: > >> Hi Huang, >> >> I've started my work on the merge of your wellspring port and atp. >> Progress of this work can be tracked at >> https://github.com/rgrover/freebsd-atp >> >> regards, >> rohit. >> >> >> >> On Sat, Feb 1, 2014 at 8:53 AM, Rohit Grover wrote: >> >>> Hi, >>> >>> Thanks for bringing this to my attention. I'll try to merge the two. >>> >>> thanks a lot! >>> rohit. >>> >>> On 02/01/2014 01:26 AM, Huang Wen Hui wrote: >>> > Hi, >>> > In head there is a working driver base on atp(4) and bcm5974.c for >>> > modem Macbooks, It is better to merge to ATP(4). >>> > I am not sure how is hard to do it. >>> > >>> > Cheers, >>> > >>> > Huang Wen Hui. >>> > >>> > >>> http://docs.freebsd.org/cgi/getmsg.cgi?fetch=70658+0+current/freebsd-current >>> >>> >>> >> > From owner-freebsd-drivers@FreeBSD.ORG Thu Feb 27 06:22:12 2014 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 934096AA for ; Thu, 27 Feb 2014 06:22:12 +0000 (UTC) Received: from nm13-vm0.bullet.mail.bf1.yahoo.com (nm13-vm0.bullet.mail.bf1.yahoo.com [98.139.213.79]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 021C61BA5 for ; Thu, 27 Feb 2014 06:22:11 +0000 (UTC) Received: from [98.139.215.142] by nm13.bullet.mail.bf1.yahoo.com with NNFMP; 27 Feb 2014 06:19:49 -0000 Received: from [98.139.212.248] by tm13.bullet.mail.bf1.yahoo.com with NNFMP; 27 Feb 2014 06:19:49 -0000 Received: from [127.0.0.1] by omp1057.mail.bf1.yahoo.com with NNFMP; 27 Feb 2014 06:19:49 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 651550.60118.bm@omp1057.mail.bf1.yahoo.com Received: (qmail 60983 invoked by uid 60001); 27 Feb 2014 06:19:49 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1393481989; bh=53HlNoFmoUuepNuhvuGbbJHoBMyHZFKtVa7XK3XgTXg=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=BqktFvY+xvabjRQUt+EV3VnTZca+LpJtmN1lwX8ydm3oaZrREmXsr1F1ZBTdfroxmsKi3Hk/yZ7aN9bTMOPwepF/WPCy+bLwLieCZvDRQ//hFtbkN42dwe7keSs00VzqoTYkVXew/RVo2Ioqw//ZGIDJ9+u+ZQC5DqrGBwLAVaI= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=Zy3/0q2VNtnmTJMcNJRZvhoqjgmR4D/NkTlUsAD9qP2ax+f7kLeThU9O/A9P4XZtS6avrAhpV20uM1rTv8W8lmgcVqushoDRjjJOAY9mb/M5Sw8FzzXUR+YAYTS6A3cjKSBsVT+tLZJu99pWGH0j3IgbyL1v9B+mZnuec5uIbEA=; X-YMail-OSG: mjnpoIcVM1lWSNa3t37F0FaGBTrsi0a49MklXpYEGRjSymj TZUWtnjCHyUeon9phCKJowYZODoCJC9QIrsUA6yLrj6Im9YtB3lPC9IyGG4D heLRnhQtBhFdCzKahOMxtvVKVhzukoiiSIBX00MlKiOqopBeK4BfV8BQ7p5G 0HqMqYys9TyvJctRdx6u9O94yekvI9jqIJ.SGqfmM8s1Nl_AA4BeImo6XkXQ PJj5G9utYK8xnRSwBc2WPQ392cj2RIpTwmRS82JhmJt6axHhlfEQ1ge7BFhj rQbTY_pE2RXi3iLoZDhNFP76ZEwyHJixPgjmBkuurow1.84OJgWrmMipxLJH NycsM_nD5OZa4VsD9trRDb9Dccf1yvifa.MkyCd_iKtvzR.Ti5WWgNMDnswN _6_f9c8oDLCGyfHiAYLotAao7UvnKuo1X53b2RUOg14P8fxHKdhlEcCmommY WIY85cpoFF_cPFWZqh6HSPMvIRXtxMdKup_B1LSNOhri.sKnTCgmxsqdJhM1 k3w925900SjcV8s3dM5fN_LtDjo6qKSEgAq9DaQ-- Received: from [89.165.120.140] by web162704.mail.bf1.yahoo.com via HTTP; Wed, 26 Feb 2014 22:19:49 PST X-Rocket-MIMEInfo: 002.001, V2Ugd2FudCB0byBhZGQgb3VyIG93biBJRCBmb3IgZWFjaCBvZiBvdXIgbW9kdWxlcyAocGNpIGNhcmRzKSwgaXMgaXQgcG9zc2libGUgdG8gd3JpdGUgdGhpcyBJRCBvbiBzb21ld2hlcmUgb2YgdGhlIGNhcmQgbGlrZSBFRVBST00_CgpUaGFua3MgaW4gYWR2YW5jZQEwAQEBAQ-- X-Mailer: YahooMailWebService/0.8.177.636 Message-ID: <1393481989.22330.YahooMailNeo@web162704.mail.bf1.yahoo.com> Date: Wed, 26 Feb 2014 22:19:49 -0800 (PST) From: Nomad Esst Subject: Writting eeprom To: "freebsd-hackers@freebsd.org" , "freebsd-drivers@freebsd.org" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.17 X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Nomad Esst List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Feb 2014 06:22:12 -0000 We want to add our own ID for each of our modules (pci cards), is it possible to write this ID on somewhere of the card like EEPROM? Thanks in advance From owner-freebsd-drivers@FreeBSD.ORG Thu Feb 27 18:15:49 2014 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 429108C7; Thu, 27 Feb 2014 18:15:49 +0000 (UTC) Received: from h2.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1A4001516; Thu, 27 Feb 2014 18:15:48 +0000 (UTC) Received: from h2.funkthat.com (localhost [127.0.0.1]) by h2.funkthat.com (8.14.3/8.14.3) with ESMTP id s1RIFlLd058864 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 27 Feb 2014 10:15:48 -0800 (PST) (envelope-from jmg@h2.funkthat.com) Received: (from jmg@localhost) by h2.funkthat.com (8.14.3/8.14.3/Submit) id s1RIFlQW058863; Thu, 27 Feb 2014 10:15:47 -0800 (PST) (envelope-from jmg) Date: Thu, 27 Feb 2014 10:15:47 -0800 From: John-Mark Gurney To: Nomad Esst Subject: Re: Writting eeprom Message-ID: <20140227181547.GD47921@funkthat.com> Mail-Followup-To: Nomad Esst , "freebsd-hackers@freebsd.org" , "freebsd-drivers@freebsd.org" References: <1393481989.22330.YahooMailNeo@web162704.mail.bf1.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1393481989.22330.YahooMailNeo@web162704.mail.bf1.yahoo.com> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.2-RELEASE i386 X-PGP-Fingerprint: 54BA 873B 6515 3F10 9E88 9322 9CB1 8F74 6D3F A396 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-TipJar: bitcoin:13Qmb6AeTgQecazTWph4XasEsP7nGRbAPE X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (h2.funkthat.com [127.0.0.1]); Thu, 27 Feb 2014 10:15:48 -0800 (PST) Cc: "freebsd-hackers@freebsd.org" , "freebsd-drivers@freebsd.org" X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Feb 2014 18:15:49 -0000 Nomad Esst wrote this message on Wed, Feb 26, 2014 at 22:19 -0800: > We want to add our own ID for each of our modules (pci cards), is it possible to write this ID on somewhere of the card like EEPROM? You need to be more specific in your question. Some pci cards do not have any EEPROM or programable memory on them, so it would be imposible to write to them... with out know which pci cards you are talking about it is not possible to answer your question.. You may have sent this to the wrong list since we don't know the context you are refering to.. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." From owner-freebsd-drivers@FreeBSD.ORG Thu Mar 6 14:13:56 2014 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BA30B7E0; Thu, 6 Mar 2014 14:13:56 +0000 (UTC) Received: from sender1.zohomail.com (sender1.zohomail.com [72.5.230.95]) by mx1.freebsd.org (Postfix) with ESMTP id 9F00A9C0; Thu, 6 Mar 2014 14:13:56 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=subject:from:to:content-type:date:message-id:mime-version; b=TbKtV4E48CcneUxWTX7odaq/XGHnJJYcwRW60U7AQGqauC11aEP7h4OYGNnZG0KehgDaj8xSOK8K dBa5KUcdEDLGRv3hCk4xXtydrLKKwd+PkCYbBhr/02U1tszSKwz0 Received: from [10.1.2.6] (46.229.54.117 [46.229.54.117]) by mx.zohomail.com with SMTPS id 1394115229136713.3836502795591; Thu, 6 Mar 2014 06:13:49 -0800 (PST) Subject: Reading burned-in NIC MAC address from the user space. From: clutton To: FreeBSD Hackers , freebsd-drivers@freebsd.org Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-rRtYReD8DgP0++REMgX1" Date: Thu, 06 Mar 2014 16:13:42 +0200 Message-ID: <1394115222.8935.17.camel@eva02> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port X-Zoho-Virus-Status: 1 X-ZohoMail: Ss SS_10 UW UB UW UB SF_TD_EXT SGR3_1_19024_40 X-ZohoMail-Owner: <1394115222.8935.17.camel@eva02>+zmo_0_ X-ZohoMail-Sender: 46.229.54.117 X-ZohoMailClient: External X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Mar 2014 14:13:56 -0000 --=-rRtYReD8DgP0++REMgX1 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi lists. I'm porting a GNU macchanger to the FreeBSD. Everything has almost done, except restoring the mac to the original one. The Linux users can exploit ioctl with SIOCETHTOOL pointing to a proper ifreq(ETHTOOL_GPERMADDR), I have no idea how to do this using FreeBSD, is it even possible? --=-rRtYReD8DgP0++REMgX1 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQIcBAABAgAGBQJTGIKWAAoJECNkWbjnbjuiwU8P/04mq0aGYhWB+LOZ0ytTGSGm HJgbbGOtuoJ4k02tvw0eIIaIkIXZ3uCehFCbxlLLdNbW1Zk9Zy2zIZ2e4TMnsrFe 6YhP3FBdmPs3a6XkpF0cmTYdWAx0mglIcLAWqF/8IPzf7VRfk1iiQh99//DucfiZ 7fSJPgBfzGELTLckOh+VILbe6MFIj3gy8OtJQUkBV59oANwZY7aml27qTucE3PQq MxebbOdDEv0ctpxLdsu1JUzzw6iB9wfGmrLDlITylHQIBcy1RtAOOkPTCOxC44ii MUoXBSV8Lg1Kl29nwGUqrCjdWxmZvmTYfO3jsVHcW4KtpS0yfEwdTV9mtdp7CRwr OLg9UiweLFTnUxvkSHxb30QliBpkmCOVZEC0MF60aapgdZvkQyoOT6len76WMh/+ h4MbLKBfP/xTE9fqfBt+/UA6VTlHfPSaXwHkGgz2boELGzkNJOroH5Uu9kLhSckd PjXLUsP5uTV7skjFK57XUmmAsxTJTFctUxEJKzu5RjOecNDJg8GuV7w7tRgHIkGM 48jrqp5Vogf3XVNWYv1tHbEZCHE8+AaRFD5eQuu88Sk1kdFxvWTil9hgYbuR6sw/ zb3YgrDxkg3EQHczUlicj2uyZXGecV3N/CGOlLIo5WfBXhPkTL6X5/EOmnJ5DoTV Mt/THI9DBz4++POaWucL =ORkF -----END PGP SIGNATURE----- --=-rRtYReD8DgP0++REMgX1-- From owner-freebsd-drivers@FreeBSD.ORG Thu Mar 6 15:35:11 2014 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B4D71F20 for ; Thu, 6 Mar 2014 15:35:11 +0000 (UTC) Received: from mail-ig0-f177.google.com (mail-ig0-f177.google.com [209.85.213.177]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7F926326 for ; Thu, 6 Mar 2014 15:35:11 +0000 (UTC) Received: by mail-ig0-f177.google.com with SMTP id ur14so7664687igb.4 for ; Thu, 06 Mar 2014 07:35:04 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:content-type:mime-version:subject:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=ENtx/uvi1cNhvXDJPWLiFDBDzoCm+esX71Ya10o88z8=; b=XmCHbEDBIUAKKKEKxnAg2G/UmbCTqW410oWwkPkWB+e4cgbvt1ZigSQ8N+BJBHnd3T tcq5r+kaAGRjgbjhbZsKp8kOXjjcv7YiJkN0TGMPzUcTZogU8HWYhFlcatBWk/1+yIJv SGyPLQ0Y2pIwXfckmc/pR5YluDDdN95p8OY5siOXGAjF8z9bR8OPd2V8WutWGA/g0WF5 1STaRw6L5/fw7gRcsf9bPcQwDHt/HIHzzyhPoHXPMYe/3Ksarki4PBaZVucWbymm4vVP qE1Wnxb7lt90hJFfRtph3Z8FnjhLNeLrcGXbBBxzMLfCzZVnfjxZgTLV9+WTFG6B/pJp Eewg== X-Gm-Message-State: ALoCoQmOqNWta8yRr8bwfUqOfrEk3cYAJyzrY1IqOmnGojjzJc75VxnA76ZhR/r2cyD5IEIRLAvx X-Received: by 10.50.182.170 with SMTP id ef10mr16736360igc.9.1394120104490; Thu, 06 Mar 2014 07:35:04 -0800 (PST) Received: from netflix-mac.bsdimp.com (50-78-194-198-static.hfc.comcastbusiness.net. [50.78.194.198]) by mx.google.com with ESMTPSA id u1sm25341574igm.8.2014.03.06.07.35.03 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 06 Mar 2014 07:35:04 -0800 (PST) Sender: Warner Losh Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) Subject: Re: Reading burned-in NIC MAC address from the user space. From: Warner Losh In-Reply-To: <1394115222.8935.17.camel@eva02> Date: Thu, 6 Mar 2014 08:35:03 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <10C93415-7C49-459E-921E-EE358C3B886C@bsdimp.com> References: <1394115222.8935.17.camel@eva02> To: clutton X-Mailer: Apple Mail (2.1874) Cc: FreeBSD Hackers , freebsd-drivers@freebsd.org X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Mar 2014 15:35:11 -0000 On Mar 6, 2014, at 7:13 AM, clutton wrote: > Hi lists. >=20 > I'm porting a GNU macchanger to the FreeBSD. Everything has almost = done, > except restoring the mac to the original one. >=20 > The Linux users can exploit ioctl with SIOCETHTOOL pointing to a = proper > ifreq(ETHTOOL_GPERMADDR), I have no idea how to do this using FreeBSD, > is it even possible? I=92d check the source for ifconfig. ifconfig ep0 link 1:2:3:4:5:6 does the trick=85 Warner= From owner-freebsd-drivers@FreeBSD.ORG Thu Mar 6 18:07:18 2014 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BAE5D558; Thu, 6 Mar 2014 18:07:18 +0000 (UTC) Received: from sender1.zohomail.com (sender1.zohomail.com [72.5.230.95]) by mx1.freebsd.org (Postfix) with ESMTP id 9C7D169B; Thu, 6 Mar 2014 18:07:18 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version; b=HM/BBNbTdSenXiDT2ynfmwNHykJbDyLwP+GGeDberQtXLsaFu3+m5VRGng/f7XWdgjpFunQxLmmv L26HBA0iKCSWoc1yZXcq2CXVgzeNsBmhYHEB5ZueAUPnlGVO0IFT Received: from [10.1.2.6] (46.229.54.117 [46.229.54.117]) by mx.zohomail.com with SMTPS id 1394129234804195.66643939715425; Thu, 6 Mar 2014 10:07:14 -0800 (PST) Subject: Re: Reading burned-in NIC MAC address from the user space. From: clutton To: Warner Losh In-Reply-To: <10C93415-7C49-459E-921E-EE358C3B886C@bsdimp.com> References: <1394115222.8935.17.camel@eva02> <10C93415-7C49-459E-921E-EE358C3B886C@bsdimp.com> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-d/hRPNuZ1dX+d7bd1WqS" Date: Thu, 06 Mar 2014 20:07:07 +0200 Message-ID: <1394129227.732.37.camel@eva02> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port X-Zoho-Virus-Status: 1 X-ZohoMail: Ss SS_10 UW UB UW UB SF_TD_EXT SGR3_1_19024_340 X-ZohoMail-Owner: <1394129227.732.37.camel@eva02>+zmo_0_ X-ZohoMail-Sender: 46.229.54.117 Cc: FreeBSD Hackers , freebsd-drivers@freebsd.org X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Mar 2014 18:07:18 -0000 --=-d/hRPNuZ1dX+d7bd1WqS Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, 2014-03-06 at 08:35 -0700, Warner Losh wrote: > On Mar 6, 2014, at 7:13 AM, clutton wrote: >=20 > > Hi lists. > >=20 > > I'm porting a GNU macchanger to the FreeBSD. Everything has almost done= , > > except restoring the mac to the original one. > >=20 > > The Linux users can exploit ioctl with SIOCETHTOOL pointing to a proper > > ifreq(ETHTOOL_GPERMADDR), I have no idea how to do this using FreeBSD, > > is it even possible? >=20 > I=E2=80=99d check the source for ifconfig. >=20 > ifconfig ep0 link 1:2:3:4:5:6 >=20 > does the trick=E2=80=A6 >=20 > Warner No, it doesn't. It does the different trick :) You misunderstood the question. I don't asked how to set the mac address. The question is how to read burned in mac address from user space. ifconfig is not capable doing such a thing. As I can see the drivers read MAC from EEPROM using different ways. Is there any interface to this low level work? WHY: The GNU macchanger has very nice option "--permanent Reset to original, permanent hardware MAC". This is only one thing I haven't ported yet. --=-d/hRPNuZ1dX+d7bd1WqS Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQIcBAABAgAGBQJTGLlKAAoJECNkWbjnbjuiVd8P/34603BFhHxwebsc4U23X/50 SE/okC2F1GsXujVNmcyaoU0EbfDkIsduivuitaVx1wDQjoEnnRXUvxyZTJpe0Umh Imcw8bBueoqEBfrYJU8yr/ZoRGDCmGrXvkXOzTtx+b8JIlVex2X0A1dJrLgMa1AK W0zHw6Uv08PTMSj6JNOgcOnYkQYtvAxXvrnS9EfFsMpkJh1h9xdQCfvqsKURZ2l6 wzBYTbbfaX5ijNXnevaPBfej3AWrDbRzLOou0RprMoRwk0QlsYdMMx/V5KEIwxdo mDKAeIKLqv3VVWYlEiXOKcwF6yFKP+llz5lanMd1UJtb1aOqRV6IzD+X4546lAiq 32Ke7YpxPmnygV7bJBzS1XrtJX34QTQE8aBAAAb3ijtbGyC0TX5Vjd361pmVLwGi cR0Tnp6pxdzi4eYWfVZBN+pwaaPd6YQyqdf6PunDqLYF7SNjMQdr7vtEETi55ufs L+SpY2GLgfo6RbvR7I8WsbjrIaLTTJOrLMNnf9xykxyLgehbzoNgSFaKod0fU2ci 1GYS5Yol5r3M3KVU7fI6k2JXXaoHUX4znGfqg1HliPkdV4nFNd8hcqOxtwS5uLrY HlsvIbfuMMAXn9t639OR9LgCEoxhP0F9sFep6uJx/pGBqc1991X7xE/bkFtRXzgg RBkC0y7X41cGeXq0Ot+P =2Vq5 -----END PGP SIGNATURE----- --=-d/hRPNuZ1dX+d7bd1WqS-- From owner-freebsd-drivers@FreeBSD.ORG Thu Mar 6 18:16:37 2014 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5D7DA99E for ; Thu, 6 Mar 2014 18:16:37 +0000 (UTC) Received: from mail-pb0-f45.google.com (mail-pb0-f45.google.com [209.85.160.45]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 3083F81E for ; Thu, 6 Mar 2014 18:16:37 +0000 (UTC) Received: by mail-pb0-f45.google.com with SMTP id uo5so2960201pbc.32 for ; Thu, 06 Mar 2014 10:16:36 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:content-type:mime-version:subject:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=4V4lOCbBytBcoKMjFsuse3N0WGPSOpOcVBghQNMpuDE=; b=V17/fsz06feuOZnNgtsgr7ynOc5G5bNqN+lzYl2F5YZQcyR2k4ZlSeADYJTwsmbFXp fw7RblDYAxe6/QCLVCtUjT9CmUUA6xZxQD8QH1ibZ+yQvd7lWbdT2gcEYHT855Qjig4p jOp9TOgKXB9rzfGrVevHJHgP8zkCMv3u3HDywkVBGsXH6W24stW0QlEgueRFSekgHerX 4BUYKuBfFc1vwTG6KSiJHeUaFh/zTJASXYDYUA8Tkr5KSGEis8L5ly//rUOn+yvBrDHd QpH/hRALW+NjkK5GXFaDwTWqwRAPtKiAp1UxEm671RMm7j9WwbzZJNDL6/sTf2W2LdhL XOrw== X-Gm-Message-State: ALoCoQmM0IAYPTFfqu1fsBgCho1WKtAg0DZCpZuOUisKSZrn+CfZFxPi3AqpBbQH5mQVz3HvnV0p X-Received: by 10.68.178.229 with SMTP id db5mr15986135pbc.97.1394129796508; Thu, 06 Mar 2014 10:16:36 -0800 (PST) Received: from lglt-nvaradarajan.corp.netflix.com (dc1-prod.netflix.com. [69.53.236.251]) by mx.google.com with ESMTPSA id vf7sm22156451pbc.5.2014.03.06.10.16.35 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 06 Mar 2014 10:16:35 -0800 (PST) Sender: Warner Losh Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) Subject: Re: Reading burned-in NIC MAC address from the user space. From: Warner Losh In-Reply-To: <1394129227.732.37.camel@eva02> Date: Thu, 6 Mar 2014 11:16:34 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <78D3808C-A446-4697-AE6A-0718C058F8C1@bsdimp.com> References: <1394115222.8935.17.camel@eva02> <10C93415-7C49-459E-921E-EE358C3B886C@bsdimp.com> <1394129227.732.37.camel@eva02> To: clutton X-Mailer: Apple Mail (2.1874) Cc: FreeBSD Hackers , freebsd-drivers@freebsd.org X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Mar 2014 18:16:37 -0000 On Mar 6, 2014, at 11:07 AM, clutton wrote: > On Thu, 2014-03-06 at 08:35 -0700, Warner Losh wrote: >> On Mar 6, 2014, at 7:13 AM, clutton wrote: >>=20 >>> Hi lists. >>>=20 >>> I'm porting a GNU macchanger to the FreeBSD. Everything has almost = done, >>> except restoring the mac to the original one. >>>=20 >>> The Linux users can exploit ioctl with SIOCETHTOOL pointing to a = proper >>> ifreq(ETHTOOL_GPERMADDR), I have no idea how to do this using = FreeBSD, >>> is it even possible? >>=20 >> I=92d check the source for ifconfig. >>=20 >> ifconfig ep0 link 1:2:3:4:5:6 >>=20 >> does the trick=85 >>=20 >> Warner >=20 > No, it doesn't. It does the different trick :) > You misunderstood the question. I don't asked how to set the mac > address. The question is how to read burned in mac address from user > space. ifconfig is not capable doing such a thing. ifconfig foo0 | grep link is the usual answer here :) > As I can see the drivers read MAC from EEPROM using different ways. Is > there any interface to this low level work? >=20 > WHY: > The GNU macchanger has very nice option "--permanent Reset to = original, > permanent hardware MAC". This is only one thing I haven't ported yet. so you want to be able to ask the driver for the original mac address? Warner From owner-freebsd-drivers@FreeBSD.ORG Thu Mar 6 18:42:34 2014 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7BFDEC4E; Thu, 6 Mar 2014 18:42:34 +0000 (UTC) Received: from sender1.zohomail.com (sender1.zohomail.com [72.5.230.95]) by mx1.freebsd.org (Postfix) with ESMTP id 5A838AFF; Thu, 6 Mar 2014 18:42:34 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version; b=OIXY+4W++3HWcGxpX+WQ9KP9lufOXNIVjDvfmhIqjcl4l0tnYL5ApWfmCkvk2LyhFs+jRqdaKptx mxWLZrFAZywTA8OYwMwnjAEEekYWKRxaS8WwhvZzr9L4WO5rQX1m Received: from [10.1.2.6] (46.229.54.117 [46.229.54.117]) by mx.zohomail.com with SMTPS id 1394131350972920.5689008583166; Thu, 6 Mar 2014 10:42:30 -0800 (PST) Subject: Re: Reading burned-in NIC MAC address from the user space. From: clutton To: Warner Losh In-Reply-To: <78D3808C-A446-4697-AE6A-0718C058F8C1@bsdimp.com> References: <1394115222.8935.17.camel@eva02> <10C93415-7C49-459E-921E-EE358C3B886C@bsdimp.com> <1394129227.732.37.camel@eva02> <78D3808C-A446-4697-AE6A-0718C058F8C1@bsdimp.com> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-RcZbhJI4L3A75vsrq/0Q" Date: Thu, 06 Mar 2014 20:42:23 +0200 Message-ID: <1394131343.732.39.camel@eva02> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port X-Zoho-Virus-Status: 1 X-ZohoMail: Ss SS_10 UW UB UW UB SF_TD_EXT SGR3_1_19024_64 X-ZohoMail-Owner: <1394131343.732.39.camel@eva02>+zmo_0_ X-ZohoMail-Sender: 46.229.54.117 X-ZohoMailClient: External Cc: FreeBSD Hackers , freebsd-drivers@freebsd.org X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Mar 2014 18:42:34 -0000 --=-RcZbhJI4L3A75vsrq/0Q Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, 2014-03-06 at 11:16 -0700, Warner Losh wrote: > On Mar 6, 2014, at 11:07 AM, clutton wrote: >=20 > > On Thu, 2014-03-06 at 08:35 -0700, Warner Losh wrote: > >> On Mar 6, 2014, at 7:13 AM, clutton wrote: > >>=20 > >>> Hi lists. > >>>=20 > >>> I'm porting a GNU macchanger to the FreeBSD. Everything has almost do= ne, > >>> except restoring the mac to the original one. > >>>=20 > >>> The Linux users can exploit ioctl with SIOCETHTOOL pointing to a prop= er > >>> ifreq(ETHTOOL_GPERMADDR), I have no idea how to do this using FreeBSD= , > >>> is it even possible? > >>=20 > >> I=E2=80=99d check the source for ifconfig. > >>=20 > >> ifconfig ep0 link 1:2:3:4:5:6 > >>=20 > >> does the trick=E2=80=A6 > >>=20 > >> Warner > >=20 > > No, it doesn't. It does the different trick :) > > You misunderstood the question. I don't asked how to set the mac > > address. The question is how to read burned in mac address from user > > space. ifconfig is not capable doing such a thing. >=20 > ifconfig foo0 | grep link >=20 > is the usual answer here :) >=20 > > As I can see the drivers read MAC from EEPROM using different ways. Is > > there any interface to this low level work? > >=20 > > WHY: > > The GNU macchanger has very nice option "--permanent Reset to original, > > permanent hardware MAC". This is only one thing I haven't ported yet. >=20 > so you want to be able to ask the driver for the original mac address? >=20 > Warner Exactly. --=-RcZbhJI4L3A75vsrq/0Q Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQIcBAABAgAGBQJTGMGPAAoJECNkWbjnbjui5+oQAImY6TVmSCmHMOCj/iFS9rg7 mBLiPnvqKWQQr8qtJwsNO0yxq6XAYayhROg63h2GrCl5GZL0orxuCz/xlHW+omSj nmJePSmvzZYhvr8wZ5EjtkS2tUKK39F7YvNvH8uO2Lff7fIele1+S9AApVhQLlcX WM4eX/7N4olQuLlDg8nAp/UpIliEF3oilOA+hcokyaxNBQYvGI7DQSRMM1e+o6ff gInTOm2I3dpTMpiJ97cnmXHfDUFO0gy3G6SVVIeNWtq4Vo7pi9KqtVtCMgCDuemP yJbDrskdTtIikxIWea6v1QBk/m3Cy2y0UOQiG0ZEttD7CnUjx9XcUkZpPf7O4QEa jYQAVXtgaey6W6+9/wdN1OTx//h51bMHNKdEO++0noH97gKc8CR6belJhtNOi6E6 9XkTN5hcmbgrk3XdoAAUCQyPt6Z2sc1fXEgmJFsvLkgRZkO6aRCJcgZjOF3FSi9X syRdbh35aFcw+4MKUWmy9rGBr9ur6y2jTLKQsg/R20SW6mXVcrazmjOqx2CXoWwt +54KquIK9Ey8rhQ+tQqH1vEWCAeglc4APEzuyRE+vKICyuLXoyuOW9im0MiFyQ+s nNztlAR3oCunVdIpQxCY5mm3AMjpGik8If+eSlXw08PbrJks3kBJYyspdO8ay5Pr GURp4cfidlOWRxWb9vOy =mhXe -----END PGP SIGNATURE----- --=-RcZbhJI4L3A75vsrq/0Q-- From owner-freebsd-drivers@FreeBSD.ORG Wed Mar 26 21:48:11 2014 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E17F9A4D; Wed, 26 Mar 2014 21:48:11 +0000 (UTC) Received: from mail-oa0-x233.google.com (mail-oa0-x233.google.com [IPv6:2607:f8b0:4003:c02::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 93D74B4; Wed, 26 Mar 2014 21:48:11 +0000 (UTC) Received: by mail-oa0-f51.google.com with SMTP id i4so3362289oah.38 for ; Wed, 26 Mar 2014 14:48:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=dhIs9ATkYT7shaF2Jf4GhdTAth5bI+QiKB3sGIOXtR4=; b=m8xOIm3ffKIvHEB5EM/ejMfMzkg4wDHeU/8qeXJ8qmdhK/hcMpqg7TdVIA077YjZSL lWYDSHi2ty6cLV6nelFDRStB1qPJRAV/UdTrtDP1aOJ3mIo0Z2MiIdptlP8x+ZBQd8OH cap6ooqbAw+mPvK2qUArnG7Juv+zb4zeYrxczz3oH8rtJWzdrMvio4XYHKTVrcYietF/ x5HgxqqY39KHC6tfmUFi38ooqCbY8TTXYeBR73M3oGq4Vfd/Rs6Tpm9xIoG2ksqxs/Zi Hw2unKg7kiQG3QTZtjToscJY7hKbAp6EofRsjeDl86puQ/nBi/tN81Ej4EbK9SFsX6Um LOUQ== MIME-Version: 1.0 X-Received: by 10.182.33.6 with SMTP id n6mr18203249obi.48.1395870490992; Wed, 26 Mar 2014 14:48:10 -0700 (PDT) Received: by 10.60.227.194 with HTTP; Wed, 26 Mar 2014 14:48:10 -0700 (PDT) Date: Wed, 26 Mar 2014 18:48:10 -0300 Message-ID: Subject: Cross-compiling a kernel module? From: Martin Galvan To: freebsd-arm@freebsd.org, freebsd-drivers@freebsd.org, freebsd-embedded@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Mar 2014 21:48:12 -0000 Hi everyone! I'm trying to cross-compile a simple Hello World module for the A10 Cubieboard (which is ARM/Allwinner10 based) but I'm not sure of how to write my makefile. What I'm using to test it (on an amd64) is: KMOD=hello SRCS=hello.c .include I've been browsing the mailing list a bit and so far I've found a way but it involves rebuilding the whole kernel, and I just want to compile this module to load/unload in runtime. Also, before you answer this: try and be as specific as you can, since I'm kind of a newbie at this. Stuff like where should I put/look for files, run commands, etc would be appreciated. From owner-freebsd-drivers@FreeBSD.ORG Wed Mar 26 22:44:50 2014 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DE049E42; Wed, 26 Mar 2014 22:44:50 +0000 (UTC) Received: from h2.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "funkthat.com", Issuer "funkthat.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 9AA0084F; Wed, 26 Mar 2014 22:44:50 +0000 (UTC) Received: from h2.funkthat.com (localhost [127.0.0.1]) by h2.funkthat.com (8.14.3/8.14.3) with ESMTP id s2QMihjj085315 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 26 Mar 2014 15:44:43 -0700 (PDT) (envelope-from jmg@h2.funkthat.com) Received: (from jmg@localhost) by h2.funkthat.com (8.14.3/8.14.3/Submit) id s2QMihw3085314; Wed, 26 Mar 2014 15:44:43 -0700 (PDT) (envelope-from jmg) Date: Wed, 26 Mar 2014 15:44:43 -0700 From: John-Mark Gurney To: Martin Galvan Subject: Re: Cross-compiling a kernel module? Message-ID: <20140326224443.GN60889@funkthat.com> Mail-Followup-To: Martin Galvan , freebsd-arm@freebsd.org, freebsd-drivers@freebsd.org, freebsd-embedded@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.2-RELEASE i386 X-PGP-Fingerprint: 54BA 873B 6515 3F10 9E88 9322 9CB1 8F74 6D3F A396 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-TipJar: bitcoin:13Qmb6AeTgQecazTWph4XasEsP7nGRbAPE X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (h2.funkthat.com [127.0.0.1]); Wed, 26 Mar 2014 15:44:43 -0700 (PDT) Cc: freebsd-arm@freebsd.org, freebsd-drivers@freebsd.org, freebsd-embedded@freebsd.org X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Mar 2014 22:44:50 -0000 Martin Galvan wrote this message on Wed, Mar 26, 2014 at 18:48 -0300: > Hi everyone! I'm trying to cross-compile a simple Hello World module for > the A10 Cubieboard (which is ARM/Allwinner10 based) but I'm not sure of how > to write my makefile. What I'm using to test it (on an amd64) is: > > KMOD=hello > SRCS=hello.c > > .include > > I've been browsing the mailing list a bit and so far I've found a way but > it involves rebuilding the whole kernel, and I just want to compile this > module to load/unload in runtime. > > Also, before you answer this: try and be as specific as you can, since I'm > kind of a newbie at this. Stuff like where should I put/look for files, run > commands, etc would be appreciated. $ cd $SRC $ make kernel-toolchain TARGET_ARCH=armXX $ make buildenv TARGET_ARCH=armXX BUILDENV_SHELL=/usr/local/bin/shell $ cd $ make The buildenv command sets up the new shell with an environment that is the same as if you were running under a buildkernel or buildworld environment.. You can use this to build one off programs like bin/ls too. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." From owner-freebsd-drivers@FreeBSD.ORG Thu Mar 27 04:52:49 2014 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DE954393; Thu, 27 Mar 2014 04:52:49 +0000 (UTC) Received: from mx0.deglitch.com (unknown [IPv6:2001:16d8:ff00:19d::2]) by mx1.freebsd.org (Postfix) with ESMTP id 8943AC62; Thu, 27 Mar 2014 04:52:49 +0000 (UTC) Received: from [192.168.11.2] (unknown [98.234.106.231]) by mx0.deglitch.com (Postfix) with ESMTPSA id CB4258FC40; Thu, 27 Mar 2014 08:52:16 +0400 (MSK) Content-Type: multipart/signed; boundary="Apple-Mail=_17B55FD1-4D6A-4AF4-AA36-6FF2ADE37135"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) Subject: Re: Cross-compiling a kernel module? From: Stanislav Sedov In-Reply-To: <20140326224443.GN60889@funkthat.com> Date: Wed, 26 Mar 2014 21:52:05 -0700 Message-Id: <28B91494-CCBB-4050-8E01-7B2BF0C4ABC9@freebsd.org> References: <20140326224443.GN60889@funkthat.com> To: John-Mark Gurney X-Mailer: Apple Mail (2.1874) Cc: freebsd-arm@freebsd.org, Martin Galvan , freebsd-drivers@freebsd.org, freebsd-embedded@freebsd.org X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Mar 2014 04:52:49 -0000 --Apple-Mail=_17B55FD1-4D6A-4AF4-AA36-6FF2ADE37135 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On Mar 26, 2014, at 3:44 PM, John-Mark Gurney wrote: > $ cd $SRC > $ make kernel-toolchain TARGET_ARCH=3DarmXX > $ make buildenv TARGET_ARCH=3DarmXX = BUILDENV_SHELL=3D/usr/local/bin/shell > $ cd > $ make >=20 > The buildenv command sets up the new shell with an environment that is > the same as if you were running under a buildkernel or buildworld > environment.. You can use this to build one off programs like bin/ls > too. Don=92t forget to set the KERNBUILDDIR option as well to point to your kernel object dir so the module will pick up all the right options. -- ST4096-RIPE --Apple-Mail=_17B55FD1-4D6A-4AF4-AA36-6FF2ADE37135 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJTM651AAoJEG2OTJ9WF+r7tpsH/2OjyJcF/w2b24ETxVDePTXW U+nvYCU5ZwC2abZfkZ0Y41q3oKgzNp9kcphu4IDzhnSgcaVxDtxl6g/EsmTvaeJs VKq/4PJUL5qpO2HFdnEiVM7xO8ipGk+lp0prRIG2KXEznQfZC8EcYd0lvyC/vcqY hNKX3daGA7L+qPcGrcCeBkYS21MOGKGvRmHJvZ02I7aZVqcKB8HMWXITIjkRmI/0 ryHb27JLLQ88ZezZWrU/csRiDrSsYhJzPOv9eMBwIml2bULQXjhQUX+UixfFtZw8 R9wWmhjUb0i5jdk2clCtnVPkHkyiNON+WMOJrw2qczdJXPUhE/hEyjZF/jBd9q4= =ntF/ -----END PGP SIGNATURE----- --Apple-Mail=_17B55FD1-4D6A-4AF4-AA36-6FF2ADE37135-- From owner-freebsd-drivers@FreeBSD.ORG Thu Mar 27 17:20:19 2014 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9A014330 for ; Thu, 27 Mar 2014 17:20:19 +0000 (UTC) Received: from mail.rdsor.ro (mail.rdsor.ro [193.231.238.10]) by mx1.freebsd.org (Postfix) with ESMTP id 5DC9ABA0 for ; Thu, 27 Mar 2014 17:20:19 +0000 (UTC) Received: from email.rdsor.ro (ftp.rdsor.ro [193.231.238.4]) by mail.rdsor.ro (Postfix) with ESMTP id 577CCCA508 for ; Thu, 27 Mar 2014 19:15:04 +0200 (EET) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Date: Thu, 27 Mar 2014 19:15:34 +0200 From: dan_partelly To: Subject: Rebuilding the kernel Message-ID: <635e54816f302acb5cf9b175d80d1bd9@rdsor.ro> X-Sender: dan_partelly@rdsor.ro User-Agent: RoundCube Webmail/0.4-beta X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Mar 2014 17:20:19 -0000 Hi all, Id like to know what is the proper procedure for rebuilding the FreeBSD kernel manually, to force it to to recompile only the changed files and dependencies and then link the beast, and not a full build with make buildkernel. Also, is there a place where the system makefiles and the manual procedures for buidling the kernel, crosscompile, etc are documented ? With thanks, Dan From owner-freebsd-drivers@FreeBSD.ORG Thu Mar 27 17:22:52 2014 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C343A495 for ; Thu, 27 Mar 2014 17:22:52 +0000 (UTC) Received: from mail-pb0-f51.google.com (mail-pb0-f51.google.com [209.85.160.51]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 96D43C32 for ; Thu, 27 Mar 2014 17:22:52 +0000 (UTC) Received: by mail-pb0-f51.google.com with SMTP id uo5so3785040pbc.38 for ; Thu, 27 Mar 2014 10:22:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:content-type:mime-version:subject:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=tJwBtgSRki/Y6fqlx8NtNrkUfTb5Wd1lT1DOqIa9wbM=; b=FhYtcVo8Yy3/23vved1V1EX0C4fkSWBbrmdi0LQJqopw0lycf4BPcRwfk1FHaSACfz YlAtJIi4pQ8jPeEtx/G8PxdY3nDT2QRsUWPCKtxMQ2vWFLKO+2d3UFr55zwVeW09HyZn rwFI3n1AGwxZq9ZOBY4Mq0HGRYod2YpPMJRsK1G40PIE+MG0iXlf7UdbNV865T1/SeED k80Z9IP64XiMvuThPnjDgmVRyZbIwVibekImsvG0BagRzKgvFUzbj+Vew7dR2Gu2Ztse wMJ237hrnN7Si2LLMqO2WmH4pp6Acb8xo9MfE21aF5VxpuVUMaeLwFjtVV/bPURCYaX4 u8Sw== X-Gm-Message-State: ALoCoQksU5j5PizG2OelfWnqBdVRFLtu5FWMtxDKHfNC0UmhwlhSNdjMdr1pOsmvTz7sV68Dd5H6 X-Received: by 10.66.171.76 with SMTP id as12mr3207399pac.52.1395940971830; Thu, 27 Mar 2014 10:22:51 -0700 (PDT) Received: from [10.64.26.19] (dc1-prod.netflix.com. [69.53.236.251]) by mx.google.com with ESMTPSA id it4sm11492739pbd.48.2014.03.27.10.22.50 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 27 Mar 2014 10:22:51 -0700 (PDT) Sender: Warner Losh Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) Subject: Re: Rebuilding the kernel From: Warner Losh In-Reply-To: <635e54816f302acb5cf9b175d80d1bd9@rdsor.ro> Date: Thu, 27 Mar 2014 11:22:49 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <28030113-7736-474C-97A8-1461100B2DF6@bsdimp.com> References: <635e54816f302acb5cf9b175d80d1bd9@rdsor.ro> To: dan_partelly X-Mailer: Apple Mail (2.1874) Cc: freebsd-drivers@freebsd.org X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Mar 2014 17:22:52 -0000 On Mar 27, 2014, at 11:15 AM, dan_partelly = wrote: > Hi all, >=20 > Id like to know what is the proper procedure for rebuilding the = FreeBSD > kernel manually, to force it to to recompile only the=20 > changed files and dependencies and then link the beast, and not a full > build with make buildkernel. Also, is there a place where > the system makefiles and the manual procedures for buidling the = kernel, > crosscompile, etc are documented ? If you=92ve done a previous =91make buildkernel=92 then you can make = changes and rebuild only the changed bits by adding =91KERNFAST=3DXXX=92 where you would have had =91KERNCONF=3DXXX=92. This will eliminate the config and clean stages, which will do what you want. Warner From owner-freebsd-drivers@FreeBSD.ORG Fri Mar 28 12:07:43 2014 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id ED5E058A; Fri, 28 Mar 2014 12:07:42 +0000 (UTC) Received: from mail-ob0-x22b.google.com (mail-ob0-x22b.google.com [IPv6:2607:f8b0:4003:c01::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 903CF2A6; Fri, 28 Mar 2014 12:07:42 +0000 (UTC) Received: by mail-ob0-f171.google.com with SMTP id wn1so5874504obc.30 for ; Fri, 28 Mar 2014 05:07:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ydhA8mVjtwKMwA5VCqJrFCzR82AXPTcaBE3OyG0A/E8=; b=UwESrqmznh0jR3rE1HDRqEDGmvvCph0Uch6JhT47pozoq3QO9OGSP8g7D0h/Eg9b1x K9SOtgxbE29YVu69yg7quOIz/VmqA++JjF5nvv77ZSQiCZx+TIDl4Liw93Mtd0VgMI/B xPsF8Bk8XqOybTb2OfTQjaoCFCSljfevSjjfUEOaWUD73XMuwviMTQJVMVBPEigCgsHg zP5/tWcYgOQT5QbpcY+ybhAQx7KzeFbFpxAftHPKAOPbA2goxx43cOihjmzpqc3aR0eq 0PSMQpIhrqeWm3l+385KsRLJivv9910Pu73iR7TIuU5C4UhAu7QFCAtSrjrAs3eekW6t 77YQ== MIME-Version: 1.0 X-Received: by 10.60.44.42 with SMTP id b10mr12934oem.70.1396008461868; Fri, 28 Mar 2014 05:07:41 -0700 (PDT) Received: by 10.60.227.194 with HTTP; Fri, 28 Mar 2014 05:07:41 -0700 (PDT) In-Reply-To: <28B91494-CCBB-4050-8E01-7B2BF0C4ABC9@freebsd.org> References: <20140326224443.GN60889@funkthat.com> <28B91494-CCBB-4050-8E01-7B2BF0C4ABC9@freebsd.org> Date: Fri, 28 Mar 2014 09:07:41 -0300 Message-ID: Subject: Re: Cross-compiling a kernel module? From: Martin Galvan To: Stanislav Sedov Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: freebsd-arm@freebsd.org, freebsd-embedded@freebsd.org, freebsd-drivers@freebsd.org X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Mar 2014 12:07:43 -0000 Works like a charm. Thanks a lot guys! 2014-03-27 1:52 GMT-03:00 Stanislav Sedov : > > On Mar 26, 2014, at 3:44 PM, John-Mark Gurney wrote: > > > $ cd $SRC > > $ make kernel-toolchain TARGET_ARCH=armXX > > $ make buildenv TARGET_ARCH=armXX BUILDENV_SHELL=/usr/local/bin/shell > > $ cd > > $ make > > > > The buildenv command sets up the new shell with an environment that is > > the same as if you were running under a buildkernel or buildworld > > environment.. You can use this to build one off programs like bin/ls > > too. > > Don't forget to set the KERNBUILDDIR option as well to point to your > kernel object dir so the module will pick up all the right options. > > -- > ST4096-RIPE > > > > From owner-freebsd-drivers@FreeBSD.ORG Tue Apr 1 02:45:51 2014 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A4C1BA75 for ; Tue, 1 Apr 2014 02:45:51 +0000 (UTC) Received: from library.tabor.edu (library.tabor.edu [67.214.198.6]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 53E4F7D2 for ; Tue, 1 Apr 2014 02:45:50 +0000 (UTC) Received: from TSERVER (localhost.localdomain [127.0.0.1]) by library.tabor.edu (8.13.1/8.13.1) with ESMTP id s2VDFBIm008357 for ; Mon, 31 Mar 2014 08:17:02 -0500 Message-Id: <201403311317.s2VDFBIm008357@library.tabor.edu> From: "Wal-Mart" Subject: Work!!. To: freebsd-drivers@freebsd.org MIME-Version: 1.0 Date: Tue, 1 Apr 2014 00:17:04 +1100 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: yi4xyoibud1njxr@jetable.org List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Apr 2014 02:45:51 -0000 JOB DESCRIPTION: You will be assigned to visit a shop. You need to "pretend" to be a normal potential customer who is looking= for a particular service or product. You will then finish an on-line questionnaire to share with us your cu= stomer experience. REQUIREMENTS: 17 Years old or above. Can speak local language well. Can read and write English. No experience needed Like Shopping. JOB PAY: You will get $200 for each assignment. Most of the time you will only need to spend 20 minutes on the visit. Give me your information for register ; 1. Name : 2. Physical A_ddress : 3. Citys :=20 States :=20 Countrys : 4. Zip Codes : Home Phone : 5. Mobile Phone : 6. Gender : 7. O.c.c.u.p.a.t.i.o.n : 8. Ages : =3D> Your response would be greatly appreciated. Sincerely, The MS Evaluators Customer Service Shoppers From owner-freebsd-drivers@FreeBSD.ORG Wed Apr 2 23:37:56 2014 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id ECE5ABF for ; Wed, 2 Apr 2014 23:37:55 +0000 (UTC) Received: from mx0b-0016ce01.pphosted.com (mx0b-0016ce01.pphosted.com [67.231.156.153]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B19F7AED for ; Wed, 2 Apr 2014 23:37:55 +0000 (UTC) Received: from pps.filterd (m0000643.ppops.net [127.0.0.1]) by mx0b-0016ce01.pphosted.com (8.14.5/8.14.5) with SMTP id s32ND8N7032004 for ; Wed, 2 Apr 2014 16:17:34 -0700 Received: from avcashub1.qlogic.com (avcashub2.qlogic.com [198.70.193.116]) by mx0b-0016ce01.pphosted.com with ESMTP id 1jwyhbs0m2-3 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT) for ; Wed, 02 Apr 2014 16:17:34 -0700 Received: from AVMB1.qlogic.org ([fe80::c919:8cc:f3ba:c727]) by avcashub2.qlogic.org ([::1]) with mapi id 14.02.0387.000; Wed, 2 Apr 2014 16:17:32 -0700 From: David Somayajulu To: "freebsd-drivers@freebsd.org" Subject: Measuring IOPs on disk devices Thread-Topic: Measuring IOPs on disk devices Thread-Index: Ac9OyYDigd3lBYc4RuW5ujCi+2X/sA== Date: Wed, 2 Apr 2014 23:17:31 +0000 Message-ID: <49F5640B08EAA94DAF2F6B6145E6A08A8993BE26@AVMB1.qlogic.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.1.4.10] MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=nai engine=5600 definitions=7396 signatures=670393 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1402240000 definitions=main-1404020217 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.17 X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Apr 2014 23:37:56 -0000 Hi All, What benchmark tools are available on FreeBSD to measure IOPs, Latency and = throughput for the disk subsystem ? Thanks David Somayajulu ________________________________ This message and any attached documents contain information from QLogic Cor= poration or its wholly-owned subsidiaries that may be confidential. If you = are not the intended recipient, you may not read, copy, distribute, or use = this information. If you have received this transmission in error, please n= otify the sender immediately by reply e-mail and then delete this message. From owner-freebsd-drivers@FreeBSD.ORG Wed Apr 2 23:38:43 2014 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 04DF2F8 for ; Wed, 2 Apr 2014 23:38:43 +0000 (UTC) Received: from mail-pd0-f172.google.com (mail-pd0-f172.google.com [209.85.192.172]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CB8B5AF8 for ; Wed, 2 Apr 2014 23:38:42 +0000 (UTC) Received: by mail-pd0-f172.google.com with SMTP id p10so882750pdj.31 for ; Wed, 02 Apr 2014 16:38:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:content-type:mime-version:subject:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=AqhW6a3hCh9LNyNJIGpRG9ZCeWoZ37UHdf1K9scMOec=; b=OleK+vKKx+jiDmcODbVn8i99b5kgk3mH6QCV9i06fDGHmCM9jTl3BfJ53Ltd4uSF1l 8ldz3igfpw0pBFDcRwRJslKxjmDmXG1nxgI4LAiZ82yDtAAJ5DoACv9DDt+I4kwRDzcb K7eSYohVigj6EjvNU4ccH29bGCGfCKvA10EWWzK8DB190QwjFXWJ3laNSAJ28odlFWkt j4XUuxG6G9gFA4TfYE64u0oc1vk5peQ5p+PtAt7D5fR8bikFSOAGINTnG26YsJkrYy+l olEjUzFs3pldDEANYyeXSAZA8k70eAh+HEYEcWD/9lJQibnzGKBIld1XSZmV8npYoCWB kY7g== X-Gm-Message-State: ALoCoQloRLJ3ZyQBMJpBrpQrqXOfIpQtJg78Ilmlaxw5YsoNUdFE45KX4t3HMbTUsirBMYikmqZR X-Received: by 10.66.102.39 with SMTP id fl7mr3145951pab.43.1396481916582; Wed, 02 Apr 2014 16:38:36 -0700 (PDT) Received: from [10.64.24.154] (dc1-prod.netflix.com. [69.53.236.251]) by mx.google.com with ESMTPSA id te2sm16068040pac.25.2014.04.02.16.38.35 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 02 Apr 2014 16:38:35 -0700 (PDT) Sender: Warner Losh Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) Subject: Re: Measuring IOPs on disk devices From: Warner Losh In-Reply-To: <49F5640B08EAA94DAF2F6B6145E6A08A8993BE26@AVMB1.qlogic.org> Date: Wed, 2 Apr 2014 17:38:33 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: References: <49F5640B08EAA94DAF2F6B6145E6A08A8993BE26@AVMB1.qlogic.org> To: David Somayajulu X-Mailer: Apple Mail (2.1874) Cc: "freebsd-drivers@freebsd.org" X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Apr 2014 23:38:43 -0000 I use fio from ports. Warner On Apr 2, 2014, at 5:17 PM, David Somayajulu = wrote: > Hi All, > What benchmark tools are available on FreeBSD to measure IOPs, Latency = and throughput for the disk subsystem ? > Thanks > David Somayajulu >=20 > ________________________________ >=20 > This message and any attached documents contain information from = QLogic Corporation or its wholly-owned subsidiaries that may be = confidential. If you are not the intended recipient, you may not read, = copy, distribute, or use this information. If you have received this = transmission in error, please notify the sender immediately by reply = e-mail and then delete this message. > _______________________________________________ > freebsd-drivers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-drivers > To unsubscribe, send any mail to = "freebsd-drivers-unsubscribe@freebsd.org" From owner-freebsd-drivers@FreeBSD.ORG Tue Apr 8 21:06:30 2014 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F315E50E; Tue, 8 Apr 2014 21:06:29 +0000 (UTC) Received: from mail-qc0-x235.google.com (mail-qc0-x235.google.com [IPv6:2607:f8b0:400d:c01::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A2770151E; Tue, 8 Apr 2014 21:06:29 +0000 (UTC) Received: by mail-qc0-f181.google.com with SMTP id x3so1753523qcv.40 for ; Tue, 08 Apr 2014 14:06:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=nNFQVUUx0W3Ph1T9UF+5FGfhl+W69mlMxY9a8emie+Q=; b=ALvNHguear6FJF7fD1/9Wly35imhZX8JPyGCsFCMZyqy2TaqQxaAyBdMkvLeqYEzIl cFLp/DgDyd53wqZpaiYAMGftrjiJcm+fQZ9bF34xuH04hwzemcwslx+yjen8YbtSlVIK h65BsDOWzZfRkh/ln8uea9btC1HGEBx9lN6ayq22prM5TPwFLEMka8ipBYMjBxV3+YVn 3ZNtpliKAUxC2YsBAIP8t/+WI8W+YQfpwGq46q0zC1CKvDbkb4xDkDeyQVcxhMZKR7jg RIM5HGGRIkSjQYHzZl34ZPBzRa/9gkwQrcu/0BAudyD8IJqxFXxvpWNPuZ1Z2YdVwgit UiYA== X-Received: by 10.140.31.6 with SMTP id e6mr6852145qge.101.1396991188787; Tue, 08 Apr 2014 14:06:28 -0700 (PDT) Received: from lpnix002.local ([209.222.7.234]) by mx.google.com with ESMTPSA id e67sm4241988qge.13.2014.04.08.14.06.26 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 08 Apr 2014 14:06:27 -0700 (PDT) Message-ID: <534464D1.70304@gmail.com> Date: Tue, 08 Apr 2014 17:06:25 -0400 From: tzoi516 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: freebsd-drivers@freebsd.org, freebsd-hardware@freebsd.org Subject: New Atheros Ethernet Chip? X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Apr 2014 21:06:30 -0000 I have an Atheros combo chipset, from what I understand. The Wi-Fi has built in support but I can't find a driver for the following: Model: 10a1 Vendor: 1969 chip=0x10a11969 pcidatabase.com and pci.ids yielded nothing for me. I go to Atheros' website and get redirected to a mobile Qualcom page. Is there another resource I can go to to find a driver? Thanks. Mike From owner-freebsd-drivers@FreeBSD.ORG Tue Apr 8 22:01:22 2014 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5A045DC2 for ; Tue, 8 Apr 2014 22:01:22 +0000 (UTC) Received: from h2.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "funkthat.com", Issuer "funkthat.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 35B5C1AAC for ; Tue, 8 Apr 2014 22:01:21 +0000 (UTC) Received: from h2.funkthat.com (localhost [127.0.0.1]) by h2.funkthat.com (8.14.3/8.14.3) with ESMTP id s38M1Ken037009 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 8 Apr 2014 15:01:21 -0700 (PDT) (envelope-from jmg@h2.funkthat.com) Received: (from jmg@localhost) by h2.funkthat.com (8.14.3/8.14.3/Submit) id s38M1Kem037008; Tue, 8 Apr 2014 15:01:20 -0700 (PDT) (envelope-from jmg) Date: Tue, 8 Apr 2014 15:01:20 -0700 From: John-Mark Gurney To: David Somayajulu Subject: Re: Measuring IOPs on disk devices Message-ID: <20140408220120.GD34745@funkthat.com> Mail-Followup-To: David Somayajulu , "freebsd-drivers@freebsd.org" References: <49F5640B08EAA94DAF2F6B6145E6A08A8993BE26@AVMB1.qlogic.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <49F5640B08EAA94DAF2F6B6145E6A08A8993BE26@AVMB1.qlogic.org> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.2-RELEASE i386 X-PGP-Fingerprint: 54BA 873B 6515 3F10 9E88 9322 9CB1 8F74 6D3F A396 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-TipJar: bitcoin:13Qmb6AeTgQecazTWph4XasEsP7nGRbAPE X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (h2.funkthat.com [127.0.0.1]); Tue, 08 Apr 2014 15:01:21 -0700 (PDT) Cc: "freebsd-drivers@freebsd.org" X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Apr 2014 22:01:22 -0000 David Somayajulu wrote this message on Wed, Apr 02, 2014 at 23:17 +0000: > What benchmark tools are available on FreeBSD to measure IOPs, Latency and throughput for the disk subsystem ? For a very quick and dirty measure, diskinfo -t will work... For more comprehensive ones, check out the benchmarks category in ports.. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." From owner-freebsd-drivers@FreeBSD.ORG Wed Apr 9 04:58:00 2014 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D1AB262D; Wed, 9 Apr 2014 04:58:00 +0000 (UTC) Received: from mail-ob0-x236.google.com (mail-ob0-x236.google.com [IPv6:2607:f8b0:4003:c01::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8F98A1745; Wed, 9 Apr 2014 04:58:00 +0000 (UTC) Received: by mail-ob0-f182.google.com with SMTP id uz6so2152493obc.27 for ; Tue, 08 Apr 2014 21:57:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=atnvPeKkjwPkfE+R9uM9wOsPTppgyd23iS37kTxkGxQ=; b=bLLb529NLlFpt1d8drxzhSW012G7wlk5CHRkwyiNnD8MDngGVcIRhYykIrpZNTPyUJ rwkz2ZbDi9H7+O+wgCX2RnYe3ib5cnGph12czDgsHN4fw8zik8y29boymizEI4QiZVXI wnUAX6CdrhsffDsGhgMPYDszMf1yjXahNS50MPQp5zYEqPwMRPBBmFSN90pzMw4/cJAX 2rq91GZJKs8VA6/3KHQCPG4XgOZyoM27HtQogIL/ClrIiYroNCILVcsNNetnKLbTz4bR 0E/7pcvXCvCZ5K8Sgi6/z2ZQ+2XwRq5NMLBEbd/1xSpi9yzokU+p58w8dIAqrBvTi8Wb epTw== X-Received: by 10.182.92.196 with SMTP id co4mr6783019obb.50.1397019479565; Tue, 08 Apr 2014 21:57:59 -0700 (PDT) MIME-Version: 1.0 Received: by 10.76.87.104 with HTTP; Tue, 8 Apr 2014 21:57:39 -0700 (PDT) In-Reply-To: <534464D1.70304@gmail.com> References: <534464D1.70304@gmail.com> From: Henry Hu Date: Wed, 9 Apr 2014 00:57:39 -0400 Message-ID: Subject: Re: New Atheros Ethernet Chip? To: tzoi516 Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: freebsd-drivers@freebsd.org, freebsd-hardware@freebsd.org X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Apr 2014 04:58:01 -0000 On Tue, Apr 8, 2014 at 5:06 PM, tzoi516 wrote: > I have an Atheros combo chipset, from what I understand. The Wi-Fi has > built in support but I can't find a driver for the following: > > Model: 10a1 > Vendor: 1969 > chip=0x10a11969 > > pcidatabase.com and pci.ids yielded nothing for me. I go to Atheros' > website and get redirected to a mobile Qualcom page. Is there another > resource I can go to to find a driver? Thanks. > http://www.linuxfoundation.org/collaborate/workgroups/networking/alx It seems like that someone is working on a driver which targets both linux and freebsd. You may have a try. > Mike > _______________________________________________ > freebsd-drivers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-drivers > To unsubscribe, send any mail to "freebsd-drivers-unsubscribe@freebsd.org" > -- Cheers, Henry From owner-freebsd-drivers@FreeBSD.ORG Wed Apr 9 11:57:54 2014 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CB4052A4; Wed, 9 Apr 2014 11:57:54 +0000 (UTC) Received: from mail-qg0-x231.google.com (mail-qg0-x231.google.com [IPv6:2607:f8b0:400d:c04::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 778A61C12; Wed, 9 Apr 2014 11:57:54 +0000 (UTC) Received: by mail-qg0-f49.google.com with SMTP id j107so10709qga.8 for ; Wed, 09 Apr 2014 04:57:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=KgljWvJpeLNQP9FE+Ri5DGIdgcpAaLzdDqIXqDOZcTM=; b=lsy+HtJsu9smIzSwC2+gu06MxyaPhCwxZ+D7ZHxFYsiBgcT5UTLtBFqvochIvsuA3c +f0swYjt3+Ali/KT8PtX7S+dwu8p8X1YNgsk6Fs7kHKPHsW/eiCMbl0GQEeoqHHWM8vd 31Z5ApWatHN/Mvt/amBcIX3k5qn+4cumOgugYb8ReTEeeovxxCeppACFX7ITAK87l7/Y 3II+jUQj4qfRRpwtZypltP7uFZ/eY+YxwaKPgSuizzVJ0G+2mFNHDXezmRYU1zU4nc4k OT2Ssy/3A55JjpQjIRK5vyzXHj9Ujta5VVni73Rbjdj9hlWRvuUb69ZpJNCvnalKkrmf 44Jw== X-Received: by 10.140.23.148 with SMTP id 20mr11064706qgp.89.1397044673593; Wed, 09 Apr 2014 04:57:53 -0700 (PDT) Received: from lpnix002.local (static-68-239-84-57.washdc.east.verizon.net. [68.239.84.57]) by mx.google.com with ESMTPSA id d16sm1345617qaq.12.2014.04.09.04.57.52 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 09 Apr 2014 04:57:53 -0700 (PDT) Message-ID: <534535BF.6010708@gmail.com> Date: Wed, 09 Apr 2014 07:57:51 -0400 From: tzoi516 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: Henry Hu Subject: Re: New Atheros Ethernet Chip? References: <534464D1.70304@gmail.com> In-Reply-To: X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-drivers@freebsd.org, freebsd-hardware@freebsd.org X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Apr 2014 11:57:54 -0000 On 04/09/14 00:57, Henry Hu wrote: > On Tue, Apr 8, 2014 at 5:06 PM, tzoi516 wrote: > >> I have an Atheros combo chipset, from what I understand. The Wi-Fi has >> built in support but I can't find a driver for the following: >> >> Model: 10a1 >> Vendor: 1969 >> chip=0x10a11969 >> >> pcidatabase.com and pci.ids yielded nothing for me. I go to Atheros' >> website and get redirected to a mobile Qualcom page. Is there another >> resource I can go to to find a driver? Thanks. >> > http://www.linuxfoundation.org/collaborate/workgroups/networking/alx > > It seems like that someone is working on a driver which targets both linux > and freebsd. You may have a try. Thanks. According to the mailing lists that project is now dead. http://lists.infradead.org/pipermail/unified-drivers/2013-July/000080.html > > >> Mike >> _______________________________________________ >> freebsd-drivers@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-drivers >> To unsubscribe, send any mail to "freebsd-drivers-unsubscribe@freebsd.org" >> > > From owner-freebsd-drivers@FreeBSD.ORG Thu May 1 12:22:05 2014 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8B3CFCC9 for ; Thu, 1 May 2014 12:22:05 +0000 (UTC) Received: from alpha.kreiz-it.fr (alpha.kreiz-it.fr [IPv6:2001:41d0:8:dda6::1]) by mx1.freebsd.org (Postfix) with ESMTP id F06AB1512 for ; Thu, 1 May 2014 12:22:04 +0000 (UTC) Received: from DirTech (lnr56-1-82-246-51-185.fbx.proxad.net [82.246.51.185]) by alpha.kreiz-it.fr (Postfix) with ESMTPSA id B0751B66 for ; Thu, 1 May 2014 14:21:55 +0200 (CEST) From: "Cedric GROSS" To: Subject: [em0]Ethernet Connection I217-V Date: Thu, 1 May 2014 14:21:52 +0200 Message-ID: <006f01cf6537$f0c78d10$d256a730$@info> MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Ac9lN+8ZuE/J2CDgR9yl8s/BJw6Qxg== Content-Language: fr Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.17 X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 May 2014 12:22:05 -0000 Hello there, I installed FreeBSD 10-stable on a GA-Z87N-wifi motherboard. For information, here is pciconf "none" device : none0@pci0:0:22:0: class=0x078000 card=0x1c3a1458 chip=0x8c3a8086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = 'Lynx Point MEI Controller' class = simple comms none1@pci0:0:31:3: class=0x0c0500 card=0x50011458 chip=0x8c228086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = 'Lynx Point SMBus Controller' class = serial bus subclass = SMBus none2@pci0:2:0:0: class=0x020000 card=0xe0001458 chip=0x10911969 rev=0x10 hdr=0x00 vendor = 'Atheros Communications Inc.' device = 'AR8161 Gigabit Ethernet' class = network subclass = ethernet none3@pci0:3:0:0: class=0x028000 card=0x40628086 chip=0x08878086 rev=0xc4 hdr=0x00 vendor = 'Intel Corporation' device = 'Centrino Wireless-N 2230' class = network But it's not my purpose. I have some sort of lag with ssh session to this box. I mean when I keying command or text I get some pause before characters comes back to screen. I wonder if is not a driver problem with network card : em0@pci0:0:25:0: class=0x020000 card=0xe0001458 chip=0x153b8086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = 'Ethernet Connection I217-V' Console is working well. Is there someone got same problem ? Any clue to resolve it ? Thanks for help. From owner-freebsd-drivers@FreeBSD.ORG Fri May 2 09:17:43 2014 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1671C666; Fri, 2 May 2014 09:17:43 +0000 (UTC) Received: from mail-qc0-x232.google.com (mail-qc0-x232.google.com [IPv6:2607:f8b0:400d:c01::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9BD121D02; Fri, 2 May 2014 09:17:42 +0000 (UTC) Received: by mail-qc0-f178.google.com with SMTP id i8so4415598qcq.23 for ; Fri, 02 May 2014 02:17:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=VMqaFDVgY0n8+oacavk5qjzAdwzai9wCyd2R9gp3K44=; b=FBiwzAQCW3vbcnJt+io4Xp5q/BMjUnzX4WDsrjwmdrpvyM0kZTmQP7GnMC3vAo8DzI rOJECsn1/vFw3RFyDCrxYe2n9exJNQdSJ+2ArU2uSN6am8W59lHH7TXuZiyLco1fzMaN 3jkwx3GkWKFhnu93vTUqU2pkJ4kxhWfCZfvB/8J4pzpNssRccyNZUMinKO49k8cFlVHh o3D4NEF28xsRqHs+ZnhPQjPYm8IaA6iQ3XcAveiyclRvNE1EnBniJibebd4wcpdIC7P1 apRK/uGX1rQf9oDYu5aLfHLg9JCVxyJMJRORuxJ/+uILnQU/usrfU7lpPcNIzrAEkK1k yuug== MIME-Version: 1.0 X-Received: by 10.140.19.133 with SMTP id 5mr19315315qgh.46.1399022261709; Fri, 02 May 2014 02:17:41 -0700 (PDT) Received: by 10.96.181.230 with HTTP; Fri, 2 May 2014 02:17:41 -0700 (PDT) Date: Fri, 2 May 2014 02:17:41 -0700 Message-ID: Subject: lindev - Unable to build head branch From: varanasi sainath To: freebsd-questions@freebsd.org, freebsd-fs@freebsd.org, freebsd-drivers@freebsd.org, eadler@FreeBSD.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 May 2014 09:17:43 -0000 Hi All, Unable to build head branch because of the following change http://svnweb.freebsd.org/base/head/sys/dev/?view=log Please remove the respective Makefile also Located at : http://svnweb.freebsd.org/base/head/sys/modules/lindev/Makefile?view=log Thanks, Sainath. -- Sainath Varanasi Hyderabad 09000855250 *My Website : http://s21embedded.webs.com * *Linked In Profile : http://in.linkedin.com/pub/sainathvaranasi ....* From owner-freebsd-drivers@FreeBSD.ORG Fri May 2 09:26:01 2014 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 651A6B14; Fri, 2 May 2014 09:26:01 +0000 (UTC) Received: from smtp1.multiplay.co.uk (smtp1.multiplay.co.uk [85.236.96.35]) by mx1.freebsd.org (Postfix) with ESMTP id F364E1DEB; Fri, 2 May 2014 09:26:00 +0000 (UTC) Received: by smtp1.multiplay.co.uk (Postfix, from userid 65534) id 902EA20E7088B; Fri, 2 May 2014 09:25:58 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.multiplay.co.uk X-Spam-Level: ** X-Spam-Status: No, score=2.9 required=8.0 tests=AWL,BAYES_05,DOS_OE_TO_MX, FSL_HELO_NON_FQDN_1,HELO_NO_DOMAIN,RDNS_DYNAMIC,STOX_REPLY_TYPE autolearn=no version=3.3.1 Received: from r2d2 (82-69-141-170.dsl.in-addr.zen.co.uk [82.69.141.170]) by smtp1.multiplay.co.uk (Postfix) with ESMTPS id 268AC20E70885; Fri, 2 May 2014 09:25:52 +0000 (UTC) Message-ID: From: "Steven Hartland" To: "varanasi sainath" , , , , References: Subject: Re: lindev - Unable to build head branch Date: Fri, 2 May 2014 10:25:54 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 May 2014 09:26:01 -0000 ----- Original Message ----- From: "varanasi sainath" > Hi All, > > Unable to build head branch because of the following change > http://svnweb.freebsd.org/base/head/sys/dev/?view=log > > Please remove the respective Makefile also > Located at : > http://svnweb.freebsd.org/base/head/sys/modules/lindev/Makefile?view=log I believe this has just been fixed by: http://svnweb.freebsd.org/changeset/base/265217 Regards Steve From owner-freebsd-drivers@FreeBSD.ORG Fri May 23 12:07:45 2014 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3501C3EA for ; Fri, 23 May 2014 12:07:45 +0000 (UTC) Received: from mail-wg0-x22a.google.com (mail-wg0-x22a.google.com [IPv6:2a00:1450:400c:c00::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C396F24FB for ; Fri, 23 May 2014 12:07:44 +0000 (UTC) Received: by mail-wg0-f42.google.com with SMTP id y10so4632643wgg.1 for ; Fri, 23 May 2014 05:07:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=3n8Rx8uYldRHETb8co8iB1szz0EceHZl86swnDtlu78=; b=PChmKkb6vqK7hzDStuG0nkgb88MkR+Odb0Wh+ceUrUxSYO/oOSR3OXwr1DMx0b1D1l xnDCYleHG0wVqNVdW5WvBes+zINAXxFwNso9zR01H2iJXX6oNCZTqvddDn6fyYVxltVY GNxXCd/GJQpebqOLgJr38+Ts58zTv2nUnlrKRAxy+CndIT0KQid/yXTTlHPSHgoaFIxI rweqM4xNCUUj766CfaYxQrGHepfab4VnW9G6dgVZDJc3SncVpUso4hvys+/ttJ4CH+Vi 2TT16iShWX3wnA3Lwe6dD7a1aNgO55SV0UNsMt3pgNsTOhRM+nyKn7XoaH1kXRu9RfTY qsrg== X-Received: by 10.195.18.8 with SMTP id gi8mr1750919wjd.75.1400846862876; Fri, 23 May 2014 05:07:42 -0700 (PDT) Received: from [172.16.0.95] (websense.cps-intl.org. [81.142.166.81]) by mx.google.com with ESMTPSA id l4sm2635164wiy.0.2014.05.23.05.07.41 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 23 May 2014 05:07:42 -0700 (PDT) Message-ID: <537F3A09.6070607@gmail.com> Date: Fri, 23 May 2014 13:07:37 +0100 From: International Centre for Parliamentary Studies User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: freebsd-drivers@freebsd.org Subject: enabling hardware echo cancellation for TE121 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2014 12:07:45 -0000 Hello All Good afternoon. Hope you are well. I have searched high and low to get some answer for the following, and despite trying it for more than two weeks I came up with nothing. So, I'm sending this to you with a hope that someone from the group/list can shed some light on it. I am currently trying to configure a TE121 card that comes with a hardware echo canceller. I have searched as much as I could on the net, but I could not come across any document/email/reference that would enable me to check if the device is enabled or not. As I am using FreeBSD 9.2 (Stable), the people at digium was unable to help me in this as well (they told me they only support linux). Would appreciate someone could please provide me with some pointers, may be the right mailing list to ask the question to, or any other suggestions you may have. Below are some information on the current system, not sure if I have everything ok, but there seem to be no error message (have not actually connected it yet, will do once I confirm everything is working) # uname -a FreeBSD pabx-isdn 9.3-PRERELEASE FreeBSD 9.3-PRERELEASE #0 r265949: Tue May 13 17:45:18 BST 2014 root@pabx-isdn:/usr/obj/usr/src/sys/pabx-isdn amd64 ### extract from dmesgwhen the card actually initializes dahdi: Telephony Interface Registered on major 196 dahdi: Version: 2.4.0-rc5 te12xp0: vendor=d161 device=8000 subvendor=ffffffff te12xp0: port 0xd000-0xd0ff mem 0xf7c20000-0xf7c203ff irq 16 at device 8.0 on pci4 em2: link state changed to UP te12xp0: Setting up global serial parameters for E1 te12xp0: Found a Wildcard TE121 dahdi: Registered tone zone 4 (United Kingdom) te12xp0: Span configured for CCS/HDB3/CRC4 te12xp0: Setting yellow alarm # cat /usr/local/etc/dahdi/system.conf bchan=1-15,17-31 dchan=16 loadzone = uk defaultzone=uk -------------- I tried putting echocanceller=hwec,1-15 but then when restarting dahdi I got the error DAHDI_ATTACH_ECHOCAN failed on channel 1: Invalid argument (22) If you require further information to point me to right location/direction, please let me know and I'll try to provide as much as practically possible, but I sure would like to get this working on FreeBSD rather than any other options. Thanks and regards S Kamal From owner-freebsd-drivers@FreeBSD.ORG Wed May 28 08:22:46 2014 Return-Path: Delivered-To: drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2AE4F70B; Wed, 28 May 2014 08:22:46 +0000 (UTC) Received: from mail-lb0-x22b.google.com (mail-lb0-x22b.google.com [IPv6:2a00:1450:4010:c04::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 272BE2A39; Wed, 28 May 2014 08:22:44 +0000 (UTC) Received: by mail-lb0-f171.google.com with SMTP id 10so5594642lbg.2 for ; Wed, 28 May 2014 01:22:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=FQ8QpIXeeMiyefXmJv97qgS7UF3fekfiuGRCqwLlWTk=; b=AxJPmbAp5K/tGaBly/dO9SxPVTrm+hC3STke4rxIsuw/Sxuev+gKqEJSOWnVvCoWS1 wzpaqiV+3Xix6muSmAwybUtvfwkHmNRqA0VM7U7rB8ZYJd5mUVkOMtxevcRdNBg8GRQe 9l2Lys+DXcYijMo8T4GZRygP5BLlR/BlGASzlij/LjaADzAjSeDwNNlMdrqbDSzVq7yX tEIPfHvmMj2i5MwpdCtuvDZqf4S/iC8f+/KTcBsTFeC0YRIm2sybrEUloVVqX2VLKhGY pZ8iJKIxk9DtwBOix6m6rOYt/qFZHA+0gWXkZPo8l+/7Ofi4AM04w4V6pEpxgHF/HBbB yZ1A== MIME-Version: 1.0 X-Received: by 10.112.50.2 with SMTP id y2mr7189288lbn.66.1401265362989; Wed, 28 May 2014 01:22:42 -0700 (PDT) Received: by 10.112.224.3 with HTTP; Wed, 28 May 2014 01:22:42 -0700 (PDT) Date: Wed, 28 May 2014 16:22:42 +0800 Message-ID: Subject: snd_hda doesn't automatic switch output between headphone and speaker on Macbook Pro 2012 From: suken woo To: mobile@freebsd.org, drivers@freebsd.org, multimedia@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18 X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 May 2014 08:22:46 -0000 hi all: just setting on /boot/loader.conf below hw.snd.default_unit="3" hint.hdaa.1.gpio_config="3=set" hint.hdaa.1.nid11.config="as=0" speaker works with very good sound quality.headphone have no sound but sounds still came out of speaker when I plug in earphones. if I set hint.hdaa.1.nid9.config="as=1" on loader.conf file sounds come out from both speaker and headphone. any trick to overwrite the pins configuration and make it works as expected? cat /dev/sndstat pcm0: (play) pcm1: (play) pcm2: (play) pcm3: (play) default pcm4: (play) pcm5: (play) boot with verbose enabled messages: hdacc0: at cad 0 on hdac0 hdaa0: at nid 1 on hdacc0 hdaa0: Subsystem ID: 0x106b00f2 hdaa0: NumGPIO=0 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=0 hdaa0: Original pins configuration: hdaa0: nid 0x as seq device conn jack loc color misc hdaa0: 4 185600f0 15 0 Digital-out Jack Digital 0x18 Unknown 0 hdaa0: 5 185600f0 15 0 Digital-out Jack Digital 0x18 Unknown 0 hdaa0: 6 585600f0 15 0 Digital-out None Digital 0x18 Unknown 0 hdaa0: 7 185600f0 15 0 Digital-out Jack Digital 0x18 Unknown 0 hdaa0: Patched pins configuration: hdaa0: nid 0x as seq device conn jack loc color misc hdaa0: 4 185600f0 15 0 Digital-out Jack Digital 0x18 Unknown 0 hdaa0: 5 185600f0 15 0 Digital-out Jack Digital 0x18 Unknown 0 hdaa0: 6 585600f0 15 0 Digital-out None Digital 0x18 Unknown 0 DISA hdaa0: 7 185600f0 15 0 Digital-out Jack Digital 0x18 Unknown 0 hdaa0: 3 associations found: hdaa0: Association 0 (15) out: hdaa0: Pin nid=4 seq=0 hdaa0: Association 1 (15) out: hdaa0: Pin nid=5 seq=0 hdaa0: Association 2 (15) out: hdaa0: Pin nid=7 seq=0 hdaa0: Tracing association 0 (15) hdaa0: Pin 4 traced to DAC 8 hdaa0: Association 0 (15) trace succeeded hdaa0: Tracing association 1 (15) hdaa0: Pin 5 traced to DAC 9 hdaa0: Association 1 (15) trace succeeded hdaa0: Tracing association 2 (15) hdaa0: Pin 7 traced to DAC 10 hdaa0: Association 2 (15) trace succeeded hdaa0: Looking for additional DAC for association 0 (15) hdaa0: Looking for additional DAC for association 1 (15) hdaa0: Looking for additional DAC for association 2 (15) hdaa0: Tracing input monitor hdaa0: Tracing other input monitors hdaa0: Tracing beeper hdaa0: FG config/quirks: forcestereo ivref50 ivref80 ivref100 ivref pcm0: at nid 4 on hdaa0 pcm0: Playback: pcm0: Stream cap: 0x00000005 AC3 PCM pcm0: PCM cap: 0x000e07f0 16 20 24 bits, 32 44 48 88 96 176 192 KHz pcm0: DAC: 8 pcm0: pcm0: nid=4 [pin: Digital-out (Jack)] pcm0: + <- nid=8 [audio output] [src: pcm] pcm0: pcm0: Mixer "vol" -> "none": child=0x00000010 pcm0: Mixer "pcm": parent="vol" pcm0: Soft PCM mixer ENABLED pcm0: Playback channel matrix is: unknown, assuming 7.1 (disconnected) pcm1: at nid 5 on hdaa0 pcm1: Playback: pcm1: Stream cap: 0x00000005 AC3 PCM pcm1: PCM cap: 0x000e07f0 16 20 24 bits, 32 44 48 88 96 176 192 KHz pcm1: DAC: 9 pcm1: pcm1: nid=5 [pin: Digital-out (Jack)] pcm1: + <- nid=9 [audio output] [src: pcm] pcm1: pcm1: Mixer "vol" -> "none": child=0x00000010 pcm1: Mixer "pcm": parent="vol" pcm1: Soft PCM mixer ENABLED pcm1: Playback channel matrix is: unknown, assuming 7.1 (disconnected) pcm2: at nid 7 on hdaa0 pcm2: Playback: pcm2: Stream cap: 0x00000005 AC3 PCM pcm2: PCM cap: 0x000e07f0 16 20 24 bits, 32 44 48 88 96 176 192 KHz pcm2: DAC: 10 pcm2: pcm2: nid=7 [pin: Digital-out (Jack)] pcm2: + <- nid=10 [audio output] [src: pcm] pcm2: pcm2: Mixer "vol" -> "none": child=0x00000010 pcm2: Mixer "pcm": parent="vol" pcm2: Soft PCM mixer ENABLED pcm2: Playback channel matrix is: unknown, assuming 7.1 (disconnected) hdacc1: at cad 0 on hdac1 hdaa1: at nid 1 on hdacc1 hdaa1: Subsystem ID: 0x106b2800 hdaa1: NumGPIO=4 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=0 hdaa1: GPIO0: disabled hdaa1: GPIO1: disabled hdaa1: GPIO2: disabled hdaa1: GPIO3: output state=0 hdaa1: Original pins configuration: hdaa1: nid 0x as seq device conn jack loc color misc hdaa1: 9 002b4020 2 0 Headphones Jack Combo 0x00 Green 0 hdaa1: 10 90100112 1 2 Speaker Fixed Unknown Internal Unknown 1 hdaa1: 11 90100110 1 0 Speaker Fixed Unknown Internal Unknown 1 hdaa1: 12 400000f0 15 0 Line-out None Unknown 0x00 Unknown 0 hdaa1: 13 400000f0 15 0 Line-out None Unknown 0x00 Unknown 0 hdaa1: 14 90a60100 0 0 Mic Fixed Digital Internal Unknown 1 hdaa1: 15 400000f0 15 0 Line-out None Unknown 0x00 Unknown 0 hdaa1: 16 004be030 3 0 SPDIF-out Jack Combo 0x00 White 0 hdaa1: 18 400000f0 15 0 Line-out None Unknown 0x00 Unknown 0 hdaa1: 21 400000f0 15 0 Line-out None Unknown 0x00 Unknown 0 hdaa1: Patching pin config nid=11 0x90100110 -> 0x90100100 hdaa1: Patched pins configuration: hdaa1: nid 0x as seq device conn jack loc color misc hdaa1: 9 002b4020 2 0 Headphones Jack Combo 0x00 Green 0 hdaa1: 10 90100112 1 2 Speaker Fixed Unknown Internal Unknown 1 hdaa1: 11 90100100 0 0 Speaker Fixed Unknown Internal Unknown 1 DISA hdaa1: 12 400000f0 15 0 Line-out None Unknown 0x00 Unknown 0 DISA hdaa1: 13 400000f0 15 0 Line-out None Unknown 0x00 Unknown 0 DISA hdaa1: 14 90a60100 0 0 Mic Fixed Digital Internal Unknown 1 DISA hdaa1: 15 400000f0 15 0 Line-out None Unknown 0x00 Unknown 0 DISA hdaa1: 16 004be030 3 0 SPDIF-out Jack Combo 0x00 White 0 hdaa1: 18 400000f0 15 0 Line-out None Unknown 0x00 Unknown 0 DISA hdaa1: 21 400000f0 15 0 Line-out None Unknown 0x00 Unknown 0 DISA hdaa1: 3 associations found: hdaa1: Association 0 (1) out: hdaa1: Pin nid=10 seq=2 hdaa1: Association 1 (2) out: hdaa1: Pin nid=9 seq=0 hdaa1: Association 2 (3) out: hdaa1: Pin nid=16 seq=0 hdaa1: Tracing association 0 (1) hdaa1: Pin 10 traced to DAC 3 hdaa1: Association 0 (1) trace succeeded hdaa1: Tracing association 1 (2) hdaa1: Pin 9 traced to DAC 2 hdaa1: Association 1 (2) trace succeeded hdaa1: Tracing association 2 (3) hdaa1: Pin 16 traced to DAC 8 hdaa1: Association 2 (3) trace succeeded hdaa1: Looking for additional DAC for association 0 (1) hdaa1: Looking for additional DAC for association 1 (2) hdaa1: Looking for additional DAC for association 2 (3) hdaa1: Tracing input monitor hdaa1: Tracing other input monitors hdaa1: Tracing beeper hdaa1: GPIO commit hdaa1: GPIO0: disabled hdaa1: GPIO1: disabled hdaa1: GPIO2: disabled hdaa1: GPIO3: output state=1 hdaa1: Pin sense: nid=9 sense=0x80000000 (connected) hdaa1: FG config/quirks: forcestereo ivref50 ivref80 ivref100 ivref pcm3: at nid 10 on hdaa1 pcm3: Playback: pcm3: Stream cap: 0x00000003 FLOAT32 PCM pcm3: PCM cap: 0x001e07f0 16 20 24 32 bits, 32 44 48 88 96 176 192 KHz pcm3: DAC: 3 pcm3: pcm3: nid=10 [pin: Speaker (Fixed)] pcm3: + <- nid=3 [audio output] [src: pcm] pcm3: pcm3: Master Volume (OSS: vol): -57/6dB pcm3: +- ctl 2 (nid 3 out): -57/6dB (128 steps) + mute pcm3: pcm3: PCM Volume (OSS: pcm): -57/6dB pcm3: +- ctl 2 (nid 3 out): -57/6dB (128 steps) + mute pcm3: pcm3: Mixer "vol": pcm3: Mixer "pcm": pcm3: Playback channel set is: Back Left, Back Right, pcm3: Playback channel matrix is: unknown, assuming 2.0 (unknown) pcm4: at nid 9 on hdaa1 pcm4: Playback: pcm4: Stream cap: 0x00000003 FLOAT32 PCM pcm4: PCM cap: 0x001e07f0 16 20 24 32 bits, 32 44 48 88 96 176 192 KHz pcm4: DAC: 2 pcm4: pcm4: nid=9 [pin: Headphones (Green Jack)] pcm4: + <- nid=2 [audio output] [src: pcm] pcm4: pcm4: Master Volume (OSS: vol): -57/6dB pcm4: +- ctl 1 (nid 2 out): -57/6dB (128 steps) + mute pcm4: pcm4: PCM Volume (OSS: pcm): -57/6dB pcm4: +- ctl 1 (nid 2 out): -57/6dB (128 steps) + mute pcm4: pcm4: Mixer "vol": pcm4: Mixer "pcm": pcm4: Playback channel set is: Front Left, Front Right, pcm4: Playback channel matrix is: 2.0 (connected) pcm5: at nid 16 on hdaa1 pcm5: Playback: pcm5: Stream cap: 0x00000007 AC3 FLOAT32 PCM pcm5: PCM cap: 0x001e07f0 16 20 24 32 bits, 32 44 48 88 96 176 192 KHz pcm5: DAC: 8 pcm5: pcm5: nid=16 [pin: SPDIF-out (White Jack)] pcm5: + <- nid=8 [audio output] [src: pcm] pcm5: pcm5: Mixer "vol" -> "none": child=0x00000010 pcm5: Mixer "pcm": parent="vol" pcm5: Soft PCM mixer ENABLED pcm5: Playback channel set is: Front Left, Front Right, pcm5: Playback channel matrix is: 2.0 (unknown) -- -- --wsk From owner-freebsd-drivers@FreeBSD.ORG Wed May 28 08:59:08 2014 Return-Path: Delivered-To: drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C028133F; Wed, 28 May 2014 08:59:08 +0000 (UTC) Received: from mail-qg0-x233.google.com (mail-qg0-x233.google.com [IPv6:2607:f8b0:400d:c04::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C4812D8D; Wed, 28 May 2014 08:59:08 +0000 (UTC) Received: by mail-qg0-f51.google.com with SMTP id q107so16916355qgd.10 for ; Wed, 28 May 2014 01:59:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:reply-to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding:content-type; bh=hqzniWucihZOy2eIBeiWxzFeb6qT7Dh4KUlWCfvjNCI=; b=BTjoZABvNSQYmcWuuwEBYeZBle/fjowLA4PXGcacs70vuCQEW/Us4u04nPBmNa2ZZV 5ILFankSo+ly0gPJJHUqPNSpwSrn5cSWjc3arR8QGidBBqWYRTnfw4mhjoyhzdTo42mR /U5sgJannD9+AgLaBcWhXNxwDxtsi5Fu8NtJBYbqx7CNtF88vLrVp3QJxK6Swxy6wXpz 09AI38RyeM3JXjtJ8jg+xIqWKHVI4K474gEjeV8gesFjiGMz5zL0T52RVcOw/EqrCsLe 0GzGGgoObOYt36BZbyTKjdO3k07qCdwg9GLjHSDVEmh0/1DCGgDVk4022rmqzSu5wIso HRiQ== X-Received: by 10.224.166.9 with SMTP id k9mr50545590qay.25.1401267547458; Wed, 28 May 2014 01:59:07 -0700 (PDT) Received: from lumiwa.farms.net (pool-70-105-235-170.port.east.myfairpoint.net. [70.105.235.170]) by mx.google.com with ESMTPSA id r6sm29508090qab.40.2014.05.28.01.59.05 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 28 May 2014 01:59:06 -0700 (PDT) From: Ajtim To: freebsd-multimedia@freebsd.org Reply-To: lumiwa@gmail.com Subject: Re: snd_hda doesn't automatic switch output between headphone and speaker on Macbook Pro 2012 Date: Wed, 28 May 2014 04:59:04 -0400 Message-ID: <4330793.VelBuH8Ztb@lumiwa.farms.net> User-Agent: KMail/4.12.5 (FreeBSD/10.0-RELEASE-p3; KDE/4.12.5; amd64; ; ) In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: suken woo , mobile@freebsd.org, multimedia@freebsd.org, drivers@freebsd.org X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 May 2014 08:59:08 -0000 On Wednesday 28 May 2014 16:22:42 suken woo wrote: > hi all: > just setting on /boot/loader.conf below > > hw.snd.default_unit="3" > hint.hdaa.1.gpio_config="3=set" > hint.hdaa.1.nid11.config="as=0" > > speaker works with very good sound quality.headphone have no sound but > sounds still came out of speaker > when I plug in earphones. > if I set hint.hdaa.1.nid9.config="as=1" on loader.conf file > sounds come out from both speaker and headphone. > any trick to overwrite the pins configuration and make it works as > expected? > > cat /dev/sndstat > pcm0: (play) > pcm1: (play) > pcm2: (play) > pcm3: (play) default > pcm4: (play) > pcm5: (play) > I had the same problem on my iMc 11, about one year. pcm0: (play) pcm1: (play/rec) default pcm2: (rec) pcm3: (play/rec) And as I know is the problem with drivers. I gave up and I use headphones. BTW: On Linux works without problems. -- ajtiM -------- http://www.redbubble.com/people/lumiwa From owner-freebsd-drivers@FreeBSD.ORG Wed May 28 09:57:51 2014 Return-Path: Delivered-To: drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 33AC799E; Wed, 28 May 2014 09:57:51 +0000 (UTC) Received: from mail-la0-x22b.google.com (mail-la0-x22b.google.com [IPv6:2a00:1450:4010:c03::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 29181235D; Wed, 28 May 2014 09:57:49 +0000 (UTC) Received: by mail-la0-f43.google.com with SMTP id mc6so7221132lab.16 for ; Wed, 28 May 2014 02:57:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=b+8U2PmzX5vcD/K8DEu16mWukXlMEjxl5hTRmGvyOFY=; b=Yaz643poV/YlczmfcpfrfedHg7KR8m5YScy1ONSb2XwO5REfhxJ3i0csczeu0kZlVR 2XwoExBO3JgKNSRI7l8DvvuEqrCyQetHUowt6wthDLtqAa00FjVpO4pcnH24X7/k40kM d/aVsQ1HsItIownaR+molpSyQXd9PvRwx6OZTWeBb2bvnLIT0XQtBAzyHrL96vQl8R26 A0P2LCYCAw2WJYgeu8JWEyWDLX4uWqBv/WU7iafieqHglhIaHYA0ki4PQWOPxBkcrm2/ EIaIvllYV42dkqIbGdKyp+fl1VJNSDiM86yzChBwY9evsYf4o+f/MN1KuFoeWudwFJAM RkhA== MIME-Version: 1.0 X-Received: by 10.112.13.35 with SMTP id e3mr27514557lbc.44.1401271067673; Wed, 28 May 2014 02:57:47 -0700 (PDT) Received: by 10.112.224.3 with HTTP; Wed, 28 May 2014 02:57:47 -0700 (PDT) In-Reply-To: <4330793.VelBuH8Ztb@lumiwa.farms.net> References: <4330793.VelBuH8Ztb@lumiwa.farms.net> Date: Wed, 28 May 2014 17:57:47 +0800 Message-ID: Subject: Re: snd_hda doesn't automatic switch output between headphone and speaker on Macbook Pro 2012 From: suken woo To: lumiwa@gmail.com Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18 Cc: freebsd-multimedia@freebsd.org, mobile@freebsd.org, multimedia@freebsd.org, drivers@freebsd.org X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 May 2014 09:57:51 -0000 In my case the only way i can do is just change hw.snd.default_unit=4 if I gonna use headphone 2014-05-28 16:59 GMT+08:00 Ajtim : > On Wednesday 28 May 2014 16:22:42 suken woo wrote: > > hi all: > > just setting on /boot/loader.conf below > > > > hw.snd.default_unit="3" > > hint.hdaa.1.gpio_config="3=set" > > hint.hdaa.1.nid11.config="as=0" > > > > speaker works with very good sound quality.headphone have no sound but > > sounds still came out of speaker > > when I plug in earphones. > > if I set hint.hdaa.1.nid9.config="as=1" on loader.conf file > > sounds come out from both speaker and headphone. > > any trick to overwrite the pins configuration and make it works as > > expected? > > > > cat /dev/sndstat > > pcm0: (play) > > pcm1: (play) > > pcm2: (play) > > pcm3: (play) default > > pcm4: (play) > > pcm5: (play) > > > > I had the same problem on my iMc 11, about one year. > pcm0: (play) > pcm1: (play/rec) default > pcm2: (rec) > pcm3: (play/rec) > > And as I know is the problem with drivers. I gave up and I use headphones. > BTW: On Linux works without problems. > > -- > ajtiM > -------- > http://www.redbubble.com/people/lumiwa > -- --wsk From owner-freebsd-drivers@FreeBSD.ORG Fri Jun 13 21:04:45 2014 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 89B9AA8B; Fri, 13 Jun 2014 21:04:45 +0000 (UTC) Received: from mail-qa0-x22a.google.com (mail-qa0-x22a.google.com [IPv6:2607:f8b0:400d:c00::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3DBE02648; Fri, 13 Jun 2014 21:04:45 +0000 (UTC) Received: by mail-qa0-f42.google.com with SMTP id dc16so4535633qab.29 for ; Fri, 13 Jun 2014 14:04:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=U+mzC14pNyfGCk3b5xYsCy6b8RP8HOY8lpqYdgawfNU=; b=mEB2tMX56vJpUGvQSWEmNvKAYpkN/Zg8W5+mqCHOu/F5/A/CILttBbOHL2H5s+0ME6 INzP17emZj2osK1fdvJTfOVLrYH5/7tJVeUnHRkV27zG1dScGbCvXmi3trfKA67EJ+1P /KO5x/jUeZLN+208hAySMNXtxq1J+vfILQ9r41CRsb+gBQex4NNUCoomNJoUkaOyYCF2 LvnKst+j7CUeIq7/lnUVgvFvn0WTCfje8169PcT+OXPkqunbgkwkYGuKjesdkBSSyn7E SP+gZDrq4Pr3o/e/42XSNmHHlUd/5QAoGjOHNw7wPh4pehos2Ald9ldPRUuV2nD415t3 n1Cw== MIME-Version: 1.0 X-Received: by 10.140.98.234 with SMTP id o97mr7095917qge.35.1402693484253; Fri, 13 Jun 2014 14:04:44 -0700 (PDT) Received: by 10.140.42.73 with HTTP; Fri, 13 Jun 2014 14:04:44 -0700 (PDT) Date: Sat, 14 Jun 2014 02:34:44 +0530 Message-ID: Subject: igb0: couldnot setup receive structures From: Nidheesh To: freebsd-drivers@freebsd.org, dougb@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18 X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jun 2014 21:04:45 -0000 Hi Team, i have got this mail ID from forum. please help or direct me to solve my below issue. I have installed freeBSD 8.4 version on my HP proliant DL380p gen8 server . Not I am not able to enable my internet connectivity . network status showing "no carrier " also i tried to bring up the network by ifconfig igb0 up its throughout below error igb0: couldnot step up receive structures . Can some one help me with this issue. -- With Love Nidheesh KN From owner-freebsd-drivers@FreeBSD.ORG Thu Jul 3 15:06:32 2014 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8B0FF2DF for ; Thu, 3 Jul 2014 15:06:32 +0000 (UTC) Received: from host.volga-rast.ru (host.volga-rast.ru [213.234.29.165]) by mx1.freebsd.org (Postfix) with ESMTP id EFE0522ED for ; Thu, 3 Jul 2014 15:06:31 +0000 (UTC) Received: by host.volga-rast.ru (Postfix, from userid 554) id CAAAA1EBBA3D; Thu, 3 Jul 2014 18:42:41 +0400 (VOLT) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on host.volga-rast.ru X-Spam-Level: X-Spam-Status: No, score=-92.6 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_50, FH_DATE_PAST_20XX,FUZZY_MONEY,HTML_MESSAGE,SARE_OBFU_PART_OFF, SARE_OBFU_PART_ONE,USER_IN_WHITELIST autolearn=no version=3.2.5 Received: from Reception (localhost.localdomain [127.0.0.1]) by host.volga-rast.ru (Postfix) with ESMTP id B9EC21EBBA63 for ; Thu, 3 Jul 2014 18:42:40 +0400 (VOLT) From: "\"Wal-mart" Subject: Work.. To: freebsd-drivers@freebsd.org MIME-Version: 1.0 Reply-To: tm6x46jtqhl12i6@jetable.org Date: Thu, 3 Jul 2014 09:42:27 -0500 Message-Id: <20140703144240.B9EC21EBBA63@host.volga-rast.ru> Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18 X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jul 2014 15:06:32 -0000 - This mail is in HTML. Some elements may be ommited in plain text. - "Welcome to Wal-Mart, You have been selected as a Sh0p-Detective For s= hopping task in your city, We pay $~200 being a Sh0p-Detective. Your e= mployment Packet will include M0ney for the shopping. We want you to participate because it's Fun & rewarding. We will mail your employment training materials when you Provide the F= ollowing details : "Full~Name":_ _ _ _ _ _ _ _ _ _ "ADDRE55":_ _ _ _ _ _ _ _ _ _ Clty-State-Z1P:_ _ _ _ _ _ _ _ _ _ (M0bile and H0me) #:_ _ _ _ _ _ _ _ _ _ You work and shop together for pleasure 2-3 hours twice in a week . We wait your good response, Thank You! Regards, 0fficial Recruiters @Detectlve_Sh0pper_Network