Hi, I have a camera with ov518 chipset. When I do cat/dev/video0 I get: 'Bad address' and cat aborts. This normally works well (with my pwc and my se401 cameras). The following modules have been loaded: ov511 83968 0 videodev 5376 2 [pwc ov511] ovcamchip 14876 1 i2c-core 12288 0 [ov511 ovcamchip] usb-ohci 17760 0 (unused)
The output of dmesg is: usb-ohci.c: USB OHCI at membase 0xca891000, IRQ 11 usb-ohci.c: usb-00:0f.0, OPTi Inc. 82C861 usb.c: new USB bus registered, assigned bus number 1 hub.c: USB hub found hub.c: 2 ports detected hub.c: new USB device 00:0f.0-1, assigned address 2 ov511_core.c: USB OV518+ video device found ov511_core.c: Device revision 2 ov511_core.c: Compression required with OV518...enabling ovcamchip_core.c: Camera chip is an OV7620AE i2c-core.o: client [OV7620] registered to adapter [OV51x #0](pos. 0). i2c-core.o: adapter OV51x #0 registered as adapter 0. ov511_core.c: Device at usb-00:0f.0-1 registered to minor 0 Kernel is 2.4.22. I installed the package ov511-2.26. Kernel loaded with debug=4 gives (when doing the 'cat ...' thing): ov511_core.c: Device at usb-00:0f.0-1 registered to minor 0 ov511_core.c: [ov51x_probe:5442] probing for device... ov511_core.c: [ov51x_probe:5442] probing for device... ov511_core.c: [ov51x_probe:5442] probing for device... ov511_core.c: v2.26 : ov511 USB Camera Driver ov511_core.c: [ov51x_open:3758] opening ov511_core.c: [ov51x_set_default_params:2593] 640x480, YUV420P ov511_core.c: [ov518_mode_init_regs:2361] width:640, height:480, mode:15, sub:0 ov511_core.c: [ov51x_stop:1704] stopping ov511_core.c: [ov51x_restart:1718] restarting ov511_core.c: [ov51x_reset:912] Reset: type=0x3E ov511_core.c: [set_ov_sensor_window:2234] Setting clock divider to 1 ov511_core.c: [ov51x_alloc:3665] entered ov511_core.c: [ov51x_alloc:3693] sbuf[0] @ c7aa4000 ov511_core.c: [ov51x_alloc:3693] sbuf[1] @ c7ab4000 ov511_core.c: [ov51x_alloc:3708] frame[0] @ ca8db000 ov511_core.c: [ov51x_alloc:3708] frame[1] @ ca94b808 ov511_core.c: [ov51x_alloc:3714] leaving ov511_core.c: [ov51x_init_isoc:3426] *** Initializing capture *** ov511_core.c: [ov51x_stop:1704] stopping ov511_core.c: [ov518_set_packet_size:1936] 896, alt=7 ov511_core.c: [ov51x_restart:1718] restarting ov511_core.c: [ov51x_reset:912] Reset: type=0x3E ov511_core.c: [ov51x_read:4696] 4096 bytes, noblock=0 ov511_core.c: [ov51x_new_frame:3565] ov->curframe = -1, framenum = 0 ov511_core.c: [ov51x_new_frame:3579] framenum = 0, width = 640, height = 480 ov511_core.c: [ov51x_read:4742] Waiting image grabbing ov511_core.c: [ov518_move_data:3200] Frame start, framenum = 0 ov511_core.c: [ov518_move_data:3256] Starting capture on frame 0 ov511_core.c: [ov518_move_data:3196] Detected frame end/start ov511_core.c: [ov518_move_data:3214] Frame end, curframe = 0, hw=205, vw=20, recvd=10616 ov511_core.c: [ov518_move_data:3247] Frame not ready? state = 0 ov511_core.c: [ov518_move_data:3251] SOF dropped (no active frame) ov511_core.c: [ov51x_read:4756] Got image, frame->grabstate = 3 ov511_core.c: [ov51x_read:4757] bytes_recvd = 10616 ov511_core.c: [decompress:2819] Decompressing 10616 bytes ov518_decomp.c: [ov518_decomp_420:1457] 640x480 pIn=ca9be000 pOut=ca8db000 pTmp=c6356000 inSize=10616 ov511_core.c: [decompress:2840] DEBUG: decomp_420 returned 460800 ov511_core.c: [ov51x_read:4793] frmx=0, bytes_read=0, length=460800 ov511_core.c: [ov51x_read:4803] Copy to user space: 460800 bytes ov511_core.c: [ov51x_read:4805] Copy failed! 448640 bytes not copied ov511_core.c: [ov51x_release:3823] ov511_close ov511_core.c: [ov51x_stop_isoc:3547] *** Stopping capture *** ov511_core.c: [ov51x_stop:1704] stopping ov511_core.c: [ov51x_isoc_irq:3346] no device, or not open ov511_core.c: [ov518_set_packet_size:1936] 0, alt=0 ov511_core.c: [ov51x_restart:1718] restarting ov511_core.c: [ov51x_reset:912] Reset: type=0x3E ov511_core.c: [ov51x_isoc_irq:3346] no device, or not open ov511_core.c: [ov51x_dealloc:3726] entered ov511_core.c: [ov51x_do_dealloc:3616] entered ov511_core.c: [ov51x_do_dealloc:3651] buffer memory deallocated ov511_core.c: [ov51x_do_dealloc:3653] leaving ov511_core.c: [ov51x_dealloc:3730] leaving Folkert van Heusden +--------------------------------------------------------------------------+ | UNIX sysop? Then give MultiTail ( http://www.vanheusden.com/multitail/ ) | | a try, it brings monitoring logfiles (and such) to a different level! | +---------------------------------------------------= www.vanheusden.com =-+ ------------------------------------------------------- This SF. Net email is sponsored by: GoToMyPC GoToMyPC is the fast, easy and secure way to access your computer from any Web browser or wireless device. Click here to Try it Free! https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
