[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fwd: usb-host.c - usb.c problem



ogueta@xxxxxxx.com wrote:

> Hi all,
>
> Does anybody know what is the correct document in order to check what type of traffic is supported by Etrax LX-100?
>
> The following link says clearly that etrax in USB Host mode supports the four type of traffic (CTRL, INTR, ISO and BULK)
> http://developer.axis.com/doc/hardware/etrax100lx/des_ref/ET100LX_08_USB_010516.pdf
>
> On the other hand, this other link (http://developer.axis.com/doc/hardware/devboard_lx/USB_Devboard_LX.pdf) says that etrax supports only CTRL and BULK.
>
> One last question, (and I apologize because of my ignorance), are USB drivers included in etrax's linux distribution  capable to handle all types of traffic?
>
> Any help is very welcome.
>
> Oscar.
>
> > Hello everybody :)
> >
> > I have my devboard (LX100) with a PDIUSBP11A connected as suggested at axis' web site.
> > video4linux (videodev) driver is also compiled plus a USB webcam's driver (spca50x driver) driver into the kernel.
> > I also added LCD driver to the first parallel port.
> > Everything looks fine until the cammera is connected to the USB plug: Etrax devboard freezes completely after throwing the following messages from usb.c:
> >
> > hub.c: USB new device connect on bus1/2, assigned device number 2
> > usb-host.c: Undefined error for epid 1
> > usb.c: USB device not accepting new address=2 (error=-71)
> > uub.c: USB new device connect on bus1/2, assigned device number 3
> > usb-host.c: Undefined error for epid 1
> > usb.c: USB device not  accepting new address=3 (error=-71)
> >
> > Complete boot log is at the bottom of this mail.
> >
> > Any ideas?
> >
> > Thanks a bunch.
> > Regards
> >
> > Oscar H Gueta
> > Guadalajara, Mexico.
> >
> > ==========================================================
> > [root@etrax /]72# dmesg
> > Linux version 2.4.14 (root@xxxxxxx.96 20000427 (exper
> > imental)) #7 Mon May 6 20:56:13 CDT 2002
> > Setting up paging and the MMU.
> > On node 0 totalpages: 1024
> > zone(0): 1024 pages.
> > zone(1): 0 pages.
> > zone(2): 0 pages.
> > Linux/CRIS port on ETRAX 100LX (c) 2001 Axis Communications AB
> > Kernel command line: root=/dev/mtdblock3
> > ds1302: RTC found.
> > ds1302: SDA, SCL, RST on PB0, PB1, PB2
> > rtc_time        : 00:00:80
> > rtc_date        : 2000-01-01
> > rtc: sec 0x80 min 0x0 hour 0x0 day 0x1 mon 0x1 year 0x0
> > Enabling watchdog...
> > Calibrating delay loop... 99.53 BogoMIPS
> > Memory: 6832k/8192k available (720k kernel code, 1360k reserved, 286k data, 32k
> > init)
> > kmem_create: Forcing size word alignment - mm_struct
> > kmem_create: Forcing size word alignment - filp
> > Dentry-cache hash table entries: 1024 (order: 0, 8192 bytes)
> > Inode-cache hash table entries: 1024 (order: 0, 8192 bytes)
> > kmem_create: Forcing size word alignment - inode_cache
> > Mount-cache hash table entries: 1024 (order: 0, 8192 bytes)
> > kmem_create: Forcing size word alignment - bdev_cache
> > kmem_create: Forcing size word alignment - cdev_cache
> > Buffer-cache hash table entries: 2048 (order: 0, 8192 bytes)
> > Page-cache hash table entries: 2048 (order: 0, 8192 bytes)
> > POSIX conformance testing by UNIFIX
> > Linux NET4.0 for Linux 2.4
> > Based upon Swansea University Computer Society NET3.039
> > kmem_create: Forcing size word alignment - sock
> > Starting kswapd
> > kmem_create: Forcing size word alignment - file lock cache
> > JFFS version 1.0, (C) 1999, 2000  Axis Communications AB
> > kmem_create: Forcing size word alignment - jffs_node
> > kmem_create: Forcing size word alignment - blkdev_requests
> > block: 64 slots per queue, batch=16
> > RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
> > Linux video capture interface: v1.00
> > usb.c: registered new driver hub
> > usb.c: registered new driver spca50x
> > spca50x.c: spca50x driver version 0.10 registered
> > ETRAX 100LX parallel LCD HD44780 driver v0.2 (c) 2000-2001 Axis Communications A
> > B
> > ETRAX 100LX 10/100MBit ethernet v2.0 (c) 2000-2001 Axis Communications AB
> > eth0 initialized
> > eth0: changed MAC to 00:40:8C:CD:00:00
> > ETRAX 100LX serial-driver $Revision: 1.27 $, (c) 2000 Axis Communications AB
> > ttyS0 at 0xb0000060 is a builtin UART with DMA
> > ttyS2 at 0xb0000070 is a builtin UART with DMA
> > Axis flash mapping: 8000000 at 50000000
> > Axis flash: Found an alias at 0x200000 for the chip at 0x0
> > .
> > .
> > .
> > Axis flash: Found an alias at 0x3e00000 for the chip at 0x0
> >  Amd/Fujitsu Extended Query Table v1.0 at 0x0040
> > Axis flash: JEDEC Device ID is 0xC4. Assuming broken CFI table.
> > Axis flash: Swapping erase regions for broken CFI table.
> > number of CFI chips: 1
> >  Found valid partition table at 0x5001000A-0x50010056.
> >   /dev/flash1 at 0x10000, size 0x1a0000
> >   /dev/flash2 at 0x1b0000, size 0x50000
> >  Adding readonly partition for romfs image:
> >   /dev/flash3 at 0x83ee0, size 0xf2000
> > Creating 4 MTD partitions on "Axis flash":
> > 0x00000000-0x00200000 : "part0"
> > 0x00010000-0x001b0000 : "part1"
> > 0x001b0000-0x00200000 : "part2"
> > 0x00083ee0-0x00175ee0 : "romfs"
> > I2C driver v2.2, (c) 1999-2001 Axis Communications AB
> > EEPROM char device v0.3, (c) 2000 Axis Communications AB
> > eeprom: Assuming i2c compatible 2kB eeprom.
> > ETRAX 100LX GPIO driver v2.2, (c) 2001 Axis Communications AB
> > usb-host.c: ETRAX 100LX USB-HCD $Revision: 1.13 $ (c) 2001 Axis Communications AB
> >
> > usb.c: new USB bus registered, assigned bus number 1
> > hub.c: USB hub found
> > hub.c: 2 ports detected
> > NET4: Linux TCP/IP 1.0 for NET4.0
> > IP Protocols: ICMP, UDP, TCP
> > kmem_create: Forcing size word alignment - ip_dst_cache
> > IP: routing cache hash table of 1024 buckets, 8Kbytes
> > TCP: Hash tables configured (established 1024 bind 1024)
> > NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
> > VFS: Mounted root (cramfs filesystem) readonly.
> > VFS: Mounted root (cramfs filesystem) readonly.
> >
> >
> > ....................................
> > Get your own free email account from
> > http://www.popmail.com
> >
> >
> >
>
> ....................................
> Get your own free email account from

>
> http://www.popmail.com

Dear Ogueta
                          On going through the mailing list correspondence I find
that you have had exactly the problems that I am facing at the moment.
I am trying to connect a camera  ST microelectroncs ST0676 to the
Etrax lx100 board thr' the USB port. I need to install cpia2 driver
and some application like mview(gqcam). Could you please tell me how I should go about. If there are any relevant documents to read please
indicate. I have seen all the documentation that is on the developer.axis.com  but it is not explanatory.
                           Thanks
Babulnat