On 7/29/09, Saurabh Kadekodi <saurabh@xxxxxxxxxxxxxxxxxx> wrote: > Hi all, > > I'm working on an arm board with pxa270 processor. I have cross compiled > and installed udev on this board. > > I'll attach the log of the udevadm monitor when i attacha usb stick. > > --------------------------------------------------------------------------------------------- > monitor will print the received events for: > UDEV - the event which udev sends out after rule processing > KERNEL - the kernel uevent > > KERNEL[1248848449.110058] add > /devices/platform/pxa27x-ohci/usb1/1-2 (usb) > KERNEL[1248848449.112719] add > /devices/platform/pxa27x-ohci/usb1/1-2/1-2:1.0 (usb) > UDEV [1248848449.129071] add /block/sda/sda1 (block) > UDEV [1248848449.132152] remove > /devices/platform/pxa27x-ohci/usb1/1-1 (usb) > KERNEL[1248848449.135746] add /class/scsi_host/host1 (scsi_host) > KERNEL[1248848449.147590] add /class/usb_endpoint/usbdev1.3_ep81 > (usb_endpoint) > KERNEL[1248848449.178181] add /class/usb_endpoint/usbdev1.3_ep02 > (usb_endpoint) > KERNEL[1248848449.187025] add /class/usb_device/usbdev1.3 > (usb_device) > KERNEL[1248848449.197382] add /class/usb_endpoint/usbdev1.3_ep00 > (usb_endpoint) > UDEV [1248848449.213970] remove /block/sda/sda1 (block) > UDEV [1248848449.233043] add > /devices/platform/pxa27x-ohci/usb1/1-2 (usb) > UDEV [1248848449.281160] remove /block/sda (block) > UDEV [1248848449.283638] add > /devices/platform/pxa27x-ohci/usb1/1-2/1-2:1.0 (usb) > UDEV [1248848449.291824] add /class/scsi_host/host1 (scsi_host) > UDEV [1248848449.319210] add /class/usb_endpoint/usbdev1.3_ep81 > (usb_endpoint) > UDEV [1248848449.343678] add /class/usb_endpoint/usbdev1.3_ep02 > (usb_endpoint) > UDEV [1248848449.381726] add /class/usb_device/usbdev1.3 > (usb_device) > UDEV [1248848449.385461] add /class/usb_endpoint/usbdev1.3_ep00 > (usb_endpoint) > scsi 1:0:0:0: Direct-Access Kingston DataTraveler 2.0 PMAP PQ: 0 > ANSI: 0 CCS > KERNEL[1248848454.186353] add > /devices/platform/pxa27x-ohci/usb1/1-2/1-2:1.0/host1/target1:0:0/1:0:0:0 > (scsi) > KERNEL[1248848454.217206] add /class/scsi_device/1:0:0:0 > (scsi_device) > KERNEL[1248848454.234444] add /class/scsi_disk/1:0:0:0 (scsi_disk) > UDEV [1248848454.294535] add > /devices/platform/pxa27x-ohci/usb1/1-2/1-2:1.0/host1/target1:0:0/1:0:0:0 > (scsi) > sd 1:0:0:0: [sda] 2015232 512-byte hardware sectors: (1.03 GB/984 MiB) > sd 1:0:0:0: [sda] Write Protect is off > sd 1:0:0:0: [sda] Assuming drive cache: write through > KERNEL[1248848454.485913] change > /devices/platform/pxa27x-ohci/usb1/1-2/1-2:1.0/host1/target1:0:0/1:0:0:0 > (scsi) > UDEV [1248848454.508901] add /class/scsi_device/1:0:0:0 (ssd > 1:0:0:0: [sda] Assuming drive cache: write through > csi_device) > sda1 > KERNEL[1248848454.529590] add /block/sda/sda1 (block) > UDEV [1248848454.577772] add /class/scsi_disk/1:0:0:0 (scsi_disk) > KERNEL[1248848454.579938] add /block/sda (block) > KERNEL[1248848454.586855] add /block/sda/sda1 (block) > UDEV [1248848454.597800] change > /devices/platform/pxa27x-ohci/usb1/1-2/1-2:1.0/host1/target1:0:0/1:0:0:0 > (scsi) > KERNEL[1248848454.606973] add /class/bdi/8:0 (bdi) > sd 1:0:0:0: [sda] Attached SCSI removable disk > UDEV [1248848454.671631] add /class/bdi/8:0 (bdi) > UDEV [1248848454.714831] add /block/sda/sda1 (block) > ----------------------------------------------------------------------------------------------------------------------- > > This proves that udev is working. > > My board has 5 serial ports. I have deleted all entries of ttyS* from > the /dev directory. > Also i have the 50-default rules file in /etc/udev and /lib/udev. > > But still when i reboot, no /dev/ttyS devices are creates. Why is that? > > Any help will be appreciated. > > Thanks in advance, > > Saurabh You don't say what you're using for a udev initscript. Maybe you forgot to run "udevadm trigger" after starting udevd? It's asynchronous, so usually you also want a "udevadm settle" afterwards. Alan -- To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html