Debian
Paket bauen
http://www.gambaru.de/blog/2011/06/11/wie-man-debian-pakete-aus-den-quellen-baut/
http://linux.spiney.org/gpg_schlusselverwaltung_fur_apt_get
Timelapse bilder bearbeiten
bilder von der gopro sortieren
echo G0035779.JPG | sed 's/G\([0-9]\+\)\.JPG$/\1/'
0035779
Studium
Labor Digitaltechnik
Lattice Diamond unter Debian installieren
-
Die *.rpm installer Datei laden
-
alien und fakeroot installieren
aptitude install alien fakeroot
-
fakeroot alien --to-deb diamond_2_2-base_x64-101-x86_64-linux.rpm
-
dpkg -i diamond-2-2-base-x64_2.2-102_amd64.deb
-
license.dat von Lattice besorgen (der Quatsch mit der MAC Adresse)
-
start script: ``#!/bin/bash
export LM_LICENSE_FILE=
pwd
/diamond_license.dat /usr/local/diamond/2.2_x64/bin/lin64/diamond & ``
Weitere nützliche Infos: http://hardsoftlucid.wordpress.com/various-stuff/lattice-diamond-on-ubuntu-11/
udev Regeln für das devboard
/etc/udev/rules.d/50-lattice.rules
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6010", MODE:="0666"
SUBSYSTEMS=="usb", ACTION=="add" DRIVER=="ftdi_sio", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6010", RUN+="/bin/sh -c 'basename %p > /sys/bus/usb/drivers/ftdi_sio/unbind"
http://wiki.ubuntuusers.de/udev
Lattice Diamond Bugs (Version 3.1)
- Speicherzugriffsfehler, wenn ein Pin im Spreadsheet angelegt wurde, aber im Programm nicht mehr verwendet wird. Sobald man den Pin in der Spreadsheet "clearen" will.
swobodny
xorg und i3
automount
udisks, udisks-glue
root@swobodny:/home/marc# cat /etc/polkit-1/localauthority/50-local.d/50-filesystem-mount-system-internal.pkla
[Mount a system-internal device]
Identity=*
Action=org.freedesktop.udisks.*
ResultActive=yes
ResultAny=yes
mimetypes
~/.local/share/applications/mimeapps.list
[Added Associations]
application/pdf=evince.desktop;
video/x-matroska=vlc.desktop;
text/x-csrc=gvim.desktop;
text/x-matlab=gvim.desktop;
audio/mp4=vlc.desktop;
video/mp4=vlc.desktop;
image/jpeg=gimp.desktop;eog.desktop;
text/plain=gvim.desktop;
audio/mpeg=vlc.desktop;
application/octet-stream=gvim.desktop;
text/html=iceweasel.desktop;
image/png=eog.desktop;
application/zip=xarchiver.desktop;
application/x-dia-diagram=dia.desktop;
application/x-shellscript=gvim.desktop;
[Default Applications]
application/pdf=evince.desktop
video/x-matroska=vlc.desktop
audio/mp4=vlc.desktop
video/mp4=vlc.desktop
image/jpeg=eog.desktop
audio/mpeg=vlc.desktop
application/vnd.oasis.opendocument.spreadsheet=libreoffice-calc.desktop
Embedded
RFM12B
Initialisierung
CONFIGURATION_SETTING 0x80xx
MSB | LSB | ||||||||||||||||
Bit | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | el | ef | b1 | b0 | x3 | x2 | x1 | x0 | Vorgabe: 0x8008 | |
1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | Bsp. OOK (0x8017) |
POWER_MANAGEMENT 0x82xx
MSB | LSB | ||||||||||||||||
Bit | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | er | ebb | et | es | ex | eb | ew | dc | Vorgabe: 0x8208 | |
1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | Bsp. OOK (0x82d8) |