LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 09-12-2007, 02:04 PM   #16
rrrssssss
Member
 
Registered: Mar 2005
Posts: 288

Original Poster
Rep: Reputation: 34

Hello again,

Here is a printout of my hal.conf file. It appears to have all of the required entries.



Code:
<!DOCTYPE busconfig PUBLIC
 "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>

  <!-- This configuration file specifies the required security policies
       for the HAL to work. -->

  <!-- Only root or user haldaemon can own the HAL service -->
  <policy user="haldaemon">
    <allow own="org.freedesktop.Hal"/>
  </policy>
  <policy user="root">
    <allow own="org.freedesktop.Hal"/>
  </policy>

  <!-- Allow anyone to invoke methods on the Manager and Device interfaces -->
  <policy context="default">
    <allow send_interface="org.freedesktop.Hal.Manager"/>
    <allow send_interface="org.freedesktop.Hal.Device"/>
    <allow receive_interface="org.freedesktop.Hal.Manager"
           receive_sender="org.freedesktop.Hal"/>
    <allow receive_interface="org.freedesktop.Hal.Device"
           receive_sender="org.freedesktop.Hal"/>

    <allow send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/>
    <allow send_interface="org.freedesktop.Hal.Device.LaptopPanel"/>
    <allow send_interface="org.freedesktop.Hal.Device.Volume"/>
    <allow send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/>
    <allow receive_interface="org.freedesktop.Hal.Device.SystemPowerManagement"
	   receive_sender="org.freedesktop.Hal"/>
    <allow receive_interface="org.freedesktop.Hal.Device.LaptopPanel"
	   receive_sender="org.freedesktop.Hal"/>
    <allow receive_interface="org.freedesktop.Hal.Device.Volume"
	   receive_sender="org.freedesktop.Hal"/>
    <allow receive_interface="org.freedesktop.Hal.Device.Volume.Crypto"
	   receive_sender="org.freedesktop.Hal"/>
  </policy>

  <!-- Default policy for the exported interfaces -->
  <policy context="default">
    <deny send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/>
    <deny send_interface="org.freedesktop.Hal.Device.VideoAdapterPM"/>
    <deny send_interface="org.freedesktop.Hal.Device.LaptopPanel"/>
    <deny send_interface="org.freedesktop.Hal.Device.Volume"/>
    <deny send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/>
  </policy>

  <!-- This will not work if pam_console support is not enabled -->
  <policy at_console="true">
    <allow send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/>
    <allow send_interface="org.freedesktop.Hal.Device.LaptopPanel"/>
    <allow send_interface="org.freedesktop.Hal.Device.Volume"/>
    <allow send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/>
  </policy>

  <!-- You can change this to a more suitable user, or make per-group -->
  <policy user="0">
    <allow send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/>
    <allow send_interface="org.freedesktop.Hal.Device.VideoAdapterPM"/>
    <allow send_interface="org.freedesktop.Hal.Device.LaptopPanel"/>
    <allow send_interface="org.freedesktop.Hal.Device.Volume"/>
    <allow send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/>
  </policy>

</busconfig>

When I tried to un-install HAL using Yast2, it gave me a list of conflicts as long as my arm. I tried using the installation disk's repair facility to un-install HAL but all it does is checks the base packages to see if anything is missing.

Below is a sample of the conflicts from Yast2 when I attempted to un-install HAL.

Code:
#### YaST2 conflicts list - generated 2007-09-12 14:44:22 ####

3ddiag-0.738-29.i586 has missing dependencies
    There are no alternative installed providers of libhd.so.13 for 3ddiag-0.738-29.i586
    Conflict Resolution:
        ( ) keep hwinfo
        ( ) delete 3ddiag
        ( ) Ignore this requirement just here
        ( ) Ignore this requirement generally
alacarte-0.10.1-25.i586 has missing dependencies
    There are no alternative installed providers of gnome-menus for alacarte-0.10.1-25.i586
    Conflict Resolution:
        ( ) keep gnome-menus
        ( ) delete alacarte
        ( ) Ignore this requirement just here
        ( ) Ignore this requirement generally
amarok-1.4.4-28.i586 has missing dependencies
    There are no alternative installed providers of libnjb.so.5 for amarok-1.4.4-28.i586
    Conflict Resolution:
        ( ) keep libnjb
        ( ) delete amarok
        ( ) Ignore this requirement just here
        ( ) Ignore this requirement generally
amarok-xine-1.4.4-28.i586 has missing dependencies
    There are no alternative installed providers of amarok == 1.4.4 for amarok-xine-1.4.4-28.i586
    Conflict Resolution:
        ( ) keep amarok
        ( ) delete amarok-xine
        ( ) Ignore this requirement just here
        ( ) Ignore this requirement generally
bug-buddy-2.16.0-29.i586 has missing dependencies
    There are no alternative installed providers of libgnomevfs-2.so.0 for bug-buddy-2.16.0-29.i586
    Conflict Resolution:
        ( ) keep gnome-vfs2
        ( ) delete bug-buddy
        ( ) Ignore this requirement just here
        ( ) Ignore this requirement generally
compiz-0.2.2-18.i586 has missing dependencies
    There are no alternative installed providers of librsvg for compiz-0.2.2-18.i586
    Conflict Resolution:
        ( ) keep librsvg
        ( ) delete compiz
        ( ) Ignore this requirement just here
        ( ) Ignore this requirement generally
compiz-gnome-0.2.2-18.i586 has missing dependencies
    There are no alternative installed providers of libgnomevfs-2.so.0 for compiz-gnome-0.2.2-18.i586
By the way, I installed Smart and it is easier to use but it also wants to un-install scores of programs along with HAL.
Is there a way to un-install HAL without un-installing many other related packages?

Thanks for your time and patience,
Roy

Last edited by rrrssssss; 09-12-2007 at 03:46 PM.
 
Old 09-13-2007, 03:19 PM   #17
auxsvr
Member
 
Registered: Dec 2006
Distribution: openSUSE 10.3
Posts: 260

Rep: Reputation: 30
The hal package is basic for the system operation, so you need to either --force it if using the rpm command, or update it in YaST (update will reinstall it without breaking dependencies).
 
Old 09-13-2007, 03:54 PM   #18
rrrssssss
Member
 
Registered: Mar 2005
Posts: 288

Original Poster
Rep: Reputation: 34
I Threw In The Towel

Hello auxsvr, ngjunkie0011, and RHAPOLLO,

Thank you all for your help. You all are an asset to the Linux community.

But I threw in the towel and re-formated the openSUSE partition and performed a clean install and this time around I will not install that hpoj printer driver just to be on the safe side. I'll take your advise and use the hplip driver instead. The reason I used the hpoj driver in the first place is because I was having a hard time getting the scanner portion of my multi-function device to work.

But I now have openSUSE about the way it was before I had trouble with it. I didn't lose much data except for a few emails and a few bookmarks. Plus now I can access all of my USB devices without trouble.

Keep up the good work,
Roy
 
Old 09-14-2007, 02:32 AM   #19
auxsvr
Member
 
Registered: Dec 2006
Distribution: openSUSE 10.3
Posts: 260

Rep: Reputation: 30
What is the device you have the problem with?
 
Old 09-15-2007, 05:24 AM   #20
rrrssssss
Member
 
Registered: Mar 2005
Posts: 288

Original Poster
Rep: Reputation: 34
Hello,

I was having problems getting the hplip driver to detect the scanner of my HP G55 multi-function device connected to the parallel port.

But according to the paragraph below, the hplip driver does not support scanning using this multi-function device if it is connected to the parallel port.

Code:




"The previous HP scanner driver "hpoj" for HP all-in-one devices is still available. This driver requires the "ptal" service; see SDB:Set up a HP OfficeJet ("all-in-one" device). The ptal and hplip services are mutually exclusive, as ptal occupies the device for itself, thereby preventing hplip from accessing the device. On the other hand, HPLIP does not yet support devices connected to the parallel port. Accordingly, if you have an HP all-in-one device which cannot be connected to the USB port, the scanner driver hpoj with the ptal services must be used for all HP all-in-one devices. Despite this limitation, it is better to make HPLIP available to a wide user base at this stage (0.x version), instead of waiting until support for non-USB devices is implemented.
No wonder I was having a hard time getting it to work.

Roy
 
Old 09-15-2007, 01:56 PM   #21
auxsvr
Member
 
Registered: Dec 2006
Distribution: openSUSE 10.3
Posts: 260

Rep: Reputation: 30
In that case, the only option is to install the hpoj driver or use the USB interface of the device. The hpoj driver is going to need some tweaking to function properly, if possible at all, so I don't know whether it's worth the time.
 
Old 09-25-2007, 11:42 AM   #22
auxsvr
Member
 
Registered: Dec 2006
Distribution: openSUSE 10.3
Posts: 260

Rep: Reputation: 30
I didn't mean to discourage you from making the hpoj driver work, what do you intend to do?
 
Old 09-25-2007, 01:04 PM   #23
rrrssssss
Member
 
Registered: Mar 2005
Posts: 288

Original Poster
Rep: Reputation: 34
This Time No Problems

Hello auxsvr,

I have been tweaking my other Linux distributions since I last posted on the hpoj printer/scanner driver in this thread. I decided to give it a rest.

So I decided to boot back into openSUSE and I installed the same hpoj driver that I had when my external USB hard drives stopped working. But this time, the USB hard drives were not effected. I can still access the drives with no problem. Plus, now I have printing and scanning capabilities with this hpoj driver.

So now I don't have a clue as to what caused my external USB hard drives to stop working. As I posted earlier in this thread, I performed a clean install to fix them.

You asked me earlier if I would consider using the USB port on my HP multi-function device and use the hplip driver instead. I would love to use the USB port but I suspect the USB port on my device does not work. I lost all printing and scanning capabilities in each one of my Linux distributions, including Windows XP. That is why I had to switch to the parallel port. I really can't tell it is that much slower either.


But thank you for your willingness to help in the event that I might encounter more problems with installing the hpoj printer/scanner driver.

All the best,
Roy

Last edited by rrrssssss; 09-25-2007 at 01:22 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
installed puppy on usb flash drive, worked fine glorsplitz Puppy 8 09-30-2008 10:19 AM
ipodder worked yesterday not today pennyg Linux - Desktop 1 11-07-2006 01:31 PM
DOOM3 worked yesterday, doesn't today NetRAVEN5000 Linux - Games 9 10-22-2005 06:25 PM
startx -- :1.0 worked yesterday but today.. slackist Linux - General 3 05-12-2005 10:35 AM
lost my audio, worked good yesterday. mimsmall Fedora 4 05-06-2004 10:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 06:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration