[OpenWrt-Users] adding USB (storage) support to my kamikaze build

Robert P. J. Day rpjday at crashcourse.ca
Thu Mar 13 19:01:02 CET 2008


  now that i think i've got that image build process nailed, i want to
move on to documenting adding various bits of USB support to my ASUS
WL500-GP, and i want to start with USB storage -- simply mounting a
USB drive.

  i'm reading the USB storage HOWTO here:

http://wiki.openwrt.org/UsbStorageHowto

and it shows a dump of some "dmesg" output with all kinds of
USB-related info.  if i run "dmesg" at the moment and look for
USB-related stuff, this is all i get:

# dmesg | grep USB
ssb: Core 3 found: USB 1.1 Hostdev (cc 0x808, rev 0x03, vendor 0x4243)

not knowing any better, i'm just assuming that i don't have full USB
support configured into this build (it *is* my own build, based on the
kamikaze "git" repo defaults); otherwise, i would have expected to see
much more, particularly USB 2.0 support.  i also don't have any
USB-related modules loaded:

# lsmod
Module                  Size  Used by    Not tainted
nf_nat_tftp              480  0
nf_conntrack_tftp       2480  1 nf_nat_tftp
nf_nat_irc               960  0
nf_conntrack_irc        2832  1 nf_nat_irc
nf_nat_ftp              1472  0
nf_conntrack_ftp        5152  1 nf_nat_ftp
ppp_async               9856  0
ppp_generic            20192  1 ppp_async
slhc                    5376  1 ppp_generic
crc_ccitt               1024  1 ppp_async
switch_robo             4256  0
switch_core             5056  1 switch_robo
diag                    7056  0

  so i'm assuming i have to do one of two things:

1) start installing some of the "kmod" packages related to USB
storage support and doing some "insmod"s, or

2) build another image with the kernel configured with USB support
built right in.

  the first choice is obviously the simpler one.  i just wanted to
verify that this would be why i can't possibly mount any USB storage
devices -- no support on the system yet.  is that correct?

rday
--

========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
    Have classroom, will lecture.

http://crashcourse.ca                          Waterloo, Ontario, CANADA
========================================================================


More information about the openwrt-users mailing list