PDA

Bekijk de volledige versie : wl-hdd, oleg, USB-stick



gdraanen
26-01-2007, 09:49
Hi,

I have the wl-hdd running with Oleg's 1.9.2.7-7f, complete with support for my internal (ide) drive, ssh, ftp, samba, and even the usb-webcam
so.... all seems fine
BUT

I seem to be missing a usb driver for a simple memory-stick or fat(32) file system. (evidence: /proc/bus/usb/devices reporting these devices nicely, but with 'Driver= (none)' )
Also, the USB-stick is not 'mounted' anywhere (df does not show it)

Is it a setting
Is it an installation problem
Is USB only supported (automounted) with an Ext3 filesystem

There seems to be nothing specific on this subject on any of the forums..... and it might work differently on the wl500g ?

Gerard

Antiloop
28-01-2007, 00:47
heb je de usbstick aangesloten zitten tijdens opstarten van de wlhdd?

gdraanen
16-02-2007, 10:30
De herkenning van usb is inmiddels opgelost.
- in /tmp/local/sbin/post-boot moeten een paar 'modules' worden geinstalleerd die niet automatisch meekomen:

insmod scsi_mod
insmod sd_mod
insmod usb-storage

Dan worden de usb devices herkend.

Bij de mount moet alleen nog het -t vfat argument worden doorgegeven (anders komen ze als msdos filesystem ... met die afgekortte file namen )

Ik heb een klein scriptje gemaakt voor de (re)mount

#!/bin/sh
echo "======= Available devices (discs) on USB (scsi)==== "
ls -al /dev/discs
echo "======= Current mount info: ======================="
mount
echo "======= Discs with a 'part1' can be mounted ======="
avpart=`find /dev/scsi -name "part?"`;
mounts=0
for foundpart in $avpart; do
echo "==== Found: $foundpart ";
let mounts=mounts+1
echo "==== Mount in /opt/mounted/$mounts"
mount -t vfat $foundpart /opt/mounted/$mounts -o users,umask=0002,dmask=0002,f
mask=0002,uid=1005,gid=0,othmask=0,mode=0773
done
echo "======= Number of (usb) mounts should be $mounts"
echo "======= New mount info: ========================="
mount
ls -al /opt/mounted


==
Het scriptje is weliswaar specifiek voor mijn situatie, maar is met een beetje aanpassing generiek te maken.
En .... je hebt nog een ipkg install findutils nodig (en misschien nog een paar andere dependencies .... maar die ben ik inmiddels vergeten)

===
Nu aangesloten: (trust) usb1.1 hub, daarin (hama) usb cardreader [CF, SD etc. ... 4 tegelijk], MP3 speler, (Minolta Dimage Z5) Camera , en (logitech sphere) WebCam ..... en alles werkt
(Behalve die bluetooth usb .... maar die is niet echt nodig, want de wl-hdd is immers als wireless access point )
==
Gerard.