All of lore.kernel.org
 help / color / mirror / Atom feed
From: radha k <radha_kodirekka@yahoo.com>
To: Linux-omap-open-source@linux.omap.com
Subject: regarding USB
Date: Thu, 20 Sep 2007 23:42:59 -0700 (PDT)	[thread overview]
Message-ID: <910697.71510.qm@web60919.mail.yahoo.com> (raw)

Hi

I configured the OSK5912 for supporting USB FLASH
according to the follwing procedure

USb Flash has been detected.
But when i am trying to mount USB(step 3) it is
showing this error

mount: Mounting /dev/sda1 on /mnt/usb failed: No such
device or address

Kindly help me in this regard

Using USB Flash memory with the OSK5912

   1. Compile the kernel with following options
enabled.

Device Drivers --->
USB support --->
 <*> Support for host-side USB 		( CONFIG_USB )
 <*> OHCI HCD support			( CONFIG_USB_OHCI_HCD )
 <*> USB Mass Storage Support		( CONFIG_USB_STORAGE )

SCSI device support --->			( CONFIG_SCSI )
 <*> SCSI disk support			( CONFIG_BLK_DEV_SD )

      At least one file system must be enabled. The
below describes vfat file system as an example
(compatible with Windows).

"File systems" --->
"DOS/FAT/NT Filesystems" --->		( CONFIG_FAT_FS)
 <*> MSDOS fs support			( CONFIG_MSDOS_FS )
 <*> VFAT ( Windows-95 fs support)		( CONFIG_VFAT_FS )

"File systems" --->
"Partition Types"  --->
 [*] Advanced partition selection		(
CONFIG_PARTITION_ADVANCED )
 [*] PC BIOS (MSDOS partition table)		(
CONFIG_MSDOS_PARTITION )

"File systems" --->
"Native Language Support" --->		( CONFIG_NLS )
 <*> Code Page 437 (United States...)	(
CONFIG_NLS_CODEPAGE_437 )
 <*> NLS ISO8859 (Latan 1...)		( CONFIG_NLS_ISO8859_1
)

   2. Register the usb

      Add the following line in OSK's '/etc/fstab'
file.

/dev/sda1    /mnt/usb    vfat    defaults    0 0

   3. Mount the file system

# mkdir /mnt/usb
# mknod /dev/sda1 b 8 1
# mount /dev/sda1 /mnt/usb -t vfat

   4. Access the USB Flash.

      Now, you can access the USB Flash contents under
/mnt/usb directory.

# ls /mnt/usb

   5. Remove the USB Flash

      Ensure umount before removing the device.

# umount /mnt/usb


      ____________________________________________________________________________________
Don't let your dream ride pass you by. Make it a reality with Yahoo! Autos.
http://autos.yahoo.com/index.html
 

             reply	other threads:[~2007-09-21  6:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-21  6:42 radha k [this message]
2007-09-21  9:38 ` regarding USB Pandita, Vikram
2007-09-21 10:03   ` radha k
     [not found] <5DF83221BE20114E9C331F665ACBC080039ABD36@dbde01.ent.ti.com>
2007-09-22  5:06 ` radha k
2007-09-22  6:08   ` Pandita, Vikram
2007-09-24  4:50   ` Nazim Khan

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=910697.71510.qm@web60919.mail.yahoo.com \
    --to=radha_kodirekka@yahoo.com \
    --cc=Linux-omap-open-source@linux.omap.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.