You are not logged in.

#1 2005-06-13 10:55:17

ganja_guru
Member
Registered: 2005-02-14
Posts: 464

USB card reader & ivman

im using hal,dbus,ivman in KDE 3.4.1.. ivman works fine for cd's, but an annoying problem when it comes to any type of memory card and my card reader...

in konqueror, after i insert a card into the reader, i get an icon saying 'Memory card' in the "media:/" kio-slave..very nice indeed.

however when i click this icon, i get

********************
Could not mount device.
The reported error was:
mount: wrong fs type, bad option, bad superblock on /dev/sdb1,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

************

/etc/fstab reads:

/dev/sdb1    /media/Memory_card      vfat    user,exec,noauto,iocharset=utf8,noatime,sync,comment=managed 0 0

ive found that if i remove the 'iocharset=utf8,noatime,sync' part of the line from the fstab, it mounts beautifully thru the media:/ protocol....the problem  is every time i remove the card, fstab is written with those defaults..


is there any way to force ivman to use my settings when i plug in a memory card? thanks everyone!

Offline

#2 2005-06-13 12:35:13

Kern
Member
From: UK
Registered: 2005-02-09
Posts: 464

Re: USB card reader & ivman

Think its HAL settings that you need to tinker with
Hal

or u may get a result from messing with IvmConfigActions.xml

Offline

#3 2005-06-13 21:54:29

JGC
Developer
Registered: 2003-12-03
Posts: 1,659

Re: USB card reader & ivman

/dev/sdd1               /media/usbdisk          vfat    user,exec,noauto,comment=managed 0 0

It's actually a bug in hal 0.4.x. This will be fixed whenever I move hal 0.5.x from testing to extra. I'm not completely done with all package (API change, something like 15 packages need rebuild, not all of them have patches, the usual story)

Offline

#4 2005-06-14 10:37:12

ganja_guru
Member
Registered: 2005-02-14
Posts: 464

Re: USB card reader & ivman

yeah..the hal 0.5.x package doesnt seem to work at all..

Offline

#5 2005-06-15 19:17:51

ganja_guru
Member
Registered: 2005-02-14
Posts: 464

Re: USB card reader & ivman

damn...k3b's latest package needs hal-0.5.x...

Offline

#6 2005-06-15 20:28:06

JGC
Developer
Registered: 2003-12-03
Posts: 1,659

Re: USB card reader & ivman

You have to add "--retain-privileges" to the invocation of hald in /etc/rc.d/hal, hal doesn't have permission to scan your devices once it dropped privileges.
This will get fixed soon with either the retain-privileges thing or the addition of a special hal user to storage and optical groups.

Offline

#7 2005-06-16 08:38:19

ganja_guru
Member
Registered: 2005-02-14
Posts: 464

Re: USB card reader & ivman

thanks very much...--retain-privileges works perfectly..all problems solved

Offline

Board footer

Powered by FluxBB