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

USB problems



Hi all,

I have problems with the usb interface of the etrax 100 LX. I have received a release of the usb drivers and have attached a Philips web camera. With USB, video4linux and Philips webcam support the camera is found when inserted. My problems occour when I am trying to make some IOCTL calls to the camera through video4linux or when I read from /dev/video0.

The output is shown below.

I would be very grateful for any comments that helps me find the problem.

Best regards,
Peter

Uncompressing Linux...
Done. Now booting the kernel.
Linux version 2.4.19 (root@xxxxxxx.96 20000427 (experimental)) #59 Fri Jan 24 10:23:13 CET 2003
Setting up paging and the MMU.
On node 0 totalpages: 2048
zone(0): 2048 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Linux/CRIS port on ETRAX 100LX (c) 2001, 2002 Axis Communications AB
Kernel command line: root=/dev/mtdblock3
Enabling watchdog...
Calibrating delay loop... 99.73 BogoMIPS
Memory: 14168k/16384k available (810k kernel code, 2216k reserved, 565k data, 32k init)
kmem_create: Forcing size word alignment - mm_struct
kmem_create: Forcing size word alignment - filp
Dentry cache hash table entries: 2048 (order: 1, 16384 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
Initializing RT netlink socket
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
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
Linux video capture interface: v1.00
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb.c: registered new driver audio
audio.c: v1.0.0:USB Audio Class driver
pwc Philips PCA645/646 + PCVC675/680/690 + PCVC730/740/750 webcam module version 8.8 loaded.
pwc Also supports the Askey VC010, various Logitech Quickcams, Samsung MPC-C10 and MPC-C30,
pwc the Creative WebCam 5, SOTEC Afina Eye and Visionite VCS-UC300 and VCS-UM100.
usb.c: registered new driver Philips webcam
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 1.40 $, (c) 2000-2002 Axis Communications AB
ttyS0 at 0xb0000060 is a builtin UART with DMA
ttyS2 at 0xb0000070 is a builtin UART with DMA
ttyS3 at 0xb0000078 is a builtin UART with DMA
cse0: Probing a 0x04000000 bytes large window at 0x80000000.
cse0: Probing for AMD compatible flash...
cse0: Found no AMD compatible device at location zero
 Amd/Fujitsu Extended Query Table v1.1 at 0x0040
number of CFI chips: 1
cse1: Probing a 0x04000000 bytes large window at 0x84000000.
cse1: Probing for AMD compatible flash...
cse1: Found no AMD compatible device at location zero
CFI: Found no cse1 device at location zero
cse0: 0x00400000 bytes of flash memory.
 Found a valid partition table at 0x5001000a-0x50010056.
  /dev/flash1 at 0x00010000, size 0x00300000
  /dev/flash2 at 0x00310000, size 0x000c0000
 Adding readonly flash partition for romfs image:
  /dev/flash3 at 0x0008e8cf, size 0x00182000
Creating 4 MTD partitions on "cse0":
0x00000000-0x00010000 : "part0"
0x00010000-0x00310000 : "part1"
0x00310000-0x003d0000 : "part2"
0x0008e8cf-0x002108cf : "romfs"
usb-host.c: ETRAX 100LX USB-HCD $Revision: 1.13.2.56 $ (c) 2001-2002 Axis Communications AB

usb.c: new USB bus registered, assigned bus number 1
usb-host.c: USB controller in host mode.
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 2048 bind 2048)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (cramfs filesystem) readonly.
Freeing unused kernel memory: 32k freed
usb-host.c: USB controller in host mode.
usb-host.c: USB controller started.
usb-host.c: USB controller in host mode.
usb-host.c: USB controller started.
usb-host.c: USB controller running.
hub.c: USB new device connect on bus1/2, assigned device number 2
init: starting up.
pwc Philips PCVC730K (ToUCam Fun) USB webcam detected.
open: No such device
pwc Registered as /dev/video0.
Mounting proc on /proc
Mounting /dev/flash2 on /mnt/flash
usbaudio: device 2 audiocontrol interface 1 has 1 input and 0 output AudioStreaming interfaces
usbaudio: valid input sample rate 44100
usbaudio: device 2 interface 2 altsetting 1: format 0x00000010 sratelo 44100 sratehi 44100 attributes 0x00
usbaudio: valid input sample rate 22050
usbaudio: device 2 interface 2 altsetting 2: format 0x00000010 sratelo 22050 sratehi 22050 attributes 0x00
usbaudio: valid input sample rate 11025
usbaudio: device 2 interface 2 altsetting 3: format 0x00000010 sratelo 11025 sratehi 11025 attributes 0x00
usbaudio: valid input sample rate 8000
usbaudio: device 2 interface 2 altsetting 4: format 0x00000010 sratelo 8000 sratehi 8000 attributes 0x00
usbaudio: registered dsp 14,3
usbaudio: warning: found 1 of 0 logical channels.
usbaudio: assuming the channel found is the master channel (got a Philips camera?). Should be fine.
usbaudio: registered mixer 14,0

Axis Developer Board LX release 2.1.0

Mounting tmpfs on /var
Initializing /var
Warning: Parameter SERNO not found.
/usr/rc.d/S35network: Cannot determine serial number, using default MAC address.
Setting up eth0 with ip 192.168.0.71 and mac 00:40:8C:CD:00:00
eth0: changed MAC to 00:40:8C:CD:00:00
Setting up lo with ip 127.0.0.1
Default gateway is 192.168.0.1
Hostname is "PS2000-DD"
Domainname is ""
Nameserver is ""
Jan  1 00:00:04 PS2000-DD syslogd 1.3-3: restart.

boa: servername set to 192.168.0.71.
Jan  1 00:00:05 PS2000-DD boa[57]: starting server

Axis Developer Board LX release 2.1.0
Linux 2.4.19 on a cris (console)

PS2000-DD login: Jan  1 00:00:06 PS2000-DD sftpd[55]: sftpd $Revision: 1.105 $ starting up
Jan  1 00:00:10 PS2000-DD login: ROOT LOGIN ON ttyp0 FROM 192.168.0.9


/* OUTPUT WHEN READING FROM CAMERA VIA VIDEO4LINUX */

usb-host.c: Got epid_attn for INVALID_EPID (31).
usb-host.c: Urbs are linked, ignoring.
usb-host.c: Urbs are linked, ignoring.
<4>usb-host.c: Out of synch? Previous frame = 0, current frame = 1878
usb-host.c: Out of synch? Previous frame = 1878, current frame = 1878
usb-host.c: Out of synch? Previous frame = 1878, current frame = 1879
usb-host.c: Got epid attn for isochronous endpoint, epid 0
usb-host.c: Perror for epid 0

urb                 :0x602d6ba0
next                  :0x602d6aa0
dev                   :0x6029c480
pipe                  :0x00028280
status                :0
transfer_flags        :0x00000002
transfer_buffer       :0x60bc8000
transfer_buffer_length:9600
actual_length         :0
setup_packet          :0x00000000
start_frame           :1872
number_of_packets     :10
interval              :0
error_count           :0
context               :0x6029c880
complete              :0x6007b858



Dumping EP list...


USB_EP_Desc at 0x6020c0ec
  command : 0x0000
  hw_len  : 0x000a (10)
  next    : 0x4020c0fc
  sub     : 0x40fc03a0


USB_SB_Desc at 0x60fc03a0
  command : 0x0013
  sw_len  : 0x000a (10)
  next    : 0x00000000
  buf     : 0x00000000


USB_EP_Desc at 0x6020c0fc
  command : 0x0100
  hw_len  : 0x0000 (0)
  next    : 0x4020c10c
  sub     : 0x00000000


USB_EP_Desc at 0x6020c10c
  command : 0x0200
  hw_len  : 0x0000 (0)
  next    : 0x4020c11c
  sub     : 0x00000000


USB_EP_Desc at 0x6020c11c
  command : 0x0300
  hw_len  : 0x0000 (0)
  next    : 0x4020c12c
  sub     : 0x00000000


USB_EP_Desc at 0x6020c12c
  command : 0x0400
  hw_len  : 0x0000 (0)
  next    : 0x4020c13c
  sub     : 0x00000000


USB_EP_Desc at 0x6020c13c
  command : 0x0500
  hw_len  : 0x0000 (0)
  next    : 0x4020c14c
  sub     : 0x00000000


USB_EP_Desc at 0x6020c14c
  command : 0x0600
  hw_len  : 0x0000 (0)
  next    : 0x4020c15c
  sub     : 0x00000000


USB_EP_Desc at 0x6020c15c
  command : 0x0700
  hw_len  : 0x0000 (0)
  next    : 0x4020c16c
  sub     : 0x00000000


USB_EP_Desc at 0x6020c16c
  command : 0x0800
  hw_len  : 0x0000 (0)
  next    : 0x4020c17c
  sub     : 0x00000000


USB_EP_Desc at 0x6020c17c
  command : 0x0900
  hw_len  : 0x0000 (0)
  next    : 0x4020c18c
  sub     : 0x00000000


USB_EP_Desc at 0x6020c18c
  command : 0x0a00
  hw_len  : 0x0000 (0)
  next    : 0x4020c19c
  sub     : 0x00000000


USB_EP_Desc at 0x6020c19c
  command : 0x0b00
  hw_len  : 0x0000 (0)
  next    : 0x4020c1ac
  sub     : 0x00000000


USB_EP_Desc at 0x6020c1ac
  command : 0x0c00
  hw_len  : 0x0000 (0)
  next    : 0x4020c1bc
  sub     : 0x00000000


USB_EP_Desc at 0x6020c1bc
  command : 0x0d00
  hw_len  : 0x0000 (0)
  next    : 0x4020c1cc
  sub     : 0x00000000


USB_EP_Desc at 0x6020c1cc
  command : 0x0e00
  hw_len  : 0x0000 (0)
  next    : 0x4020c1dc
  sub     : 0x00000000


USB_EP_Desc at 0x6020c1dc
  command : 0x0f00
  hw_len  : 0x0000 (0)
  next    : 0x4020c1ec
  sub     : 0x00000000


USB_EP_Desc at 0x6020c1ec
  command : 0x1000
  hw_len  : 0x0000 (0)
  next    : 0x4020c1fc
  sub     : 0x00000000


USB_EP_Desc at 0x6020c1fc
  command : 0x1100
  hw_len  : 0x0000 (0)
  next    : 0x4020c20c
  sub     : 0x00000000


USB_EP_Desc at 0x6020c20c
  command : 0x1200
  hw_len  : 0x0000 (0)
  next    : 0x4020c21c
  sub     : 0x00000000


USB_EP_Desc at 0x6020c21c
  command : 0x1300
  hw_len  : 0x0000 (0)
  next    : 0x4020c22c
  sub     : 0x00000000


USB_EP_Desc at 0x6020c22c
  command : 0x1400
  hw_len  : 0x0000 (0)
  next    : 0x4020c23c
  sub     : 0x00000000


USB_EP_Desc at 0x6020c23c
  command : 0x1500
  hw_len  : 0x0000 (0)
  next    : 0x4020c24c
  sub     : 0x00000000


USB_EP_Desc at 0x6020c24c
  command : 0x1600
  hw_len  : 0x0000 (0)
  next    : 0x4020c25c
  sub     : 0x00000000


USB_EP_Desc at 0x6020c25c
  command : 0x1700
  hw_len  : 0x0000 (0)
  next    : 0x4020c26c
  sub     : 0x00000000


USB_EP_Desc at 0x6020c26c
  command : 0x1800
  hw_len  : 0x0000 (0)
  next    : 0x4020c27c
  sub     : 0x00000000


USB_EP_Desc at 0x6020c27c
  command : 0x1900
  hw_len  : 0x0000 (0)
  next    : 0x4020c28c
  sub     : 0x00000000


USB_EP_Desc at 0x6020c28c
  command : 0x1a00
  hw_len  : 0x0000 (0)
  next    : 0x4020c29c
  sub     : 0x00000000


USB_EP_Desc at 0x6020c29c
  command : 0x1b00
  hw_len  : 0x0000 (0)
  next    : 0x4020c2ac
  sub     : 0x00000000


USB_EP_Desc at 0x6020c2ac
  command : 0x1c00
  hw_len  : 0x0000 (0)
  next    : 0x4020c2bc
  sub     : 0x00000000


USB_EP_Desc at 0x6020c2bc
  command : 0x1d00
  hw_len  : 0x0000 (0)
  next    : 0x4020c2cc
  sub     : 0x00000000


USB_EP_Desc at 0x6020c2cc
  command : 0x1e00
  hw_len  : 0x0000 (0)
  next    : 0x4020c2dc
  sub     : 0x00000000


USB_EP_Desc at 0x6020c2dc
  command : 0x1f03
  hw_len  : 0x0001 (1)
  next    : 0x4020c0ec
  sub     : 0x4020c2ec


USB_SB_Desc at 0x6020c2ec
  command : 0x0043
  sw_len  : 0x0001 (1)
  next    : 0x00000000
  buf     : 0x4020cb0c

Kernel panic: Something wrong with DMA descriptor contents. Too much traffic inserted?
In interrupt handler - not syncing
 


Peter Fredriksson M.Sc.CE       
Free2move AB            Office +46 (0)35 18 21 90
Pilefeltsgatan 77       Fax +46 (0)35 18 21 99
S-302 50 Halmstad       www.free2move.se