User:Kevgor/Miscellaneous Technical Notes

From OLPC
< User:Kevgor
Revision as of 11:03, 17 November 2011 by 66.135.105.14 (talk) (Trackpad/Keyboard commands)
Jump to: navigation, search

Miscellaneous Technical Notes

November 2011

Thanks to Daniel Drake, Mikus Grinbergs and Yioryos Asprobounitis for all of their help on these  :-)


Install Developer Key

su -
wget -P /security https://activation.laptop.org/devkey/xxxxxxxxx/develop.sig

Booting up cheat keys

signed install - right game pad - all 4 game keys, on right-hand of display

text boot - right game pad - check-mark key, on right-hand side of display

boot to OFW - esc (X), keyboard key

diagnostics - left game pad - rocker left, on left of display

Unsigned Build reflash commands from OFW ok prompt

XO1 - jffs2 from os-builder

copy-nand u:\osx.img

XO1

update-nand u:\osx.onu

XO1.5 and 1.75

fs-update u:\osx.zd4

OFW

flash u:\qxxxx.rom

Start cups service

/sbin/service cups start

FTP server

Link to brooksc OLPC News page on ftp on the XO <ref>Brooksc FTP notes</ref>.

pure-ftpd is now included in the standard repository packages, so one can just do a plain

yum install --nogpgcheck pure-ftpd

To manually start the service, non-persistent:

/sbin/service pure-ftpd start

USB ethernet auto-assign workaround

avahi-autoipd eth1

Trackpad/Keyboard commands

What kind of trackpad do I have?

dmesg | grep psmouse

XO 1.5 new batch = serio1: ID: 10 02 64


Tap-to-click Persistent for older CL1/CL1A - edit the following file; to turn on set the param =1 or off =0

/etc/modprobe.d/olpc.psmouse.conf

Tap-to-click Non-Persistent for newer CL1A - to turn ON

echo -n C > /sys/bus/serio/drivers/psmouse/serio*/flags

Tap-to-click Non-Persistent for newer CL1A - to turn OFF

echo -n c > /sys/bus/serio/drivers/psmouse/serio*/flags

Adopt authority/permissions hint

add the NOPASSWD option in /etc/sudoers just for the scripts/commands you need

Sample yum syntax

For download only of yum updates to an External USB Volume PATRIOT with subdirectory called UpdateRpms

yum update --downloadonly --nogpgcheck --downloaddir=/media/PATRIOT/UpdateRpms

For installing rpms from a USB volume PATRIOT with subdirectory called UpdateRpms and no internet access

yum localinstall --nogpgcheck --disablerepo=* /media/PATRIOT/UpdateRpms/*.rpm

Install bad and ugly gstreamer files to USB

For download only of rpm's to an External USB Volume PATRIOT with subdirectory called Guvcview. This will alter the repos used for subsequent Updates, so delete rpmfusion repos later if you wish

yum install --nogpgcheck \
http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm \
http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
sleep 2
yum install --downloadonly --nogpgcheck --downloaddir=/media/PATRIOT/Guvcview \
gstreamer-plugins-bad gstreamer-plugins-ugly gstreamer-ffmpeg


Enable and Start Bluetooth service

To enable:

systemctl enable bluetooth.service

ln -s ‘/lib/systemd/system/bluetooth.service’ ‘/etc/systemd/system/dbus-org.bluez.service’
ln -s ‘/lib/systemd/system/bluetooth.service’ ‘/etc/systemd/system/bluetooth.target.wants/bluetooth.service'

To start:

systemctl start bluetooth.service

Frequent Links for XO resources

XO diagnostics <ref>XO diagnostics</ref>

Developer Builds <ref>Developer builds</ref>

Koji for arm rpms <ref>Arm rpms from Koji</ref>

Stable builds <ref>Stable builds</ref>

Enable Cups <ref>Enable CUPS</ref>

Printing <ref>Printing</ref>

OLPC News mavrothal page <ref>Mav ref page</ref>

Disassembly Instructions <ref>Disassembly Instructions</ref>

Manufacturer Data Legend <ref>Manufacturing Data legend</ref>

External links


References

<references group=""></references>