linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Saurabh Kadekodi <saurabh@springcomputing.in>
To: linux-hotplug@vger.kernel.org
Subject: trouble in installing udev on arm
Date: Wed, 29 Jul 2009 06:42:14 +0000	[thread overview]
Message-ID: <1248868903.9330.3.camel@saurabh> (raw)

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



             reply	other threads:[~2009-07-29  6:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-29  6:42 Saurabh Kadekodi [this message]
2009-07-29 10:18 ` trouble in installing udev on arm Alan Jenkins

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1248868903.9330.3.camel@saurabh \
    --to=saurabh@springcomputing.in \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).