i have now comitted some fixed init scripts. which removes the pid.
with the problem about server being down, it is my workstation
it is up the most of the time, but it happens to be down
i will get some hosting somewhere.
Code: Select all
Calculating dependencies
emerge: there are no masked or unmasked ebuilds to satisfy "hal-cvs".
!!! Error calculating dependencies. Please correct.Code: Select all
Calculating dependencies
!!! Problem in null/hal-cvs-20040522 dependencies.
!!! "Specific key requires an operator (null/hal-cvs-20040522) (try adding an '=')"Can't you just emerge dbus-cvs USE="-qt"?Twink wrote:dbus seemed to require it.eikketk wrote:What package needed this?
there isn't any support to run an external command when a disc is inserted is there?
Code: Select all
dbus-monitor --system
signal interface=org.freedesktop.DBus; member=ServiceAcquired; sender=org.freedesktop.DBus
string::1.4
signal interface=org.freedesktop.Hal.Manager; member=DeviceAdded; sender=:1.0
string:/org/freedesktop/Hal/devices/block_22_0-disc
signal interface=org.freedesktop.Hal.Manager; member=DeviceRemoved; sender=:1.0
string:/org/freedesktop/Hal/devices/block_22_0-disc
Code: Select all
/dev/hdc /mnt/cdrom iso9660 noauto,ro,users 0 0
aha - cheers, unlike the person earlier in the thread who needed /dev/hdc and not /dev/cdroms/cdrom0 i needed /dev/cdroms/cdrom0 in my fstab - works a charmeikketk wrote:Could you set "fork" to "false" and "debug" to "true" in IvmConfigBase.xml, run 'ivman' in a console window and look at the output? Maybe you can get somethin out of that...
If not, please post the output (when inserting a cd of course)
Code: Select all
configure: creating ./config.status
config.status: creating Makefile
config.status: error: cannot find input file: Makefile.in
!!! ERROR: sys-apps/ivman-cvs-20040524 failed.
!!! Function econf, Line 365, Exitcode 1
!!! econf failedCode: Select all
src_compile() {
cd ${S}
WANT_AUTOMAKE="1.7"
./autogen.sh
econf `use_enable debug` || die
emake || die
}dkure wrote:...
Code: Select all
src_compile() {
cd ${S}
WANT_AUTOMAKE="1.7" ./autogen.sh
econf `use_enable debug` || die
emake || die
}Code: Select all
#ivman
Ikke's Volume Manager, http://ivman.sf.net
hal_interface.c:112 (hal_device_removed) Device removed: /org/freedesktop/Hal/devices/block_22_0-disc
manager.c:250 (ivm_umount_if_needed) This device ((null)) wasn't mounted by me, ignoring...
hal_interface.c:42 (hal_device_added) New Device: /org/freedesktop/Hal/devices/block_22_0-disc
hal_interface.c:80 (hal_device_added) Changed: /dev/hdc
manager.c:179 (ivm_cdrom_policy) In cdrom_policy
manager.c:198 (ivm_cdrom_policy) Device: /dev/hdc
manager.c:206 (ivm_cdrom_policy) Its data
IvmConfigActions.c:214 (get_actions) Nodeset is null
manager.c:144 (ivm_device_mount) Mounting /dev/hdc
manager.c:153 (ivm_device_mount) Mapped to /dev/cdroms/cdrom0
mount: /dev/cdroms/cdrom0 already mounted or /mnt/cdrom busy
hal_interface.c:168 (hal_property_modified) Mounted: /org/freedesktop/Hal/devices/block_22_0-disc
hal_interface.c:187 (hal_property_modified) Devices table has 1 entries
hal_interface.c:261 (print_device) "/org/freedesktop/Hal/devices/block_22_0-disc" "/mnt/cdrom"
manager.c:270 (ivm_unlock_device) Unlocking tray of /dev/hdc
manager.c:281 (ivm_unlock_device) /dev/hdc unlocked
manager.c:111 (ivm_check_dvd) Checking for DVD in '/dev/hdc' mounted on '/mnt/cdrom'
hal_interface.c:235 (hal_device_condition) Event Recieved but no action taken
Name: BlockMountEvent
hal_interface.c:112 (hal_device_removed) Device removed: /org/freedesktop/Hal/devices/block_22_0-disc
hal_interface.c:261 (print_device) "/org/freedesktop/Hal/devices/block_22_0-disc" "/mnt/cdrom"
manager.c:253 (ivm_umount_if_needed) Umounting /mnt/cdrom
mount: /dev/cdroms/cdrom0 already mounted or /mnt/cdrom busy: thats strange?dkure wrote:the compile worked fine with the line modified properly.
However ejecting the cd still causes issues.
I still cant press the eject button and the cd pop out.
However when i set forking to false and debug to true it works :/
out is like so.Code: Select all
#ivman Ikke's Volume Manager, http://ivman.sf.net hal_interface.c:112 (hal_device_removed) Device removed: /org/freedesktop/Hal/devices/block_22_0-disc manager.c:250 (ivm_umount_if_needed) This device ((null)) wasn't mounted by me, ignoring... hal_interface.c:42 (hal_device_added) New Device: /org/freedesktop/Hal/devices/block_22_0-disc hal_interface.c:80 (hal_device_added) Changed: /dev/hdc manager.c:179 (ivm_cdrom_policy) In cdrom_policy manager.c:198 (ivm_cdrom_policy) Device: /dev/hdc manager.c:206 (ivm_cdrom_policy) Its data IvmConfigActions.c:214 (get_actions) Nodeset is null manager.c:144 (ivm_device_mount) Mounting /dev/hdc manager.c:153 (ivm_device_mount) Mapped to /dev/cdroms/cdrom0 [b]mount: /dev/cdroms/cdrom0 already mounted or /mnt/cdrom busy[/b] hal_interface.c:168 (hal_property_modified) Mounted: /org/freedesktop/Hal/devices/block_22_0-disc hal_interface.c:187 (hal_property_modified) Devices table has 1 entries hal_interface.c:261 (print_device) "/org/freedesktop/Hal/devices/block_22_0-disc" "/mnt/cdrom" manager.c:270 (ivm_unlock_device) Unlocking tray of /dev/hdc manager.c:281 (ivm_unlock_device) /dev/hdc unlocked manager.c:111 (ivm_check_dvd) Checking for DVD in '/dev/hdc' mounted on '/mnt/cdrom' hal_interface.c:235 (hal_device_condition) Event Recieved but no action taken Name: BlockMountEvent hal_interface.c:112 (hal_device_removed) Device removed: /org/freedesktop/Hal/devices/block_22_0-disc hal_interface.c:261 (print_device) "/org/freedesktop/Hal/devices/block_22_0-disc" "/mnt/cdrom" manager.c:253 (ivm_umount_if_needed) Umounting /mnt/cdrom