Foss Gadgematics
Upcoming SlideShare
Loading in...5
×
 

Foss Gadgematics

on

  • 1,931 views

FOSS and Linux in particular provides an excellent OS when it comes to hacking gadgets. This presentation created a couple of years back presents GNU/Linux as the unconventional OS that makes this all ...

FOSS and Linux in particular provides an excellent OS when it comes to hacking gadgets. This presentation created a couple of years back presents GNU/Linux as the unconventional OS that makes this all possible!

Statistics

Views

Total Views
1,931
Views on SlideShare
1,922
Embed Views
9

Actions

Likes
0
Downloads
52
Comments
0

3 Embeds 9

http://www.linkedin.com 5
http://www.e-presentations.us 2
https://www.linkedin.com 2

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

CC Attribution-NonCommercial LicenseCC Attribution-NonCommercial License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Foss Gadgematics Foss Gadgematics Presentation Transcript

  • FOSS Gadgematics By Buddhika Siddhisena Co-Founder & CTO THINKCube Systems Pvt. Ltd <bud@thinkcube.com> Member of LKLUG & FOSS.LK <bud@babytux.org>
  • Coverage • Overview of Linux supported devices • Linux supported Architectures • Linux device drivers • Compiling a Linux kernel • Hardware detection • Hacking devices to run Linux 2
  • Overview of Linux supported devices 3
  • Linux supported Architectures The Linux kernel can theoretically be ported to any architecture supporting a Paged Memory Management Unit (PMMU) Certain non MMU processors are also supported via uCLinux For the latest list on officially supported architecture ls /usr/src/linux/arch 4
  • Supports more architectures FOSS Operating systems supports more cpu architectures The small notebook below uses the Transmita Cruso processor which is x86 compatible. Linux has optimizations for the Cruso processor Above is a Mac-mini powered by a PPC processor and below is a ShuttleX powered by an AMD64 processor. Both run optimized GNU/Linux and BSD 5
  • Checking what devices are connected to your Linux box • To manually look at what hardware is available on your machine, several commands can be used linux:# lspci -v linux:# lsusb • To automatically detect hardware at boot time and load appropriate kernel module drivers you can install a hardware detection utility such as kudzu or discover • To detect hardware as they are hot plugged, such as USB memory sticks, cameras and printers you can run the hotplug service (deprecated, uses hald wih dbus instead). linux:# /etc/init.d/hotplug start • More recently hald/dbus has replaced hotplug as a way of dynamically loading device drivers and notifying applications of hardware changes via a message bus. 6
  • Manually loading Linux device drivers • Device drivers on Linux are implemented at a kernel level • Device Drivers can be compiled directly in to the kernel or as a loadable module. • To list modules that are currently loaded you can issue #lsmod • To list available modules (compiled) for the current kernel #modprobe -l • To get a small description about a module ... #modinfo radeon • To load a kernel module driver manually #modprobe radeon • To load a kernel drive automatically as the machine boots consider adding it to /etc/modules.conf (2.4) or /etc/modprobe.conf (2.6) 7
  • Compiling device drivers linux:/usr/src/linux# make menuconfig 8
  • Unconventional Installation - USB/SD/MMC Unconventional Installations Methods •“There are several mini distros that can be installed on USB pen drives or CF/SD cards” Ex: •DSL (Damm Small Linux) •SLAX •Puppy 9
  • Unconventional Devices Unconventional Devices iPAQ running Linux X – Box running Linux Gumstick computer running Linux Phones running Linux PlayStation running Linux iPOD running PSP running Linux FOSS apps 10
  • FOSS based gadgets Nokia 770 runs on a flavour of Debian GNU/Linux and is open to developers to build applications http://opensource.nokia.com/ http://www.nokiausa.com/770 GP2X runs on Linux and is open to developers to build applications http://wiki.gp2x.org/wiki/Main_Page 11
  • Unconventional Ending Unconventional Ending.... Thank You bud@babytux.org bud@linux.lk bud@thinkcube.com 12