Page 1 of 1

Getting a USB 1.0/2.0 Flash Drive to Work

Posted: Fri Dec 05, 2014 3:47 am
by harrisonhjones
Hey Everyone,

I'm trying to get my USB 1.0/2.0 flash drive to work with the VoCore. I have read the OpenWRT articles the subject and I think my issue is that some of the dependencies for such USB support require a newer kernel. Would someone please explain how I would go about getting my flash drive to work? I will happily do additional research but I've run out ideas to look into. I need a guide to help me up this mountain!


Thanks,
Harrison

Re: Getting a USB 1.0/2.0 Flash Drive to Work

Posted: Sat Dec 06, 2014 11:26 am
by noblepepper
I followed http://wiki.openwrt.org/doc/howto/usb.essentials and http://wiki.openwrt.org/doc/howto/usb.storage and it works great. I have extroot running off my SanDisk Cruzer at this point:

Code: Select all
root@VoCore:/# df -h
Filesystem                Size      Used Available Use% Mounted on
rootfs                  830.5M      7.9M    780.4M   1% /
/dev/root                 2.0M      2.0M         0 100% /rom
tmpfs                    14.3M    568.0K     13.8M   4% /tmp
/dev/sda2               830.5M      7.9M    780.4M   1% /overlay
overlayfs:/overlay      830.5M      7.9M    780.4M   1% /
tmpfs                   512.0K         0    512.0K   0% /dev
/dev/sda1               126.0M       512    126.0M   0% /mnt/sda1


Here is the majority of the packages I have installed, I may of missed a few but following the links above should make it obvious:

Code: Select all
root@VoCore:/# opkg list-installed |grep usb
kmod-ledtrig-usbdev - 3.14.25-1
kmod-usb-core - 3.14.25-1
kmod-usb-dwc2 - 3.14.25-1
kmod-usb-ohci - 3.14.25-1
kmod-usb-storage - 3.14.25-1
kmod-usb-storage-extras - 3.14.25-1
kmod-usb-uhci - 3.14.25-1
kmod-usb2 - 3.14.25-1
libusb-1.0 - 1.0.9-1
usbutils - 007-1
root@VoCore:/# opkg list-installed |grep kmod-fs
kmod-fs-ext4 - 3.14.25-1
kmod-fs-vfat - 3.14.25-1
root@VoCore:/# opkg list-installed |grep nls
kmod-nls-base - 3.14.25-1
kmod-nls-cp437 - 3.14.25-1
kmod-nls-iso8859-1 - 3.14.25-1
root@VoCore:/#


I also enabled the mkfs options for busybox in my image so I can format partitions too.

Re: Getting a USB 1.0/2.0 Flash Drive to Work

Posted: Fri Dec 12, 2014 12:56 pm
by Vonger
Thank you for this :) I will record this and try it myself.

Re: Getting a USB 1.0/2.0 Flash Drive to Work

Posted: Sat Dec 13, 2014 9:48 pm
by xtile
hello!

harrisonhjones, did you succeed?

i've try all the instructions from the links above, but got nothing.

during installation there were errors about kernel version incompatibility, i've managed them with -force-depends, so all packages have been installed, but usb flash still doesn't work ( not present in the output of df -h )

Re: Getting a USB 1.0/2.0 Flash Drive to Work

Posted: Sun Dec 14, 2014 12:18 pm
by Vonger
Hi, I did not try it yet, but I think you might need to recompile the hole openwrt, so there won't show the incompatible warning.