Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[uinput] creazione anomala del dispositivo
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
cloc3
Advocate
Advocate


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

PostPosted: Sat Jul 03, 2010 12:35 pm    Post subject: [uinput] creazione anomala del dispositivo Reply with quote

Code:

live ~ # ls -l /dev/uinput /dev/input/uinput
ls: impossibile accedere a /dev/uinput: No such file or directory
ls: impossibile accedere a /dev/input/uinput: No such file or directory
live ~ # modprobe -v uinput
insmod /lib/modules/2.6.33-gentoo-r2-live/kernel/drivers/input/misc/uinput.ko
live ~ # ls -l /dev/uinput /dev/input/uinput
crw-r----- 1 root root 10, 223  3 lug 16:20 /dev/input/uinput
crw------- 1 root root 10, 223  3 lug 16:20 /dev/uinput

vengono creati due dispositivi!!
la cosa si può correggere con una riga di udev come la seguente:
Code:

live ~ # cat /etc/udev/rules.d/33-uinput.rules
KERNEL=="uinput", GROUP="users", SYMLINK+="uinput", MODE="666"

in questo caso, però, le impostazioni dei permessi non vengono passate:
Code:

live ~ # modprobe -rv uinput
rmmod /lib/modules/2.6.33-gentoo-r2-live/kernel/drivers/input/misc/uinput.ko
live ~ # udevadm control --reload-rules
live ~ # modprobe -v uinput
insmod /lib/modules/2.6.33-gentoo-r2-live/kernel/drivers/input/misc/uinput.ko
live ~ # ls -l /dev/uinput /dev/input/uinput
crw-r----- 1 root users 10, 223  3 lug 16:26 /dev/input/uinput
lrwxrwxrwx 1 root root       12  3 lug 16:26 /dev/uinput -> input/uinput

la riga di udev funziona solo parzialmente, perchè il MODE non viene applicato.

p.s.:
Code:

live rules.d #  uname -rm
2.6.33-gentoo-r2-live i686
live rules.d # udevd --version
158

_________________
vu vu vu
gentù
mi piaci tu
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