Carlos,

do FAQ em http://www.freedesktop.org/wiki/Software/HalFAQ:


      What is the point of HAL?

To merge information from various sources such that desktop applications 
can locate and use hardware devices. The point is that the exact set of 
information to merge varies by device and bus type. In order to do this, 
we need to define a format for the information, hence the HAL 
specification.

We may read some stuff from the hardware itself, then add some info 
provided by the kernel, then add some metadata from some systemwide 
files, then add some data that has been obtained by the desktop and 
stored per-user, then look at some blacklist, and finally we have a 
complete picture of everything known about that particular device.

An extra value is that we can do this in an operating system independent 
way. Stuff like this is important to the major desktop environments.

:)

Carlos Eduardo Maiolino wrote:
> Pessoal, só uma dúvida minha agora...
>
> O que é HAL ???
>
> On 10/5/07, *Gustavo T. Ludwig* <[EMAIL PROTECTED] 
> <mailto:[EMAIL PROTECTED]> > wrote:
>
>
>     Amigos,
>
>     Instalei o Slack 12 e recompilei o Kernel com um .config que tinha
>     salvo
>     do Kernel 2.6.21 que veio no Slack 12 RC1. O HAL não está montando
>     automaticamente nem o meu pendrive nem mídias CD/DVD. Fuçando atrás da
>     solução instalei o pmount, mas não tive sucesso.
>
>     Segue o dmesg depois de ter espetado o pendrive e o slack "montá-lo"
>
>     64
>     early_node_map[1] active PFN ranges
>         0:        0 ->   262064
>     On node 0 totalpages: 262064
>       DMA zone: 32 pages used for memmap
>       DMA zone: 0 pages reserved
>       DMA zone: 4064 pages, LIFO batch:0
>       Normal zone: 1760 pages used for memmap
>       Normal zone: 223520 pages, LIFO batch:31
>       HighMem zone: 255 pages used for memmap
>       HighMem zone: 32433 pages, LIFO batch:7
>     DMI 2.3 present.
>     ACPI: RSDP 000FA880, 0021 (r2 ACPIAM)
>     ACPI: XSDT 3FFB0100, 003C (r1 A M I  OEMXSDT  10000513 MSFT       97)
>     ACPI: FACP 3FFB0290, 00F4 (r3 A M I  OEMFACP  10000513 MSFT       97)
>     ACPI: DSDT 3FFB03F0, 391B (r1  A0277 A0277001        1 MSFT  100000D)
>     ACPI: FACS 3FFC0000, 0040
>     ACPI: APIC 3FFB0390, 0052 (r1 A M I  OEMAPIC  10000513 MSFT       97)
>     ACPI: OEMB 3FFC0040, 003F (r1 A M I  OEMBIOS  10000513 MSFT       97)
>     ACPI: PM-Timer IO Port: 0x808
>     Allocating PCI resources starting at 50000000 (gap:
>     40000000:bf780000)
>     Built 1 zonelists.  Total pages: 260017
>     Kernel command line: auto BOOT_IMAGE=Slack12 ro root=802
>     Enabling fast FPU save and restore... done.
>     Enabling unmasked SIMD FPU exception support... done.
>     Initializing CPU#0
>     PID hash table entries: 4096 (order: 12, 16384 bytes)
>     Detected 2203.044 MHz processor.
>     Console: colour dummy device 80x25
>     Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
>     Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
>     Memory: 1033192k/1048256k available (3845k kernel code, 14428k
>     reserved,
>     1072k data, 224k init, 130752k highmem)
>     virtual kernel memory layout:
>         fixmap  : 0xfffeb000 - 0xfffff000   (  80 kB)
>         pkmap   : 0xff800000 - 0xffc00000   (4096 kB)
>         vmalloc : 0xf8800000 - 0xff7fe000   ( 111 MB)
>         lowmem  : 0xc0000000 - 0xf8000000   ( 896 MB)
>           .init : 0xc05d0000 - 0xc0608000   ( 224 kB)
>           .data : 0xc04c17a5 - 0xc05cda34   (1072 kB)
>           .text : 0xc0100000 - 0xc04c17a5   (3845 kB)
>     Checking if this processor honours the WP bit even in supervisor
>     mode... Ok.
>     Calibrating delay using timer specific routine.. 4409.27 BogoMIPS
>     (lpj=2204638)
>     Security Framework v1.0.0 initialized
>     Capability LSM initialized
>     Mount-cache hash table entries: 512
>     CPU: After generic identify, caps: 078bfbff e3d3fbff 00000000 00000000
>     00000001 00000000 00000001
>     CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
>     CPU: L2 Cache: 512K (64 bytes/line)
>     CPU: After all inits, caps: 078bfbff e3d3fbff 00000000 00000410
>     00000001
>     00000000 00000001
>     Intel machine check architecture supported.
>     Intel machine check reporting enabled on CPU#0.
>     Compat vDSO mapped to ffffe000.
>     CPU: AMD Athlon(tm) 64 Processor 3500+ stepping 02
>     Checking 'hlt' instruction... OK.
>     ACPI: Core revision 20070126
>     ACPI: setting ELCR to 0200 (from 0c20)
>     NET: Registered protocol family 16
>     No dock devices found.
>     ACPI: bus type pci registered
>     PCI: PCI BIOS revision 2.10 entry at 0xf0031, last bus=1
>     PCI: Using configuration type 1
>     Setting up standard PCI resources
>     ACPI: Interpreter enabled
>     ACPI: (supports S0 S1 S3 S4 S5)
>     ACPI: Using PIC for interrupt routing
>     ACPI: PCI Root Bridge [PCI0] (0000:00)
>     PCI: Probing PCI hardware (bus 00)
>     PCI: enabled onboard AC97/MC97 devices
>     Boot video device is 0000:01:00.0
>     ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
>     ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 7 10 *11 14 15)
>     ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 7 *10 11 14 15)
>     ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 *5 7 10 11 14 15)
>     ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 7 10 11 14 15) *0,
>     disabled.
>     ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 7 10 11 14 15) *0,
>     disabled.
>     ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 7 10 11 14 15) *0,
>     disabled.
>     ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 7 10 11 14 15) *0,
>     disabled.
>     ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 7 10 11 14 15) *0,
>     disabled.
>     Linux Plug and Play Support v0.97 (c) Adam Belay
>     pnp: PnP ACPI init
>     pnp: PnP ACPI: found 13 devices
>     SCSI subsystem initialized
>     libata version 2.20 loaded.
>     usbcore: registered new interface driver usbfs
>     usbcore: registered new interface driver hub
>     usbcore: registered new device driver usb
>     PCI: Using ACPI for IRQ routing
>     PCI: If a device doesn't work, try "pci=routeirq".  If it helps,
>     post a
>     report
>     pnp: 00:08: ioport range 0x680-0x6ff has been reserved
>     pnp: 00:08: ioport range 0x290-0x297 has been reserved
>     pnp: 00:0a: iomem range 0xfec00000-0xfec00fff has been reserved
>     pnp: 00:0a: iomem range 0xfee00000-0xfee00fff has been reserved
>     pnp: 00:0a: iomem range 0xfff80000-0xffffffff could not be reserved
>     pnp: 00:0c: iomem range 0x0-0x9ffff could not be reserved
>     pnp: 00:0c: iomem range 0xc0000-0xdffff could not be reserved
>     pnp: 00:0c: iomem range 0xe0000-0xfffff could not be reserved
>     pnp: 00:0c: iomem range 0x100000-0x3ffeffff could not be reserved
>     Time: tsc clocksource has been installed.
>     PCI: Bridge: 0000:00:01.0
>       IO window: disabled.
>       MEM window: faf00000-fbffffff
>       PREFETCH window: e0000000-f9ffffff
>     PCI: Setting latency timer of device 0000:00:01.0 to 64
>     NET: Registered protocol family 2
>     IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
>     TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
>     TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
>     TCP: Hash tables configured (established 131072 bind 65536)
>     TCP reno registered
>     Machine check exception polling timer started.
>     highmem bounce pool size: 64 pages
>     Installing knfsd (copyright (C) 1996 [EMAIL PROTECTED]
>     <mailto:[EMAIL PROTECTED]>).
>     NTFS driver 2.1.28 [Flags: R/W].
>     SGI XFS with ACLs, security attributes, large block numbers, no debug
>     enabled
>     SGI XFS Quota Management subsystem
>     io scheduler noop registered
>     io scheduler anticipatory registered
>     io scheduler deadline registered
>     io scheduler cfq registered (default)
>     vesafb: framebuffer at 0xe0000000, mapped to 0xf8880000, using 1536k,
>     total 262144k
>     vesafb: mode is 1024x768x8, linelength=1024, pages=3
>     vesafb: protected mode interface info at c000:e2e0
>     vesafb: pmi: set display start = c00ce316, set palette = c00ce380
>     vesafb: pmi: ports = 3b4 3b5 3ba 3c0 3c1 3c4 3c5 3c6 3c7 3c8 3c9
>     3cc 3ce
>     3cf 3d0 3d1 3d2 3d3 3d4 3d5 3da
>     vesafb: scrolling: redraw
>     vesafb: Pseudocolor: size=8:8:8:8, shift=0:0:0:0
>     Console: switching to colour frame buffer device 128x48
>     fb0: VESA VGA frame buffer device
>     vga16fb: initializing
>     vga16fb: mapped to 0xc00a0000
>     fb1: VGA16 VGA frame buffer device
>     input: Power Button (FF) as /class/input/input0
>     ACPI: Power Button (FF) [PWRF]
>     input: Power Button (CM) as /class/input/input1
>     ACPI: Power Button (CM) [PWRB]
>     input: Sleep Button (CM) as /class/input/input2
>     ACPI: Sleep Button (CM) [SLPB]
>     Real Time Clock Driver v1.12ac
>     Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing
>     enabled
>     serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
>     00:0b: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
>     RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
>     loop: loaded (max 8 devices)
>     Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
>     ide: Assuming 33MHz system bus speed for PIO modes; override with
>     idebus=xx
>     VP_IDE: IDE controller at PCI slot 0000:00:0f.1
>     ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11
>     PCI: setting IRQ 11 as level-triggered
>     ACPI: PCI Interrupt 0000:00:0f.1[A] -> Link [LNKA] -> GSI 11 (level,
>     low) -> IRQ 11
>     PCI: VIA VLink IRQ fixup for 0000:00:0f.1, from 255 to 11
>     VP_IDE: chipset revision 6
>     VP_IDE: not 100% native mode: will probe irqs later
>     VP_IDE: VIA vt8237 (rev 00) IDE UDMA133 controller on pci0000:00:0f.1
>         ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:DMA, hdb:pio
>         ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:pio, hdd:pio
>     Probing IDE interface ide0...
>     hda: HL-DT-STDVD-RAM GSA-H22N, ATAPI CD/DVD-ROM drive
>     ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
>     Probing IDE interface ide1...
>     Probing IDE interface ide1...
>     hda: ATAPI 48X DVD-ROM DVD-R-RAM CD-R/RW drive, 2048kB Cache,
>     UDMA(66)
>     Uniform CD-ROM driver Revision: 3.20
>     sata_via 0000:00:0f.0: version 2.1
>     ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 10
>     PCI: setting IRQ 10 as level-triggered
>     ACPI: PCI Interrupt 0000:00:0f.0[B] -> Link [LNKB] -> GSI 10 (level,
>     low) -> IRQ 10
>     sata_via 0000:00:0f.0: routed to hard irq line 10
>     ata1: SATA max UDMA/133 cmd 0x0001d000 ctl 0x0001c802 bmdma 0x0001b800
>     irq 10
>     ata2: SATA max UDMA/133 cmd 0x0001c400 ctl 0x0001c002 bmdma
>     0x0001b808
>     irq 10
>     scsi0 : sata_via
>     ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
>     ATA: abnormal status 0x7F on port 0x0001d007
>     ATA: abnormal status 0x7F on port 0x0001d007
>     ata1.00: ATA-7: ST3250620NS, 3.AEG , max UDMA/133
>     ata1.00: 488397168 sectors, multi 16: LBA48 NCQ (depth 0/32)
>     ata1.00: configured for UDMA/133
>     scsi1 : sata_via
>     ata2: SATA link down 1.5 Gbps (SStatus 0 SControl 300)
>     ATA: abnormal status 0x7F on port 0x0001c407
>     scsi 0:0:0:0: Direct-Access     ATA      ST3250620NS      3.AE
>     <http://3.AE> PQ: 0 ANSI: 5
>     SCSI device sda: 488397168 512-byte hdwr sectors (250059 MB)
>     sda: Write Protect is off
>     sda: Mode Sense: 00 3a 00 00
>     SCSI device sda: write cache: enabled, read cache: enabled, doesn't
>     support DPO or FUA
>     SCSI device sda: 488397168 512-byte hdwr sectors (250059 MB)
>     sda: Write Protect is off
>     sda: Mode Sense: 00 3a 00 00
>     SCSI device sda: write cache: enabled, read cache: enabled, doesn't
>     support DPO or FUA
>     sda: sda1 sda2 sda3 sda4
>     sd 0:0:0:0: Attached scsi disk sda
>     sd 0:0:0:0: Attached scsi generic sg0 type 0
>     has_svm: svm not available
>     kvm: no hardware support
>     ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 5
>     PCI: setting IRQ 5 as level-triggered
>     ACPI: PCI Interrupt 0000:00:10.4[C] -> Link [LNKC] -> GSI 5
>     (level, low)
>     -> IRQ 5
>     ehci_hcd 0000:00:10.4: EHCI Host Controller
>     ehci_hcd 0000:00:10.4: new USB bus registered, assigned bus number 1
>     ehci_hcd 0000:00:10.4: irq 5, io mem 0xfae00000
>     ehci_hcd 0000:00:10.4: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
>     usb usb1: configuration #1 chosen from 1 choice
>     hub 1-0:1.0: USB hub found
>     hub 1-0:1.0: 8 ports detected
>     116x: driver isp116x-hcd, 03 Nov 2005
>     ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
>     USB Universal Host Controller Interface driver v3.0
>     ACPI: PCI Interrupt 0000:00:10.0[A] -> Link [LNKA] -> GSI 11 (level,
>     low) -> IRQ 11
>     uhci_hcd 0000:00:10.0: UHCI Host Controller
>     uhci_hcd 0000:00: 10.0: new USB bus registered, assigned bus number 2
>     uhci_hcd 0000:00:10.0: irq 11, io base 0x0000d400
>     usb usb2: configuration #1 chosen from 1 choice
>     hub 2-0:1.0: USB hub found
>     hub 2-0:1.0: 2 ports detected
>     ACPI: PCI Interrupt 0000:00:10.1[A] -> Link [LNKA] -> GSI 11 (level,
>     low) -> IRQ 11
>     uhci_hcd 0000:00:10.1: UHCI Host Controller
>     uhci_hcd 0000:00:10.1: new USB bus registered, assigned bus number 3
>     uhci_hcd 0000:00: 10.1: irq 11, io base 0x0000d800
>     usb usb3: configuration #1 chosen from 1 choice
>     hub 3-0:1.0: USB hub found
>     hub 3-0:1.0: 2 ports detected
>     ACPI: PCI Interrupt 0000:00:10.2[B] -> Link [LNKB] -> GSI 10 (level,
>     low) -> IRQ 10
>     uhci_hcd 0000:00:10.2: UHCI Host Controller
>     uhci_hcd 0000:00:10.2: new USB bus registered, assigned bus number 4
>     uhci_hcd 0000:00:10.2: irq 10, io base 0x0000e000
>     usb usb4: configuration #1 chosen from 1 choice
>     hub 4-0:1.0: USB hub found
>     hub 4-0:1.0: 2 ports detected
>     ACPI: PCI Interrupt 0000:00:10.3[B] -> Link [LNKB] -> GSI 10 (level,
>     low) -> IRQ 10
>     uhci_hcd 0000:00:10.3: UHCI Host Controller
>     uhci_hcd 0000:00: 10.3: new USB bus registered, assigned bus number 5
>     uhci_hcd 0000:00:10.3: irq 10, io base 0x0000e400
>     usb usb5: configuration #1 chosen from 1 choice
>     hub 5-0:1.0: USB hub found
>     hub 5-0:1.0: 2 ports detected
>     Initializing USB Mass Storage driver...
>     usbcore: registered new interface driver usb-storage
>     USB Mass Storage support registered.
>     usbcore: registered new interface driver hiddev
>     usbcore: registered new interface driver usbhid
>     drivers/usb/input/hid-core.c: v2.6:USB HID core driver
>     PNP: PS/2 Controller [PNP0303:PS2K,PNP0f03:PS2M] at 0x60,0x64 irq 1,12
>     serio: i8042 KBD port at 0x60,0x64 irq 1
>     serio: i8042 AUX port at 0x60,0x64 irq 12
>     mice: PS/2 mouse device common for all mice
>     input: AT Translated Set 2 keyboard as /class/input/input3
>     rtc_cmos 00:02: rtc core: registered rtc_cmos as rtc0
>     rtc_cmos: probe of 00:02 failed with error -16
>     i2c /dev entries driver
>     Advanced Linux Sound Architecture Driver Version 1.0.14rc3 (Wed Mar 14
>     07:25:50 2007 UTC).
>     ALSA device list:
>       No soundcards found.
>     IPv4 over IPv4 tunneling driver
>     GRE over IPv4 tunneling driver
>     TCP cubic registered
>     Initializing XFRM netlink socket
>     NET: Registered protocol family 1
>     NET: Registered protocol family 10
>     lo: Disabled Privacy Extensions
>     tunl0: Disabled Privacy Extensions
>     IPv6 over IPv4 tunneling driver
>     sit0: Disabled Privacy Extensions
>     NET: Registered protocol family 17
>     NET: Registered protocol family 15
>     powernow-k8: Found 1 AMD Athlon(tm) 64 Processor 3500+ processors
>     (version 2.00.00)
>     powernow-k8:    0 : fid 0xe (2200 MHz), vid 0x6
>     powernow-k8:    1 : fid 0xc (2000 MHz), vid 0x8
>     powernow-k8:    2 : fid 0xa (1800 MHz), vid 0xa
>     powernow-k8:    3 : fid 0x2 (1000 MHz), vid 0x12
>     Using IPI Shortcut mode
>     drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
>     input: ImPS/2 Generic Wheel Mouse as /class/input/input4
>     Unable to load NLS charset utf8
>     UDF-fs: No VRS found
>     XFS mounting filesystem sda2
>     Ending clean XFS mount for filesystem: sda2
>     VFS: Mounted root (xfs filesystem) readonly.
>     Freeing unused kernel memory: 224k freed
>     Linux agpgart interface v0.102 (c) Dave Jones
>     ACPI: PCI Interrupt 0000:00:0a.0[A] -> Link [LNKB] -> GSI 10 (level,
>     low) -> IRQ 10
>     skge 1.10 addr 0xfac00000 irq 10 chip Yukon-Lite rev 9
>     skge eth0: addr 00:13:d4:8d:d0:08
>     agpgart: Detected AGP bridge 0
>     agpgart: AGP aperture is 256M @ 0xd0000000
>     ACPI: PCI Interrupt 0000:00:11.5[C] -> Link [LNKC] -> GSI 5
>     (level, low)
>     -> IRQ 5
>     PCI: Setting latency timer of device 0000:00: 11.5 to 64
>     sk98lin: driver has been replaced by the skge driver and is scheduled
>     for removal
>     nvidia: module license 'NVIDIA' taints kernel.
>     ACPI: PCI Interrupt 0000:01:00.0[A] -> Link [LNKA] -> GSI 11 (level,
>     low) -> IRQ 11
>     NVRM: loading NVIDIA UNIX x86 Kernel Module  100.14.11  Wed Jun 13
>     18:21:22 PDT 2007
>     Adding 257032k swap on /dev/sda3.  Priority:-1 extents:1
>     across:257032k
>     kjournald starting.  Commit interval 5 seconds
>     EXT3 FS on sda4, internal journal
>     EXT3-fs: mounted filesystem with ordered data mode.
>     skge eth0: enabling interface
>     ADDRCONF(NETDEV_UP): eth0: link is not ready
>     skge eth0: Link is up at 100 Mbps, full duplex, flow control both
>     ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
>     eth0: no IPv6 routers present
>     agpgart: Found an AGP 3.0 compliant device at 0000:00:00.0.
>     agpgart: Putting AGP V3 device at 0000:00:00.0 into 8x mode
>     agpgart: Putting AGP V3 device at 0000:01: 00.0 into 8x mode
>     spurious 8259A interrupt: IRQ7.
>     usb 1-6: new high speed USB device using ehci_hcd and address 2
>     usb 1-6: configuration #1 chosen from 1 choice
>     scsi2 : SCSI emulation for USB Mass Storage devices
>     usb-storage: device found at 2
>     usb-storage: waiting for device to settle before scanning
>     scsi 2:0:0:0: Direct-Access     Kingston DataTraveler 2.0 1.00 PQ:
>     0 ANSI: 2
>     SCSI device sdb: 1971200 512-byte hdwr sectors (1009 MB)
>     sdb: Write Protect is off
>     sdb: Mode Sense: 0b 00 00 08
>     sdb: assuming drive cache: write through
>     SCSI device sdb: 1971200 512-byte hdwr sectors (1009 MB)
>     sdb: Write Protect is off
>     sdb: Mode Sense: 0b 00 00 08
>     sdb: assuming drive cache: write through
>     sdb: sdb1
>     sd 2:0:0:0: Attached scsi removable disk sdb
>     sd 2:0:0:0: Attached scsi generic sg1 type 0
>     usb-storage: device scan complete
>     Unable to load NLS charset iso8859-1
>     FAT: IO charset iso8859-1 not found
>     Unable to load NLS charset iso8859-1
>     FAT: IO charset iso8859-1 not found
>     [EMAIL PROTECTED]:~$
>
>     idéias são bem vindas!
>
>     Obrigado de ante-mão,
>
>     Gustavo
>
>
>     >

--~--~---------~--~----~------------~-------~--~----~
GUS-BR - Grupo de Usuários de Slackware Brasil
http://www.slackwarebrasil.org/
http://groups.google.com/group/slack-users-br
-~----------~----~----~----~------~----~------~--~---

Responder a