View previous topic :: View next topic |
Author |
Message |
polslinux Apprentice
Joined: 12 Apr 2010 Posts: 253 Location: Veneto
|
Posted: Mon Jun 07, 2010 5:20 pm Post subject: [risolto]dare comando al boot |
|
|
chmod 666 /dev/rfkill
devo darlo prima che si avvi bluetooth-applet altrimenti l'applet non si avvia....come faccio??
Last edited by polslinux on Mon Jun 07, 2010 7:50 pm; edited 1 time in total |
|
Back to top |
|
|
darkmanPPT Veteran
Joined: 13 Apr 2006 Posts: 1069 Location: vi/bo
|
Posted: Mon Jun 07, 2010 7:14 pm Post subject: |
|
|
modifica lo script
bluetooth-applet
e inserisci il comando prima di tutto.
adesso non è che mi sia ben chiaro come lo avvi questo comando.
ma se si tratta di uno script in /etc/init.d/, puoi fare come ti ho detto sopra _________________ Darkman |
|
Back to top |
|
|
polslinux Apprentice
Joined: 12 Apr 2010 Posts: 253 Location: Veneto
|
Posted: Mon Jun 07, 2010 7:50 pm Post subject: |
|
|
ciao!
grazie intanto!
ho risolto mettendo in local.start
chmod 666 /dev/rfkill
|
|
Back to top |
|
|
cloc3 Advocate
Joined: 13 Jan 2004 Posts: 4788 Location: http://www.gentoo-users.org/user/cloc3/
|
Posted: Mon Jun 07, 2010 8:49 pm Post subject: |
|
|
polslinux wrote: | ho risolto mettendo in local.start
chmod 666 /dev/rfkill
|
meglio sarebbe modificare la regola di udev che genera il dispositivo.
dovresti trovarla dentro /etc/udev con un grep. _________________ vu vu vu
gentù
mi piaci tu |
|
Back to top |
|
|
polslinux Apprentice
Joined: 12 Apr 2010 Posts: 253 Location: Veneto
|
Posted: Tue Jun 08, 2010 12:17 pm Post subject: |
|
|
ok, guardo e ti dico!
grazie mille |
|
Back to top |
|
|
cloc3 Advocate
Joined: 13 Jan 2004 Posts: 4788 Location: http://www.gentoo-users.org/user/cloc3/
|
Posted: Tue Jun 08, 2010 6:30 pm Post subject: |
|
|
polslinux wrote: | ok, guardo e ti dico! |
oltreatutto, in molti casi questi problemi si risolvono aggiungendo l'utente ad un dato gruppo.
ls -l /dev/rfkill
può essere illuminante. _________________ vu vu vu
gentù
mi piaci tu |
|
Back to top |
|
|
polslinux Apprentice
Joined: 12 Apr 2010 Posts: 253 Location: Veneto
|
Posted: Tue Jun 08, 2010 7:41 pm Post subject: |
|
|
Code: | pol@pol-netbook ~ $ ls -l /dev/rfkill
crw-rw-rw- 1 root root 10, 62 8 giu 2010 /dev/rfkill
|
|
|
Back to top |
|
|
cloc3 Advocate
Joined: 13 Jan 2004 Posts: 4788 Location: http://www.gentoo-users.org/user/cloc3/
|
Posted: Tue Jun 08, 2010 8:08 pm Post subject: |
|
|
polslinux wrote: | Code: | pol@pol-netbook ~ $ ls -l /dev/rfkill
crw-rw-rw- 1 root root 10, 62 8 giu 2010 /dev/rfkill
|
|
evidentemente serve proprio una regola di udev.
però io farei anche una segnalazione su bugzilla, perché in genere, queste sono impostazioni su cui si può intervenire a livello di ebuild. _________________ vu vu vu
gentù
mi piaci tu |
|
Back to top |
|
|
polslinux Apprentice
Joined: 12 Apr 2010 Posts: 253 Location: Veneto
|
Posted: Tue Jun 08, 2010 8:23 pm Post subject: |
|
|
ok, che devo fare quindi? |
|
Back to top |
|
|
cloc3 Advocate
Joined: 13 Jan 2004 Posts: 4788 Location: http://www.gentoo-users.org/user/cloc3/
|
Posted: Tue Jun 08, 2010 11:12 pm Post subject: |
|
|
polslinux wrote: | ok, che devo fare quindi? |
ma io non ce l'ho un dispositivo che supporta rfkill, quindi non posso saperlo.
grosso modo, mi aspetterei di aggiungere in udev un file del seguente tipo:
Code: |
cat /etc/udev/rules.d/70-rfkill.rules
# Start/Stop rfkill service on device insertion. Gentoo specific.
SUBSYSTEM=="rfkill", KERNEL=="rfkill[0-9]*"
# So that normal users can dial out.
SUBSYSTEM=="tty", SUBSYSTEMS=="rfkill", GROUP="rfkill"
|
naturalmente non ho la minima idea se questo codice funzioni, ma sto semplicemente motteggiando uno dei tanti file contenuti nella mia cartella /etc/udev/rules .
presto o tardi, qualcuno con l'eepc dovrà pur passare. _________________ vu vu vu
gentù
mi piaci tu |
|
Back to top |
|
|
polslinux Apprentice
Joined: 12 Apr 2010 Posts: 253 Location: Veneto
|
Posted: Wed Jun 09, 2010 11:23 am Post subject: |
|
|
cloc3 wrote: | presto o tardi, qualcuno con l'eepc dovrà pur passare. |
Eheh già |
|
Back to top |
|
|
|