OpenWrt Forum Archive

Topic: Kamikaze - WGT634U USB

The content of this topic has been archived on 20 Jan 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hello Folks,

Any one of you that have a working install/config on how to get the usb to work on this box?

I have compiled a vanilla kamikaze (3337),  and installed teh foloing packages:

ipkg update
ipkg install kmod-usb-core
ipkg install kmod-usb2
ipkg install kmod-usb-storage
ipkg install kmod-fs-vfat (kmod-nls-base was a dep. wich was instaled)

Now when I plug my usb mem stick in the back and do a dmesg I see the device but whe I try to mount it it craps out (I dont have the device neer me to see what is the error I was getting) but here is the command I was using:

mount /dev/scsi/host0/bus0/target0/lun0/part1 /tmp/usb_tmp

Any onw know what i'm missing?

I'm also tring to make my Epson Stylus R320 working on this router, if you have any info it would be apreciated.

I have tried to follow both of the mini how to on the wiki (http://wiki.openwrt.org/PrinterSharingHowto) and (http://wiki.openwrt.org/UsbStorageHowto)

Thanks for the input
Christian

Hi!

It would be very useful if you post the error you get on mounting the usb-storage.
I had the same problem, to mount the usb-storage i manualy added the following packages:
kmod-ndb
kmod-nls-cp437
kmod-nls-iso8859-1

after that mounting with   mount -t vfta /dev/scsi/.../part1   /mnt/storage works fine.

for the printer:
i manualy added:

mkdir -p /dev/usb
mknod /dev/usb/lp0 c 180 0
after that it works !

Dennis

(Last edited by EgonLebt on 12 Mar 2006, 14:51)

ok I installed what you listed (except I installed kmod-nbd, I could not find kmod-ndb) but it's still no go, here is teh error message I get:

from mount -t vfat /dev/scsi/host0/bus0/target1/lun0/part1 /mnt/usb (and I do have "/mnt/usb"):
mount: Mounting /dev/scsi/host0/bus0/target1/lun0/part1 on /mnt/usb failed: No such device

output of logread -f and the connect the usb drive:
Jan  1 00:05:19 (none) user.info kernel: usb 1-1: new high speed USB device using ehci_hcd and address 3
Jan  1 00:05:20 (none) user.info kernel: scsi1 : SCSI emulation for USB Mass Storage devices
Jan  1 00:05:20 (none) user.debug kernel: usb-storage: device found at 3
Jan  1 00:05:20 (none) user.debug kernel: usb-storage: waiting for device to settle before scanning
Jan  1 00:05:25 (none) user.notice kernel:   Vendor: SanDisk   Model: Cruzer Mini       Rev: 0.2
Jan  1 00:05:25 (none) user.notice kernel:   Type:   Direct-Access                      ANSI SCSI revision: 02
Jan  1 00:05:25 (none) user.notice kernel: SCSI device sda: 1000944 512-byte hdwr sectors (512 MB)
Jan  1 00:05:25 (none) user.notice kernel: sda: Write Protect is off
Jan  1 00:05:25 (none) user.debug kernel: sda: Mode Sense: 03 00 00 00
Jan  1 00:05:25 (none) user.err kernel: sda: assuming drive cache: write through
Jan  1 00:05:25 (none) user.notice kernel: SCSI device sda: 1000944 512-byte hdwr sectors (512 MB)
Jan  1 00:05:25 (none) user.notice kernel: sda: Write Protect is off
Jan  1 00:05:25 (none) user.debug kernel: sda: Mode Sense: 03 00 00 00
Jan  1 00:05:25 (none) user.err kernel: sda: assuming drive cache: write through
Jan  1 00:05:25 (none) user.info kernel:  /dev/scsi/host1/bus0/target0/lun0: p1
Jan  1 00:05:25 (none) user.notice kernel: sd 1:0:0:0: Attached scsi removable disk sda
Jan  1 00:05:25 (none) user.debug kernel: usb-storage: device scan complete

output of lsmod:
ehci_hcd 25744 0 - Live 0xc0148000
usb_storage 27440 0 - Live 0xc0140000
sd_mod 12176 0 - Live 0xc011a000
scsi_mod 71008 2 usb_storage,sd_mod, Live 0xc0107000
usbcore 103584 3 ehci_hcd,usb_storage, Live 0xc0160000
nls_iso8859_1 2816 0 - Live 0xc0070000
nls_cp437 4352 0 - Live 0xc007c000
nls_base 4576 2 nls_iso8859_1,nls_cp437, Live 0xc00a0000
nbd 15600 0 - Live 0xc0083000
wlan_scan_sta 9568 0 - Live 0xc007f000
wlan_scan_ap 3072 0 - Live 0xc006c000
wlan_xauth 416 0 - Live 0xc006e000
wlan_wep 4576 0 - Live 0xc0076000
wlan_tkip 10752 0 - Live 0xc0072000
wlan_ccmp 6112 0 - Live 0xc0067000
wlan_acl 2880 0 - Live 0xc006a000
ath_pci 85744 0 - Live 0xc008a000
ath_rate_sample 8512 1 ath_pci, Live 0xc005e000
ath_hal 207072 3 ath_pci,ath_rate_sample, Live 0xc00d3000
wlan 161920 10 wlan_scan_sta,wlan_scan_ap,wlan_xauth,wlan_wep,wlan_tkip,wlan_ccmp,wlan_acl,ath_pci,ath_rate_sample, Live 0xc00aa000
switch_robo 3920 0 - Live 0xc0065000
switch_core 5056 1 switch_robo, Live 0xc0062000


Any hint? Also where can I find "mknod", I dont have that...

Thanks
Christian

(Last edited by boboXx on 13 Mar 2006, 00:40)

HI!

You have to add kmod-nbd in the kamikaze-buildroot:

Kernel Configuration -> Block Device Support-> kmod-nbd

and mknod in:

OpenWRT Package Selection -> Base System -> busybox -> BusyBox Configuration -> Coreutils -> mknod

I hope it works now!

Dennis

Ok, I already had Kmod-nbd selected as a modual, so I included it in my kermnel (*), what would of been the difference between a both ways?

Thanks
Christian

Hi!

I havn't seen that the module is already loaded, it should be OK, but I dont't know much more about this.
Hope you get more help elsewhere.

Did the printer already work?

Dennis

EgonLebt wrote:

Hi!

I havn't seen that the module is already loaded, it should be OK, but I dont't know much more about this.
Hope you get more help elsewhere.

Did the printer already work?

Dennis

well everything is working (printer and drive), dont know what I changed yet I will have to compare my 2 buid config files...

boboXx:  Do you have stable usb connection now using ehci (USB2.0) module? Specially usb-storage.

We have problems with Asus GD and USB2.0 still unsolved. I thinking to change Asus aganst Netgear. Unfortunately it costs two times more for me (counting that usb hub is needed).

tnx

sry my poor english

I'm having some problem generating a image, and I havent had a chance to really look at it... from what I can see the wgt634u will never be fully supported (if so it dosent look like it). I'm thinking of grabing a  WRTSL54GS wich is aleready supported and has a USB :c) I know it dosent really answer your question that's all I have to say.

Christian

The discussion might have continued from here.