aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/hal
Commit message (Collapse)AuthorAgeFilesLines
* Add some more argument sanity checking to the fuse helper script. Thismarcus2009-04-102-5/+29
| | | | | | | fixes a problem where mounting NTFS volumes using ntfs-3g fails due to bad options. Submitted by: Kris Moore <kris@pcbsd.com>
* One more fix for hal and PolicyKit. Apparently haldaemon requiresmarcus2009-03-313-1/+8
| | | | | | org.freedesktop.policykit.read privilege to read the PK config. It's great they document this so well. This, plus the last PK fix should fix the various mounting problems some people have been seeing.
* Fix hal on the latest -CURRENT now that libusb20 has been renamed.marcus2009-03-147-59/+167
|
* Fix build: 80064 -> 800064kevlo2009-03-051-1/+1
|
* Set the device node to NULL for usb keyboards. The xorg keyboardrnoland2009-03-033-10/+19
| | | | | | | | | | | driver has the ability to open character devices, but in our case syscons always owns the devices. This should allow usb only setups as well as help people who are setting xorg input options on usb devices. PR: 132270 Submitted by: Jose M Rodriguez <josemi@freebsd.jazztel.es> Approved by: marcus
* Add the new usb2 probers to the plist.marcus2009-03-032-1/+9
|
* Chase the recent usb2 changes in HEAD.marcus2009-02-281-6/+10
|
* Fix build on older versions of FreeBSD.marcus2009-02-261-22/+21
|
* Actually commit the build for the old USB backend.marcus2009-02-251-6/+25
|
* Fix the build now that usb2 has been renamed.marcus2009-02-243-10/+24
|
* Fix probe-hiddev building on very recent -CURRENT.marcus2009-02-241-0/+33
|
* * Add support for usb2 in -CURRENT.marcus2009-02-2420-54/+1633
| | | | | | | * Fix processing of devd events. * Add support for the PART GEOM type. * Attempt to fix a race condition where a drive an be learned before its parent. This fix only works on 7.1, RELENG_7, and -CURRENT.
* Check to see if "/dev/usb " exists, and if it does, don't try tomarcus2009-02-161-3/+31
| | | | | initialize USB support. This will keep hald from taking up 100% CPU on usb2 -CURRENT systems.
* - Do not allow openning /dev/sysmouse multiple times. When there arejkim2009-02-053-19/+80
| | | | | | | | | | multiple instances of moused(8) and Xorg mouse driver opens /dev/sysmouse multiple times, Xorg server gets confused badly, e.g., losing input events, waiting for already processed events, etc. - Really fix laptop brightness control. The previous commit didn't fix IBM and Sony laptops. Pointyhat to me, again. Reviewed by: marcus
* Fix breakages introduced in the previous commit. hf_has_sysctl() is onlyjkim2009-02-031-6/+15
| | | | | | capable of finding the leaf node. Pointyhat to: jkim
* - Do not search for Linux-specific hald-addon-acpi module.jkim2009-02-034-5/+73
| | | | | | | | - Remove unnecessary ioctl calls for battery on non-laptops. - Do not use model-specific sysctl if it is not available. - Always provide frequencies of BSP as we do not export APs' yet. Reviewed by: marcus
* Quiet the syslog messages from hal.marcus2009-02-012-1/+26
| | | | | Submitted by: miwi Obtained from: https://bugs.freedesktop.org/show_bug.cgi?id=18985
* Take another stab at fixing mouse support in X. This approach eliminatesmarcus2009-01-279-24/+556
| | | | | | | the constant polling to find a mouse device owner, and instead uses a kevent/polling model. Testing has shown this to work in all cases. Tested by: rnoland
* When changing the input.device property we need to remove the propertyrnoland2009-01-243-26/+9
| | | | | | | | first. If we don't, consumers seem to get the old value. This seems to make Xorg happy with mouse detection now. This should work with or without moused enabled. Approved by: marcus, garga (mentor, implicit)
* - Update X.org ports to 7.4+ (few ports are more recent than the katamari).flz2009-01-242-5/+11
| | | | | | | | - Bump PORTREVISION for all ports depending on libglut since the shlib version number went from 4 to 3. - Bump PORTREVISION for all ports depending on libXaw as libXaw.so.8 isn't installed anymore. - Couple of ports fixes (mostly missing xorg components added to USE_XORG).
* Add two additional properties to disc media so that applications canmarcus2009-01-162-1/+40
| | | | | | determine when media is available and that media's capacity. Reported by: Alexander Logvinov <freebsd@akavia.ru>
* Presenting GNOME 2.24 for FreeBSD.marcus2009-01-1012-44/+659
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See http://library.gnome.org/misc/release-notes/2.24/ for the general release notes. On the FreeBSD front, this release introduces Fuse support in HAL, adds multi-CPU support to libgtop, WebKit updates, and fixes some long-standing seahorse and gnome-keyring bugs. The documentation updates to the website are forthcoming. This release features commits by adamw, ahze, kwm, mezz, and myself. It would not have been possible without are contributors and testers: Alexander Loginov Craig Butler [1] Dmitry Marakasov [6] Eric L. Chen Joseph S. Atkinson Kris Moore Lapo Luchini [7] Nikos Ntarmos Pawel Worach Romain Tartiere TAOKA Fumiyoshi [3] Yasuda Keisuke Zyl aZ [4] bf [2] [5] Florent Thoumie Peter Wemm pluknet PR: 125857 [1] 126993 [2] 130031 [3] 127399 [4] 127661 [5] 124302 [6] 129570 [7] 129936 123790
* - Remove conditional checks for FreeBSD 5.x and olderpav2009-01-071-4/+0
|
* Bump portrevision due to upgrade of devel/gettext.edwin2008-06-061-0/+1
| | | | | | | | | | The affected ports are the ones with gettext as a run-dependency according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT in Makefile (29 of them). PR: ports/124340 Submitted by: edwin@ Approved by: portmgr (pav)
* Fix patching when FIXED_MOUNTPOINTS is defined.marcus2008-05-211-10/+5
| | | | Reported by: many
* Update to 0.5.11.marcus2008-05-194-115/+52
|
* Remove noexec from the list of hardcoded mount options. This was alreadymarcus2008-05-012-1/+12
| | | | | | | done for Linux, and can be added back in various applications which request hal mounts. Requested by: Kris Moore <kris@pcbsd.com>
* Fix the pkg-install script to create the haldaemon user/group even whenmarcus2008-04-212-15/+18
| | | | | PACKAGE_BUILDING is defined. This is consistent with how other ports do things, and it fixes hal's package installation through sysinstall.
* * Do not probe disc media unless the media is known to contain datamarcus2008-04-143-1/+31
| | | | | | | * Be less conservation about which device nodes are mountable volumes These patches were tested together by mezz, and individually by Andriy Gapon and Andreas Wetzel respectively.
* Fix the build on 5.X.marcus2008-04-031-4/+7
| | | | Reported by: Taylor Mallette <taylor@supermilo.com>
* * Add an addon to poll mouse device files to see if moused or Xorg owns them.marcus2008-04-028-30/+633
| | | | | | | | | | | | This allows hal to properly reflect the correct access device, and prevents X from opening the same device twice * Use the less expensive clock_gettime() instead of gettimeofday() in hal's pollers [1] * Add support for locking storage devices * Fix the path to the installed documentation Submitted by: jkim [1] Tested by: jkim, cokane, and a host of others
* - Fix empty directory creation in packagepav2008-03-252-1/+2
|
* The FreeBSD GNOME team is proud to annunce the release of GNOME 2.22.0 formarcus2008-03-2411-181/+296
| | | | | | | | | | | | | | | | | | | | | | FreeBSD. The official GNOME 2.22 release notes can be found at http://library.gnome.org/misc/release-notes/2.22/ . On the FreeBSD front, this release features an updated hal port with support for video4linux devices, DRM (Direct Rendering), and better support of removable media. Work is also underway to tie webkit more closely into GNOME. As part of the GNOME 2.22 upgrade, GStreamer received a rather large upgrade as well. Be sure to consult UPDATING on the proper steps to upgrade all of your GNOME ports. This release would not have been possible without the contributions and testing efforts of the following people: Pawel Worach kan edwin Peter Ulrich Kruppa J. W. Ballantine Yasuda Keisuke Andriy Gapon
* Update to snapshot 20080203.marcus2008-02-042-4/+4
| | | | | | | Do not assume a cdb length of 16. Instead, set it according to the size of the data being requested. Submitted by: kan
* * Make sure all PCI buses are probedmarcus2007-12-252-4/+4
| | | | | | | | | * Be gentler when probing removable media USB and SCSI devices as to not spam the console with media read failures where there is no media inserted. This will aleviate the problem with USB/SCSI floppy drives and card readers. [1] Submitted by: Andriy Gapon <avg@icyb.net.ua> [1]
* Update to 20071222 which allows hal to build on 6.0.marcus2007-12-232-4/+4
| | | | | PR: 118936 Submitted by: Alex Stangl <alex@stangl.us>
* Fix the build on 5.X.marcus2007-12-172-5/+5
| | | | Reported by: pointyhat via pav
* Actually remove dependency on cdrtools.marcus2007-12-161-2/+1
|
* Update to snapshot 20071215.marcus2007-12-162-4/+4
| | | | | | | | | | * Remove dependency on isoinfo, and detect disc type internally. [1] * Adapt patch from Linux's hal backend to add media changer support and prevent hal from trying to treat tape changers like CD drivers. [2] PR: 118273 [2] Submitted by: bland [1] truckman [2]
* Update to snapshot 20070909.marcus2007-09-102-5/+5
| | | | | | | * Add support for ext3 file systems [1] * Reopen the devd socket if devd restarts Submitted by: Raaf <raaf@zen.mooo.com> [1]
* - Welcome X.org 7.2 \o/.flz2007-05-202-19/+1
| | | | | - Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}. - Bump PORTREVISION for ports intalling files in ${X11BASE}.
* Add devd to the list of hald's rc.d dependencies. Note: we cannot removemarcus2007-04-232-2/+2
| | | | | | | usbd yet because 6.X and 5.X still have it, and if it is desired, then it should be started BEFORE hald. PR: 112017
* Add an option which makes hald use the device name rather than thejylefort2007-04-072-0/+36
| | | | | | | volume label as default mountpoint. Using the UTF-8 volume label as mountpoint can be problematic with legacy locales. Reported by: Andrew Muhametshin <andrew@dobrohot.org>, lofi
* Update to snapshot 20070403.marcus2007-04-032-4/+4
| | | | | | | | | | | | | | | * Add a new utility function, hf_str_no_slashes(), that converts '/' into '_' for purposes of UDI constructions. UDI path components cannot contain embedded slashes, and a trailing slash will cause hald to crash. [1] * Ensure that UDIs of ATA and SCSI devices are unique. [2] * Do not re-probe disks that are managed by hald-addon-storage since that will result in a double-probe and data corruption. In particular, this fixes a problem with CD unmounting when ATAPICAM is enabled. [3] Reported by: Chess Griffin <chessg@gmail.com> [1] sajd on #freebsd-gnome [3] Submitted by: jylefort [2] Reviewed by: jylefort [3]
* * Power down the system rather than simply shutting it down. [1]marcus2007-03-252-4/+4
| | | | | | | | | | * Avoid an infinite loop with buggy PCI firmwares [2] [3] * While here, simplify the PCI probing mechanism [3] PR: 110492 [1] Reported by: manphiz@gmail.com, Nick Withers <nick@nickwithers.com> [2] Submitted by: Rechistov Grigory <ggg_mail@inbox.ru> [1] jylefort [3]
* Update to snapshot 20070210.marcus2007-02-112-4/+4
| | | | | | | | | * Fix an assertion in hal-device [1] * Fix detection of disc volumes on FreeBSD 5.X * Fix the mapping of SCSI to atapi devices [2] Obtained from: HAL git [1] Submitted by: jylefort [2]
* HAL is not supported on FreeBSD prior to 5.5-RELEASE so mark it as such.marcus2007-02-031-0/+4
|
* - Use new USE_CDRTOOLS variablepav2007-01-311-2/+2
| | | | Tested on: pointyhat
* Update to snapshot 20070104.marcus2007-01-052-4/+4
| | | | | | | | | * If atapicam is enabled, use the CAM device node instead of the ATAPI device node to access disc devices. The previous behavior can be restored by following instructions in the README.freebsd file. [1] * Flesh out the list of supported mount options for the vaious file systems Submitted by: jylefort [1]
* Update to snapshot 20061224.marcus2006-12-252-4/+4
| | | | | | | | | | * Fix support for ATAPI devices under FreeBSD 5.X [1] * Add more mount options for FAT and NTFS file systems A special thanks to Nigel Wohlers <nigel@eyede.com> who provided a machine for testing the 5.X patches. Reported by: lofi
* Update to snapshot 20061217.marcus2006-12-183-4/+5
| | | | | | | * Fix some 64-bit compile warnings * Turn two assertions into additional conditional checks to prevent potential hald crashes when switching disc media * Shutdown hald on deinstall to prevent two halds from running on restart
* Update to snapshot 20661117.marcus2006-11-173-6/+20
| | | | | | | | | | * Account for ACPI BIOSes that report a rate of 0xffff while they are still initializing (adapted from the HAL linux backend) * Add support for two new net properties: net.freebsd.ifindex and net.80203.rate * Add support for the MBREXT GEOM class * Create /media for 6.1 and 5.5 users that do not have this directory in mtree
* Revert the previous commit. It appears that the operator group is forjylefort2006-11-172-18/+3
| | | | | | | allowing to mount volumes etc while the wheel group is for allowing to su to root. Reported by: kris
* Give wheel group members the same rights as operator group members.jylefort2006-11-172-3/+18
|
* I wanted to press Cancel, not Done. Revert the previous commit.jylefort2006-11-171-2/+2
|
* Change operator to wheel (I believe the wheel group is more commonlyjylefort2006-11-161-3/+3
| | | | used than the operator group
* Update to snapshot 20061107.marcus2006-11-082-5/+6
| | | | | | | | | | | | | | | | * Use the system libvolume_id * Fix some bashims in the configure script * Merge the latest HAL ids code from HAL git * Add support for the pnp.description property * If hw.acpi.lid_switch_state is set to NONE, set the info.ignore property on the lid button to TRUE * Actually introduce the fix for treating blank discs as volumes. This truly fixes nautilus-cd-burner * Add support for the new volume.partition properties * Add more GEOM support for SUN, APPLE, and GPT classes Thanks to jylefort for reviewing some of these patches, and a bunch of testers for putting the changes through their paces.
* Update to snapshot 20061102.marcus2006-11-032-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | * The volume probing helper can take up to a minute to run the isoinfo command against data DVDs, so bump the timeout up to 60 seconds. * Fix a spurious warning when running lshal Add two new properties to SCSI block devices. The first is block.freebsd.cam_path which is a bus,target,lun path to a SCSI device. This is needed by tools such as cdrecord, and by adding a private freebsd property, it is much easier to get apps like nautilus-cd-burner working. The second property is block.freebsd.atapi_cam_device. This property is actually attached to ATAPI CAM devices, and denotes the CAM block device associated with this ATAPI block device. This may be useful for programs that can only operate with CAM-compliant devices. Finally, update the volume probing code so that blank discs are treated as volumes. This is sort of crude. We basically say a disc is blank is it is a disc and contains no data and no audio. With all of these changes, plus a minor change to nautilus-cd-burner, n-c-b now works again on FreeBSD.
* - Make sure to create empty directories when adding from packagepav2006-10-312-1/+7
|
* Start hald if gnome_enable is set to yes in /etc/rc.confjylefort2006-10-312-4/+6
|
* Do not break when docbook is installed.jylefort2006-10-311-0/+1
| | | | Reported by: Marcus von Appen <mva@sysfault.org>
* Update to the 20061030 snapshot which contains support for virtual GEOMmarcus2006-10-314-27/+6
| | | | | classes such as MIRROR, LABEL, GELI, etc. as well as fixes a bug with handling the return value from open(2) in the volume probing code.
* Allow usbd to start first (if enabled) so that hald does not stealmarcus2006-10-292-2/+2
| | | | | | /dev/usb. Approved by: portmgr (implicit)
* Presenting GNOME 2.16.1 for FreeBSD. This release represents a massivemarcus2006-10-1412-0/+464
amount of work by the FreeBSD GNOME Team and our testers. On top of the usual GNOME update, we have taken this opportunity to move GNOME from X11BASE to LOCALBASE. This means roughly 600 ports NOT part of the GNOME Desktop also need to be changed. The bulk of the move was carried out by ahze, mezz, and pav, but it would not have been possible without cooperation from the FreeBSD KDE team who worked with us to make sure GNOME and KDE can still coexist happily. We would also like to send a shout out to kris and pointyhat for putting up with multiple test runs until we got something that was solid. Back to GNOME 2.16. This release brings a huge amount of new functionality to FreeBSD. The standard release notes can be read at http://www.gnome.org/start/2.16/ . But on top of what you will read there, jylefort and marcus have completed work on a port of HAL to FreeBSD. This will allow FreeBSD to take advantage of closer hardware interaction such as auto-mounting CD-ROMs, USB drives, and music players; auto-playing audio CDs; and managing laptop power consumption. But where would this all be without our loyal testers and contributors? Therefore, the FreeBSD GNOME team would like to thank the following users: Phillip Neumann <pneumann@gmail.com> tmclaugh mux Yuri Pankov <yuri.pankov@gmail.com> chinsan Thomas <freebsdlists@bsdunix.ch> Brian Gruber <knightbg@yahoo.com> Franz Klammer <klammer@webonaut.com> Dominique Goncalves <dominique.goncalves@gmail.com> Pascal Hofstee <caelian@gmail.com> Yasuda Keisuke <kysd@po.harenet.ne.jp> backyard <backyard1454-bsd@yahoo.com> Andris Raugulis <endrju@null.lv> <endrju@null.lv> Eric L. Chen <d9364104@mail.nchu.edu.tw> Pawel Worach <pawel.worach@gmail.com> QuiRK on #freebsd-gnome Shane Bell <decept0@gmail.com> luigi sajd on #freebsd-gnome sat Chris Coleman <chrisc@vmunix.com> kaeru on #freebsd-gnome crsd_ via irc.freenode.org/#FreeBSD-GNOME Joel Diaz <joeldiaz@mac.com> Enjoy! Approved by: portmgr (implicit, kris)