2008-08-21 05:14:53     isp1761 + usb pc camera,init isoc: usb_submit_urb(1) ret -12

Document created by Aaronwu Employee on Aug 7, 2013
Version 1Show Document
  • View in full screen mode

2008-08-21 05:14:53     isp1761 + usb pc camera,init isoc: usb_submit_urb(1) ret -12

miaolf miao (CHINA)

Message: 60815   

 

Hi! ALL:

 

my board is  bf549+isp1761,usb pc camera is z-star.driver see attach file.

 

 

 

U-Boot 1.1.6-svn (ADI-2007R2-pre) (Jul 12 2008 - 14:10:00)

 

CPU:   ADSP bf548-0.0 (Detected Rev: 0.1)

Board: ADI BF548 EZ-Kit board

       Support: http://blackfin.uclinux.org/

Clock: VCO: 400 MHz, Core: 400 MHz, System: 133 MHz

SDRAM: 64 MB

FLASH:  1 MB

In:    serial

Out:   serial

Err:   serial

NAND:  128 MiB

dm9000 i/o: 0x2b900000, id: 0x90000a46

MAC: 02:80:ad:24:31:e8

02:80:ad:24:31:e8:

could not establish link

Hit any key to stop autoboot:  5     0

bfin>

bfin> tftp 1000000 549.linux.new

dm9000 i/o: 0x2b900000, id: 0x90000a46

MAC: 02:80:ad:24:31:e8

02:80:ad:24:31:e8:

operating at 100M full duplex mode

TFTP from server 192.168.6.161; our IP address is 192.168.6.200

Filename '549.linux.new'.

Load address: 0x1000000

Loading: * #################################################################

  #################################################################

  #################################################################

  #################################################################

  #################################################################

  #################################################################

  #################################################################

  #################################################################

  #################################################################

  #################################################################

  #################################################################

  #################################################################

  #################################################################

  #################################################################

  #################################################################

  #################################################################

  #################################################################

  #################################################################

  #################################################################

  #################################################################

  #################################################################

  #################################################################

  #################################################################

  #################################################################

  #################################################################

  #################################################################

  #################################################################

  #################################################

done

Bytes transferred = 9233836 (8ce5ac hex)

bfin> bootm

## Booting image at 01000000 ...

Bad Magic Number

bfin> bootelf

Loading .text @ 0x00001000 (1753632 bytes)

Loading .rodata @ 0x001ae000 (473180 bytes)

Loading __ksymtab @ 0x0022185c (17888 bytes)

Loading __ksymtab_gpl @ 0x00225e3c (5704 bytes)

Loading __ksymtab_gpl_future @ 0x00227484 (24 bytes)

Loading __ksymtab_strings @ 0x0022749c (58060 bytes)

Loading __param @ 0x00235768 (1360 bytes)

Loading .data @ 0x00236000 (122880 bytes)

Loading .init.text @ 0x00254000 (132620 bytes)

Loading .init.data @ 0x0027460c (13080 bytes)

Loading .init.setup @ 0x00277924 (624 bytes)

Loading .initcall.init @ 0x00277b94 (612 bytes)

Loading .con_initcall.init @ 0x00277df8 (8 bytes)

Loading .init.ramfs @ 0x00277e00 (5876224 bytes)

Loading .text_l1 @ 0xffa00000 (5736 bytes)

sh_addr: FFA00000, p_paddr: 00812800

Loading from: 01813000 to 00812800, size: 5736

Loading .data_l1 @ 0xff800000 (192 bytes)

sh_addr: FF800000, p_paddr: 00813E68

Loading from: 01815000 to 00813E68, size: 192

Clearing .bss @ 0x00814000 (94192 bytes)

## Starting application at 0x00254000 ...

Linux version 2.6.22.19-ADI-2008R1.5-svn (root@fedora8) (gcc version 4.1.2 (ADI svn)) #76 Thu Aug 21 15:03:29 CST 2008

Hardware Trace Active and Enabled

Reset caused by Software reset

Blackfin support (C) 2004-2007 Analog Devices, Inc.

Compiled for ADSP-BF548 Rev 0.0

Warning: Compiled for Rev 0, but running on Rev 1

Blackfin Linux support by http://blackfin.uclinux.org/

Processor Speed: 400 MHz core clock and 133 MHz System Clock

Board Memory: 64MB

Kernel Managed Memory: 64MB

Memory map:

  text      = 0x00001000-0x001ad220

  rodata    = 0x001ae000-0x00235cb8

  data      = 0x00236000-0x00254000

    stack   = 0x00236000-0x00238000

  init      = 0x00254000-0x00814000

  bss       = 0x00814000-0x0082aff0

  available = 0x0082aff0-0x03dff000

  DMA Zone  = 0x03e00000-0x04000000

NOMPU: setting up cplb tables for global access

Instruction Cache Enabled

Data Cache Enabled (write-through)

Built 1 zonelists.  Total pages: 15748

Kernel command line: console=ttyBF0,57600

Configuring Blackfin Priority Driven Interrupts

PID hash table entries: 256 (order: 8, 1024 bytes)

Console: colour dummy device 80x25

Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)

Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)

Memory available: 54540k/65536k RAM, (5888k init code, 1712k kernel code, 759k data, 2048k dma, 588k reserved)

Blackfin Scratchpad data SRAM: 4 KB

Blackfin Data A SRAM: 16 KB (15 KB free)

Blackfin Data B SRAM: 16 KB (16 KB free)

Blackfin Instruction SRAM: 48 KB (42 KB free)

Security Framework v1.0.0 initialized

Mount-cache hash table entries: 512

NET: Registered protocol family 16

Blackfin GPIO Controller

Blackfin DMA Controller

ezkit_init(): registering device resources

bfin_isp1761_init(): registering device resources

SCSI subsystem initialized

usbcore: registered new interface driver usbfs

usbcore: registered new interface driver hub

usbcore: registered new device driver usb

NET: Registered protocol family 2

IP route cache hash table entries: 1024 (order: 0, 4096 bytes)

TCP established hash table entries: 2048 (order: 2, 16384 bytes)

TCP bind hash table entries: 2048 (order: 1, 8192 bytes)

TCP: Hash tables configured (established 2048 bind 2048)

TCP reno registered

io scheduler noop registered

io scheduler anticipatory registered (default)

io scheduler cfq registered

bf54x-lq043: FrameBuffer initializing...

dma_alloc_init: dma_page @ 0x03a37000 - 512 pages at 0x03e00000

Console: switching to colour frame buffer device 80x24

bfin-otp: initialized

bfin-wdt: initialized: timeout=20 sec (nowayout=0)

Serial: Blackfin serial driver

bfin-uart.1: ttyBF0 at MMIO 0xffc02000 (irq = 48) is a BFIN-UART

RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize

smsc911x: Driver version 2007-07-13.

Linux video capture interface: v2.00

register bfin atapi driver

scsi0 : pata-bf54x

ata1: PATA max UDMA/100 cmd 0x00000000 ctl 0xffc03800 bmdma 0x00000000 irq 68

physmap platform flash device: 00400000 at 20000000

physmap-flash physmap-flash.0: map_probe failed

BF5xx on-chip NAND FLash Controller Driver, Version 1.2 (c) 2007 Analog Devices, Inc.

bf5xx-nand bf5xx-nand.0: page_size=256, data_width=8, wr_dly=3, rd_dly=3

NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-bit)

Creating 2 MTD partitions on "NAND 128MiB 3,3V 8-bit":

0x00000000-0x00400000 : "Linux Kernel"

0x00400000-0x10000000 : "File System"

mtd: partition "File System" extends beyond the end of device "NAND 128MiB 3,3V 8-bit" -- size truncated to 0x7c00000

bfin-spi bfin-spi.0: Blackfin BF5xx on-chip SPI Contoller Driver, Version 1.0, regs_base@ffc00500, dma channel@4

bfin-spi bfin-spi.1: Blackfin BF5xx on-chip SPI Contoller Driver, Version 1.0, regs_base@ffc02300, dma channel@5

drivers/usb/host/pehcd/hal/hal_pxa.c: pid 8210, vid 0015

 

drivers/usb/host/pehcd/hal/hal_pxa.c: controller address 0023a6c0

 

drivers/usb/host/pehcd/hal/hal_pxa.c: isp1761_register_driver(drv=0024b2bc)

 

isp1761 isp1761.0: PHILIPS ISP1761

isp1761 isp1761.0: new USB bus registered, assigned bus number 1

isp1761 isp1761.0: irq 212, io mem 0x00000000

usb usb1: configuration #1 chosen from 1 choice

hub 1-0:1.0: USB hub found

hub 1-0:1.0: 1 port detected

drivers/usb/host/pehcd/hal/hal_pxa.c: Registered Driver Philips

drivers/usb/host/pehcd/host/pehci.c: Host Driver has been Registered

Initializing USB Mass Storage driver...

usb 1-1: new high speed USB device using isp1761 and address 2

usb 1-1: configuration #1 chosen from 1 choice

hub 1-1:1.0: USB hub found

hub 1-1:1.0: 3 ports detected

usb 1-1.3: new full speed USB device using isp1761 and address 3

usb 1-1.3: configuration #1 chosen from 1 choice

usbcore: registered new interface driver usb-storage

USB Mass Storage support registered.

input: bf54x-keys as /class/input/input0

bf54x-keys: Blackfin BF54x Keypad registered IRQ 76

rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0

i2c /dev entries driver

i2c-bfin-twi i2c-bfin-twi.1: Blackfin BF5xx on-chip I2C TWI Contoller Driver, Version 1.8, regs_base@ffc02200

usbcore: registered new interface driver usbhid

drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver

Advanced Linux Sound Architecture Driver Version 1.0.12rc1 (Thu Jun 22 13:55:50 2006 UTC).

ASoC version 0.13.1

dma rx:0 tx:1, err irq:10, regs:ffc00800

AD1980 SoC Audio Codec

asoc: AC97 <-> bf5xx-ac97 mapping ok

AD1980 AC97 reset failed

AC97 link error

soc-audio: probe of soc-audio failed with error -5

ALSA device list:

  No soundcards found.

TCP cubic registered

NET: Registered protocol family 1

NET: Registered protocol family 17

rtc-bfin rtc-bfin: setting the system clock to 1984-06-11 13:29:49 (455808589)

Freeing unused kernel memory: 5888k freed

                           _____________________________________

        a8888b.           / Welcome to the uClinux distribution \

       d888888b.         /       _     _                         \

       8P"YP"Y88        /       | |   |_|            __  __ (TM)  |

       8|o||o|88  _____/        | |    _ ____  _   _ \ \/ /       |

       8'    .88       \        | |   | |  _ \| | | | \  /        |

       8`._.' Y8.       \       | |__ | | | | | |_| | /  \        |

      d/      `8b.       \      \____||_|_| |_|\____|/_/\_\       |

     dP   .    Y8b.       \   For embedded processors including   |

    d8:'  "  `::88b        \    the Analog Devices Blackfin      /

   d8"         'Y88b        \___________________________________/

  :8P    '      :888

   8a.   :     _a88P         For further information, check out:

._/"Yaa_:   .| 88P|            - http://blackfin.uclinux.org/

\    YP"    `| 8P  `.          - http://docs.blackfin.uclinux.org/

/     \.___.d|    .'           - http://www.uclinux.org/

`--..__)8888P`._.'  jgs/a:f    - http://www.analog.com/blackfin

 

Have a lot of fun...

 

 

BusyBox v1.4.1 (2008-08-20 16:56:51 CST) Built-in shell (msh)

Enter 'help' for a list of built-in commands.

 

root:/> modprobe gspca

drivers/usb/media/gspcav1-20070508/gspca_core.c: USB GSPCA camera found.(ZC3XX)

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca5xx_probe:4111] Camera type JPEG

drivers/usb/media/gspcav1-20070508/Vimicro/zc3xx.h: [zc3xx_config:515] Sensor ID:11

drivers/usb/media/gspcav1-20070508/Vimicro/zc3xx.h: [zc3xx_config:607] Find Sensor MI0360

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca5xx_getcapability:1228] maxw 640 maxh 480 minw 176 minh 144

usbcore: registered new interface driver gspca

drivers/usb/media/gspcav1-20070508/gspca_core.c: gspca driver 01.00.18 registered

 

root:/>

root:/> vidcat -t jpeg -d /dev/video0 -p c -o test.jpeg

drivers/usb/media/gspcav1-20070508/gspca_core.c: [gspca_set_isoc_ep:907] ISO EndPoint found 0x81 AlternateSet 7

drivers/usb/media/gspcav1-20070508/gspca_core.c: init isoc: usb_submit_urb(1) ret -12

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca5xx_open:1967]  DEALLOC error on init_Isoc

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [gspca_set_isoc_ep:907] ISO EndPoint found 0x81 AlternateSet 7

drivers/usb/media/gspcav1-20070508/gspca_core.c: init isoc: usb_submit_urb(1) ret -12

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca5xx_open:1967]  DEALLOC error on init_Isoc

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [gspca_set_isoc_ep:907] ISO EndPoint found 0x81 AlternateSet 7

drivers/usb/media/gspcav1-20070508/gspca_core.c: init isoc: usb_submit_urb(1) ret -12

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca5xx_open:1967]  DEALLOC error on init_Isoc

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [gspca_set_isoc_ep:907] ISO EndPoint found 0x81 AlternateSet 7

drivers/usb/media/gspcav1-20070508/gspca_core.c: init isoc: usb_submit_urb(1) ret -12

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca5xx_open:1967]  DEALLOC error on init_Isoc

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [gspca_set_isoc_ep:907] ISO EndPoint found 0x81 AlternateSet 7

drivers/usb/media/gspcav1-20070508/gspca_core.c: init isoc: usb_submit_urb(1) ret -12

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca5xx_open:1967]  DEALLOC error on init_Isoc

 

Can't open device /dev/video0

 

 

 

 

 

 

 

 

 

gspcav1-20070508.tar.gz

TranslateQuoteReplyEditDelete

 

 

2008-08-24 23:10:02     Re: isp1761 + usb pc camera,init isoc: usb_submit_urb(1) ret -12

miaolf miao (CHINA)

Message: 60964   

 

help me please!

 

thanks!

TranslateQuoteReplyEditDelete

 

 

2008-08-25 05:48:39     Re: isp1761 + usb pc camera,init isoc: usb_submit_urb(1) ret -12

Yi Li (CHINA)

Message: 61009   

 

We only test usb camera on BF548-EZKIT using BF548 usb host controller. Could you try to use the USB host of BF549, does that work?

QuoteReplyEditDelete

 

 

2008-08-25 06:03:31     Re: isp1761 + usb pc camera,init isoc: usb_submit_urb(1) ret -12

Michael Hennerich (GERMANY)

Message: 61010   

 

Try to enable Isochronous Mode in the driver source. ISP1760 Isochronous Mode used to work some time ago.

 

QuoteReplyEditDelete

 

 

2008-08-26 01:08:59     Re: isp1761 + usb pc camera,init isoc: usb_submit_urb(1) ret -12

miaolf miao (CHINA)

Message: 61052   

 

TO YiLi:

 

in my board ,bf549's otg  work  not ok. so i can't test  with it.  i have asked this problerm to FAE of ADI,but no good idea too.

 

can you speak chinese?can you give  me some suggestion?

 

TO Michael:

 

i have enable CONFIG_ISO_SUPPORT alerady.

 

I think,problerm should be ISP1761A driver,can you test  a  camera with ISP1761?

 

Thanks!

TranslateQuoteReplyEditDelete

 

 

2008-08-26 03:51:25     Re: isp1761 + usb pc camera,init isoc: usb_submit_urb(1) ret -12

miaolf miao (CHINA)

Message: 61058   

 

Hi, Michael :

 

in pehci.h,  I  changed like below:

 

#define BLK_256_        64//32

 

#define BLK_1024_      40//20

 

#define BLK_4095_      16//8

 

then, compile and run.  problerm "ret -12" is ok,but  next problerm appeared:

 

root:/>modprobe gspca

drivers/usb/media/gspcav1-20070508/gspca_core.c: USB GSPCA camera found.(ZC3XX)

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca5xx_probe:4125] Camera type JPEG

drivers/usb/media/gspcav1-20070508/Vimicro/zc3xx.h: [zc3xx_config:515] Sensor ID:11

drivers/usb/media/gspcav1-20070508/Vimicro/zc3xx.h: [zc3xx_config:607] Find Sensor MI0360

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca5xx_getcapability:1219] maxw 640 maxh 480 minw 176 minh 144

usbcore: registered new interface driver gspca

drivers/usb/media/gspcav1-20070508/gspca_core.c: gspca driver 01.00.18 registered

root:/>

root:/>

root:/>

root:/>

root:/>

root:/> vidcat -d /dev/video0 -f jpeg -p c -o test.jpeg

drivers/usb/media/gspcav1-20070508/gspca_core.c: [gspca_set_isoc_ep:905] ISO EndPoint found 0x81 AlternateSet 7

drivers/usb/media/gspcav1-20070508/gspca_core.c: init isoc: usb_submit_urb(2) ret -28

drivers/usb/media/gspcav1-20070508/gspca_core.c: [gspca_set_isoc_ep:905] ISO EndPoint found 0x81 AlternateSet 6

drivers/usb/media/gspcav1-20070508/gspca_core.c: init isoc: usb_submit_urb(2) ret -28

drivers/usb/media/gspcav1-20070508/gspca_core.c: [gspca_set_isoc_ep:905] ISO EndPoint found 0x81 AlternateSet 5

drivers/usb/media/gspcav1-20070508/gspca_core.c: init isoc: usb_submit_urb(2) ret -28

drivers/usb/media/gspcav1-20070508/gspca_core.c: [gspca_set_isoc_ep:905] ISO EndPoint found 0x81 AlternateSet 4

drivers/usb/media/gspcav1-20070508/gspca_core.c: init isoc: usb_submit_urb(2) ret -28

drivers/usb/media/gspcav1-20070508/gspca_core.c: [gspca_set_isoc_ep:905] ISO EndPoint found 0x81 AlternateSet 3

drivers/usb/media/gspcav1-20070508/gspca_core.c: init isoc: usb_submit_urb(2) ret -28

drivers/usb/media/gspcav1-20070508/gspca_core.c: [gspca_set_isoc_ep:905] ISO EndPoint found 0x81 AlternateSet 2

drivers/usb/media/gspcav1-20070508/gspca_core.c: init isoc: usb_submit_urb(2) ret -28

drivers/usb/media/gspcav1-20070508/gspca_core.c: [gspca_set_isoc_ep:905] ISO EndPoint found 0x81 AlternateSet 1

drivers/usb/media/gspcav1-20070508/gspca_core.c: init isoc: usb_submit_urb(2) ret -28

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca5xx_open:1962]  DEALLOC error on init_Isoc

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [gspca_set_isoc_ep:905] ISO EndPoint found 0x81 AlternateSet 7

drivers/usb/media/gspcav1-20070508/gspca_core.c: init isoc: usb_submit_urb(2) ret -28

drivers/usb/media/gspcav1-20070508/gspca_core.c: [gspca_set_isoc_ep:905] ISO EndPoint found 0x81 AlternateSet 6

drivers/usb/media/gspcav1-20070508/gspca_core.c: init isoc: usb_submit_urb(2) ret -28

drivers/usb/media/gspcav1-20070508/gspca_core.c: [gspca_set_isoc_ep:905] ISO EndPoint found 0x81 AlternateSet 5

drivers/usb/media/gspcav1-20070508/gspca_core.c: init isoc: usb_submit_urb(2) ret -28

drivers/usb/media/gspcav1-20070508/gspca_core.c: [gspca_set_isoc_ep:905] ISO EndPoint found 0x81 AlternateSet 4

drivers/usb/media/gspcav1-20070508/gspca_core.c: init isoc: usb_submit_urb(2) ret -28

drivers/usb/media/gspcav1-20070508/gspca_core.c: [gspca_set_isoc_ep:905] ISO EndPoint found 0x81 AlternateSet 3

drivers/usb/media/gspcav1-20070508/gspca_core.c: init isoc: usb_submit_urb(2) ret -28

drivers/usb/media/gspcav1-20070508/gspca_core.c: [gspca_set_isoc_ep:905] ISO EndPoint found 0x81 AlternateSet 2

drivers/usb/media/gspcav1-20070508/gspca_core.c: init isoc: usb_submit_urb(2) ret -28

drivers/usb/media/gspcav1-20070508/gspca_core.c: [gspca_set_isoc_ep:905] ISO EndPoint found 0x81 AlternateSet 1

drivers/usb/media/gspcav1-20070508/gspca_core.c: init isoc: usb_submit_urb(2) ret -28

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca5xx_open:1962]  DEALLOC error on init_Isoc

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [gspca_set_isoc_ep:905] ISO EndPoint found 0x81 AlternateSet 7

drivers/usb/media/gspcav1-20070508/gspca_core.c: init isoc: usb_submit_urb(2) ret -28

drivers/usb/media/gspcav1-20070508/gspca_core.c: [gspca_set_isoc_ep:905] ISO EndPoint found 0x81 AlternateSet 6

drivers/usb/media/gspcav1-20070508/gspca_core.c: init isoc: usb_submit_urb(2) ret -28

drivers/usb/media/gspcav1-20070508/gspca_core.c: [gspca_set_isoc_ep:905] ISO EndPoint found 0x81 AlternateSet 5

drivers/usb/media/gspcav1-20070508/gspca_core.c: init isoc: usb_submit_urb(2) ret -28

drivers/usb/media/gspcav1-20070508/gspca_core.c: [gspca_set_isoc_ep:905] ISO EndPoint found 0x81 AlternateSet 4

drivers/usb/media/gspcav1-20070508/gspca_core.c: init isoc: usb_submit_urb(2) ret -28

drivers/usb/media/gspcav1-20070508/gspca_core.c: [gspca_set_isoc_ep:905] ISO EndPoint found 0x81 AlternateSet 3

drivers/usb/media/gspcav1-20070508/gspca_core.c: init isoc: usb_submit_urb(2) ret -28

drivers/usb/media/gspcav1-20070508/gspca_core.c: [gspca_set_isoc_ep:905] ISO EndPoint found 0x81 AlternateSet 2

drivers/usb/media/gspcav1-20070508/gspca_core.c: init isoc: usb_submit_urb(2) ret -28

drivers/usb/media/gspcav1-20070508/gspca_core.c: [gspca_set_isoc_ep:905] ISO EndPoint found 0x81 AlternateSet 1

drivers/usb/media/gspcav1-20070508/gspca_core.c: init isoc: usb_submit_urb(2) ret -28

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca5xx_open:1962]  DEALLOC error on init_Isoc

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [gspca_set_isoc_ep:905] ISO EndPoint found 0x81 AlternateSet 7

drivers/usb/media/gspcav1-20070508/gspca_core.c: init isoc: usb_submit_urb(2) ret -28

drivers/usb/media/gspcav1-20070508/gspca_core.c: [gspca_set_isoc_ep:905] ISO EndPoint found 0x81 AlternateSet 6

drivers/usb/media/gspcav1-20070508/gspca_core.c: init isoc: usb_submit_urb(2) ret -28

drivers/usb/media/gspcav1-20070508/gspca_core.c: [gspca_set_isoc_ep:905] ISO EndPoint found 0x81 AlternateSet 5

drivers/usb/media/gspcav1-20070508/gspca_core.c: init isoc: usb_submit_urb(2) ret -28

drivers/usb/media/gspcav1-20070508/gspca_core.c: [gspca_set_isoc_ep:905] ISO EndPoint found 0x81 AlternateSet 4

drivers/usb/media/gspcav1-20070508/gspca_core.c: init isoc: usb_submit_urb(2) ret -28

drivers/usb/media/gspcav1-20070508/gspca_core.c: [gspca_set_isoc_ep:905] ISO EndPoint found 0x81 AlternateSet 3

drivers/usb/media/gspcav1-20070508/gspca_core.c: init isoc: usb_submit_urb(2) ret -28

drivers/usb/media/gspcav1-20070508/gspca_core.c: [gspca_set_isoc_ep:905] ISO EndPoint found 0x81 AlternateSet 2

drivers/usb/media/gspcav1-20070508/gspca_core.c: init isoc: usb_submit_urb(2) ret -28

drivers/usb/media/gspcav1-20070508/gspca_core.c: [gspca_set_isoc_ep:905] ISO EndPoint found 0x81 AlternateSet 1

drivers/usb/media/gspcav1-20070508/gspca_core.c: init isoc: usb_submit_urb(2) ret -28

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca5xx_open:1962]  DEALLOC error on init_Isoc

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [gspca_set_isoc_ep:905] ISO EndPoint found 0x81 AlternateSet 7

drivers/usb/media/gspcav1-20070508/gspca_core.c: init isoc: usb_submit_urb(2) ret -28

drivers/usb/media/gspcav1-20070508/gspca_core.c: [gspca_set_isoc_ep:905] ISO EndPoint found 0x81 AlternateSet 6

drivers/usb/media/gspcav1-20070508/gspca_core.c: init isoc: usb_submit_urb(2) ret -28

drivers/usb/media/gspcav1-20070508/gspca_core.c: [gspca_set_isoc_ep:905] ISO EndPoint found 0x81 AlternateSet 5

drivers/usb/media/gspcav1-20070508/gspca_core.c: init isoc: usb_submit_urb(2) ret -28

drivers/usb/media/gspcav1-20070508/gspca_core.c: [gspca_set_isoc_ep:905] ISO EndPoint found 0x81 AlternateSet 4

drivers/usb/media/gspcav1-20070508/gspca_core.c: init isoc: usb_submit_urb(2) ret -28

drivers/usb/media/gspcav1-20070508/gspca_core.c: [gspca_set_isoc_ep:905] ISO EndPoint found 0x81 AlternateSet 3

drivers/usb/media/gspcav1-20070508/gspca_core.c: init isoc: usb_submit_urb(2) ret -28

drivers/usb/media/gspcav1-20070508/gspca_core.c: [gspca_set_isoc_ep:905] ISO EndPoint found 0x81 AlternateSet 2

drivers/usb/media/gspcav1-20070508/gspca_core.c: init isoc: usb_submit_urb(2) ret -28

drivers/usb/media/gspcav1-20070508/gspca_core.c: [gspca_set_isoc_ep:905] ISO EndPoint found 0x81 AlternateSet 1

drivers/usb/media/gspcav1-20070508/gspca_core.c: init isoc: usb_submit_urb(2) ret -28

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca5xx_open:1962]  DEALLOC error on init_Isoc

 

Can't open device /dev/video0

 

 

 

 

TranslateQuoteReplyEditDelete

 

 

2008-08-26 05:29:34     Re: isp1761 + usb pc camera,init isoc: usb_submit_urb(1) ret -12

miaolf miao (CHINA)

Message: 61086   

 

in pehci.h:

 

I changed like below:

 

#define  TD_PTD_MAX_BUFF_TDS       128//32

 

in gspca.h:

 

I changed like below:

 

#define  SPCA50X_NUMSBUF             2//4

 

then, compile and run.  problerm "ret -28" is ok,but  next problerm appeared:

 

 

 

root:/>  modprobe  gspca

usbcore: registered new interface driver gspca

drivers/usb/media/gspcav1-20070508/gspca_core.c: gspca driver 01.00.18 registered

root:/> usb 1-1.3: new full speed USB device using isp1761 and address 5

usb 1-1.3: configuration #1 chosen from 1 choice

drivers/usb/media/gspcav1-20070508/gspca_core.c: USB GSPCA camera found.(ZC3XX)

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca5xx_probe:4125] Camera type JPEG

drivers/usb/media/gspcav1-20070508/Vimicro/zc3xx.h: [zc3xx_config:515] Sensor ID:11

drivers/usb/media/gspcav1-20070508/Vimicro/zc3xx.h: [zc3xx_config:607] Find Sensor MI0360

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca5xx_getcapability:1219] maxw 640 maxh 480 minw 176 minh 144

 

root:/>  vidcat -d /dev/video0 -f jpeg -p c -o test.jpeg

drivers/usb/media/gspcav1-20070508/gspca_core.c: [gspca_set_isoc_ep:905] ISO EndPoint found 0x81 AlternateSet 7

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [0] len=0, status=-18

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [0] len=0, status=-18

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [1] len=0, status=-18

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [2] len=0, status=-18

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [5] len=50, status=-28

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [14] len=0, status=-28

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [15] len=0, status=-28

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [0] len=0, status=-18

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [1] len=0, status=-18

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [2] len=0, status=-18

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [3] len=0, status=-18

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [4] len=0, status=-18

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [5] len=0, status=-18

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [6] len=0, status=-18

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [7] len=0, status=-18

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [8] len=0, status=-18

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [9] len=0, status=-18

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [10] len=0, status=-18

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [11] len=0, status=-18

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [12] len=0, status=-18

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [13] len=0, status=-28

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [14] len=0, status=-28

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [15] len=0, status=-28

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [0] len=0, status=-18

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [1] len=0, status=-18

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [2] len=0, status=-18

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [3] len=0, status=-18

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [4] len=0, status=-18

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [5] len=0, status=-18

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [0] len=0, status=-18

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [1] len=0, status=-18

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [2] len=0, status=-18

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [3] len=0, status=-18

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [4] len=0, status=-18

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [5] len=0, status=-18

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [8] len=0, status=-28

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [9] len=0, status=-28

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [10] len=0, status=-28

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [11] len=0, status=-28

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [12] len=0, status=-28

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [13] len=0, status=-28

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [14] len=0, status=-28

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [15] len=0, status=-28

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: usb_submit_urb() ret -12

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [0] len=0, status=-18

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [1] len=0, status=-18

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [2] len=0, status=-18

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [3] len=0, status=-18

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [10] len=0, status=-28

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [11] len=0, status=-28

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [12] len=0, status=-28

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [13] len=0, status=-28

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [14] len=0, status=-28

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [15] len=0, status=-28

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [14] len=0, status=-28

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [15] len=0, status=-28

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [0] len=0, status=-18

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [1] len=0, status=-18

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [2] len=0, status=-18

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [3] len=0, status=-18

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [4] len=0, status=-18

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [5] len=0, status=-18

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [6] len=0, status=-18

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [7] len=0, status=-18

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [0] len=0, status=-18

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [1] len=0, status=-18

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [14] len=0, status=-28

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [15] len=0, status=-28

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [12] len=0, status=-28

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [13] len=0, status=-28

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [14] len=0, status=-28

 

drivers/usb/media/gspcav1-20070508/gspca_core.c: [spca50x_move_data:1582] ISOC data error: [15] len=0, status=-28

 

Synch Ready on frame 0, grabstate = 4Release frame 0 state 0

 

 

 

 

TranslateQuoteReplyEditDelete

 

 

2008-08-28 22:37:32     Re: isp1761 + usb pc camera,init isoc: usb_submit_urb(1) ret -12

miaolf miao (CHINA)

Message: 61299   

 

I am waiting for  replys..

TranslateQuoteReplyEditDelete

 

 

2008-08-29 00:17:08     Re: isp1761 + usb pc camera,init isoc: usb_submit_urb(1) ret -12

Bryan Wu (CHINA)

Message: 61302   

 

Hi Miao,

 

I don't understand why BF549 usb doesn't work on your side. And do you want to any OTG protocol in you project? From your post, I guess you just used USB host function and driver, right?

 

I will test the PC camera on BF549 USB later.

 

-Bryan

QuoteReplyEditDelete

 

 

2008-08-29 00:19:02     Re: isp1761 + usb pc camera,init isoc: usb_submit_urb(1) ret -12

Yi Li (CHINA)

Message: 61304   

 

miaolf,

 

在BF548-ezkit上,我们没测过USB OTG。你的项目必须用USB OTG? 据我所知,isp1761也不支持OTG (至少我们从没测过)?

 

我们的isp1761扩展卡只能用在BF537-STAMP上,我们这边会测一下连接usb camera。

 

 

 

We never tested USB OTG on BF548-ezkit. Do you have to use USB OTG? AFAIK, ips1761 does not support OTG (at least we never tested it).

 

The isp1761 extension card we have only work with BF537-STAMP, I think we can test usb camera on that.

 

-Yi

QuoteReplyEditDelete

 

 

2008-08-29 00:22:27     Re: isp1761 + usb pc camera,init isoc: usb_submit_urb(1) ret -12

Bryan Wu (CHINA)

Message: 61305   

 

Hi Miao,

 

For ISP1761 driver, we never tried ISO with it. Because this driver is not developed by us, we just port it to our platform. For ISO support, please use SL811 and BF54x MUSB driver.

 

-Bryan

QuoteReplyEditDelete

 

 

2008-08-29 03:39:46     Re: isp1761 + usb pc camera,init isoc: usb_submit_urb(1) ret -12

Michael Hennerich (GERMANY)

Message: 61313   

 

You should really consider attaching the USB Camera to the BF54x USB port.

And only in case you need further Bulk/interrupt HOST ports use the ISP1760.

 

I tested BF548 with the UVC USB video class driver – it works great as soon as you disable DMA support.

http://docs.blackfin.uclinux.org/doku.php?id=linux-kernel:drivers:usb_video_device_class&s[]=uvcvideo

 

 

We are in progress removing this (PEHCI) driver in favor of the new ISP1760 driver mainlined in 2.6.26.

This driver won’t have ISO support.

 

A brief history of the PEHCI.

This driver used to work in Millisecond INT Based Mode (prerequisite for ISO), however we never tested ISO on it.

Se we don’t know if it was ever working.

Some time ago we disabled the Millisecond INT Based Mode, because Bulk transfers without this option were much faster.

Then code portions ifdefed out didn’t get ported to recent 2.6.24 and 2.6.26 kernels.

With some minor modifications you can make them compile again…

 

-Michael

 

QuoteReplyEditDelete

 

 

2008-08-31 23:05:08     Re: isp1761 + usb pc camera,init isoc: usb_submit_urb(1) ret -12

miaolf miao (CHINA)

Message: 61447   

 

To Bryan Wu  :

 

My English is bad, Maybe You unstand chinese. I can discribe problerm clearly in chinese.

 

我做了2次 BF549的试验板子。我只使用USB的HOST功能。

 

I have made boards twice:

 

第一次2块:没有扩展 Isp1761,只有BF549 自己的 USB。其中一块USB是好的,驱动程序都正常,linux下挂U盘都正常。

 

只可惜,我后来加错电压,整个板子都烧了。另一块USB一点反应都没有。

 

first times, two boards ,one was ok, plug U pan ,It works well.but  another no response at all..

 

第二次6块: 扩展了ISP1761。isp1761的端口,已经挂U盘,接摄像头则问题如上。BF549自己的USB 6块板子都不好使。都是一点反应都没有。

 

second times:six boards, BF549's USB  all bad. so I can test camera with ISP1761 only.

 

我想原理图和linux工程配置都没有问题。但不知道为什么USB会都不正常。希望听到您的建议。

 

I'd like to  heard  you sugestion.

 

如果您使用bf549 otg 测试 PC camera ,对于我来说也非常有帮助。将来我也会用到的。非常感谢您!

 

Test camera with BF549 OTG,will helpful for me too.Thanks!

 

对于ISP1761驱动来说,接摄像头,不加ISO 支持,程序试验运行时,会出错。

 

FOR ISP1761 ,IF don't support ISO,when programs run,error!

 

Thanks for your replys!

 

 

 

To Yi Li:

 

我只使用USB的HOST功能。在bf537-stamp 板子上,使用扩展卡isp1761 试验 PC CAMERA,同样会解决这个问题。期待您的试验结果。

 

对于BF549自己的USB,问题描述如上面,您认为我的板子问题会出在哪里呢?非常想听到您的建议!

 

非常感谢!

 

 

 

To Michael:

 

UVC usb video driver, I  have not seen it In 2008R1.5-rc3, I will learn it soon.

 

as your say, ISP1761 will support camera  in next kernel version ,right?When will be done?

 

Thanks for your replys!

 

 

TranslateQuoteReplyEditDelete

 

 

2008-09-02 01:47:28     Re: isp1761 + usb pc camera,init isoc: usb_submit_urb(1) ret -12

Sonic Zhang (CHINA)

Message: 61518   

 

ISP1761 USB driver is not maintained by us. No one has ever tried ISO mode with it.

 

If you want ISO mode in USB driver, please stick with bf548 built-in USB controller or SL811 external USB contoller by now.

 

 

QuoteReplyEditDelete

 

 

2008-09-17 03:26:05     Re: isp1761 + usb pc camera,init isoc: usb_submit_urb(1) ret -12

Bryan Wu (CHINA)

Message: 62284   

 

Hi Miao,

 

These days I tried to bring up USB webcam on BF54x with MUSB driver.

 

AWAK, there 2 solutions for webcam on Linux: one is gspcav "Generic Softwares Package for Camera Adapters" and another is UVC which Michael mentioned before. Actually, UVC was merged into kernel mainline and still got some development. GSPCAV was also merged into latest Linus git tree since 2.6.27-rc5, but it's interface was changed to V4L2 not V4L1.

 

I tried both of them on 08R1.5 branch and svn trunk. Unforunately, webcam on my side did not work.

 

For gspcav, maybe developers of gspcav did not consider nommu situation. I need more investigation to bring it up.

 

For UVC, Michael, I followed your document on our wiki. But after I modprobe the uvcvideo module, there is no /dev/video0 devices shown up.  I also backport the UVC video driver to 08R1.5 branch, the same result. Maybe UVC does not support my webcam which uses Vimicro ZC3XX and Sensor HV7131R?

 

---

 

root:/> modprobe uvcvideo

uvcvideo: Adding mapping Brightness to control 00000000-0000-0000-0000-000000000101/2.

uvcvideo: Adding mapping Contrast to control 00000000-0000-0000-0000-000000000101/3.

uvcvideo: Adding mapping Hue to control 00000000-0000-0000-0000-000000000101/6.

uvcvideo: Adding mapping Saturation to control 00000000-0000-0000-0000-000000000101/7.

uvcvideo: Adding mapping Sharpness to control 00000000-0000-0000-0000-000000000101/8.

uvcvideo: Adding mapping Gamma to control 00000000-0000-0000-0000-000000000101/9.

uvcvideo: Adding mapping Backlight Compensation to control 00000000-0000-0000-0000-000000000101/1.

uvcvideo: Adding mapping Gain to control 00000000-0000-0000-0000-000000000101/4.

uvcvideo: Adding mapping Power Line Frequency to control 00000000-0000-0000-0000-000000000101/5.

uvcvideo: Adding mapping Hue, Auto to control 00000000-0000-0000-0000-000000000101/16.

uvcvideo: Adding mapping Exposure, Auto to control 00000000-0000-0000-0000-000000000001/2.

uvcvideo: Adding mapping Exposure, Auto Priority to control 00000000-0000-0000-0000-000000000001/3.

uvcvideo: Adding mapping Exposure (Absolute) to control 00000000-0000-0000-0000-000000000001/4.

uvcvideo: Adding mapping White Balance Temperature, Auto to control 00000000-0000-0000-0000-000000000101/11.

uvcvideo: Adding mapping White Balance Temperature to control 00000000-0000-0000-0000-000000000101/10.

uvcvideo: Adding mapping White Balance Component, Auto to control 00000000-0000-0000-0000-000000000101/13.

uvcvideo: Adding mapping White Balance Blue Component to control 00000000-0000-0000-0000-000000000101/12.

uvcvideo: Adding mapping White Balance Red Component to control 00000000-0000-0000-0000-000000000101/12.

uvcvideo: Adding mapping Focus (absolute) to control 00000000-0000-0000-0000-000000000001/6.

uvcvideo: Adding mapping Focus, Auto to control 00000000-0000-0000-0000-000000000001/8.

usbcore: registered new interface driver uvcvideo

USB Video Class driver (SVN r7068)

 

---

 

So for Miao, do you want to use 08R1.5 or svn trunk?

 

-Bryan

QuoteReplyEditDelete

 

 

2008-09-17 04:38:27     Re: isp1761 + usb pc camera,init isoc: usb_submit_urb(1) ret -12

Michael Hennerich (GERMANY)

Message: 62298   

 

The uvc video driver in the kernel 2.6.26 needs some NOMMU hacks.

 

Please use the uvc driver described here:

 

http://docs.blackfin.uclinux.org/doku.php?id=linux-kernel:drivers:usb_video_device_class&s[]=uvc

 

On the page you can also find a link to a list of supported cameras:

 

http://linux-uvc.berlios.de/

 

-Michael

 

 

QuoteReplyEditDelete

 

 

2008-09-17 05:24:46     Re: isp1761 + usb pc camera,init isoc: usb_submit_urb(1) ret -12

Bryan Wu (CHINA)

Message: 62300   

 

Hi Michael,

 

I followed the document you provided here to do the test. After enabling the uvc_trace function, I got more debug information which I posted in the previous message. Actually there is a UVC version which was merged in 2.6.26, so what is the difference between the 2.6.26 UVC and the UVC ported by you? only NOMMU stuff? Maybe I need to modify the GSPCA driver in the same way.

 

And for my webcam, it is "0ac8:303b Z-Star Microelectronics Corp. ZC0303 WebCam" which works fine with GSPCA driver in my Ubuntu 8.04 desktop. I failed to find it in the supporting list of UVC.

 

-Bryan

QuoteReplyEditDelete

 

 

2008-09-17 05:26:34     Re: isp1761 + usb pc camera,init isoc: usb_submit_urb(1) ret -12

Mike Frysinger (UNITED STATES)

Message: 62301   

 

comparing what $random-distro supports and what our kernel/mainline supports is most likely a waste of time.  Ubuntu is known to patch their kernels and add drivers which isnt in mainline.

QuoteReplyEditDelete

 

 

2008-09-17 05:36:27     Re: isp1761 + usb pc camera,init isoc: usb_submit_urb(1) ret -12

Bryan Wu (CHINA)

Message: 62302   

 

I did not intent to comparing. I just want to verfiy the webcam I borrowed works on Linux. Ubuntu provided prebuilt gspca driver to bring up webcam with V4L1 interface. So I think it should be OK for Blackfin + GSPCA driver. I still debugging it.

 

-Bryan

QuoteReplyEditDelete

 

 

2008-09-17 06:04:42     Re: isp1761 + usb pc camera,init isoc: usb_submit_urb(1) ret -12

Michael Hennerich (GERMANY)

Message: 62305   

 

NOMMU MMAP stuff and stuff to prevent unaligned exceptions.

 

 

Check the SVN History – I first checked in the plain unmodified driver...

 

-Michael

QuoteReplyEditDelete

 

 

2008-09-22 02:48:32     Re: isp1761 + usb pc camera,init isoc: usb_submit_urb(1) ret -12

Bryan Wu (CHINA)

Message: 62494   

 

Thanks a lot, Michael.

 

Today I got an Logitech's QuickCam Pro 9000. It works quite well on bf548-ezkit with svn trunk kernel. So I think the UVC driver does not support my webcam.

 

For Miao, as Michael said, we suggest you to use svn trunk kernel + UVC driver and applications to do some webcam project. Moreover, the BF548 usb hardware and musb driver is OK for ISO transcation for webcam applications.

 

-Bryan

Attachments

Outcomes