X-Original-To: alpine-devel@mail.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mail.alpinelinux.org (dallas-a1.alpinelinux.org [127.0.0.1]) by mail.alpinelinux.org (Postfix) with ESMTP id 9041CDC024B for ; Fri, 20 Nov 2015 02:09:57 +0000 (UTC) Received: from mail-pa0-f51.google.com (mail-pa0-f51.google.com [209.85.220.51]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 5C0BADC00EC for ; Fri, 20 Nov 2015 02:09:56 +0000 (UTC) Received: by pacej9 with SMTP id ej9so99789029pac.2 for ; Thu, 19 Nov 2015 18:09:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=4UkvlwQgMVIVCAEgZ98XcR55MmDTIgyUKQ2K9IGyyBc=; b=GyLdHpUCpRrd8gjEy2mrTHEu/7tqw8QVwvq0Zu7GHz45spT3GJCqWssGbG8ZbcXlLx wGue/Cd4ljSl3L0+cvxN83WYN6MPNyQuIsPyRC5uQI4aE8fqTXS9z45AQBGIEgfVXGEC P4Vg++v682L+x/hbwCB/srr3L7eRf/AL2yCuZBKmlXb2ZhlQfwKKKmXwLZyFKEHWktOU EqjjOSbUn92Ue5P365tZYPb7jkBjqa6qqXW8Dz+xKMiN6UhPUl5r9r/7XKgImocq5Owl 4e8V2+I0/TZd0Qc8kIWkfTGxfb8/4wIKnQojZ72wCZBQfTsm7OQH64bJs/d/CYHPofO0 n+ww== X-Received: by 10.68.87.4 with SMTP id t4mr15597692pbz.61.1447985396066; Thu, 19 Nov 2015 18:09:56 -0800 (PST) Received: from newbook ([50.0.225.136]) by smtp.gmail.com with ESMTPSA id hg2sm13192365pbb.7.2015.11.19.18.09.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Nov 2015 18:09:55 -0800 (PST) Date: Thu, 19 Nov 2015 18:09:50 -0800 From: Isaac Dunham To: Christie Taylor Cc: alpine-devel@lists.alpinelinux.org Subject: Re: [alpine-devel] alsamixer and mpv are broken in latest release + quetion Message-ID: <20151120020949.GA6760@newbook> References: X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-Virus-Scanned: ClamAV using ClamSMTP (Please don't post to the list in HTML, it makes it quite hard to read.) On Sat, Nov 14, 2015 at 11:06:11PM +0100, Christie Taylor wrote: > After upgrading to v3.3 repo: > > 1) mpv has permissions problems, has to be run with sudo. libGL error: failed to open drm device: Permission denied ls -l /dev/dri/ ? I think this should be chown root:video, chmod ug=rw or similar. (Right here, it's screwing up such that it's root:root. I've not poked at it.) > 2) [snip] > Also a question: > > 3) I thought v3.3 would get rid of udev and use mdev from gentoo, but I still get udev messages on boot? Alpine Linux has used mdev (which is from *busybox*, not gentoo) for quite a while. Adding Xorg the usual way (setup-xorg) pulls in udev; it's *possible* to install X and use mdev, if you add the right config files (eg, from mdev-like-a-boss). Recently, Alpine switched from old udev to eudev (a gentoo project); this only affects systems with udev installed. If you want to use mdev instead of udev, I think this is what I did. - disable any X display manager or autostart script, since you could end up breaking X. -git clone git://github.com/slashbeast/mdev-like-a-boss, then read the notes. -add xf86-input-keyboard, xf86-input-mouse, and (for laptops) xf86-input-synaptics. -copy xorg.conf.d/* to /etc/xorg.conf.d/ -make sure you have acpid enabled: rc-update |grep acpid #if it's not enabled: rc-update add acpid (this is so you can shut down cleanly if you break stuff) - Restart, check that X works: startx - exit X - disable udev, mount a tmpfs filesystem over /dev, and test mdev: service udev stop mount -t tmpfs mdev /dev service mdev start - check that X works (if you copied the config files and added the drivers, it *should be* fine) - disable udev/eudev, enable mdev and hwdrivers: rc-update del eudev || rc-update del udev rc-update add mdev ; rc-update add hwdrivers - Restart, check that X works. - Re-enable your X autostart script/display manager of choice. Most of that is safety checking, so you won't accidentally lock yourself out. HTH, Isaac Dunham --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---