Skip to contentSkip to conversation

udev 070 and coldplugged usb mice

DISCUSSION Anthony Awtrey 2 participants 4 messages Sep 29, 2005

lore
Share & tools
lore
#0 lore raw

I have a tablet device with an internally connected usb mouse pointer running Debian unstable. I'm using linux kernel version 2.6.13.2 and Marco's debian unstable package udev-0.070-3. That udev package conflicts out the hotplug package completely which may have done the coldplugging correctly before.

Neither the usb driver for the mouse, nor the general PS/2 mousedev driver load automatically at boot time. I've gotten around this by running an ugly hack coldplug catchup script as the last run-level S script:

for i in /sys/bus/*/*/*/modalias
do
modprobe cat $i
done
modprobe mousedev

I see udevsynthesize is running during the udev init script and the devices are showing up as expected under the /sys/bus/* directories even when the usb modules don't loading automatically. Should udev automatically load all drivers via udevsynthesize without some kind of additional coldplugging hack? Or is this expected behaviour?

T

Signature · 20 lines
Anthony L. Awtrey
Chief Technology Officer
[T]  407.999.9870 x13
[F]  407.999.9850

I.D.E.A.L. Technology Corporation
http://www.idealcorp.com

"The Leader in Linux and Open Source Solutions"



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
#1 lore raw
Quoted 2 lines · Anthony Awtrey

Neither the usb driver for the mouse, nor the general PS/2 mousedev driver load automatically at boot time. I've gotten around this by

This is not expected to happen. You are the only tester reporting this. Please check that /etc/udev/rules.d/z55_hotplug.rules exists.

Signature · 12 lines
ciao,
Marco


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
#2 lore raw
In reply to Anthony Awtrey
Quoted 9 lines · Marco d'Itri
Quoted 2 lines · Anthony Awtrey

Neither the usb driver for the mouse, nor the general PS/2 mousedev driver load automatically at boot time. I've gotten around this by

This is not expected to happen. You are the only tester reporting this. Please check that /etc/udev/rules.d/z55_hotplug.rules exists.

I manually created that link to /etc/udev/hotplug.rules and now I see the usb driver for the mouse.

It looks like your udev.preinst script does not run the 'check_version' function if doing a clean install and the udev.postinst does not create that link like the other ones in the create_rules_symlink functions.

If I manually install the mousedev driver at this point, then /dev/input/mice gets created and all the usb mice show up as /dev/input/mouse* as expected. Shouldn't the usb mice depend on the mousedev driver?

T
--
Anthony L. Awtrey
Chief Technology Officer
[T] 407.999.9870 x13
[F] 407.999.9850

I.D.E.A.L. Technology Corporation
http://www.idealcorp.com

"The Leader in Linux and Open Source Solutions"

-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#3 lore raw
In reply to Anthony Awtrey
Quoted 2 lines · Anthony Awtrey

function if doing a clean install and the udev.postinst does not create that link like the other ones in the create_rules_symlink functions.

Correct.

Quoted 4 lines

If I manually install the mousedev driver at this point, then /dev/input/mice gets created and all the usb mice show up as /dev/input/mouse* as expected. Shouldn't the usb mice depend on the mousedev driver?

I don't remember. On sane systems mousedev is static anyway.

Signature · 12 lines
ciao,
Marco


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel