Pagina 1 di 2

Problema rilevamento dispositivi

Inviato: gio 2 ago 2012, 16:46
da valentinor78
Salve,
a seguito del continuo aggiornamento della mia distribuzione sul mio pc, mi sono ritrovato con la slack 14.
Premesso che usavo xfce 4.6 ed ora mi trovo (ben volentieri) con xfce 4.10 e tutte le sue belle features.

I problemi sono sorti appena ho completato l'istallazione degli aggiornamenti, che non nascondo ch'è stata un po' ostica.
In pratica ora, il sistema non visualizza più i dispositivi collegati; precisamente con il dmesg visualizzo che è stato rilevato, per esempio, il dispositivo di massa usb, ma questi non viene montato e ne tanto meno linkato sul sistema grafico, cioè quindi non compare l'icona che mi consente di accedere al dispositivo.

La stessa cosa dicesi per i CD-ROM/DVD-Rom che inserisco nelle unità, queste non vengono rilevate.

Per fare una verifica ho lanciato prima di inserire un DVD all'interno del lettore il comando
dbus-monitor --monitor

dopodichè ho loggato quanto segue:

Codice: Seleziona tutto

signal sender=org.freedesktop.DBus -> dest=:1.62 serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired
   string ":1.62"
method call sender=:2.62 -> dest=org.freedesktop.DBus serial=3 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='method_call'"
method call sender=:1.62 -> dest=org.freedesktop.DBus serial=4 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='method_return'"
method call sender=:1.62 -> dest=org.freedesktop.DBus serial=5 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='error'"
signal sender=org.freedesktop.DBus -> dest=(null destination) serial=46 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
   string ":1.63"
   string ""
   string ":1.63"
method call sender=:1.63 -> dest=org.freedesktop.DBus serial=1 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=Hello
method call sender=:1.63 -> dest=org.freedesktop.DBus serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',sender='org.xfce.Xfconf',path='/org/xfce/Xfconf',interface='org.xfce.Xfconf'"
method call sender=:1.63 -> dest=org.freedesktop.DBus serial=3 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',sender='org.freedesktop.DBus',path='/org/freedesktop/DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='org.xfce.Xfconf'"
method call sender=:1.63 -> dest=org.freedesktop.DBus serial=4 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner
   string "org.xfce.Xfconf"
method call sender=:1.63 -> dest=org.xfce.Xfconf serial=5 path=/org/xfce/Xfconf; interface=org.xfce.Xfconf; member=GetAllProperties
   string "thunar-volman"
   string "/"
method return sender=:1.1 -> dest=:1.63 reply_serial=5
   array [
      dict entry(
         string "/automount-drives/enabled"
         variant             boolean true
      )
      dict entry(
         string "/autoopen/enabled"
         variant             boolean true
      )
      dict entry(
         string "/autoplay-audio-cds/enabled"
         variant             boolean false
      )
      dict entry(
         string "/automount-media/enabled"
         variant             boolean true
      )
      dict entry(
         string "/autobrowse/enabled"
         variant             boolean true
      )
   ]
signal sender=org.freedesktop.DBus -> dest=(null destination) serial=47 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
   string ":1.64"
   string ""
   string ":1.64"
method call sender=:1.64 -> dest=org.freedesktop.DBus serial=1 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=Hello
signal sender=org.freedesktop.DBus -> dest=(null destination) serial=48 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
   string ":1.65"
   string ""
   string ":1.65"
method call sender=:1.65 -> dest=org.freedesktop.DBus serial=1 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=Hello
method call sender=:1.65 -> dest=org.gtk.vfs.Daemon serial=2 path=/org/gtk/vfs/mounttracker; interface=org.gtk.vfs.MountTracker; member=listMountableInfo
method return sender=:1.4 -> dest=:1.65 reply_serial=2
   array [
      struct {
         string "computer"
         string "computer"
         array [
         ]
         int32 0
         boolean false
      }
      struct {
         string "trash"
         string "trash"
         array [
         ]
         int32 0
         boolean false
      }
      struct {
         string "ftp"
         string "ftp"
         array [
         ]
         int32 21
         boolean true
      }
      struct {
         string "afp-server"
         string "afp"
         array [
         ]
         int32 548
         boolean true
      }
      struct {
         string "afp-volume"
         string "afp"
         array [
         ]
         int32 548
         boolean true
      }
      struct {
         string "burn"
         string "burn"
         array [
         ]
         int32 0
         boolean false
      }
      struct {
         string "smb-share"
         string "smb"
         array [
         ]
         int32 0
         boolean false
      }
      struct {
         string "smb-server"
         string "smb"
         array [
         ]
         int32 0
         boolean false
      }
      struct {
         string "smb-network"
         string "smb"
         array [
         ]
         int32 0
         boolean false
      }
      struct {
         string "http"
         string "http"
         array [
         ]
         int32 0
         boolean false
      }
      struct {
         string "network"
         string "network"
         array [
         ]
         int32 0
         boolean false
      }
      struct {
         string "obex"
         string "obex"
         array [
         ]
         int32 0
         boolean false
      }
      struct {
         string "archive"
         string "archive"
         array [
         ]
         int32 0
         boolean false
      }
      struct {
         string "localtest"
         string "localtest"
         array [
         ]
         int32 0
         boolean false
      }
      struct {
         string "sftp"
         string "sftp"
         array [
            string "ssh"
         ]
         int32 22
         boolean true
      }
      struct {
         string "davs"
         string "davs"
         array [
         ]
         int32 0
         boolean false
      }
      struct {
         string "dav"
         string "dav"
         array [
         ]
         int32 0
         boolean false
      }
      struct {
         string "gphoto2"
         string "gphoto2"
         array [
         ]
         int32 0
         boolean false
      }
      struct {
         string "cdda"
         string "cdda"
         array [
         ]
         int32 0
         boolean false
      }
   ]
method call sender=:1.65 -> dest=org.gtk.vfs.Daemon serial=3 path=/org/gtk/vfs/mounttracker; interface=org.gtk.vfs.MountTracker; member=listMounts
method return sender=:1.4 -> dest=:1.65 reply_serial=3
   array [
      struct {
         string ":1.27"
         object path "/org/gtk/vfs/mount/1"
         string "Cestino"
         string "Cestino"
         string ""
         string ". GThemedIcon user-trash user"
         string ""
         boolean false
         array [
         ]
         struct {
            array of bytes "/"
            array [
               struct {
                  string "type"
                  array of bytes "trash"
               }
            ]
         }
         array [
         ]
      }
   ]
method call sender=:1.65 -> dest=org.freedesktop.DBus serial=4 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "sender='org.gtk.vfs.Daemon',interface='org.gtk.vfs.MountTracker',member='mounted'"
method call sender=:1.65 -> dest=org.freedesktop.DBus serial=5 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "sender='org.gtk.vfs.Daemon',interface='org.gtk.vfs.MountTracker',member='unmounted'"
method call sender=:1.64 -> dest=org.gtk.Private.GPhoto2VolumeMonitor serial=3 path=/org/gtk/Private/RemoteVolumeMonitor; interface=org.gtk.Private.RemoteVolumeMonitor; member=IsSupported
method call sender=:1.24 -> dest=org.freedesktop.DBus serial=20 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0=':1.64'"
method return sender=:1.24 -> dest=:1.64 reply_serial=3
   boolean true
method call sender=:1.64 -> dest=org.freedesktop.DBus serial=4 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',interface='org.gtk.Private.RemoteVolumeMonitor',sender='org.gtk.Private.GPhoto2VolumeMonitor',"
method call sender=:1.64 -> dest=org.freedesktop.DBus serial=5 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='org.gtk.Private.GPhoto2VolumeMonitor'"
method call sender=:1.64 -> dest=org.gtk.Private.GPhoto2VolumeMonitor serial=6 path=/org/gtk/Private/RemoteVolumeMonitor; interface=org.gtk.Private.RemoteVolumeMonitor; member=List
method return sender=:1.24 -> dest=:1.64 reply_serial=6
   array [
   ]
   array [
   ]
   array [
   ]
method call sender=:1.65 -> dest=org.freedesktop.DBus serial=6 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch
   string "sender='org.gtk.vfs.Daemon',interface='org.gtk.vfs.MountTracker',member='mounted'"
method call sender=:1.65 -> dest=org.freedesktop.DBus serial=7 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch
   string "sender='org.gtk.vfs.Daemon',interface='org.gtk.vfs.MountTracker',member='unmounted'"
method call sender=:1.63 -> dest=org.freedesktop.DBus serial=6 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch
   string "type='signal',sender='org.xfce.Xfconf',path='/org/xfce/Xfconf',interface='org.xfce.Xfconf'"
method call sender=:1.63 -> dest=org.freedesktop.DBus serial=7 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch
   string "type='signal',sender='org.freedesktop.DBus',path='/org/freedesktop/DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='org.xfce.Xfconf'"
signal sender=org.freedesktop.DBus -> dest=(null destination) serial=49 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
   string ":1.63"
   string ":1.63"
   string ""
signal sender=org.freedesktop.DBus -> dest=(null destination) serial=14 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
   string ":1.64"
   string ":1.64"
   string ""
method call sender=:1.24 -> dest=org.freedesktop.DBus serial=23 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch
   string "type='signal',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0=':1.64'"
signal sender=org.freedesktop.DBus -> dest=(null destination) serial=50 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
   string ":1.65"
   string ":1.65"
   string ""
Quindi mi tocca montare i dispositivi a manina.

Qualcuno mi puo' aiutare a capire?

Grazie.

Valentino

Re: Problema rilevamento dispositivi

Inviato: gio 2 ago 2012, 22:12
da erio
thunar-volman e gvfs credo servano

Re: Problema rilevamento dispositivi

Inviato: ven 3 ago 2012, 10:51
da valentinor78
Ciao, grazie per la risposta.
Confermo che sono installati entrambi e che thunar-volman è configurato per il rilevamento.
Grazie
Valentino

Re: Problema rilevamento dispositivi

Inviato: ven 3 ago 2012, 21:35
da erio
ti dico una cosa , thunar e'configurato per rilevare i dispositivi rimovibili,non li rileva ho pacmanfm che il suo lavoro lo fa' e uso pacmanfm,cosi non vedo anche... ma tu sei root guarda che puoi danneggiare il sistema.

Re: Problema rilevamento dispositivi

Inviato: dom 5 ago 2012, 8:20
da valentinor78
Ciao erio,
il problema in questo caso non penso sia il filemanager (thunar vs pacmanfm). Bensì ritengo che sia qualcosa a che fare con la configurazione di dbus.
In merito al debug di dbus-monitor, ti confermo che l'avevo lanciato come "root" in quanto il rilevamento non funziona nemmeno da lì.

Valentino

Re: Problema rilevamento dispositivi

Inviato: lun 6 ago 2012, 11:53
da Draven94
Guarda, anch'io avevo problemi simili, chiavette usb e cd/dvd non rilevati al loro inserimento. Poi ho trovato una guida e leggendola per bene ho capito che dovevo modificare il file fstab. Così facendo ho risolto per tutti i dispositivi. L'unica cosa che ancora mi tocca montare a mano sono le partizioni ntfs.

Re: Problema rilevamento dispositivi

Inviato: lun 6 ago 2012, 12:59
da valentinor78
Ciao,
potresti inviarmi, o quanto meno dirmi dove hai reperito la documentazione a cui ti riferisci?
Grazie

Re: Problema rilevamento dispositivi

Inviato: lun 6 ago 2012, 15:32
da Draven94
Ti ho fatto l'upload
http://wikisend.com/download/247540/

In particolare e per questo specifico problema mi sono tornati utili i paragrafi 5.3.6 e 5.3.7
PS: la guida non è molto recente ma ho trovato questi spunti che mi hanno risolto diversi problemi

Re: Problema rilevamento dispositivi

Inviato: lun 6 ago 2012, 17:54
da valentinor78
Da quanto ho letto, non penso sia quello il problema. Nei punti che mi hai segnalato si parla esclusivamente di come si montano i dispositivi USB ed i CD-ROM/DVD-ROM da linea di comando ed in modo statico.

Re: Problema rilevamento dispositivi

Inviato: lun 6 ago 2012, 19:09
da Draven94
Quelle che leggi sono le righe che dovresti avere nel file /etc/fstab per fare in modo che all'inserimento di un CD/DVD (o di un dispositivo usb) il riconoscimento/montaggio avvenga in modo automatico. Ovvio che se non hai quelle righe in fstab devi montare a "manina". Magari postando il contenuto del tuo fstab ci si può fare un'idea.

Re: Problema rilevamento dispositivi

Inviato: mar 7 ago 2012, 9:54
da ponce
penso che tu debba aggiornare il tuo ~/.xinitrc, e' cambiato con xfce-4.10.
fai un backup del vecchio e fai girare xwmconfig, poi rilancia X.

Re: Problema rilevamento dispositivi

Inviato: ven 10 ago 2012, 16:30
da valentinor78
Scusate per il ritardo con cui vi rispondo.
Ponce, come runlevel in /etc/inittab ho impostato il valore 4, quindi penso che il file ~/.xinitrc non venga proprio analizzato. Comunque per scrupolo ho fatto come dici te e non funziona.
Oggi però mi sono messo un po' a googlare ed ho trovato qualcuno che, con la distro "Arch", ha avuto con xfce / gnome più o meno il mio stesso problema.
Premesso che non ho risolto ancora l'arcano, ho visto uno spiraglio nella mia odissea ... mai perdere la speranza.
In pratica tra la visione del syslog (tail -f /var/log/messages) ed il log della sessione di xfce (tail -f ~/.xsession-errors) ho riscontrato che dovevo reinstallare gvfs e udisks2
Alla fine, ora, da questo:

Codice: Seleziona tutto

(thunar-volman:3427): GVFS-RemoteVolumeMonitor-WARNING **: invoking IsSupported() failed for remote volume monitor with dbus name org.gtk.Private.UDisks2VolumeMonitor: org.freedesktop.DBus.Error.Spawn.ChildExited: Process /usr/libexec/gvfs-udisks2-volume-monitor exited with status 127
ho ottenuto questo

Codice: Seleziona tutto

thunar-volman: Tipo di dispositivo USB non supportato.
thunar-volman: Tipo di dispositivo USB non supportato.
thunar-volman: Tipo di blocco del dispositivo sconosciuto.
thunar-volman: Impossibile individuare il volume corrispondente al dispositivo.
Ora, a sorpresa, ritrovo l'icona della periferica usb appena inserita all'interno dell'interfaccia di Thunar, precisamente nelle scorciatoie.
Ma, non mi compare ancora l'icona sul desktop.
Sento che sto per risolvere l'arcano,
spero in un aiuto risolutore.

Re: Problema rilevamento dispositivi

Inviato: ven 10 ago 2012, 20:47
da 414N
Draven94 ha scritto:L'unica cosa che ancora mi tocca montare a mano sono le partizioni ntfs.
Offtopic: Se devi montarle a mano perché udev le monta usando il driver ntfs del kernel invece di ntfs-3g (impedendo, di fatto, la scrittura su tali partizioni), sappi che basta un semplice link simbolico:

Codice: Seleziona tutto

ln -s /sbin/mount.ntfs-3f /sbin/mount.ntfs
[/offtopic]

Re: Problema rilevamento dispositivi

Inviato: lun 13 ago 2012, 19:02
da valentinor78
Ciao a tutti,
scusate se scrivo solo ora, ma il problema l'ho "risolto" ... (anche se ancora non ho capito come) effettuando un riavvio dopo le modiche dell'ultima volta.
Ora, mi compaiono anche sul desk le icone del lettore DVD, delle perifieriche di storage USB e le partizioni montate NTFS.

Ora però è sorto un altro problema ... Nero Linux non riconosce i Masterizzatori DVD.
premetto che l'utente con cui opero ha come gruppo secondario "cdrom"
mentre i permessi ai file in dev sono

Codice: Seleziona tutto

$ ls -la /dev/sr?
brw-rw---- 1 root cdrom 11, 0 ago 13 15:06 /dev/sr0
brw-rw---- 1 root cdrom 11, 1 ago 13 15:06 /dev/sr1
Quindi ho i permessi di scrittura.

Penso che il problema abbia a che fare con "udev".
Qualcuno può aiutarmi?

Re: Problema rilevamento dispositivi

Inviato: lun 13 ago 2012, 19:12
da 414N
Tieni conto che Nero Linux è un progetto morto e non verrà più sviluppato.
Lanciandolo da terminale non ti restituisce nessun messaggio utile?
Hai provato altri programmi opensource, tipo xfburn, xcdroast, brasero, k3b (incluso in KDE)?