Altera_Forum
Honored Contributor
20 years agoUSbHost have some problem!
Hi,everybody
I used uClinux-dist-2006-08-03 dist and DE2 board. I following "Wiki home's UsbHost" steps and enabled "fdisk" and "mount" on busybox. desplay following message: uClinux/Nios II Altera Nios II support © 2004 Microtronix Datacom Ltd. Built 1 zonelists Kernel command line: PID hash table entries: 64 (order: 6, 256 bytes) Dentry cache hash table entries: 1024 (order: 0, 4096 bytes) Inode-cache hash table entries: 1024 (order: 0, 4096 bytes) Memory available: 5760k/8192k RAM, 0k/0k ROM (1524k kernel code, 817k data) Mount-cache hash table entries: 512 NET: Registered protocol family 16 SCSI subsystem initialized usbcore: registered new driver usbfs usbcore: registered new driver hub NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 1024 (order: 0, 4096 bytes) TCP bind hash table entries: 1024 (order: 0, 4096 bytes) TCP: Hash tables configured (established 1024 bind 1024) TCP reno registered io scheduler noop registered io scheduler deadline registered (default) Serial: JTAG UART driver $Revision: 1.1 $ ttyJ0 at MMIO 0x81004000 (irq = 1) is a jtag_uart usbmon: debugfs is not available driver isp1362-hcd, 2005-04-04 isp1362-hcd isp1362-hcd: ISP1362 Host Controller isp1362-hcd isp1362-hcd: new USB bus registered, assigned bus number 1 isp1362_hc_reset: Clock not ready after 20ms isp1362-hcd isp1362-hcd: irq 4, io mem 0x80900080 isp1362_hc_start: isp1362-hcd isp1362-hcd: ISP1362 Memory usage: isp1362-hcd isp1362-hcd: ISTL: 2 * 256: 512 @ $0000:$0100 isp1362-hcd isp1362-hcd: INTL: 16 * ( 64+8): 1152 @ $0200 isp1362-hcd isp1362-hcd: ATL : 32 * ( 64+8): 2304 @ $0680 isp1362-hcd isp1362-hcd: USED/FREE: 3968 128 usb usb1: Product: ISP1362 Host Controller usb usb1: Manufacturer: uClinux 2.6.17-uc1 isp1362-hcd usb usb1: SerialNumber: isp1362-hcd usb usb1: configuration# 1 chosen from 1 choice hub 1-0:1.0: USB hub found hub 1-0:1.0: 2 ports detected ISP1362 Host Controller, irq 4 Initializing USB Mass Storage driver... usbcore: registered new driver usb-storage USB Mass Storage support registered. TCP bic registered NET: Registered protocol family 1 NET: Registered protocol family 17 Freeing unused kernel memory: 592k freed (0x1a8000 - 0x23b000) Shell invoked to run file: /etc/rc Command: hostname uClinux Command: mount -t proc proc /proc Command: mount -t sysfs sysfs /sys Command: mount -t usbfs none /proc/bus/usb Command: mkdir /var/tmpusb 1-2: new full speed USB device using isp1362-hcd and address 2 Command: mkdir /var/log Command: mkdir /var/run Command: mkdir /var/lock Command: mkdir /var/empty Command: ifconfig lo 127.0.0.1 Command: route add -net 127.0.0.0 netmask 255.0.0.0 lo Command: cat /etc/motd Welcome to ____ _ _ / __| ||_| _ _| | | | _ ____ _ _ _ _ | | | | | | || | _ \| | | |\ \/ / | |_| | |__| || | | | | |_| |/ | ___\____|_||_|_| |_|\____|\_/\_/ | | |_| For further information check: http://www.uclinux.org/ (http://www.uclinux.org/) Execution Finished, Exiting Sash command shell (version 1.1.1) /> usb 1-2: device not accepting address 2, error -110 usb 1-2: new full speed USB device using isp1362-hcd and address 3 usb 1-2: device descriptor read/64, error -71 usb 1-2: device descriptor read/64, error 8 usb 1-2: new full speed USB device using isp1362-hcd and address 4 usb 1-2: device not accepting address 4, error -110 usb 1-2: new full speed USB device using isp1362-hcd and address 5 usb 1-2: Product: TS128MJFLASHA usb 1-2: configuration# 1 chosen from 1 choice scsi0 : SCSI emulation for USB Mass Storage devices Vendor: Model: TS128MJFLASHA Rev: 1.00 Type: Direct-Access ANSI SCSI revision: 02 /> inetd & [22] /> netstat -a Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 *:ftp *:* LISTEN tcp 0 0 *:telnet *:* LISTEN Active UNIX domain sockets (servers and established) Proto RefCnt Flags Type State I-Node Path /> fdisk -l /dev/sda /> mount -t vfat /dev/sda1 /mnt mount: Mounting /dev/sda1 on /mnt failed: No such device or address /> It can not mount USB device. I had been tryed every times. Please, help me. Regards faye