Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[risolto]dare comando al boot
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
polslinux
Apprentice
Apprentice


Joined: 12 Apr 2010
Posts: 253
Location: Veneto

PostPosted: Mon Jun 07, 2010 5:20 pm    Post subject: [risolto]dare comando al boot Reply with quote

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
View user's profile Send private message
darkmanPPT
Veteran
Veteran


Joined: 13 Apr 2006
Posts: 1069
Location: vi/bo

PostPosted: Mon Jun 07, 2010 7:14 pm    Post subject: Reply with quote

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
View user's profile Send private message
polslinux
Apprentice
Apprentice


Joined: 12 Apr 2010
Posts: 253
Location: Veneto

PostPosted: Mon Jun 07, 2010 7:50 pm    Post subject: Reply with quote

ciao!
grazie intanto!
ho risolto mettendo in local.start
chmod 666 /dev/rfkill

:)
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4788
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Mon Jun 07, 2010 8:49 pm    Post subject: Reply with quote

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
View user's profile Send private message
polslinux
Apprentice
Apprentice


Joined: 12 Apr 2010
Posts: 253
Location: Veneto

PostPosted: Tue Jun 08, 2010 12:17 pm    Post subject: Reply with quote

ok, guardo e ti dico!
grazie mille
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4788
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Tue Jun 08, 2010 6:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
polslinux
Apprentice
Apprentice


Joined: 12 Apr 2010
Posts: 253
Location: Veneto

PostPosted: Tue Jun 08, 2010 7:41 pm    Post subject: Reply with quote

Code:
pol@pol-netbook ~ $ ls -l /dev/rfkill
crw-rw-rw- 1 root root 10, 62  8 giu  2010 /dev/rfkill
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4788
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Tue Jun 08, 2010 8:08 pm    Post subject: Reply with quote

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
View user's profile Send private message
polslinux
Apprentice
Apprentice


Joined: 12 Apr 2010
Posts: 253
Location: Veneto

PostPosted: Tue Jun 08, 2010 8:23 pm    Post subject: Reply with quote

ok, che devo fare quindi?
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4788
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Tue Jun 08, 2010 11:12 pm    Post subject: Reply with quote

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
View user's profile Send private message
polslinux
Apprentice
Apprentice


Joined: 12 Apr 2010
Posts: 253
Location: Veneto

PostPosted: Wed Jun 09, 2010 11:23 am    Post subject: Reply with quote

cloc3 wrote:
presto o tardi, qualcuno con l'eepc dovrà pur passare.


Eheh già ;)
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