Hi Paolo, > > Can you send me your udev rule or a note however > > you create the /dev/usbmonN? > > I create the device file with this script: > > #!/bin/sh > mkdir /dev/usbmon > mknod /dev/usbmon/1 c 253 1 > mknod /dev/usbmon/2 c 253 2 > mknod /dev/usbmon/3 c 253 3 > mknod /dev/usbmon/4 c 253 4 > > I don't use a udev rule because I was not able to write a working one. > I think that udev is not receiving the device creation event for usbmon: > perhaps a usbmon device class should be registered under sysfs to make > udev receive this event?!?
the usbmon devices need a subsystem entry. The best way to me seems to attach them to the USB bus where all host controllers are already listed. And btw. /dev/usbmon1, /dev/usbmon2 etc. is the preferred naming nowadays. The subdirectory style isn't really used anymore since devfs is finally gone. However udev can always overwrite the final name. Regards Marcel ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel