Bug#332898: udev: mouse devices doesn't work anymore without hoplug

2005-10-09 Thread Encolpe DEGOUTE
Package: udev
Version: 0.070-3
Severity: important


Neither usbmouse nor psmouse (for touchpad) drivers create their device
when they'reloaded. It's a bit difficult to run X in these conditions.

Regards,

-- Package-specific info:
-- /etc/udev/rules.d/:
/etc/udev/rules.d/:
total 4
lrwxrwxrwx  1 root root  20 2005-07-15 14:44 020_permissions.rules - 
../permissions.rules
lrwxrwxrwx  1 root root  23 2005-09-30 11:22 025_libsane-extras.rules - 
../libsane-extras.rules
lrwxrwxrwx  1 root root  16 2005-09-30 11:22 025_libsane.rules - 
../libsane.rules
lrwxrwxrwx  1 root root  12 2005-09-07 15:17 050_hal-plugdev.rules - 
../hal.rules
-rw-r--r--  1 root root 120 2005-02-12 11:42 10-wacom.rules
lrwxrwxrwx  1 root root  19 2005-07-15 14:44 cd-aliases.rules - 
../cd-aliases.rules
lrwxrwxrwx  1 root root  13 2005-07-15 14:44 udev.rules - ../udev.rules
lrwxrwxrwx  1 root root  19 2005-08-15 11:33 z20_persistent.rules - 
../persistent.rules
lrwxrwxrwx  1 root root  12 2005-07-22 01:32 z50_run.rules - ../run.rules
lrwxrwxrwx  1 root root  16 2005-10-09 09:20 z55_hotplug.rules - 
../hotplug.rules
lrwxrwxrwx  1 root root  19 2005-08-03 12:31 z60_alsa-utils.rules - 
../alsa-utils.rules
lrwxrwxrwx  1 root root  15 2005-09-20 22:56 z60_hdparm.rules - ../hdparm.rules
lrwxrwxrwx  1 root root  17 2005-07-22 01:45 z60_usbmount.rules - 
../usbmount.rules
lrwxrwxrwx  1 root root  17 2005-07-22 01:32 z70_hotplugd.rules - 
../hotplugd.rules

-- /sys/:
/sys/block/hda/dev
/sys/block/hdc/dev
/sys/block/hdc/hdc1/dev
/sys/block/hdc/hdc2/dev
/sys/block/hdc/hdc3/dev
/sys/block/hdc/hdc4/dev
/sys/block/hdc/hdc5/dev
/sys/block/ram0/dev
/sys/block/ram10/dev
/sys/block/ram11/dev
/sys/block/ram12/dev
/sys/block/ram13/dev
/sys/block/ram14/dev
/sys/block/ram15/dev
/sys/block/ram1/dev
/sys/block/ram2/dev
/sys/block/ram3/dev
/sys/block/ram4/dev
/sys/block/ram5/dev
/sys/block/ram6/dev
/sys/block/ram7/dev
/sys/block/ram8/dev
/sys/block/ram9/dev
/sys/class/misc/agpgart/dev
/sys/class/misc/device-mapper/dev
/sys/class/misc/hpet/dev
/sys/class/misc/hw_random/dev
/sys/class/nvidia/nvidia0/dev
/sys/class/nvidia/nvidiactl/dev
/sys/class/sound/adsp/dev
/sys/class/sound/audio1/dev
/sys/class/sound/audio/dev
/sys/class/sound/controlC0/dev
/sys/class/sound/controlC1/dev
/sys/class/sound/dsp1/dev
/sys/class/sound/dsp/dev
/sys/class/sound/mixer1/dev
/sys/class/sound/mixer/dev
/sys/class/sound/pcmC0D0c/dev
/sys/class/sound/pcmC0D0p/dev
/sys/class/sound/pcmC0D1c/dev
/sys/class/sound/pcmC0D2c/dev
/sys/class/sound/pcmC0D3c/dev
/sys/class/sound/pcmC0D4p/dev
/sys/class/sound/pcmC1D0c/dev
/sys/class/sound/pcmC1D0p/dev
/sys/class/sound/timer/dev

-- Kernel configuration:


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-686
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

Versions of packages udev depends on:
ii  initscripts   2.86.ds1-4 Standard scripts needed for bootin
ii  libc6 2.3.5-6GNU C Library: Shared libraries an
ii  libselinux1   1.26-1 SELinux shared libraries
ii  lsb-base  3.0-9  Linux Standard Base 3.0 init scrip
ii  makedev   2.3.1-78   creates device files in /dev
ii  sed   4.1.4-4The GNU sed stream editor

udev recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#332898: udev: mouse devices doesn't work anymore without hoplug

2005-10-09 Thread Encolpe Degoute

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Encolpe DEGOUTE a écrit :
| Package: udev
| Version: 0.070-3
| Severity: important
|
|
| Neither usbmouse nor psmouse (for touchpad) drivers create their device
| when they'reloaded. It's a bit difficult to run X in these conditions.

I found this one:
evdev and mousedev drivers were loaded by hotplug package and new udev
version does not.

- --
Encolpe DEGOUTE
http://encolpe.degoute.free.fr/
Logiciels libres, hockey sur glace et autres activités cérébrales
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDSP34vFPzBBlIZMMRAgi5AJ9nffYlGxj0VRcGUm+9tC2uzIMlBQCcDI+U
e67Ijl4FbtHXpm4IvmtUCTM=
=PJgE
-END PGP SIGNATURE-



Bug#332874: Bug#332898: udev: mouse devices doesn't work anymore without hoplug

2005-10-09 Thread Marco d'Itri
retitle 332898 serio hotplug broken?
tag 332898 unreproducible help
severity 332898 grave
thanks

On Oct 09, Encolpe DEGOUTE [EMAIL PROTECTED] wrote:

 Neither usbmouse nor psmouse (for touchpad) drivers create their device
 when they'reloaded. It's a bit difficult to run X in these conditions.
Are the drivers actually being loaded? I do not see them in the sysfs
files in your bug report.

It appears that there is an error in /etc/udev/hotplug.rules, where

SUBSYSTEM==input, BUS==serio, ENV{MODALIAS}!=?*, \

should be replaced with:

SUBSYSTEM==serio, ENV{MODALIAS}!=?*, \

But another user tried this and it did not work for him.

serio devices need some special handling because current kernels lack
some some features, but the modalias_serio is supposed to work around
this.
I am not sure about how this should be fixed, because on my system serio
hotplugging works. I wonder if this is related to the extreme
modularization in the official Debian kernels (e.g. I know that a serio
pseudo-event as currently generated by the kernel does not reach
udev).

-- 
ciao,
Marco


signature.asc
Description: Digital signature


Bug#332898: udev: mouse devices doesn't work anymore without hoplug

2005-10-09 Thread Marco d'Itri
On Oct 09, Encolpe Degoute [EMAIL PROTECTED] wrote:

 I found this one:
 evdev and mousedev drivers were loaded by hotplug package and new udev
 version does not.
Interesting. evdev is not supposed to be loaded even by hotplug (it's in
the default blacklist), but what happens if you add this to the top of
/etc/init.d/udev?

modprobe mousedev
sleep 1

-- 
ciao,
Marco


signature.asc
Description: Digital signature


Bug#332898: udev: mouse devices doesn't work anymore without hoplug

2005-10-09 Thread Richard Antony Burton
Package: udev
Version: 0.070-3
Followup-For: Bug #332898


I've hit the same problem with the new udev package this morning. The modules
are not being loaded on my system. Adding psmouse  mousedev to /etc/modules
is an easy workaround, but not ideal since you shouldn't need to manually
specify all the hardware you need modules loaded for (hotplug used to handle
this fine). I have a ps2 mouse, but a friend has also hit the same problem with
a usb mouse.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages udev depends on:
ii  initscripts   2.86.ds1-4 Standard scripts needed for bootin
ii  libc6 2.3.5-6GNU C Library: Shared libraries an
ii  libselinux1   1.26-1 SELinux shared libraries
ii  lsb-base  3.0-9  Linux Standard Base 3.0 init scrip
ii  makedev   2.3.1-78   creates device files in /dev
ii  sed   4.1.4-4The GNU sed stream editor

udev recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#332898: udev: mouse devices doesn't work anymore without hoplug

2005-10-09 Thread Encolpe Degoute

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Marco d'Itri a écrit :
| On Oct 09, Encolpe Degoute [EMAIL PROTECTED] wrote:
|
|
|I found this one:
|evdev and mousedev drivers were loaded by hotplug package and new udev
|version does not.
|
| Interesting. evdev is not supposed to be loaded even by hotplug (it's in
| the default blacklist), but what happens if you add this to the top of
| /etc/init.d/udev?
|
| modprobe mousedev
| sleep 1

After testing the two solutions, it still doesn't load usbmouse and
psmouse if they're not in /etc/modules. It seems that my usb mouse can
work with only mousedev loaded, but not the touchpad.
It also seems that, with my xorg/X configurationi, evdev must be load to
make Xorg/X work.

Regards,
- --
Encolpe DEGOUTE
http://encolpe.degoute.free.fr/
Logiciels libres, hockey sur glace et autres activités cérébrales

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDSTdqvFPzBBlIZMMRAkOxAJwMVzG7PViKqKGQMBzMKz8RFK6IDQCbBOLp
aoRVdEtqGIZ6jrk8p5NRurw=
=hbK2
-END PGP SIGNATURE-



Bug#332898: udev: mouse devices doesn't work anymore without hoplug

2005-10-09 Thread Marco d'Itri
On Oct 09, Encolpe Degoute [EMAIL PROTECTED] wrote:

 After testing the two solutions, it still doesn't load usbmouse and
 psmouse if they're not in /etc/modules. It seems that my usb mouse can
It's not supposed to load usbmouse at all, it's blacklisted and you do
not need it. The proper driver for USB input devices is usbhid.

 work with only mousedev loaded, but not the touchpad.
Touchpads are PS/2 devices and need psmouse.

 It also seems that, with my xorg/X configurationi, evdev must be load to
 make Xorg/X work.
I am working on a fix to automatically load mousedev and evdev, but I
cannot explain why on your system psmouse is still not being loaded
(did you modify hotplug.rules as I suggested?).

-- 
ciao,
Marco


signature.asc
Description: Digital signature


Bug#332898: udev: mouse devices doesn't work anymore without hoplug

2005-10-09 Thread Encolpe Degoute

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Marco d'Itri a écrit :
| On Oct 09, Encolpe Degoute [EMAIL PROTECTED] wrote:
|
|
|After testing the two solutions, it still doesn't load usbmouse and
|psmouse if they're not in /etc/modules. It seems that my usb mouse can
|
| It's not supposed to load usbmouse at all, it's blacklisted and you do
| not need it. The proper driver for USB input devices is usbhid.

After a short test I don't need usbmouse when mousedev is loaded.

|work with only mousedev loaded, but not the touchpad.
|
| Touchpads are PS/2 devices and need psmouse.

I remember I added psmouse in /etc/modules before hotplug take care of it.

|It also seems that, with my xorg/X configurationi, evdev must be load to
|make Xorg/X work.
|
| I am working on a fix to automatically load mousedev and evdev, but I
| cannot explain why on your system psmouse is still not being loaded
| (did you modify hotplug.rules as I suggested?).

Yes, it doesn't work even if mousedev and evdev are already loaded.

I didn't notice 'evdev' requirement before, and I have not the problem
on another configuration with an old radeon card. Perhaps that's a side
effect of nvidia proprietary driver.

Regards,
- --
Encolpe DEGOUTE
http://encolpe.degoute.free.fr/
Logiciels libres, hockey sur glace et autres activités cérébrales
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDSURuvFPzBBlIZMMRAqI+AJsEs6tcx72rYWKS/a6Zx3YbsN1riACbBahv
RflD+mBDEfXdZgiQam5bORE=
=24AI
-END PGP SIGNATURE-