LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 08-21-2006, 08:02 AM   #1
draggin
Member
 
Registered: Jan 2004
Location: Bournemouth UK
Distribution: Debian & Mepis
Posts: 108

Rep: Reputation: 15
Question To Hal and back!!


Prior to the KDE 3.5.4 upgrade to Debain testing, I had an icon on my KDE desktop which would mount my usb camera by clicking on it. But now when I click on the icon I get the following error window appear "Feature only available with
Hal"

Now I have googled, which showed a couple of recent (this month) distro forum messages about the same problem. I looked on Debian bug track but could not find anything (it might be because I going blind) but I did find some info at
KDE's bug centre

http://bugs.kde.org/show_bug.cgi?id=132281

I can manually mount the camera via the cli with the normal mount command.

Is the Hal that is mentioned the Hardware Abstraction Layer?? if so has anybody installed, does it need to be configured??

Is it a case of just wait till it has been fixed or can somebody point me to another source of information on this??

Tim
 
Old 08-21-2006, 01:23 PM   #2
nbd
Member
 
Registered: Aug 2002
Posts: 41

Rep: Reputation: 15
hal is your friend

Hi.

HAL is indeed the Hardware Abstraction Layer, and I suggest that you install it.

After that, you just plug the usb camera and kde will detect it and ask what to do. No more clicking for mounting, kde can automatically mount it.


Funnily I'm just having some HAL problems myself, my DVD autoplay stopped from working after recent kde upgrade. Grr. It seems that hal is not everybody's friend..
 
Old 08-21-2006, 01:58 PM   #3
draggin
Member
 
Registered: Jan 2004
Location: Bournemouth UK
Distribution: Debian & Mepis
Posts: 108

Original Poster
Rep: Reputation: 15
Hal is not my friend

I installed hal (simple apt-get install hal).

Nothing happens when I plug the camera into the USB, if I click the icon that has appeared since I installed Hal I get the following:

A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface "org.freedesktop.Hal.Device.Volume" member "Mount" error name "(unset)" destination "org.freedesktop.Hal")

If I right click on the icon and select mount I get the same message.

If I look in hal device manager then I can see that it has detected the camera

But here are two strange points, my external usb HD unit is seen and available, secondly my USB hard disk and my camera mount piont (along with a couple of others usb bits) was /mnt but according to the properties of the camera it should be mounted under /media If I try and change it back to /mnt it complains that it has to be under /media although my USB hard disk is still mounted under /mnt

Is there a configuration file for HAL somewwhere??

Tim
 
Old 08-21-2006, 02:20 PM   #4
nbd
Member
 
Registered: Aug 2002
Posts: 41

Rep: Reputation: 15
hal is your fiend?

Hmm..

What does your /etc/fstab say?
I have a new entry there I haven't seen before:

usbfs /proc/bus/usb usbfs devmode=0666 0 0

I don't know if it's related or not..


Install hal-device-manager and you can browse the HAL tree. From there you should be able to edit the properties, maybe there is some security restriction for some reason. Is the card locked physically?

I would try some live-cd (arklinux has recent kde that should handle the usb mountings automatically) to see if the camera mounts ok.
 
Old 08-21-2006, 02:27 PM   #5
draggin
Member
 
Registered: Jan 2004
Location: Bournemouth UK
Distribution: Debian & Mepis
Posts: 108

Original Poster
Rep: Reputation: 15
My fstab looks like this

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda1 / ext3 defaults,errors=remount-ro 0 1
/dev/hda9 /home ext3 defaults 0 2
/dev/hda8 /tmp ext3 defaults 0 2
/dev/hda5 /usr ext3 defaults 0 2
/dev/hda6 /var ext3 defaults 0 2
/dev/hda7 none swap sw 0 0
/dev/hdc /media/cdrom0 iso9660 ro,user,noauto 0 0
/dev/usbpen /mnt/usbpen vfat noauto,users,gid=usbpen,fmask=117,dmask=007 0 0
/dev/usbcam /mnt/usbcam vfat noauto,users,gid=usbpen,fmask=117,dmask=007 0 0
/dev/usbhd /mnt/usbhd vfat noauto,users,gid=usbpen,fmask=117,dmask=007 0 0
/dev/usbmp3 /mnt/usbmp3 vfat noauto,users,gid=usbpen,fmask=117,dmask=007 0 0

The bottom four lines are what I was using previously with udev

If I change the properties in the device-manager I am not sure what I should be changing

Tim
 
Old 08-21-2006, 02:36 PM   #6
nbd
Member
 
Registered: Aug 2002
Posts: 41

Rep: Reputation: 15
usbmount

Do you have usbmount installed?

With udev,hal,dbus,usbmount installed I have my usb memory card reader working automatically with kde.

/etc/udev/ should include all kinds of rules. Check out the ones with usb in the file name
 
Old 08-21-2006, 03:05 PM   #7
nbd
Member
 
Registered: Aug 2002
Posts: 41

Rep: Reputation: 15
permissions

Now I think where the problem lies. You don't belong to the group that has access to that device.

In /etc/udev/permissions.rules there are groups listed for each devices. For usb it says 'plugdev'. So you should belong at least to plugdev group.
 
Old 08-21-2006, 03:19 PM   #8
draggin
Member
 
Registered: Jan 2004
Location: Bournemouth UK
Distribution: Debian & Mepis
Posts: 108

Original Poster
Rep: Reputation: 15
usbmount is installed, its not permission (well not that I can see) I have already been through the groups and permission, and rebooted again to ensure everything is picked up and reset.

Plugging in the usb camera cause the icon to appear on the desktop and a window to pop asking what I would like to do, but then when I click on something the error message appears

Tim
 
Old 08-21-2006, 03:24 PM   #9
nbd
Member
 
Registered: Aug 2002
Posts: 41

Rep: Reputation: 15
Strange. I don't have any ideas left but to try the live-cd.
 
Old 08-21-2006, 05:05 PM   #10
draggin
Member
 
Registered: Jan 2004
Location: Bournemouth UK
Distribution: Debian & Mepis
Posts: 108

Original Poster
Rep: Reputation: 15
Its a bug, boy did they hide it away, more info here

http://www.mail-archive.com/debian-b...msg222407.html

Tim
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
HAL documentation RommeDeSerieux Fedora 0 03-12-2006 12:33 PM
hal package ronzoid Linux - General 4 01-18-2006 05:30 PM
hal krusty_lab Fedora 3 10-10-2005 10:23 AM
HAL demon chocobanana Linux - Hardware 1 06-06-2005 05:24 PM
Hal gamehack Programming 7 12-16-2004 02:03 AM


All times are GMT -5. The time now is 09:47 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration