From owner-freebsd-mobile@FreeBSD.ORG Tue Nov 19 14:23:57 2013 Return-Path: Delivered-To: mobile@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 59BE1A1C; Tue, 19 Nov 2013 14:23:57 +0000 (UTC) Received: from land.berklix.org (land.berklix.org [144.76.10.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id DFA112384; Tue, 19 Nov 2013 14:23:55 +0000 (UTC) Received: from mart.js.berklix.net (p5DCBE73A.dip0.t-ipconnect.de [93.203.231.58]) (authenticated bits=128) by land.berklix.org (8.14.5/8.14.5) with ESMTP id rAJENiWw067036; Tue, 19 Nov 2013 14:23:44 GMT (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by mart.js.berklix.net (8.14.3/8.14.3) with ESMTP id rAJENXu1015491; Tue, 19 Nov 2013 15:23:33 +0100 (CET) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost.js.berklix.net [127.0.0.1]) by fire.js.berklix.net (8.14.4/8.14.4) with ESMTP id rAJENKDc010371; Tue, 19 Nov 2013 15:23:27 +0100 (CET) (envelope-from jhs@fire.js.berklix.net) Message-Id: <201311191423.rAJENKDc010371@fire.js.berklix.net> To: Eitan Adler Subject: Re: Story of a Desktop User From: "Julian H. Stacey" Organization: http://berklix.com BSD Unix Linux Consultancy, Munich Germany User-agent: EXMH on FreeBSD http://berklix.com/free/ X-URL: http://www.berklix.com In-reply-to: Your message "Thu, 14 Nov 2013 16:59:02 EST." Date: Tue, 19 Nov 2013 15:23:19 +0100 Sender: jhs@berklix.com Cc: desktop@freebsd.org, mobile@freebsd.org X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Nov 2013 14:23:57 -0000 Eitan Adler wrote: > The hardware switches from speakers to headphones automagically when I > plug in headphones. I like this behavior but it would be great if > there were a sysctl to disable it. If it's a mini jack that may be an artifact of the socket, in which case no software can control it. Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultant, Munich http://berklix.com Interleave replies below like a play script. Indent old text with "> ". Send plain text, not quoted-printable, HTML, base64, or multipart/alternative. Extradite NSA spy chief Alexander. http://berklix.eu/jhs/blog/2013_10_30 From owner-freebsd-mobile@FreeBSD.ORG Wed Nov 20 03:20:25 2013 Return-Path: Delivered-To: mobile@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 E7141513; Wed, 20 Nov 2013 03:20:25 +0000 (UTC) Received: from mail-qe0-x22e.google.com (mail-qe0-x22e.google.com [IPv6:2607:f8b0:400d:c02::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9B4AE2712; Wed, 20 Nov 2013 03:20:25 +0000 (UTC) Received: by mail-qe0-f46.google.com with SMTP id s14so5640981qeb.5 for ; Tue, 19 Nov 2013 19:20:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=AxHd0fYsMfUakVtK1tLPpfbK/mYPueS5OITkVS9hQxk=; b=mL/QDOuoZIxX3lPiPG0SssgNAoLsqXtlyMQKnLJl/l629baXBTdtV9WC9UflNaQqoP cHDe66d+GdWB2F4safmdow2Rfz/H3f9WA1P3WeLmKUqSb69god6dGQ0a0tnKE4+rs3H+ +mRNG0PLOoLvXeR4/ptBa4GHQ7tTqhHPT1AA/aFNZmaXnv2NPfD2Aszyxbjx33t21I8K lPFIdsf91Vkwk55UqwkBH9oujDb/nOCQLTEgv97T9NHtqqcE7CXjERicThaqeaz5OlKw +x7ff3DxWLtcSHKjPx7uiIDrjJIR+JG1UxNgXNMBTvsDU31WGsjHr01pTDsSSn2fNaGx 8POQ== MIME-Version: 1.0 X-Received: by 10.224.64.200 with SMTP id f8mr49335100qai.55.1384917624368; Tue, 19 Nov 2013 19:20:24 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.207.66 with HTTP; Tue, 19 Nov 2013 19:20:24 -0800 (PST) In-Reply-To: <201311191423.rAJENKDc010371@fire.js.berklix.net> References: <201311191423.rAJENKDc010371@fire.js.berklix.net> Date: Tue, 19 Nov 2013 19:20:24 -0800 X-Google-Sender-Auth: tTiZopaIlGc5d-XALYkBcL6aUDQ Message-ID: Subject: Re: Story of a Desktop User From: Adrian Chadd To: "Julian H. Stacey" Content-Type: text/plain; charset=ISO-8859-1 Cc: Eitan Adler , desktop@freebsd.org, "freebsd-mobile@freebsd.org" X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Nov 2013 03:20:26 -0000 The newer sound stuff has a whole bunch of interesting interconnects internally that let you wire things around between functional blocks, inputs and outputs. I seem to recall that sometimes you have a hardware-only jack that does this. Sometimes its a software only thing where the hardware has a switch that the software uses to flip the output wiring. So depending upon the chipset and what it implements, it may be some automagic wiring done by the driver that's enumerated at boot time. Boot with -v and see if you get this nice verbose output from the sound driver explaining how all the connections are wired up. -adrian On 19 November 2013 06:23, Julian H. Stacey wrote: > Eitan Adler wrote: >> The hardware switches from speakers to headphones automagically when I >> plug in headphones. I like this behavior but it would be great if >> there were a sysctl to disable it. > > If it's a mini jack that may be an artifact of the socket, > in which case no software can control it. > > Cheers, > Julian > -- > Julian Stacey, BSD Unix Linux C Sys Eng Consultant, Munich http://berklix.com > Interleave replies below like a play script. Indent old text with "> ". > Send plain text, not quoted-printable, HTML, base64, or multipart/alternative. > Extradite NSA spy chief Alexander. http://berklix.eu/jhs/blog/2013_10_30 > _______________________________________________ > freebsd-mobile@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mobile > To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@freebsd.org" From owner-freebsd-mobile@FreeBSD.ORG Wed Nov 20 06:05:48 2013 Return-Path: Delivered-To: mobile@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 1E66B2CE; Wed, 20 Nov 2013 06:05:48 +0000 (UTC) Received: from mail-pb0-x22b.google.com (mail-pb0-x22b.google.com [IPv6:2607:f8b0:400e:c01::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E1E092EFD; Wed, 20 Nov 2013 06:05:47 +0000 (UTC) Received: by mail-pb0-f43.google.com with SMTP id rq2so7369253pbb.30 for ; Tue, 19 Nov 2013 22:05:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=5y0A79QbbqPq0OBegsHiCoIFJZWvPD/gYP5BVaNKlcI=; b=wMiOIi+AgYR2gISauAaHC+LsrCX+RLm+lDaS7WOF+Z/94UGN8QYDwIHaLEOu2vxFJX wirO4PhhIlrl8hh87JchsKmVnDz5CY7NlGK3v4PDYn+Z+61C8N8zbW2uo6KuT7aaALbB 977dPik4wNYNF3p2Z8XndlVK1fsfykd5e3Nbs8g4SxeSwSH0rr6FdRx3H3kSx9vdSzL3 go/xne+xQzGjOA6ftV3K2i3wLjyPZyMTBqLwpJVETkuzPIU1XZpJm0iJI2AeTMOGj3Td RZSJCSb76eRFXvQdwBic8aFar6LjPw+1yv2K9PmaP9Bc2zhPlKs8Ku5qJH/MRqRj154i upCw== MIME-Version: 1.0 X-Received: by 10.67.21.226 with SMTP id hn2mr30451560pad.69.1384927547296; Tue, 19 Nov 2013 22:05:47 -0800 (PST) Sender: kob6558@gmail.com Received: by 10.67.23.101 with HTTP; Tue, 19 Nov 2013 22:05:47 -0800 (PST) In-Reply-To: References: <201311191423.rAJENKDc010371@fire.js.berklix.net> Date: Tue, 19 Nov 2013 22:05:47 -0800 X-Google-Sender-Auth: 4PlIo6d20fffOugkuF1ZGf5_ILw Message-ID: Subject: Re: Story of a Desktop User From: Kevin Oberman To: Adrian Chadd Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.16 Cc: Eitan Adler , "Julian H. Stacey" , desktop@freebsd.org, "freebsd-mobile@freebsd.org" X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Nov 2013 06:05:48 -0000 On Tue, Nov 19, 2013 at 7:20 PM, Adrian Chadd wrote: > The newer sound stuff has a whole bunch of interesting interconnects > internally that let you wire things around between functional blocks, > inputs and outputs. > > I seem to recall that sometimes you have a hardware-only jack that > does this. Sometimes its a software only thing where the hardware has > a switch that the software uses to flip the output wiring. > > So depending upon the chipset and what it implements, it may be some > automagic wiring done by the driver that's enumerated at boot time. > Boot with -v and see if you get this nice verbose output from the > sound driver explaining how all the connections are wired up. > > > > > -adrian > > > On 19 November 2013 06:23, Julian H. Stacey wrote: > > Eitan Adler wrote: > >> The hardware switches from speakers to headphones automagically when I > >> plug in headphones. I like this behavior but it would be great if > >> there were a sysctl to disable it. > > > > If it's a mini jack that may be an artifact of the socket, > > in which case no software can control it. > > > > Cheers, > > Julian > > -- > > Julian Stacey, BSD Unix Linux C Sys Eng Consultant, Munich > http://berklix.com > > Interleave replies below like a play script. Indent old text with "> ". > > Send plain text, not quoted-printable, HTML, base64, or > multipart/alternative. > > Extradite NSA spy chief Alexander. > http://berklix.eu/jhs/blog/2013_10_30 > On most sound systems using snd_hda you can do this fairly easily, though figuring out the exact incantations can require a bit of reading and thought. Details (including sysctls) may be found in snd_hda(4). -- R. Kevin Oberman, Network Engineer E-mail: rkoberman@gmail.com From owner-freebsd-mobile@FreeBSD.ORG Wed Nov 20 06:36:24 2013 Return-Path: Delivered-To: mobile@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 6054B772 for ; Wed, 20 Nov 2013 06:36:24 +0000 (UTC) Received: from mail-qe0-x22c.google.com (mail-qe0-x22c.google.com [IPv6:2607:f8b0:400d:c02::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 28C7E2082 for ; Wed, 20 Nov 2013 06:36:24 +0000 (UTC) Received: by mail-qe0-f44.google.com with SMTP id ne12so5122414qeb.17 for ; Tue, 19 Nov 2013 22:36:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=WyP+4vD7MO3SoNhjgyNwQ9wxI7JeVjV5VpS3APCAZFU=; b=ciODvL1fs0w1vHlWDNTyhL2PcJ6b9lAMyBHjoIMEHPgbVx75+jwyG6r9W0o09Nwj/9 ZQJf8BopgTYhALnWx8/YPxM5w3Aj/nQpnKvG1BnCapiFo6pW+eRu+/ghr3TZ7K2Cpsow Wa2eDPYNZOlepgQaea7IcBQTTXTBVhpxogwsm1+LZ0/tYvq564P4ko5FyQzvWRlj2S6K 4kvxHZNTAsekL+3KXk8h4U6hG0Vx/CaZw1JHRVWKZuude0XD4AJnWPgwdThWagdOEXiG kwFUtk6bhnG4KdG11qMe7x3vS9Ui5Otb7gQGbzo8C2QDZrg3RRpP+L70sH7z3/4FaLoD qr5A== MIME-Version: 1.0 X-Received: by 10.224.64.200 with SMTP id f8mr50268481qai.55.1384929382635; Tue, 19 Nov 2013 22:36:22 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.207.66 with HTTP; Tue, 19 Nov 2013 22:36:22 -0800 (PST) Date: Tue, 19 Nov 2013 22:36:22 -0800 X-Google-Sender-Auth: 4_uABlsf-uzChs5Dehd6qDdJUWY Message-ID: Subject: EEEPC 1001PX Xorg? From: Adrian Chadd To: "freebsd-mobile@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Nov 2013 06:36:24 -0000 Hi all, I have an EEEPC 1001PX with some Intel Atom and Integrated graphics: CPU: Intel(R) Atom(TM) CPU N450 @ 1.66GHz (1666.51-MHz 686-class CPU) vgapci0@pci0:0:2:0: class=0x030000 card=0x83ac1043 chip=0xa0118086 rev=0x00 hdr=0x00 vendor = 'Intel Corporation' device = 'Atom Processor D4xx/D5xx/N4xx/N5xx Integrated Graphics Controller' class = display subclass = VGA vgapci1@pci0:0:2:1: class=0x038000 card=0x83ac1043 chip=0xa0128086 rev=0x00 hdr=0x00 vendor = 'Intel Corporation' device = 'Atom Processor D4xx/D5xx/N4xx/N5xx Integrated Graphics Controller' class = display However, xorg just plain hangs when it starts. I have to kill -9 it. Here's how far it got: http://people.freebsd.org/~adrian/ath/Xorg.0.log I'm going to rebuild it with debugging so I can try and figure out where it's dying. Does anyone have this actually working? I'd really like to get this thing running -HEAD in a usable fashion. Thanks! -adrian From owner-freebsd-mobile@FreeBSD.ORG Wed Nov 20 11:29:01 2013 Return-Path: Delivered-To: freebsd-mobile@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 21D5B910 for ; Wed, 20 Nov 2013 11:29:01 +0000 (UTC) Received: from mail.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb:1::3]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id DE93A232C for ; Wed, 20 Nov 2013 11:29:00 +0000 (UTC) Received: from 0x20.net (0x20.net [217.69.76.212]) (Authenticated sender: lala) by mail.0x20.net (Postfix) with ESMTPA id 822CC6A6002 for ; Wed, 20 Nov 2013 12:28:58 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 20 Nov 2013 12:28:58 +0100 From: Lars Engels To: freebsd-mobile@freebsd.org Subject: Re: Story of a Desktop User In-Reply-To: References: <201311191423.rAJENKDc010371@fire.js.berklix.net> Message-ID: <2906d296df7b8291c64f4d0bbd8a6eb6@mail.0x20.net> X-Sender: lars.engels@0x20.net User-Agent: Roundcube Webmail/0.7 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Nov 2013 11:29:01 -0000 Am 2013-11-20 07:05, schrieb Kevin Oberman: > On Tue, Nov 19, 2013 at 7:20 PM, Adrian Chadd > wrote: > >> The newer sound stuff has a whole bunch of interesting interconnects >> internally that let you wire things around between functional blocks, >> inputs and outputs. >> >> I seem to recall that sometimes you have a hardware-only jack that >> does this. Sometimes its a software only thing where the hardware has >> a switch that the software uses to flip the output wiring. >> >> So depending upon the chipset and what it implements, it may be some >> automagic wiring done by the driver that's enumerated at boot time. >> Boot with -v and see if you get this nice verbose output from the >> sound driver explaining how all the connections are wired up. >> >> >> >> >> -adrian >> >> >> On 19 November 2013 06:23, Julian H. Stacey wrote: >> > Eitan Adler wrote: >> >> The hardware switches from speakers to headphones automagically when I >> >> plug in headphones. I like this behavior but it would be great if >> >> there were a sysctl to disable it. >> > >> > If it's a mini jack that may be an artifact of the socket, >> > in which case no software can control it. >> > >> > Cheers, >> > Julian >> > -- >> > Julian Stacey, BSD Unix Linux C Sys Eng Consultant, Munich >> http://berklix.com >> > Interleave replies below like a play script. Indent old text with "> ". >> > Send plain text, not quoted-printable, HTML, base64, or >> multipart/alternative. >> > Extradite NSA spy chief Alexander. >> http://berklix.eu/jhs/blog/2013_10_30 >> > > On most sound systems using snd_hda you can do this fairly easily, > though > figuring out the exact incantations can require a bit of reading and > thought. Details (including sysctls) may be found in snd_hda(4). It would be uber-awesome if someone wrote a simple gui or ncurses interface to snd_hda(4)'s runtime configuration.