Web lists-archives.com

[Spca50x-devs] Sunplus Flexcam 100 (SPCA561A) - ISOC data error at cardbus usb adaptor




Hi,

I'm trying to use gspcav1 driver with two webcams with sunplus chipset using
a compaq notebook n620c.

lspci:
00:00.0 Host bridge: Intel Corporation 82855PM Processor to I/O Controller
(rev 03)
00:01.0 PCI bridge: Intel Corporation 82855PM Processor to AGP Controller
(rev 03)
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2
EHCI Controller (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 83)
00:1f.0 ISA bridge: Intel Corporation 82801DBM (ICH4-M) LPC Interface Bridge
(rev 03)
00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE Controller
(rev 03)
00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus
Controller (rev 03)
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 03)
00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97
Modem Controller (rev 03)
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility M7
LW [Radeon Mobility 7500]
02:06.0 CardBus bridge: O2 Micro, Inc. OZ6933/711E1 CardBus/SmartCardBus
Controller (rev 01)
02:06.1 CardBus bridge: O2 Micro, Inc. OZ6933/711E1 CardBus/SmartCardBus
Controller (rev 01)
02:0e.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5705M Gigabit
Ethernet (rev 01)
04:00.0 USB Controller: NEC Corporation USB (rev 41)
04:00.1 USB Controller: NEC Corporation USB (rev 41)
04:00.2 USB Controller: NEC Corporation USB 2.0 (rev 02)

First cam is using the usb-host (via uhci_hcd), which is built-in at my
notebook compaq n620c.

dmesg:
usb 1-1: new full speed USB device using uhci_hcd and address 3
usb 1-1: configuration #1 chosen from 1 choice
/usr/src/gspcav1-20070508/gspca_core.c: USB GSPCA camera found.(SPCA561A)
/usr/src/gspcav1-20070508/gspca_core.c: [spca5xx_probe:4098] Camera type
S561
/usr/src/gspcav1-20070508/gspca_core.c: [spca5xx_getcapability:1215] maxw
352 maxh 288 minw 160 minh 120

The other two built-in usb-controllers are non-functional
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 03)

so I've bought an additional card (thinkpad usb cardbus adaptor), where I
connect the second cam (via ohci_hcd):

dmesg:
usb 4-1: new full speed USB device using ohci_hcd and address 2
usb 4-1: configuration #1 chosen from 1 choice
hub 4-1:1.0: USB hub found
hub 4-1:1.0: 4 ports detected
usb 4-1.4: new full speed USB device using ohci_hcd and address 3
usb 4-1.4: configuration #1 chosen from 1 choice
/usr/src/gspcav1-20070508/gspca_core.c: USB GSPCA camera found.(SPCA561A)
/usr/src/gspcav1-20070508/gspca_core.c: [spca5xx_probe:4098] Camera type
S561
/usr/src/gspcav1-20070508/gspca_core.c: [spca5xx_getcapability:1215] maxw
352 maxh 288 minw 160 minh 120

lsusb:
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 003: ID 04fc:0561 Sunplus Technology Co., Ltd Flexcam 100
Bus 004 Device 002: ID 05e3:0608 Genesys Logic, Inc.
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 002: ID 04fc:0561 Sunplus Technology Co., Ltd Flexcam 100
Bus 001 Device 001: ID 0000:0000

The first cam works without problems, but by using the second cam I get much
errors like these:

Sep  7 17:49:49 server kernel: /usr/src/gspcav1-20070508/gspca_core.c:
[spca50x_move_data:1576] ISOC data error: [118] len=0, status=-18
Sep  7 17:49:49 server kernel: /usr/src/gspcav1-20070508/gspca_core.c:
[spca50x_move_data:1576] ISOC data error: [119] len=0, status=-18
Sep  7 17:49:49 server kernel: /usr/src/gspcav1-20070508/gspca_core.c:
[spca50x_move_data:1576] ISOC data error: [120] len=0, status=-18
Sep  7 17:49:49 server kernel: /usr/src/gspcav1-20070508/gspca_core.c:
[spca50x_move_data:1576] ISOC data error: [121] len=0, status=-18
Sep  7 17:49:49 server kernel: /usr/src/gspcav1-20070508/gspca_core.c:
[spca50x_move_data:1576] ISOC data error: [122] len=0, status=-18
Sep  7 17:49:49 server kernel: /usr/src/gspcav1-20070508/gspca_core.c:
[spca50x_move_data:1576] ISOC data error: [123] len=0, status=-18
Sep  7 17:49:49 server kernel: /usr/src/gspcav1-20070508/gspca_core.c:
[spca50x_move_data:1576] ISOC data error: [124] len=0, status=-18
Sep  7 17:49:49 server kernel: /usr/src/gspcav1-20070508/gspca_core.c:
[spca50x_move_data:1576] ISOC data error: [125] len=0, status=-18
Sep  7 17:49:49 server kernel: /usr/src/gspcav1-20070508/gspca_core.c:
[spca50x_move_data:1576] ISOC data error: [126] len=0, status=-18
Sep  7 17:49:49 server kernel: /usr/src/gspcav1-20070508/gspca_core.c:
[spca50x_move_data:1576] ISOC data error: [127] len=0, status=-18

The problem may be, that the second cam is regognized via usb-hub, but this
is caused of the architecture of this pcmcia-card and could not be changed.

Could somebody give me a hint, how to solve this problem?

Thanks in advance and best regards

Tino


-----
Diese eMail wurde vom TU media MailFilter auf Viren und gefährliche Inhalte überprüft.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Spca50x-devs mailing list
Spca50x-devs@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/spca50x-devs