Getting a USB 1.0/2.0 Flash Drive to Work

harrisonhjones
 
Posts: 5
Joined: Tue Dec 02, 2014 9:50 pm

Getting a USB 1.0/2.0 Flash Drive to Work

Fri Dec 05, 2014 3:47 am

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

noblepepper
 
Posts: 240
Joined: Sat Nov 29, 2014 3:22 pm

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

Sat Dec 06, 2014 11:26 am

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.

Vonger
 
Posts: 896
Joined: Sun Oct 19, 2014 6:00 am

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

Fri Dec 12, 2014 12:56 pm

Thank you for this :) I will record this and try it myself.

xtile
 
Posts: 1
Joined: Sat Dec 13, 2014 9:15 pm

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

Sat Dec 13, 2014 9:48 pm

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 )

Vonger
 
Posts: 896
Joined: Sun Oct 19, 2014 6:00 am

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

Sun Dec 14, 2014 12:18 pm

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.

Return to VoCore & VoCore+Dock

Who is online

Users browsing this forum: No registered users and 32 guests