aboutsummaryrefslogtreecommitdiff
path: root/sysutils/hal
Commit message (Collapse)AuthorAgeFilesLines
* Properly close the USB devices we open for probing.Joe Marcus Clarke2012-04-163-9/+37
| | | | Notes: svn path=/head/; revision=294897
* In the rc.d scripts, change assignments to rcvar to use theDoug Barton2012-01-141-1/+1
| | | | | | | | | | | | | | literal name_enable wherever possible, and ${name}_enable when it's not, to prepare for the demise of set_rcvar(). In cases where I had to hand-edit unusual instances also modify formatting slightly to be more uniform (and in some cases, correct). This includes adding some $FreeBSD$ tags, and most importantly moving rcvar= to right after name= so it's clear that one is derived from the other. Notes: svn path=/head/; revision=289156
* Correctly populate usb_device.device_revision_bcd.Joe Marcus Clarke2012-01-022-3/+12
| | | | | | | | | PR: 163726 Submitted by: Stephen Hurd <shurd@sasktel.net> Reviewed by: hps Notes: svn path=/head/; revision=288431
* - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)Dmitry Marakasov2011-09-231-3/+3
| | | | | | | | | | | | - Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead PR: 157936 Submitted by: myself Exp-runs by: pav Approved by: pav Notes: svn path=/head/; revision=282282
* Fix GELI file system detection.Joe Marcus Clarke2011-07-222-4/+18
| | | | | | | Reported by: Kevin Oberman <kob6558@gmail.com> Notes: svn path=/head/; revision=278184
* Fix some minor issues with USB device properties.Joe Marcus Clarke2011-07-022-1/+33
| | | | | | | Submitted by: hps Notes: svn path=/head/; revision=276922
* Check for cdev= in devd messages in older versions of FreeBSD.Joe Marcus Clarke2011-06-282-116/+376
| | | | | | | Submitted by: hps Notes: svn path=/head/; revision=276618
* Fix detection of usb2 devd events.Joe Marcus Clarke2011-05-252-8/+8
| | | | | | | Submitted by: hps Notes: svn path=/head/; revision=274659
* Remove the legacy MD5 checksum.Joe Marcus Clarke2011-02-261-1/+0
| | | | Notes: svn path=/head/; revision=269848
* Fix the processing of devd messages so that the new -CURRENT format isJoe Marcus Clarke2011-02-262-3/+21
| | | | | | | | | properly understood. Submitted by: Gustau Pérez gpere@entel.upc.edu (based on) Notes: svn path=/head/; revision=269829
* Adjust the code to parse the USB devd notification to be a bit broader.Joe Marcus Clarke2011-01-092-3/+3
| | | | | | | | | | This ensures that the USB cdev notifications are not passed to the storage layer thus muting the USB device attach messages. Submitted by: hps Notes: svn path=/head/; revision=267548
* Check for G_IO_STATUS_EOF when reading from the devd socket to preventJoe Marcus Clarke2011-01-082-1/+12
| | | | | | | | | an event storm. PR: 152524 Notes: svn path=/head/; revision=267523
* Sync to new bsd.autotools.mkAde Lovett2010-12-041-1/+1
| | | | Notes: svn path=/head/; revision=265663
* Fix a potential race with helper processes terminating too quickly. WhenJoe Marcus Clarke2010-11-092-1/+12
| | | | | | | | | | this happens, hald dies. PR: 151725 Submitted by: avg Notes: svn path=/head/; revision=264292
* Fix a bug where UFS file systems could not be properly unmounted. Part of thisJoe Marcus Clarke2010-08-292-6/+8
| | | | | | | | | | was due to a logic bug introduced when I added support for "ufs/" labels. Thanks to Andriy Gapon for ctching that. PR: 149134 Notes: svn path=/head/; revision=260171
* Bounce PORTREVISION for gettext-related ports. Have fun, ya'll.Ade Lovett2010-05-311-1/+1
| | | | Notes: svn path=/head/; revision=255371
* Presenting GNOME 2.30.1 for FreeBSD. The offical release notes for thisKoop Mast2010-05-1036-3641/+1060
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | release can be found at http://library.gnome.org/misc/release-notes/2.30/ . This release brings initial PackageKit support, Upower (replaces power management part of hal), cuse4bsd integration with HAL and cheese, and a faster Evolution. Sadly GNOME 2.30.x will be the last release with FreeBSD 6.X support. This will also be the last of the 2.x releases. The next release will be the highly-anticipated GNOME 3.0 which will bring with it a new UI experience. Currently, there are a few bugs with GNOME 2.30 that may be of note for our users. Be sure to consult the UPGRADING note or the 2.30 upgrade FAQ at http://www.freebsd.org/gnome/docs/faq230.html for specific upgrading instructions, and the up-to-date list of known issues. This release features commits by avl, ahze, bland, marcus, mezz, and myself. The FreeBSD GNOME Team would like to thank Anders F Bjorklund for doing the initual packagekit porting. And the following contributors & testers for there help with this release: Eric L. Chen Vladimir Grebenschikov Sergio de Almeida Lenzi DomiX walder crsd Kevin Oberman Michal Varga Pavel Plesov Bapt kevin and ITetcu for two exp-run PR: ports/143852 ports/145347 ports/144980 ports/145830 ports/145511 Notes: svn path=/head/; revision=254099
* Begin the process of deprecating sysutils/rc_subr byDoug Barton2010-03-271-1/+1
| | | | | | | s#. %%RC_SUBR%%#. /etc/rc.subr# Notes: svn path=/head/; revision=251553
* Fix the environment variables when probing USB2 interfaces as their propertyJoe Marcus Clarke2010-01-242-5/+5
| | | | | | | names have changed. Notes: svn path=/head/; revision=248444
* Correct the properties for USB interface devices.Joe Marcus Clarke2010-01-232-4/+4
| | | | | | | | PR: 142988 Submitted by: thompsa Notes: svn path=/head/; revision=248433
* Presenting GNOME 2.28.1 for FreeBSD. The official release notes for thisJoe Marcus Clarke2009-11-2819-463/+667
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | release can be found at http://library.gnome.org/misc/release-notes/2.28/ . Officially, this is mostly a polishing release in preparation for GNOME 3.0 due in about a year. On the FreeBSD front, though, a lot went into this release. Major thanks goes to kwm and avl who did a lot of the porting work for this release. In particular, kwm brought in Evolution MAPI support for better Microsoft Exchange integration. Avl made sure that the new gobject introspection repository ports were nicely compartmentalized so that large dependencies aren't brought in wholesale. But, every GNOME team member (ahze, avl, bland, kwm, mezz, and myself) contributed to this release. Other major improvements include an updated HAL with better volume probing code, ufsid integration, and support for volume names containing spaces (big thanks to J.R. Oldroyd); a new WebKit; updated AbiWord; an updated Gimp; and a preview of the new GNOME Shell project (thanks to Pawel Worach). The FreeBSD GNOME Team would like to that the following additional contributors to this release whose patches and testing really helped make it a success: Andrius Morkunas Dominique Goncalves Eric L. Chen J.R. Oldroyd Joseph S. Atkinson Li Pawel Worach Romain Tartière Thomas Vogt Yasuda Keisuke Rui Paulo Martin Wilke (and an extra shout out to miwi and pav for pointyhat runs) We would like to send this release out to Alexander Loginov (avl) in hopes that he feels better soon. PR: 136676 136967 138872 (obsolete with new epiphany-webkit) 139160 134737 139941 140097 140838 140929 Notes: svn path=/head/; revision=244923
* Add support to create users and groups from information stored in UIDs/GIDsFlorent Thoumie2009-09-062-28/+4
| | | | | | | | | | | | | files. Users and groups won't be deleted at deinstall time as we're lacking a refcount to know if any port is using them. Also convert a few ports while I'm here. PR: ports/108514 Submitted by: mm, self Notes: svn path=/head/; revision=240964
* -Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.Jeremy Messenger2009-08-021-1/+1
| | | | | | | | | | | | | | | | | | | | | -Update libtool and libltdl to 2.2.6a. -Remove devel/libtool15 and devel/libltdl15. -Fix ports build with libtool22/libltdl22. -Bump ports that depend on libltdl22 due to shared library version change. -Explain what to do update in the UPDATING. It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop and applications in the runtime. With help: marcus and kwm Pointyhat-exp: a few times by pav Tested by: pgollucci, "Romain Tartière" <romain@blogreen.org>, and a few MarcusCom CVS users. Also, I might have missed a few. Repocopy by: marcus Approved by: portmgr Notes: svn path=/head/; revision=238781
* Fix a few "bad example" problems in the rc.d scripts that have beenDoug Barton2009-07-151-2/+1
| | | | | | | | | | | | | | | | | | | | | | | propogated by copy and paste. 1. Primarily the "empty variable" default assignment, which is mostly ${name}_flags="", but fix a few others as well. 2. Where they are not already documented, add the existence of the _flags (or other deleted empties) option to the comments, and in some cases add comments from scratch. 3. Replace things that look like: prefix=%%PREFIX%% command=${prefix}/sbin/foo to just use %%PREFIX%%. In many cases the $prefix variable is only used once, and in some cases it is not used at all. 4. In a few cases remove ${name}_flags from command_args 5. Remove a long-stale comment about putting the port's rc.d script in /etc/rc.d (which is no longer necessary). No PORTREVISION bumps because all of these changes are noops. Notes: svn path=/head/; revision=237892
* Fix the build on recent -CURRENT with the removal of oldusb.Joe Marcus Clarke2009-05-304-39/+145
| | | | Notes: svn path=/head/; revision=234821
* Optimize the check for an existing GEOM object and correct a nearby memoryJoe Marcus Clarke2009-05-232-16/+27
| | | | | | | leak. Notes: svn path=/head/; revision=234466
* * Correct a potential infinite recursion loop triggered by the new GEOMJoe Marcus Clarke2009-05-235-27/+33
| | | | | | | | | | | classes [1] * Fix some minor issues with usb2 support [2] PR: 134731 [1] Submitted by: hselasky [2] Notes: svn path=/head/; revision=234465
* Add some more argument sanity checking to the fuse helper script. ThisJoe Marcus Clarke2009-04-092-5/+29
| | | | | | | | | | fixes a problem where mounting NTFS volumes using ntfs-3g fails due to bad options. Submitted by: Kris Moore <kris@pcbsd.com> Notes: svn path=/head/; revision=231945
* One more fix for hal and PolicyKit. Apparently haldaemon requiresJoe Marcus Clarke2009-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. Notes: svn path=/head/; revision=231338
* Fix hal on the latest -CURRENT now that libusb20 has been renamed.Joe Marcus Clarke2009-03-147-59/+167
| | | | Notes: svn path=/head/; revision=230023
* Fix build: 80064 -> 800064Kevin Lo2009-03-051-1/+1
| | | | Notes: svn path=/head/; revision=229517
* Set the device node to NULL for usb keyboards. The xorg keyboardRobert Noland2009-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 Notes: svn path=/head/; revision=229396
* Add the new usb2 probers to the plist.Joe Marcus Clarke2009-03-022-1/+9
| | | | Notes: svn path=/head/; revision=229368
* Chase the recent usb2 changes in HEAD.Joe Marcus Clarke2009-02-271-6/+10
| | | | Notes: svn path=/head/; revision=229187
* Fix build on older versions of FreeBSD.Joe Marcus Clarke2009-02-251-22/+21
| | | | Notes: svn path=/head/; revision=229052
* Actually commit the build for the old USB backend.Joe Marcus Clarke2009-02-241-6/+25
| | | | Notes: svn path=/head/; revision=229015
* Fix the build now that usb2 has been renamed.Joe Marcus Clarke2009-02-243-10/+24
| | | | Notes: svn path=/head/; revision=228977
* Fix probe-hiddev building on very recent -CURRENT.Joe Marcus Clarke2009-02-231-0/+33
| | | | Notes: svn path=/head/; revision=228960
* * Add support for usb2 in -CURRENT.Joe Marcus Clarke2009-02-2320-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. Notes: svn path=/head/; revision=228952
* Check to see if "/dev/usb " exists, and if it does, don't try toJoe Marcus Clarke2009-02-161-3/+31
| | | | | | | | initialize USB support. This will keep hald from taking up 100% CPU on usb2 -CURRENT systems. Notes: svn path=/head/; revision=228483
* - Do not allow openning /dev/sysmouse multiple times. When there areJung-uk Kim2009-02-043-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 Notes: svn path=/head/; revision=227621
* Fix breakages introduced in the previous commit. hf_has_sysctl() is onlyJung-uk Kim2009-02-031-6/+15
| | | | | | | | | capable of finding the leaf node. Pointyhat to: jkim Notes: svn path=/head/; revision=227479
* - Do not search for Linux-specific hald-addon-acpi module.Jung-uk Kim2009-02-024-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 Notes: svn path=/head/; revision=227471
* Quiet the syslog messages from hal.Joe Marcus Clarke2009-01-312-1/+26
| | | | | | | | Submitted by: miwi Obtained from: https://bugs.freedesktop.org/show_bug.cgi?id=18985 Notes: svn path=/head/; revision=227295
* Take another stab at fixing mouse support in X. This approach eliminatesJoe Marcus Clarke2009-01-269-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 Notes: svn path=/head/; revision=226909
* When changing the input.device property we need to remove the propertyRobert Noland2009-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) Notes: svn path=/head/; revision=226760
* - Update X.org ports to 7.4+ (few ports are more recent than the katamari).Florent Thoumie2009-01-232-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). Notes: svn path=/head/; revision=226727
* Add two additional properties to disc media so that applications canJoe Marcus Clarke2009-01-162-1/+40
| | | | | | | | | determine when media is available and that media's capacity. Reported by: Alexander Logvinov <freebsd@akavia.ru> Notes: svn path=/head/; revision=226234
* Presenting GNOME 2.24 for FreeBSD.Joe Marcus Clarke2009-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 Notes: svn path=/head/; revision=225629
* - Remove conditional checks for FreeBSD 5.x and olderPav Lucistnik2009-01-061-4/+0
| | | | Notes: svn path=/head/; revision=225335