Skip to content

Instantly share code, notes, and snippets.

View srikantpatnaik's full-sized avatar

Srikant srikantpatnaik

  • Mumbai
  • 02:23 (UTC -12:00)
View GitHub Profile
@srikantpatnaik
srikantpatnaik / setup.md
Last active August 29, 2015 14:10 — forked from jaidevd/setup.md

SciPy India 2014 will feature a lot of hands-on, practical tutorial sessions that require the participants to have some software on their respective computers. Please follow the instructions here before you come to the conference, so that we may start the tutorials without any delay.

Installing Canopy

Canopy is the primary Python distribution that we will be using during the conference. You may use Anaconda, or the system Python distribution, or any other Python interpreter for the conference. However, please note that we may not be able to support any other distribution other than Canopy. This is because the Python packages we will be providing for the tutorials are customized for Canopy.

Please visit this link https://store.enthought.com/downloads/ and click on the "Download Canopy Express" button to download the Canopy installer. Run this installer to install Canopy.

@srikantpatnaik
srikantpatnaik / dmesg-baytrail-rt5640.txt
Created July 13, 2016 05:47
dmesg rt-5640: a possible replica of AsusT100TAF
[ 0.000000] Linux version 4.7.0-rc4+ (root@srikant-vbox) (gcc version 4.9.3 (Ubuntu 4.9.3-8ubuntu2~14.04) ) #1 SMP Tue Jul 12 18:29:13 IST 2016
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.7.0-rc4+ root=UUID=ced35319-add5-4ea3-811e-d7f96d9a5226 ro quiet intel_idle.max_cstate=1 splash vt.handoff=7
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
[ 0.000000] AMD AuthenticAMD
[ 0.000000] Centaur CentaurHauls
[ 0.000000] x86/fpu: Legacy x87 FPU detected.
[ 0.000000] x86/fpu: Using 'eager' FPU context switches.
[ 0.000000] e820: BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000008efff] usable
@srikantpatnaik
srikantpatnaik / dmesg-4.7-rc7-latest-firmware.txt
Created July 14, 2016 06:22
dmesg rt-5640 with Kernel 4.7-rc7 and latest linux-firmare from git.kernel.org
[ 0.000000] Linux version 4.7.0-rc7+ (root@srikant-vbox) (gcc version 4.9.3 (Ubuntu 4.9.3-8ubuntu2~14.04) ) #1 SMP Thu Jul 14 10:44:28 IST 2016
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.7.0-rc7+ root=UUID=ced35319-add5-4ea3-811e-d7f96d9a5226 ro quiet intel_idle.max_cstate=1 splash
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
[ 0.000000] AMD AuthenticAMD
[ 0.000000] Centaur CentaurHauls
[ 0.000000] x86/fpu: Legacy x87 FPU detected.
[ 0.000000] x86/fpu: Using 'eager' FPU context switches.
[ 0.000000] e820: BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000008efff] usable
@srikantpatnaik
srikantpatnaik / syslog.txt
Created July 15, 2016 08:58
syslog baytrail rt5640 audio sink problem
Jul 15 14:25:04 linux pulseaudio[3389]: [pulseaudio] alsa-ucm.c: Add lost conflicting device HeadsetMic to InternalMics
Jul 15 14:25:04 linux pulseaudio[3389]: [pulseaudio] alsa-ucm.c: Add lost conflicting device DigitalMics to HeadsetMic
Jul 15 14:25:04 linux pulseaudio[3389]: [pulseaudio] alsa-util.c: Disabling timer-based scheduling because high-resolution timers are not available from the kernel.
Jul 15 14:25:04 linux kernel: [ 2717.922565] sst-mfld-platform sst-mfld-platform: Enter: enable=1 port_name=ssp0-port
Jul 15 14:25:04 linux kernel: [ 2718.052109] intel_sst_acpi 80860F28:00: Alloc for str 1 pipe 0x90
Jul 15 14:25:04 linux rtkit-daemon[1320]: Successfully made thread 3390 of process 3390 (n/a) owned by '1000' high priority at nice level -11.
Jul 15 14:25:04 linux rtkit-daemon[1320]: Supervising 2 threads of 2 processes of 1 users.
Jul 15 14:25:05 linux pulseaudio[3389]: [pulseaudio] sink.c: Default and alternate sample rates are the same.
Jul 15 14:25:05 linux rtkit-daemon[1320]: Supervising 1 thr
@srikantpatnaik
srikantpatnaik / dsdt.dsl
Created July 18, 2016 11:50
baytrail-iball-compbook_dsdt
/*
* Intel ACPI Component Architecture
* AML/ASL+ Disassembler version 20160108-64
* Copyright (c) 2000 - 2016 Intel Corporation
*
* Disassembling to symbolic ASL+ operators
*
* Disassembly of dsdt.dat, Thu Jul 14 08:51:20 2016
*
* Original Table Header:
@srikantpatnaik
srikantpatnaik / dmesg-rt5640-dev-err-pcm.txt
Created July 19, 2016 06:26
dmesg with pcm error info rt5640
[ 0.000000] Linux version 4.7.0-rc4+ (root@srikant-vbox) (gcc version 4.9.3 (Ubuntu 4.9.3-8ubuntu2~14.04) ) #5 SMP Tue Jul 19 10:38:15 IST 2016
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.7.0-rc4+ root=UUID=ced35319-add5-4ea3-811e-d7f96d9a5226 ro quiet intel_idle.max_cstate=1 splash vt.handoff=7
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
[ 0.000000] AMD AuthenticAMD
[ 0.000000] Centaur CentaurHauls
[ 0.000000] x86/fpu: Legacy x87 FPU detected.
[ 0.000000] x86/fpu: Using 'eager' FPU context switches.
[ 0.000000] e820: BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000008efff] usable
@srikantpatnaik
srikantpatnaik / rt-5640-registers-no-aplay.txt
Last active July 19, 2016 07:12
i2c-registers-rt5640-no-aplay
000: 000c
001: e7e7
002: 0a0a
003: 8888
004: 8000
00d: 1000
00e: 0100
00f: 0808
019: abab
01a: abab
@srikantpatnaik
srikantpatnaik / rt-5640-registers-after-headphones.txt
Created July 19, 2016 09:01
i2c-registers-rt5640-headphones
000: 000c
001: e7e7
002: 0a0a
003: 8888
004: 8000
00d: 1000
00e: 0100
00f: 0808
019: abab
01a: abab
@srikantpatnaik
srikantpatnaik / rt-5640-registers-after-aplay.txt
Created July 19, 2016 09:02
i2c-registers-rt5640-after-aplay (no change though!)
000: 000c
001: e7e7
002: 0a0a
003: 8888
004: 8000
00d: 1000
00e: 0100
00f: 0808
019: abab
01a: abab
@srikantpatnaik
srikantpatnaik / amixer-contents-aplay.txt
Created July 19, 2016 09:04
amixer output after aplay
numid=176,iface=MIXER,name='Headphone Switch'
; type=BOOLEAN,access=rw------,values=1
: values=on
numid=169,iface=MIXER,name='Mono ADC Capture Volume'
; type=INTEGER,access=rw---R--,values=2,min=0,max=127,step=0
: values=110,110
| dBscale-min=-176.25dB,step=3.75dB,mute=0
numid=195,iface=MIXER,name='Mono ADC L1 Mux'
; type=ENUMERATED,access=rw------,values=1,items=2
; Item #0 'Mono DAC MIXL'