You are not logged in.

#1 2010-02-15 06:50:54

inode
Member
Registered: 2010-02-15
Posts: 8

Hardware recognition?

Hello all,

I've never tried Arch before but I'd like to. I can't stand the windowzian Ubuntu approach anymore...

What I liked the most in Ubuntu was the excellent hardware recognition - I could install it on an external USB drive and carry it around, plug it in different computers, laptops, etc. and it would automatically recognize the new hardware.

I don't know if this depends on the kernel configuration, or custom distro scripts, or other.

So my question is, is it possible to have the same in Arch? And if so, how?

Thanks in advance for your answers smile

Last edited by inode (2010-02-15 06:51:57)

Offline

#2 2010-02-15 07:15:57

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,796

Re: Hardware recognition?

Arch depends heavily on loadable modules which are instantiated at boot time based upon the hardware that is discovered (Which is what you want).  The alternative is to build a custom kernel and build in the drivers for a specific machine.

The only thing about Arch, is that it favors modern 32 and 64 bit Intel/AMD processors.  If it is an older machine you will likely have problems.  Likewise, Arch is either 32 bit or 64 bit.  You can use 32 bit Arch on a 64 bit machine, but not vice-versa.

The other place you can get into trouble is when the disk configuration of your target machines differ.  Drive assignment could differ based upon number and type of hard disks, optical disks, and the type of controllers they use.  These problems would also be present with Ubuntu.

In general, I would expect Arch to perform in a manner similar to Ubuntu.  It might be required to "pacman" new packages when encountering some hardware for the first time, but again, the same would hold true for Ubuntu.  I refer to things such as printer drivers, wireless drivers, etc...


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2010-02-15 07:17:29

rasat
Forum Fellow
From: Finland, working in Romania
Registered: 2002-12-27
Posts: 2,293
Website

Re: Hardware recognition?

Take a look in Wiki about HAL:
http://wiki.archlinux.org/index.php/HAL

If you are using KDE, the "Device Notifier" widget does well.


Markku

Offline

#4 2010-02-15 07:40:05

inode
Member
Registered: 2010-02-15
Posts: 8

Re: Hardware recognition?

rasat wrote:

Take a look in Wiki about HAL:
http://wiki.archlinux.org/index.php/HAL

If you are using KDE, the "Device Notifier" widget does well.

I don't like KDE very much. I tend to use Openbox, or Gnome. Hope it works anyway.

Offline

#5 2010-02-15 07:44:01

inode
Member
Registered: 2010-02-15
Posts: 8

Re: Hardware recognition?

ewaller wrote:

The other place you can get into trouble is when the disk configuration of your target machines differ.  Drive assignment could differ based upon number and type of hard disks, optical disks, and the type of controllers they use.  These problems would also be present with Ubuntu.

Ubuntu uses UUIDs, so there's no problem with drive assignment.

ewaller wrote:

In general, I would expect Arch to perform in a manner similar to Ubuntu.  It might be required to "pacman" new packages when encountering some hardware for the first time, but again, the same would hold true for Ubuntu.  I refer to things such as printer drivers, wireless drivers, etc...

But if I only used hardware for which I have added support in a custom kernel (as modules), and no nvidia etc., that shouldn't be needed right?

Thanks again.

Offline

#6 2010-02-15 09:04:23

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,796

Re: Hardware recognition?

Inode,

Yes on both counts.  My take was on your desire to plug it into different machines and have it work.  In the case of UUIDs, they will be unique to the computer on which you try to run.  The only UUIDs that will follow you around are for those volumes on the drive you take with you.

Likewise, I was considering what would happen if one of those new computer configurations happened to have a different video card, NIC, etc...


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#7 2010-02-15 09:56:43

inode
Member
Registered: 2010-02-15
Posts: 8

Re: Hardware recognition?

ewaller wrote:

Yes on both counts.  My take was on your desire to plug it into different machines and have it work.  In the case of UUIDs, they will be unique to the computer on which you try to run.  The only UUIDs that will follow you around are for those volumes on the drive you take with you.

Ah, ok then. When you warned about possible problems with different drive assignment based upon number and type of HDs and controllers, I thought that meant Arch is using the /dev/xxN format to identify volumes at boot (in Grub's config) instead of UUID strings.

So, Re my original question there should be no differences between ubuntu and arch. Am I correct in stating that as long as arch knows where to find my boot & root partitions (using UUIDs) and has all the needed modules for any "new" hardware, then it should work like ubuntu as far as hardware recognition is concerned?

Offline

#8 2010-02-15 17:24:44

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,796

Re: Hardware recognition?

I would say yes, provided you stay away from pre x686 processors


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB