qshinoの日記

Powershell関係と徒然なこと

2019-01-01から1年間の記事一覧

dhcpd options

dhcpd options 本ページは FreeBSD jpman project (man-jp@jp.FreeBSD.org) より寄贈いただきました。 dhcpd-options Section: File Formats (5) Index JM Home Page roff page 名称 dhcp-options - 動的ホスト構成プロトコルのオプション 解説 動的ホスト設…

dhclient.conf

dhclien.conf 本ページは FreeBSD jpman project (man-jp@jp.FreeBSD.org) より寄贈いただきました。 dhclient.conf Section: File Formats (5) Index JM Home Page roff page 名称 dhclient.conf - DHCP クライアント設定ファイル 解説 dhclient.conf ファ…

ntp server and client configurarion

PC

centos7 ntp server yum -y install ntp sudo echo <<EOS >> /etc/ntp.conf restrict 192.168.0.0 mask 255.255.255.0 nomodify notrap EOS centos7 ntp client yum -y install ntp echo <<EOS >> /etc/ntp.conf server 192.168.0.1 iburst EOS centos7 ntp start and en</eos></eos>…

User DMA

Userlevel DMA code ボチボチ解析していく。 まずは、module登録関係。 /** * udmabuf_module_init() */ static int __init udmabuf_module_init(void){ int retval = 0; ida_init(&udmabuf_device_ida); retval = alloc_chrdev_region( &udmabuf_device_num…

pci device linux

PC

pci space access pci 空間には大きく3種類がある。 pci config registers io resource mem resource pci config space は、4Byte read/write。/proc/bus/pci/...をopen(rw)し、リード/ライト/シーク可能。mmapは、x86_64 ubuntu 18.04 で試したが、エラーが…

python pci access

python.portio >>> import portio # level を 3 に設定し、I/O ポートへのアクセスを許可します >>> portio.iopl(3) # 0x2000 から 1 byte を読み出します >>> portio.inb(0x2000) 254 pyhon.mmap >>> import os >>> import mmap # メモリを読込専用で開きま…

Windows pci register access

windowsのpci register access Pci reg access example. #define LSZ sizeof(ULONG) #define HEADERSIZE (FIELD_OFFSET (PCI_COMMON_CONFIG, DeviceSpecific)) / LSZ // The PCI_COMMON_CONFIG structure includes // device specific data. The following /…

Jetson TX1 sd boot

TX1でSD boot sdをext4でフォーマット rootfilesystem をコピー Driver pkgをコピー sudo ./apply_binaries.sh emmc上の /boot/extlinux/extlinux.conf を書き換え。 bootはemmc上のextlinx.confで判断するらしい。 apply_binaries.shが何をしているかは謎 …

Jetson xavier vnc

PC

Jetson Xavier vnc設定 Jetson xavier のvnc serverはデフォルトでは動かない。下記にて動作の報告あり。 File: ~/.config/autostart/vino-server.desktop [Desktop Entry] Type=Application Name=Vino VNC server Exec=/usr/lib/vino/vino-server NoDisplay…

ubuntu18.04のvino vnc server

PC

ubuntu 18.04 vnc serverの使い方 基本的な使い方は標準で立ち上がるdesktopの設定から、共有設定のところで設定する。 設定方法は、下記などを参照。 https://bugs.launchpad.net/ubuntu/+source/unity-control-center/+bug/1741027/comments/11 Zakhar (al…

ubntu デスクトップのリモート操作

ubuntu vnc ubuntu18.04 のvnc。下記環境でリモート1の画面をvncを使ってローカルで見る。 ubuntu vnc server / リモート1 centos7 vncviewer / リモート2 win xming / ローカル ネットワークイメージ。 背景 ubuntuの作業中やログイン前の画面を別のプライ…

気になったサイト

可変レートシェーディングと視線 https://devblogs.nvidia.com/vrs-wrapper/

xavier pci

xavier pci endport Jetson xavierのpcie の一部がendport(以下ep)機能も持ったdual mode portである。DTS(Device Tree Source)の下記C0,C4,C5がep機能を持つ。DTSでepをenableする場合、root port(以下rp)側をdisableする必要がある。 dts config pcie_ep@1…

Linux device driver

PC

linux driver tutorial 非常に分かりやすいpi用device driver開発チュートリアルがあったので、参考に。 環境準備 sudo apt-get install raspberrypi-kernel-headers 上記により、下記にヘッダーが、 /usr/src/linux-headers-4.9.41-v7+ シンボリックリンク…

ubuntu 18.04 gdm3

PC

change to lightdm case 1 sudo apt update sudo apt upgrade sudo add-apt-repository main sudo add-apt-repository universe sudo add-apt-repository restricted sudo add-apt-repository multiverse sudo apt install lightdm case 2 sudo apt-get inst…

高速 ping

PC

IPアドレス調査高速化 DHCPで割り当てられた他装置のIPアドレスを高速に調べたい。 非サーバ管理者を前提とする。 方法 シーケンシャルにping ping多重実行 シーケンシャルping for文でping -c 1 - w 0.5 などを繰り返す。 多重ping pingを多重実行し、結果…

12v 電源

12v HDD用電源ピン sata用電源ピン atx 12v 標準pcie用12v GPU用12v ac adaptor 12v poe

Fermi / GF100 Architecture

Structure 1 GPU = 4 GPC 1 GPC = 4 SM + 1 Rasterizer 1 SM = 32 SP + 1 Tesserator + 1 Dual- issue per 2 cycle instruction unit + 4 SFU + 16 load store unit SP = CUDA core 1 SP = 2issue, GF100 GF100 = 4GPC = 4x4SM = 4x4x 32 CUDA core = 512 co…

インストールレス

インストールの苦痛 兎に角、インストールは苦痛。 準備、長い待ち時間、途中のキー入力待ちで止まっていたり、ストール、エラーで動かない。 こんな事は全て無駄。 何故インストールが必要か? これからのシステム これからのシステムは、インストールに気…

linux routing masq

PC

IP マスカレード設定 Linuxをルーターにする時の基本設定。 IP forward有効化 パケット転送設定 NAT設定(NAPT) echo 1 | sudo tee /proc/sys/net/ipv4/ip_forward > /dev/null sudo iptables -A FORWARD -i eno1 -j ACCEPT sudo iptables -A POSTROUTING -t …

m.2 変換

リスト https://www.amazon.co.jp/変換アダプタ-M-2キーA-Express-USBライザカード-高速FPCケーブル2本付き/dp/B07L9RFVBZ

spi interface

spi pins sclk clock mosi master out slave in miso master in slave out ss slave select ss 通常master はssを複数持ち、各slave を選択する 参考 https://ja.m.wikipedia.org/wiki/%E3%82%B7%E3%83%AA%E3%82%A2%E3%83%AB%E3%83%BB%E3%83%9A%E3%83%AA%E3%…

i2s mic

rasp pi audio input その1 usb apaptor マイクとusb audio 変換アダプタでusb入力。ras pi 上でwave変換。 その2 i2s mic i2sマイクで入力。ras pi上でwave変換。 jetson tx2 i2s tdm max clock 24.576mhz 8ch x 16bit x 192khz = 24.576mhz 8ch x 32bit x …

Jetson nano GPIO Pins

Jetson nano gpio pins 説明 i2c x2, 2pins each, scl, sda uart x1, 4pins, txd,rxd,rts,cts pcm/audio/i2s 5pins in,out,sclk,fs,mclk spi x2 , 5pins each, cs0/1,mosi,miso,sck LCD TE x1, lcd bl pwm x1 cam af en x1pin gpio x2 3.3v x2, 5v x2, gnd x…

ディープラーニングの書籍

リスト 初めてのTensorFlow 数式なしのディープラーニング3 詳解 ディープラーニング ~TensorFlow・Kerasによる時系列データ処理 ゼロから作るDeep Learning ―Pythonで学ぶディープラーニングの理論と実装 TensorFlowに偏っているかな? 参考 https://www.go…

ご飯のお供

焦がしバター フランクフルト コンビーフ 肉のいとう 金七商店 クラシック節

自動ログインとリモートデスクトップで嵌った話

ubuntu自動ログインは危険 ubuntuの自動ログイン設定はローカルで作業をする時には非常に便利。 再起動後にログイン画面を飛ばして、デスクトップが現れ、直ぐに作業を始められる。 しかし、リモートのXサーバーでの作業が増え、毎回DISPLAY変数を設定するの…

intel core i

core i generation 第1世代Nehalemマイクロアーキテクチャ 第2世代Sandy Bridgeマイクロアーキテクチャ 第3世代Ivy Bridgeマイクロアーキテクチャ 第4世代Haswellマイクロアーキテクチャ 第5世代Broadwellマイクロアーキテクチャ 14nm shrink version 第6世…

gnome desktop 3

PC

cui mode # systemctl get-default graphical.target graphical.targetになっていた場合はCUI(multi-user.target)にする。 # systemctl set-default multi-user.target # reboot 本当のエンジニアは cuiを使う。

802.1x 有線lan ubuntu

有線LANの802.1x認証 概要 /etc/wpa_supplicant/wpa_supplicant.conf 試行 /etc/network/interfaces sudo /etc/init.d/networking restart conf # Where is the control interface located? This is the default path: ctrl_interface=/var/run/wpa_supplica…