ts-7000
[Top] [All Lists]

Re: hi ... Re: [ts-7000] USB

To: kate aniston <>,
Subject: Re: hi ... Re: [ts-7000] USB
From: Christopher Friedt <>
Date: Wed, 12 Apr 2006 11:38:50 +0000
Hi Kate,

To insert modules into the running kernel, typically, you would need to
run 'insmod <modulename>' from the command line. These modules offer
various hardware, bus, protocol, or api handlers into the kernel.

For your USB drive, these devices are represented as generic scsi disks
from the kernel's point of view. Furthermore, one module may depend on
several others as well. So pay attention to the ordering below.

Redhat is a decent distribution for beginners and enterprises to just
have something that works and is commercially supported. You may want to
try another distribution such as ubunto, gentoo, or debian. I highly
recommend gentoo for a desktop distro just because they have great
documentation that can take you through every stage of bootstrapping a
linux system. When I started out with linux a donkey's age ago, I
started off with mandrake, then moved to slackware, redhat, then to
debian, and finally I've been a gentoo'er since ;-) Gentoo's package
management system - portage (technically stolen from BSD's 'ports') -
has gotten around many of the annoyances I found with rpm's.

After booting up, insert the usbcore module 'insmod usbcore'. Then,
mount the usbfs by 'mount -t usbdevfs none /proc/bus/usb'. You'll be
able to see a list of anything you plug into the usb port at that point
by looking at 'cat /proc/bus/usb/devices'.

But you still need the subsystems like pcipool, usb-ohci,
usb-ohci-ep93xx, scsi_mod, sd_mod. Just do an 'insmod <modulename>' for
each of those in that order.

for i in pcipool usb-ohci usb-ohci-ep93xx scsi_mod sd_mod usb-storage; do
insmod $i;
done

THEN ... (sorry, i just noticed this myself) ... typically, you would
find your usb disk device at /dev/sda[1234] etc... _but_ that rule for
the device filesystem is apparently not present for our ts-72xx arm
boards. The correct location of the device on the ts-72xx board is:

/dev/scsi/host0/bus0/target0/lun0/part1

so say 'i=/dev/scsi/host0/bus0/target0/lun0/part1' and then 'mount $i
/mnt/cf' and afterward you'll be able to find all of your files under
/mnt/cf.


I hope that helps ;-)

~/Chris



kate aniston wrote:
> Thank you very Christopher,
>
>   I am quite new in linux and seems like ARM-linux is not same as redhat.
>
>   I know how to mount drive but I am still confused with
>
>   >> You will need to ensure that sd_mod, scsi_mod, usbcore, usb-ohci, and 
> usb-ohci-ep93xx are all loaded in using insmod.
>
>   How can I ensure that it is loaded in insmod ? wat is insmod ?  path?
>   When flash drive its connected in USB ..where (path) I can browse it ?
>
>   Hope you will help me out..soon
>
>   kate
>
>
> "kate.aniston" <> wrote:  how can i access flash 
> drive in debian linux (installed in ts-7260)?
>
>
>
>
>
>
> ---------------------------------
>   YAHOO! GROUPS LINKS
>
>
>     Visit your group "ts-7000" on the web.
>
>     To unsubscribe from this group, send an email to:
>  
>
>     Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
>
>
> ---------------------------------
>
>
>
>
>               
> ---------------------------------
> Yahoo! 360&deg; NEW – Your one place to blog, create, publish & share!



Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/




<Prev in Thread] Current Thread [Next in Thread>
  • Re: hi ... Re: [ts-7000] USB, Christopher Friedt <=
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU