[Cbe-oss-dev] Some issues with a USB webcam on a PS3

Andrea mariofutire at googlemail.com
Wed Dec 30 08:40:41 EST 2009


On 29/12/09 17:23, Geoff Levand wrote:
> 
> In the mean time, please tell me what kernel you are
> using on the PS3.  I really need to know to help you.

Here is the log and at the end the problem.

It happens on both kernels

2.6.31.6-166.fc12.ppc64
2.6.31.9-174.fc12.ppc64

Now I understand why I did not see it always. It takes 1 minute to appear and usually I disconnect
the camera sooner.

Dec 29 21:29:32 localhost kernel: usb 1-2.1: new full speed USB device using ps3-ehci-driver and
address 3
Dec 29 21:29:34 localhost kernel: usb 1-2.1: New USB device found, idVendor=046d, idProduct=08b2
Dec 29 21:29:34 localhost kernel: usb 1-2.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
Dec 29 21:29:34 localhost kernel: usb 1-2.1: configuration #1 chosen from 1 choice
Dec 29 21:29:34 localhost kernel: Linux video capture interface: v2.00
Dec 29 21:29:34 localhost kernel: pwc: Philips webcam module version 10.0.13 loaded.
Dec 29 21:29:34 localhost kernel: pwc: Supports Philips PCA645/646, PCVC675/680/690,
PCVC720[40]/730/740/750 & PCVC830/840.
Dec 29 21:29:34 localhost kernel: pwc: Also supports the Askey VC010, various Logitech Quickcams,
Samsung MPC-C10 and MPC-C30,
Dec 29 21:29:34 localhost kernel: pwc: the Creative WebCam 5 & Pro Ex, SOTEC Afina Eye and Visionite
VCS-UC300 and VCS-UM100.
Dec 29 21:29:34 localhost kernel: pwc: Logitech QuickCam 4000 Pro USB webcam detected.
Dec 29 21:29:34 localhost kernel: pwc: Registered as video0.
Dec 29 21:29:34 localhost kernel: usbcore: registered new interface driver Philips webcam
Dec 29 21:29:35 localhost kernel: VIDIOC_QUERYCAP
Dec 29 21:29:37 localhost kernel: pwc: Failed to set video mode QSIF at 10 fps; return code = -110
Dec 29 21:29:38 localhost kernel: pwc: Failed to set video mode QSIF at 10 fps; return code = -110
Dec 29 21:29:41 localhost kernel: usb 1-2: clear tt 1 (0030) error -110
Dec 29 21:30:01 localhost kernel: ALSA sound/usb/usbmixer.c:730: 2:1: cannot get min/max values for
control 2 (id 2)
Dec 29 21:30:01 localhost kernel: usbcore: registered new interface driver snd-usb-audio
Dec 29 21:30:01 localhost kernel: usb 1-2: clear tt 1 (8030) error -110
Dec 29 21:31:05 localhost kernel: ps3-ohci-driver sb_06: USB HC takeover failed!  (BIOS/SMM bug)
Dec 29 21:31:05 localhost kernel: ps3-ohci-driver sb_06: USB HC reset timed out!
Dec 29 21:31:05 localhost kernel: ps3-ohci-driver sb_06: can't restart, -1
Dec 29 21:31:05 localhost kernel: usb usb3: root hub lost power or was reset
Dec 29 21:31:05 localhost kernel: ps3-ohci-driver sb_06: HC died; cleaning up

> 
>> 1) if you have an idea about this return code
> 
> Please try to find out by looking at the usb source
> in the kernel.

-110 is ETIMEDOUT, but I don't really understand what it means.

>  
>> 2) could you please give me a hint on what to look for. since it works very well on x86 it might be
>> due to some arch differences. IIRC the PS3 is a 64 bit machine and big-endian(?)
> 
> No idea.  There are some unfixed bugs in the PS3 USB drivers though.
> 

Is there a bug report so I see if it looks similar?

>> 3) any idea how to add as much logging as possible on the USB layer.
> 
> Rebuild with the debugging enabled.  Look at the source to see how.

I have never built my own kernel for the PS3, it is going to take me some time.

You also suggested to unload ps3-ehci-driver and try ohci. I do I do that? In Fedora 12 they seem to
be built into the kernel and not removable?

> 
> -Geoff
> 



More information about the cbe-oss-dev mailing list