Mailinglist Archive: opensuse-bugs (8107 mails)

< Previous Next >
[Bug 244485] Cannot mount USB device
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Fri, 16 Feb 2007 10:48:33 -0700 (MST)
  • Message-id: <20070216174833.554EE25C887@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=244485





------- Comment #17 from arahne@xxxxxxxxx 2007-02-16 10:48 MST -------
(In reply to comment #15)
> As it looks for me KDE try to mount the device instead of the volume. In this
> case the error message is complete correct, but KDE should not try such things
> , but should always check if the needed method is really available for the
> device. Check for this line in lshal on the device:
>
> org.freedesktop.Hal.Device.Volume.method_names = {'Mount', 'Unmount',
> 'Eject'}
>
> Check the output of lshal for the volume of your floppy (there should be a
> device with the devicefile of your floppy and volume properties. You can also
> e.g. search for volume.fsversion = 'FAT12' if the floppy is VFAT) and replace
> the udi (second line in the command) with udi of your device in the following
> command (as root):
>
> dbus-send --system --print-reply --dest=org.freedesktop.Hal \
> /org/freedesktop/Hal/devices/volume_uuid_1553_17E8 \
> org.freedesktop.Hal.Device.Volume.Mount \
> string:Floppy string: array:string:sync,ro
>
> Check if the device get mounted to /media/Floppy

Now I have a great choice of correct and useless error messages:

A)
dbus-send --system --print-reply --dest=org.freedesktop.Hal \
/org/freedesktop/Hal/devices/storage_serial_NEC_NEC_USB_UF000x \
org.freedesktop.Hal.Device.Volume.Mount \
string:Floppy string: array:string:sync,ro

Error org.freedesktop.DBus.Error.UnknownMethod: Method "Mount" with signature
"ssas" on interface "org.freedesktop.Hal.Device.Volume" doesn't exist

B)
dbus-send --system --print-reply --dest=org.freedesktop.Hal \
/org/freedesktop/Hal/devices/usb_device_409_40_noserial_if0 \
org.freedesktop.Hal.Device.Volume.Mount \
string:Floppy string: array:string:sync,ro

Error org.freedesktop.DBus.Error.UnknownMethod: Method "Mount" with signature
"ssas" on interface "org.freedesktop.Hal.Device.Volume" doesn't exist

C)
dbus-send --system --print-reply --dest=org.freedesktop.Hal \
/org/freedesktop/Hal/devices/volume_uuid_459B_C373 \
org.freedesktop.Hal.Device.Volume.Mount \
string:Floppy string: array:string:sync,ro

Error org.freedesktop.Hal.Device.PermissionDeniedByPolicy:
hal-storage-removable-mount refused uid 0


--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

< Previous Next >
References