Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[RISOLTO] Dubbi/problemi con "Dispositivi di archiviazione"
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
Thundah
Guru
Guru


Joined: 08 Feb 2004
Posts: 477
Location: Switzerland

PostPosted: Thu Dec 01, 2005 11:49 am    Post subject: [RISOLTO] Dubbi/problemi con "Dispositivi di archiviazi Reply with quote

Ciao a tutti, con la release 3.5 di kde è stata finalmente introdotta una feature utilissima, quella del riconoscimento ad es del cdrom inserito (o della chiave usb) e la possibilità di scegliere con quale applicazione avviarlo. Questa feature però non funziona molto bene sicuramente per una MIA mal configurazione.

Nel centro di controllo di KDE, sotto Peroferiche -> Dispositivi di archiviazione -> Avanzate ho 3 checkbox, 2 sono selezionate, mentre la prima ("Abilita il backend HAL") è disabilitata in quanto pare che il sistema non possa gestire le notifiche HAL. Io ho emerge hal (e di conseguenza anche dbus) e li ho impostati per partire all'avvio (rc-update).

Inoltre nella sezione del centro di controllo Componenti di kde -> Gestione servizi il demone "notifiche dei dispositivi" è avviato.

Ecco il mio file /etc/fstab

Code:

# /etc/fstab: static file system information.
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency).  It's safe to drop the noatime options if you want and to
# switch between notail / tail freely.
#
# See the manpage fstab(5) for more information.
#

# <fs>                  <mountpoint>    <type>          <opts>          <dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hda1               /boot           ext2            noauto,noatime  1 2
/dev/hda2               /               reiserfs        noatime         0 1
/dev/hda3               /home           reiserfs        noatime         0 1
/dev/hda4               none            swap            sw              0 0
/dev/hdc                /media/cdrom    iso9660         users,noauto,ro 0 0
/dev/sda1               /media/usbpen   auto            users,noauto    0 0

# NOTE: The next line is critical for boot!
proc                    /proc           proc            defaults        0 0

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
#  use almost no memory if not populated with files)
shm                     /dev/shm        tmpfs           nodev,nosuid,noexec     0 0


Quando faccio una modifica al file mi appare la notifica dell'inserzione del cd presente nel lettore DVD, ma solo in quel momento.

Sapete darmi una mano? Forse non dovevo emergere hal in quanto ho letto che la notifica è stata inserita automaticamente in kde?

GRazie Mauro


Last edited by Thundah on Fri Dec 02, 2005 5:44 pm; edited 1 time in total
Back to top
View user's profile Send private message
X-Drum
Advocate
Advocate


Joined: 24 Aug 2003
Posts: 2517
Location: ('Modica','Trieste','Ferrara') Italy

PostPosted: Thu Dec 01, 2005 12:50 pm    Post subject: Re: Dubbi/problemi con "Dispositivi di archiviazione&qu Reply with quote

Thundah wrote:
Ciao a tutti, con la release 3.5 di kde è stata finalmente introdotta una feature utilissima, quella del riconoscimento ad es del cdrom inserito (o della chiave usb) e la possibilità di scegliere con quale applicazione avviarlo. Questa feature però non funziona molto bene sicuramente per una MIA mal configurazione.


Tale feature esiste dalla versione 3.4 e fra l'altro la uso felicemente...
dicci che versioni usi dei seguenti pacchetti:
hal
dbus
pmount (!? se è installato !?)
_________________
"...There are two sort of lies, lies and benchmarks..."
Back to top
View user's profile Send private message
Thundah
Guru
Guru


Joined: 08 Feb 2004
Posts: 477
Location: Switzerland

PostPosted: Thu Dec 01, 2005 5:36 pm    Post subject: Reply with quote

Ecco le versioni:

Code:

*  sys-apps/hal
      Latest version available: 0.5.5.1
      Latest version installed: 0.5.5.1
      Size of downloaded files: 1,482 kB
      Homepage:    http://www.freedesktop.org/Software/hal
      Description: Hardware Abstraction Layer
      License:     || ( GPL-2 AFL-2.0 )

*  sys-apps/dbus
      Latest version available: 0.50-r1
      Latest version installed: 0.50-r1
      Size of downloaded files: 1,572 kB
      Homepage:    http://dbus.freedesktop.org/
      Description: A message bus system, a simple way for applications to talk to eachother
      License:     || ( GPL-2 AFL-2.1 )

*  sys-apps/pmount
      Latest version available: 0.9.6
      Latest version installed: [ Not Installed ]
      Size of downloaded files: 368 kB
      Homepage:    http://www.piware.de/projects.shtml
      Description: Policy based mounter that gives the ability to mount removable devices as a user
      License:     GPL-2


Come si puo notare pmount non è installato.

Mauro
Back to top
View user's profile Send private message
X-Drum
Advocate
Advocate


Joined: 24 Aug 2003
Posts: 2517
Location: ('Modica','Trieste','Ferrara') Italy

PostPosted: Thu Dec 01, 2005 10:53 pm    Post subject: Reply with quote

wow, giornata di upgrades ma ne valeva la pena:
(mozilla 1.5 - kde 3.5)

ho appena messo anche io kde 3.5 io ho le stesse versioni
che hai tu di dbus ed hal ma kde 3.5 ha anche richiesto pmount
forse a causa di qualche use che ho specificato in precedenza, non saprei perche tu non
hai pmount....

comunque a me il montaggio di dispositivi di archiviazione usb funziona,
in questa versione di kde hanno introdotto perfino un popup a fronte
dell'inserimento di hw (tipo quello di win@#!# xp) per impostare l'autoplay
e altre amenità omg lo odio già infatti l'ho disattivato ehehe
_________________
"...There are two sort of lies, lies and benchmarks..."
Back to top
View user's profile Send private message
Apetrini
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1158

PostPosted: Fri Dec 02, 2005 2:35 am    Post subject: Reply with quote

Secondo me hai compilato KDE senza la use hal, per essere preciso hai compilato kdebase senza la use hal.
Inserisci la use hal nel tuo make.conf e poi riemergi kdebase, dovrebbe funzionare...

Almeno penso che sia questo il tuo problema...
_________________
Linux ape 2.6.31-vanilla. Paludis since 0.28.0.
Back to top
View user's profile Send private message
Thundah
Guru
Guru


Joined: 08 Feb 2004
Posts: 477
Location: Switzerland

PostPosted: Fri Dec 02, 2005 12:09 pm    Post subject: Reply with quote

A me che interessa è quel popu che dice come aprire il dispositivo trovato.
Dando il comando "emerge -uDNpv world" dopo aver aggiunto la flag "hal" nel make.conf vedo che debbo ricompilare kdebase-kioslave.
Pmount me l'ha emersa unicamente aggiornando world, senza tener conto delle new flags.
Provo e vi faccio sapere, per intanto grazie mille.

Mauro
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum