Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Hal, dbus, udev e problemi con le chiavi usb [Ri-Risolto]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page Previous  1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
shogun_panda
Guru
Guru


Joined: 30 Jul 2004
Posts: 411
Location: Campobasso or Rome, Molise or Lazio, Italy, Europe, Earth, Solar system, Milk Way, Universe

PostPosted: Sun Oct 02, 2005 5:26 pm    Post subject: Reply with quote

Ok...niente di strano...Tranne che risulta ancora modificato da fstab-sync...
Ora prova a postare l'output di mount dopo che hai inserito il lettore e vedi la periferica montata...
_________________
Greetings by the Shogun! - Home page

1-"Prima di dare consigli agli altri, sperimentateli su voi stessi..."
2-"In medio stat virtus!"
Back to top
View user's profile Send private message
Raffo
Veteran
Veteran


Joined: 23 Apr 2004
Posts: 1019
Location: Berlin

PostPosted: Sun Oct 02, 2005 5:29 pm    Post subject: Reply with quote

mount:
Code:
/dev/hda3 on / type ext3 (rw,noatime)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
udev on /dev type tmpfs (rw,nosuid)
devpts on /dev/pts type devpts (rw)
none on /dev/shm type tmpfs (rw)
none on /dev/shm type tmpfs (rw)
usbfs on /proc/bus/usb type usbfs (rw,devmode=0664,devgid=85)
/dev/hda1 on /boot type ext2 (rw,noatime)
/dev/sda1 on /media/usbdisk type vfat (rw,noexec,nosuid,nodev,quiet,shortname=winnt,uid=0,gid=0,umask=077)


nel frattempo ho fatto risuscitare hal-device-manager e confermo che la periferica la vede...
Back to top
View user's profile Send private message
shogun_panda
Guru
Guru


Joined: 30 Jul 2004
Posts: 411
Location: Campobasso or Rome, Molise or Lazio, Italy, Europe, Earth, Solar system, Milk Way, Universe

PostPosted: Sun Oct 02, 2005 5:38 pm    Post subject: Reply with quote

Raffo wrote:
mount:
Code:

/dev/sda1 on /media/usbdisk type vfat (rw,noexec,nosuid,nodev,quiet,shortname=winnt,uid=0,gid=0,umask=077)


Non mi piace...Chi glieli imposta sti permessi? (e il gid o uid) umask=077 => permessi = 700 (rwx------)... A quel punto è normale che non puoi cambiare i permessi delle directory...
Mica hai regole particolari definite in udev?
Prova a postare un cat /etc/udev/rules.d/50-udev.rules | grep \"sd e ripetilo su eventuali altri file che hai...
_________________
Greetings by the Shogun! - Home page

1-"Prima di dare consigli agli altri, sperimentateli su voi stessi..."
2-"In medio stat virtus!"


Last edited by shogun_panda on Sun Oct 02, 2005 5:42 pm; edited 2 times in total
Back to top
View user's profile Send private message
Raffo
Veteran
Veteran


Joined: 23 Apr 2004
Posts: 1019
Location: Berlin

PostPosted: Sun Oct 02, 2005 5:41 pm    Post subject: Reply with quote

neanche a me piace infatti. il problema è proprio questo infatti, secondo me nn c'è un programma che ha bug, piuttosto un settaggio sballato nn si sa perchè! cmq ti posto l'output da te richiesto:
Code:
KERNEL=="sd*",          NAME="%k", GROUP="disk"
KERNEL=="sd*[!0-9]", SYSFS{ieee1394_id}=="*", IMPORT="/bin/echo -e 'ID_SERIAL=$sysfs{ieee1394_id}\nID_BUS=ieee1394'"
KERNEL=="sd*[!0-9]", ENV{ID_SERIAL}=="", IMPORT="/sbin/usb_id -x"
KERNEL=="sd*[!0-9]", ENV{ID_SERIAL}=="", IMPORT="/sbin/scsi_id -g -x -s %p"
KERNEL=="sd*[!0-9]", ENV{ID_SERIAL}=="", IMPORT="/sbin/scsi_id -g -x -a -s %p"
KERNEL=="sd*[!0-9]", ENV{ID_SERIAL}=="?*", SYMLINK+="disk/by-id/$env{ID_BUS}-$env{ID_SERIAL}"
KERNEL=="sd*[0-9]", IMPORT{parent}=="ID_*"
KERNEL=="sd*[0-9]", ENV{ID_SERIAL}=="?*", SYMLINK+="disk/by-id/$env{ID_BUS}-$env{ID_SERIAL}-part%n"

in /etc/udev/rules.d c c'è solo quel file, quindi dovrei dover postare altro... credo...
Back to top
View user's profile Send private message
shogun_panda
Guru
Guru


Joined: 30 Jul 2004
Posts: 411
Location: Campobasso or Rome, Molise or Lazio, Italy, Europe, Earth, Solar system, Milk Way, Universe

PostPosted: Sun Oct 02, 2005 5:42 pm    Post subject: Reply with quote

Raffo wrote:
neanche a me piace infatti. il problema è proprio questo infatti, secondo me nn c'è un programma che ha bug, piuttosto un settaggio sballato nn si sa perchè! cmq ti posto l'output da te richiesto:
Code:
KERNEL=="sd*",          NAME="%k", GROUP="disk"
KERNEL=="sd*[!0-9]", SYSFS{ieee1394_id}=="*", IMPORT="/bin/echo -e 'ID_SERIAL=$sysfs{ieee1394_id}\nID_BUS=ieee1394'"
KERNEL=="sd*[!0-9]", ENV{ID_SERIAL}=="", IMPORT="/sbin/usb_id -x"
KERNEL=="sd*[!0-9]", ENV{ID_SERIAL}=="", IMPORT="/sbin/scsi_id -g -x -s %p"
KERNEL=="sd*[!0-9]", ENV{ID_SERIAL}=="", IMPORT="/sbin/scsi_id -g -x -a -s %p"
KERNEL=="sd*[!0-9]", ENV{ID_SERIAL}=="?*", SYMLINK+="disk/by-id/$env{ID_BUS}-$env{ID_SERIAL}"
KERNEL=="sd*[0-9]", IMPORT{parent}=="ID_*"
KERNEL=="sd*[0-9]", ENV{ID_SERIAL}=="?*", SYMLINK+="disk/by-id/$env{ID_BUS}-$env{ID_SERIAL}-part%n"

in /etc/udev/rules.d c c'è solo quel file, quindi dovrei dover postare altro... credo...


Ho notato che anche a me lo monta con quei permessi...Anche se il uid=713 (cioè io) e gid=100 (cioè il gruppo disk, come impostato nelle regole di udev)...A questo punto...Perchè a te non va? Hai provato a cambiare il permessi di quella directory col lettore non attaccato?
_________________
Greetings by the Shogun! - Home page

1-"Prima di dare consigli agli altri, sperimentateli su voi stessi..."
2-"In medio stat virtus!"
Back to top
View user's profile Send private message
Raffo
Veteran
Veteran


Joined: 23 Apr 2004
Posts: 1019
Location: Berlin

PostPosted: Sun Oct 02, 2005 5:43 pm    Post subject: Reply with quote

la directory ovviamente sparisce se il lettore nn è collegato, nn posso cambiare nessun permesso...
Back to top
View user's profile Send private message
shogun_panda
Guru
Guru


Joined: 30 Jul 2004
Posts: 411
Location: Campobasso or Rome, Molise or Lazio, Italy, Europe, Earth, Solar system, Milk Way, Universe

PostPosted: Sun Oct 02, 2005 5:47 pm    Post subject: Reply with quote

Raffo wrote:
la directory ovviamente sparisce se il lettore nn è collegato, nn posso cambiare nessun permesso...

Allora prova a crearla tu...A quel punto lui dovrebbe usarla...Almeno a me così fa...
_________________
Greetings by the Shogun! - Home page

1-"Prima di dare consigli agli altri, sperimentateli su voi stessi..."
2-"In medio stat virtus!"
Back to top
View user's profile Send private message
Raffo
Veteran
Veteran


Joined: 23 Apr 2004
Posts: 1019
Location: Berlin

PostPosted: Sun Oct 02, 2005 5:49 pm    Post subject: Reply with quote

shogun_panda wrote:
Raffo wrote:
la directory ovviamente sparisce se il lettore nn è collegato, nn posso cambiare nessun permesso...

Allora prova a crearla tu...A quel punto lui dovrebbe usarla...Almeno a me così fa...

provato, nel momento in cui collego il device vengono cambiati i permessi della dir e nn posso più accederci o scriverci da utente... quando scollego il lettore rivedo la cartella con i normali permessi di scrittura...
Back to top
View user's profile Send private message
shogun_panda
Guru
Guru


Joined: 30 Jul 2004
Posts: 411
Location: Campobasso or Rome, Molise or Lazio, Italy, Europe, Earth, Solar system, Milk Way, Universe

PostPosted: Sun Oct 02, 2005 5:58 pm    Post subject: Reply with quote

Raffo wrote:
shogun_panda wrote:
Raffo wrote:
la directory ovviamente sparisce se il lettore nn è collegato, nn posso cambiare nessun permesso...

Allora prova a crearla tu...A quel punto lui dovrebbe usarla...Almeno a me così fa...

provato, nel momento in cui collego il device vengono cambiati i permessi della dir e nn posso più accederci o scriverci da utente... quando scollego il lettore rivedo la cartella con i normali permessi di scrittura...


E' vero...l'ho notato anch'io...lo fa pure a me e manco me ne ero accorto...L'unica differenza e' che a me lo monta con il mio nome utente e perciò non noto la differenza...A questo punto mi chiedo...A che gruppi appartieni? Tra questi c'è pure plugdev?
_________________
Greetings by the Shogun! - Home page

1-"Prima di dare consigli agli altri, sperimentateli su voi stessi..."
2-"In medio stat virtus!"
Back to top
View user's profile Send private message
otaku
Guru
Guru


Joined: 16 Dec 2004
Posts: 428
Location: Rho (MI)

PostPosted: Sun Oct 02, 2005 5:59 pm    Post subject: Reply with quote

potresti provare iveman che a me funziona egregiamente...

aggiornando a gnome 2.12 ho visto che il device manager si appoggia a pmount, che è +s, prova ad aggiungere al tuo utente i gruppi:
  1. haldaemon
  2. plugdev

_________________
Ventiquattr'ore al giorno in preda a una follia contorta...
Back to top
View user's profile Send private message
Raffo
Veteran
Veteran


Joined: 23 Apr 2004
Posts: 1019
Location: Berlin

PostPosted: Sun Oct 02, 2005 6:00 pm    Post subject: Reply with quote

no, nn sono in quel gruppo! mi ci addo al volo e vedo che succede...
Back to top
View user's profile Send private message
Raffo
Veteran
Veteran


Joined: 23 Apr 2004
Posts: 1019
Location: Berlin

PostPosted: Sun Oct 02, 2005 6:02 pm    Post subject: Reply with quote

ehm, nn succede niente mi sa :lol:
nn penso debba riavviare per vedere i cambiamenti...
Back to top
View user's profile Send private message
shogun_panda
Guru
Guru


Joined: 30 Jul 2004
Posts: 411
Location: Campobasso or Rome, Molise or Lazio, Italy, Europe, Earth, Solar system, Milk Way, Universe

PostPosted: Sun Oct 02, 2005 6:04 pm    Post subject: Reply with quote

Raffo wrote:
ehm, nn succede niente mi sa :lol:
nn penso debba riavviare per vedere i cambiamenti...


Hai almeno fatto il logout da gnome? Almeno questo lo devi fare...
_________________
Greetings by the Shogun! - Home page

1-"Prima di dare consigli agli altri, sperimentateli su voi stessi..."
2-"In medio stat virtus!"
Back to top
View user's profile Send private message
Raffo
Veteran
Veteran


Joined: 23 Apr 2004
Posts: 1019
Location: Berlin

PostPosted: Sun Oct 02, 2005 6:16 pm    Post subject: Reply with quote

allora... ho fatto un reboot, ora riesco ad entrare e a scrivere sulla periferica montata in /media... resta il fatto che nn riesco cmq a vederla da computer:/// e questo mi nega la possibilità del mount automatico o di montare/smontare con un click... e mi da nn poco fastidio la cosa... poi al boot ho visto una serie di errori terrorizzante che mi lasciato a bocca aperta, purtroppo però nn riesco a leggere di cosa si tratta perchè il boot ovviamente va per la sua strada... :cry:
Back to top
View user's profile Send private message
shogun_panda
Guru
Guru


Joined: 30 Jul 2004
Posts: 411
Location: Campobasso or Rome, Molise or Lazio, Italy, Europe, Earth, Solar system, Milk Way, Universe

PostPosted: Sun Oct 02, 2005 6:22 pm    Post subject: Reply with quote

Raffo wrote:
allora... ho fatto un reboot, ora riesco ad entrare e a scrivere sulla periferica montata in /media... resta il fatto che nn riesco cmq a vederla da computer:/// e questo mi nega la possibilità del mount automatico o di montare/smontare con un click... e mi da nn poco fastidio la cosa... poi al boot ho visto una serie di errori terrorizzante che mi lasciato a bocca aperta, purtroppo però nn riesco a leggere di cosa si tratta perchè il boot ovviamente va per la sua strada... :cry:

Non riesci a vedere i log di sistema?
Cmq...Almeno ora riesci a leggere/scrivere sulla periferica, e già è un passo in avanti...
Ora dovresti ripostare l'output di gnome-volume-manager...Qualcosa sarà cambiato, no? :D
_________________
Greetings by the Shogun! - Home page

1-"Prima di dare consigli agli altri, sperimentateli su voi stessi..."
2-"In medio stat virtus!"
Back to top
View user's profile Send private message
Raffo
Veteran
Veteran


Joined: 23 Apr 2004
Posts: 1019
Location: Berlin

PostPosted: Sun Oct 02, 2005 6:26 pm    Post subject: Reply with quote

invece mi sa che nn è cambiato proprio nulla...
Code:
manager.c/1691: Device added: /org/freedesktop/Hal/devices/usb_device_41e_4112_0002F6816AE54709
manager.c/1691: Device added: /org/freedesktop/Hal/devices/usb_device_41e_4112_0002F6816AE54709_if0
manager.c/1691: Device added: /org/freedesktop/Hal/devices/usb_device_41e_4112_0002F6816AE54709_if0_scsi_host
manager.c/1691: Device added: /org/freedesktop/Hal/devices/usb_device_41e_4112_0002F6816AE54709_if0_scsi_host_scsi_device_lun0
manager.c/1691: Device added: /org/freedesktop/Hal/devices/storage_model_MuVo_Slim
manager.c/1513: not a mountable volume: /org/freedesktop/Hal/devices/storage_model_MuVo_Slim
manager.c/1691: Device added: /org/freedesktop/Hal/devices/volume_part1_size_1043441152
manager.c/1544: Changed: /dev/sda1
manager.c/1189: mounting /org/freedesktop/Hal/devices/volume_part1_size_1043441152...
manager.c/698: executing command: /usr/bin/pmount-hal /org/freedesktop/Hal/devices/volume_part1_size_1043441152
manager.c/1777: Mounted: /org/freedesktop/Hal/devices/volume_part1_size_1043441152

gnome-volume-manager cmq lo sto sempre avviando a mano da terminale...

tra i log ho trovato questo:
Code:
Oct  2 22:06:50 ganondorf hal.hotplug[7487]: DEVPATH is not set (subsystem pci)
Oct  2 22:06:50 ganondorf hal.hotplug[7511]: DEVPATH is not set (subsystem pci)
Oct  2 22:06:50 ganondorf hal.hotplug[7535]: DEVPATH is not set (subsystem pci)
Oct  2 22:06:50 ganondorf hal.hotplug[7559]: DEVPATH is not set (subsystem pci)
Oct  2 22:06:50 ganondorf hal.hotplug[7583]: DEVPATH is not set (subsystem pci)
Oct  2 22:06:50 ganondorf hal.hotplug[7607]: DEVPATH is not set (subsystem pci)
Oct  2 22:06:50 ganondorf hal.hotplug[7661]: DEVPATH is not set (subsystem pci)
Oct  2 22:06:51 ganondorf hal.hotplug[7700]: DEVPATH is not set (subsystem pci)
Oct  2 22:06:51 ganondorf hal.hotplug[7806]: DEVPATH is not set (subsystem pci)
Oct  2 22:06:51 ganondorf hal.hotplug[7838]: DEVPATH is not set (subsystem pci)
Oct  2 22:06:51 ganondorf hal.hotplug[7985]: DEVPATH is not set (subsystem pci)

è normale?
Back to top
View user's profile Send private message
shogun_panda
Guru
Guru


Joined: 30 Jul 2004
Posts: 411
Location: Campobasso or Rome, Molise or Lazio, Italy, Europe, Earth, Solar system, Milk Way, Universe

PostPosted: Sun Oct 02, 2005 6:37 pm    Post subject: Reply with quote

Raffo wrote:
invece mi sa che nn è cambiato proprio nulla...
Code:
manager.c/1691: Device added: /org/freedesktop/Hal/devices/usb_device_41e_4112_0002F6816AE54709
manager.c/1691: Device added: /org/freedesktop/Hal/devices/usb_device_41e_4112_0002F6816AE54709_if0
manager.c/1691: Device added: /org/freedesktop/Hal/devices/usb_device_41e_4112_0002F6816AE54709_if0_scsi_host
manager.c/1691: Device added: /org/freedesktop/Hal/devices/usb_device_41e_4112_0002F6816AE54709_if0_scsi_host_scsi_device_lun0
manager.c/1691: Device added: /org/freedesktop/Hal/devices/storage_model_MuVo_Slim
manager.c/1513: not a mountable volume: /org/freedesktop/Hal/devices/storage_model_MuVo_Slim
manager.c/1691: Device added: /org/freedesktop/Hal/devices/volume_part1_size_1043441152
manager.c/1544: Changed: /dev/sda1
manager.c/1189: mounting /org/freedesktop/Hal/devices/volume_part1_size_1043441152...
manager.c/698: executing command: /usr/bin/pmount-hal /org/freedesktop/Hal/devices/volume_part1_size_1043441152
manager.c/1777: Mounted: /org/freedesktop/Hal/devices/volume_part1_size_1043441152

gnome-volume-manager cmq lo sto sempre avviando a mano da terminale...

tra i log ho trovato questo:
Code:
Oct  2 22:06:50 ganondorf hal.hotplug[7487]: DEVPATH is not set (subsystem pci)
Oct  2 22:06:50 ganondorf hal.hotplug[7511]: DEVPATH is not set (subsystem pci)
Oct  2 22:06:50 ganondorf hal.hotplug[7535]: DEVPATH is not set (subsystem pci)
Oct  2 22:06:50 ganondorf hal.hotplug[7559]: DEVPATH is not set (subsystem pci)
Oct  2 22:06:50 ganondorf hal.hotplug[7583]: DEVPATH is not set (subsystem pci)
Oct  2 22:06:50 ganondorf hal.hotplug[7607]: DEVPATH is not set (subsystem pci)
Oct  2 22:06:50 ganondorf hal.hotplug[7661]: DEVPATH is not set (subsystem pci)
Oct  2 22:06:51 ganondorf hal.hotplug[7700]: DEVPATH is not set (subsystem pci)
Oct  2 22:06:51 ganondorf hal.hotplug[7806]: DEVPATH is not set (subsystem pci)
Oct  2 22:06:51 ganondorf hal.hotplug[7838]: DEVPATH is not set (subsystem pci)
Oct  2 22:06:51 ganondorf hal.hotplug[7985]: DEVPATH is not set (subsystem pci)

è normale?


Per i log, non preoccuparti...Capita a molti e non sappiamo perchè...
Per il problemone, invece, non so più che dirti...Nelle preferenze dei supporti rimovibili di GNOME cos'hai impostato?
_________________
Greetings by the Shogun! - Home page

1-"Prima di dare consigli agli altri, sperimentateli su voi stessi..."
2-"In medio stat virtus!"
Back to top
View user's profile Send private message
Raffo
Veteran
Veteran


Joined: 23 Apr 2004
Posts: 1019
Location: Berlin

PostPosted: Sun Oct 02, 2005 6:48 pm    Post subject: Reply with quote

ho impostato l'automount e l'autobrowse... in pratica le prime 3 voci...
Back to top
View user's profile Send private message
shogun_panda
Guru
Guru


Joined: 30 Jul 2004
Posts: 411
Location: Campobasso or Rome, Molise or Lazio, Italy, Europe, Earth, Solar system, Milk Way, Universe

PostPosted: Sun Oct 02, 2005 6:51 pm    Post subject: Reply with quote

Raffo wrote:
ho impostato l'automount e l'autobrowse... in pratica le prime 3 voci...


Mah...non so più che dirti...Hai tutto esattamente come me... :(
_________________
Greetings by the Shogun! - Home page

1-"Prima di dare consigli agli altri, sperimentateli su voi stessi..."
2-"In medio stat virtus!"
Back to top
View user's profile Send private message
Raffo
Veteran
Veteran


Joined: 23 Apr 2004
Posts: 1019
Location: Berlin

PostPosted: Sun Oct 02, 2005 6:55 pm    Post subject: Reply with quote

ci sarà qualche altra cosa che dovrò cambiare... il problema è che nn so dove mettermi le mani... cmq grazie mille per l'aiuto, sei stato gentilissimo...
Back to top
View user's profile Send private message
Raffo
Veteran
Veteran


Joined: 23 Apr 2004
Posts: 1019
Location: Berlin

PostPosted: Sun Oct 02, 2005 7:05 pm    Post subject: Reply with quote

in preda alla disperazione emergo ivman che farà il downgrade di dbus e hal....
Back to top
View user's profile Send private message
shogun_panda
Guru
Guru


Joined: 30 Jul 2004
Posts: 411
Location: Campobasso or Rome, Molise or Lazio, Italy, Europe, Earth, Solar system, Milk Way, Universe

PostPosted: Sun Oct 02, 2005 7:17 pm    Post subject: Reply with quote

Raffo wrote:
ci sarà qualche altra cosa che dovrò cambiare... il problema è che nn so dove mettermi le mani... cmq grazie mille per l'aiuto, sei stato gentilissimo...


Prego, di nulla! :D
_________________
Greetings by the Shogun! - Home page

1-"Prima di dare consigli agli altri, sperimentateli su voi stessi..."
2-"In medio stat virtus!"
Back to top
View user's profile Send private message
Raffo
Veteran
Veteran


Joined: 23 Apr 2004
Posts: 1019
Location: Berlin

PostPosted: Sun Oct 02, 2005 8:20 pm    Post subject: Reply with quote

tra l'altro per far montare il drive in /media/usbdisk sono costretto a killare e riavviare a mano gnome-volume-manager perchè altrimenti nn lo monta proprio... c'è un serio problema da qualche parte...
Back to top
View user's profile Send private message
Raffo
Veteran
Veteran


Joined: 23 Apr 2004
Posts: 1019
Location: Berlin

PostPosted: Sun Oct 02, 2005 9:04 pm    Post subject: Reply with quote

risolto!!!! ho fatto una accurata ricerca sul forum (basta trovare le keyword giuste ;) ) e ho scoperto che c'era gente che aveva il mio stesso problema... da lì a risolvere è stato immediato... è bastato riemergere gnome-vfs con la use +hal...
Back to top
View user's profile Send private message
shogun_panda
Guru
Guru


Joined: 30 Jul 2004
Posts: 411
Location: Campobasso or Rome, Molise or Lazio, Italy, Europe, Earth, Solar system, Milk Way, Universe

PostPosted: Sun Oct 02, 2005 9:09 pm    Post subject: Reply with quote

Raffo wrote:
risolto!!!! ho fatto una accurata ricerca sul forum (basta trovare le keyword giuste ;) ) e ho scoperto che c'era gente che aveva il mio stesso problema... da lì a risolvere è stato immediato... è bastato riemergere gnome-vfs con la use +hal...


Yuppie! Sono contento per te! :D
_________________
Greetings by the Shogun! - Home page

1-"Prima di dare consigli agli altri, sperimentateli su voi stessi..."
2-"In medio stat virtus!"
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
Goto page Previous  1, 2, 3  Next
Page 2 of 3

 
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