Sponsored Content
Full Discussion: Is C worth the effort?
Top Forums Programming Is C worth the effort? Post 302905437 by wisecracker on Wednesday 11th of June 2014 01:52:56 PM
Old 06-11-2014
Hi dryPants...

Quote:
Do you have some other good advices for me?
Yes. Python is a very strict language and has libraries for just about anything that anyone in the coding industry is likely to encounter.

Before deciding to hammer any hardware, (and yes I have done much in this area), experiment coding for something less likely to cause you serious headaches.

Once you feel confident try experimenting with an Arduino, USB type, as an example.

In *NIX flavours it is easy to R/W from/to even with shell scripting. I have uploaded much code to do this mainly in Python for multi-platform use, (including a serial port stock AMIGA A1200 with HW mods to the USB Arduino), I love "banging the metal"...

I personally love assembly but........
......don't expect to get to Ring 0 directly in current OSes you WILL have serious headaches finding that you can't. The days of MS-DOS where BIOS and other assembly access and calls are long gone.

Study things like ISA, PCI bus design and limitations as examples then progress to current technology. I studied the PCI slot for months only to realise my limitations at home built hardware was way beyond any beginners scope.

Hope this helps...
 

5 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Is Unix Worth it?

I have been wanting to get much deaper into the world of computers for quite some time. I know a lot of c++, and plenty of website programming, and decided that the next step should be Unix. But here's the thing - I know nothing about Unix. I installed it and everything, but it just seemed like... (3 Replies)
Discussion started by: GuyWithAPen
3 Replies

2. UNIX for Dummies Questions & Answers

What is this system worth?

So my family is cleaning out our house and my dad stumbled on a Unix system with Unigraphix installed on it, and he remembers that it was 1 of 6 computers in a set that he used at a tool and dye machine shop where he worked. He said that the computer by itself with the monitor was $20,000! I was... (8 Replies)
Discussion started by: NVOtosReborn
8 Replies

3. What is on Your Mind?

Is M.Sc (FOSS) worth doing?

Recently while reading an linux magazine I understood that FOSS (Free or open source software) is gaining momentum.. And in my home town there is an reputed university which offers M.Sc online program on FOSS. The course covers: INTRODUCTION TO COMPUTING, PHILOSOPHY AND PRACTICE OF FOSS,... (4 Replies)
Discussion started by: Arun_Linux
4 Replies

4. Linux

Are /home partitions worth it?

I'm new to the Linux world and whilst I've been learning the ropes, I've read some conflicting opinions regarding the creation of separate partitions for /home and other directories during OS install. Some say that having these directories in separate partitions allows you to reinstall without... (12 Replies)
Discussion started by: maerlyngb
12 Replies

5. What is on Your Mind?

Are certifications worth it?

I have just been on RedHat SA 3 training course (4 days) and sat exams EX200 (RHCSA) and EX300 (RHCE) The daft thing was that politics meant I wasn't allowed to take courses SA 1 or 2. So I learnt about stuff I would never use (SELinux; iSCSI; NFS Kerberos encrypted with user specific access... (22 Replies)
Discussion started by: rbatte1
22 Replies
LSHW(1) 																   LSHW(1)

NAME
lshw - list hardware SYNOPSIS
lshw [ -version ] lshw [ -help ] lshw [ -X ] lshw [ [ -html ] [ -short ] [ -xml ] [ -json ] [ -businfo ] ] [ -dump filename ] [ -class class... ] [ -disable test... ] [ -enable test... ] [ -sanitize ] [ -numeric ] [ -quiet ] DESCRIPTION
lshw is a small tool to extract detailed information on the hardware configuration of the machine. It can report exact memory configura- tion, firmware version, mainboard configuration, CPU version and speed, cache configuration, bus speed, etc. on DMI-capable x86 or IA-64 systems and on some PowerPC machines (PowerMac G4 is known to work). It currently supports DMI (x86 and IA-64 only), OpenFirmware device tree (PowerPC only), PCI/AGP, CPUID (x86), IDE/ATA/ATAPI, PCMCIA (only tested on x86), SCSI and USB. -version Displays the version of lshw and exits. -help Displays the available command line options and quits. -X Launch the X11 GUI (if available). -html Outputs the device tree as an HTML page. -xml Outputs the device tree as an XML tree. -json Outputs the device tree as a JSON object (JavaScript Object Notation). -short Outputs the device tree showing hardware paths, very much like the output of HP-UX's ioscan. -businfo Outputs the device list showing bus information, detailing SCSI, USB, IDE and PCI addresses. -dump filename Dump collected information into a file (SQLite database). -class class Only show the given class of hardware. class can be found using lshw -short or lshw -businfo. -C class Alias for -class class. -enable test -disable test Enables or disables a test. test can be dmi (for DMI/SMBIOS extensions), device-tree (for OpenFirmware device tree), spd (for memory Serial Presence Detect), memory (for memory-size guessing heuristics), cpuinfo (for kernel-reported CPU detection), cpuid (for CPU detection), pci (for PCI/AGP access), isapnp (for ISA PnP extensions), pcmcia (for PCMCIA/PCCARD), ide (for IDE/ATAPI), usb (for USB devices),scsi (for SCSI) or network (for network interfaces detection). -quiet Don't display status. -sanitize Remove potentially sensitive information from output (IP addresses, serial numbers, etc.). -numeric Also display numeric IDs (for PCI and USB devices). BUGS
lshw currently does not detect Firewire(IEEE1394) devices. Not all architectures supported by GNU/Linux are fully supported (e.g. CPU detection). "Virtual" SCSI interfaces used for SCSI emulation over IDE are not reported correctly yet. NOTES
lshw must be run as super user or it will only report partial information. FILES
/usr/local/share/pci.ids /usr/share/pci.ids /etc/pci.ids /usr/share/hwdata/pci.ids A list of all known PCI ID's (vendors, devices, classes and subclasses). /proc/bus/pci/* Used to access the configuration of installed PCI busses and devices. /proc/ide/* Used to access the configuration of installed IDE busses and devices. /proc/scsi/*, /dev/sg* Used to access the configuration of installed SCSI devices. /dev/cpu/*/cpuid Used on x86 platforms to access CPU-specific configuration. /proc/device-tree/* Used on PowerPC platforms to access OpenFirmware configuration. /proc/bus/usb/* Used to access the configuration of installed USB busses and devices. /sys/* Used on 2.6 kernels to access hardware/driver configuration information. EXAMPLES
lshw -short Lists hardware in a compact format. lshw -class disk -class storage Lists all disks and storage controllers in the system. lshw -html -class network Lists all network interfaces in HTML. lshw -disable dmi Don't use DMI to detect hardware. SEE ALSO
/proc/*, linuxinfo(1), lspci(8), lsusb(8) COPYING
lshw is distributed under the GNU GENERAL PUBLIC LICENSE (GPL) version 2. AUTHOR
lshw is maintained by Lyonel Vincent <lyonel@ezix.org>. OTHER INFO
The webpage for lshw is at <URL:http://lshw.org/> $Rev: 2179 $ 30 May 2010 LSHW(1)
All times are GMT -4. The time now is 08:23 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy