Site Tools


debian_uboot

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
debian_uboot [2012/02/06 09:14] – [Tips] dmix by default, per-app softvol trick paulfdebian_uboot [2016/10/24 15:57] – [Debian hardfloat with upstream U-Boot] status updates paulf
Line 3: Line 3:
 Here I'm documenting my progress on using my ac100-116 "the right way". Feel free to reach me on [[help#irc]], my nick is PaulFertser. Here I'm documenting my progress on using my ac100-116 "the right way". Feel free to reach me on [[help#irc]], my nick is PaulFertser.
  
 +**UPDATE 24 Oct 2016**: migrated the system to current upstream U-boot and Linux. Everything seems to be nice and reliable. The limitations section still applies.
 +Some notes on update:
 +  * Needs the latest (from firmware git) ''rt2870.bin'' for stable wifi
 +  * Missing ''nvec_event'' so lid open/close events are not generated
 +  * To be able to use ''synaptics'' X.org driver the ''elantech'' protocol needs to be forced for ''psmouse'' kernel driver
 +  * ''mpv'' works nicely for unaccelerated video playback, including streaming from Youtube and other popular hostings (''ytdl-format=18'' is usually needed)
 ===== Status ===== ===== Status =====
 ==== What works ==== ==== What works ====
Line 73: Line 79:
 </code> </code>
  
-===== Tips ===== +And then be sure to read suckless [[tips_and_tricks]].
-  * To manage lid event i'm using https://github.com/gandro/input-event-daemon, it should listen on /dev/input/event4 for LID:0 and LID:1 events. +
-  * I added this to ~/.mplayer/config +
-<code> +
-ao=alsa +
-mixer-channel=Master +
-vo=x11 +
-zoom=1 +
-sws=0 +
-hardframedrop=1 +
-lavdopts=fast=1:skiploopfilter=all +
-</code> +
-  * For watching youtube i use +
-<code> +
-#!/bin/sh +
-cookies_file=`mktemp /tmp/youtube-cookies.XXXXXX` +
-rm $cookies_file +
-url="`youtube-dl --cookies=$cookies_file -g --max-quality 35 $1`" +
-mplayer -cookies -cookies-file $cookies_file -cache 2048 $url +
-rm $cookies_file +
-</code> +
-  * To have automatic software mixing of sound streams copy this to ''/usr/share/alsa/cards/tegra-alc5632.conf'': +
-<code> +
-# default with dmix/dsnoop +
-tegra-alc5632.pcm.default { +
- @args CARD ] +
- @args.CARD { +
- type string +
-+
- type asym +
- playback.pcm { +
- type plug +
- slave.pcm { +
- @func concat +
- strings "dmix:CARD=" $CARD ",RATE=44100" ] +
-+
-+
- capture.pcm { +
- type plug +
- slave.pcm { +
- @func concat +
- strings [ "dsnoop:CARD=" $CARD ",RATE=44100" ] +
-+
-+
-+
- +
-</code> +
-  * To provide additional dedicated sound volume controls without PA add this to ''~/.asoundrc'': +
-<code> +
-pcm.softvol { +
-        @args [ NAME ] +
-        @args.NAME.type string +
-        type softvol +
-        slave.pcm "default" +
-        control.name $NAME +
-+
-</code> +
-And use softvol:<custom name> for the ALSA device, like this: ''aplay -Dsoftvol:"Aplay Dedicated" testmusic.wav'' +
-  * [[http://linuxwireless.org/en/users/Download|compat-wireless]] provides newer wireless drivers that work better but wireless extensions will not be enabled until the kernel is compiled with support for some old pre-mac80211 driver (to select ''CONFIG_WIRELESS_EXT''). +
-  * ''iw dev wlan0 set power_save off'' to improve interactivity when a power-saving compatible AP is used+
debian_uboot.txt · Last modified: 2016/10/24 15:59 by paulf