hi-
i'm having a lot of trouble getting pwc working on my ibm thinkpad t40.
my camera is a logitech quickcam 4000 pro, and i'm running debian unstable
with a 2.6.22.5 kernel. first i tried the module in the kernel tree.
this loaded fine but when i tried to use the camera i would get messages
in the syslog similar to below.
i'm now using the latest snapshot of pwc (pwc-v4l2-20070908-042701)
and i get the same behavior. i have unloaded the ehci_hcd module, and
i have trace set to 255. interestingly, when i plug in the camera, it
is only recognised about 50% of the time, seemingly randomly. here are
the messages from syslog:
# plug in camera...
Sep 8 10:42:36 krazykat kernel: usb 2-2: new full speed USB device using
uhci_hcd and address 40
Sep 8 10:42:36 krazykat kernel: usb 2-2: device descriptor read/all, error -71
Sep 8 10:42:36 krazykat kernel: usb 2-2: new full speed USB device using
uhci_hcd and address 41
Sep 8 10:42:36 krazykat kernel: usb 2-2: device descriptor read/all, error -71
Sep 8 10:42:36 krazykat kernel: usb 2-2: new full speed USB device using
uhci_hcd and address 42
Sep 8 10:42:37 krazykat kernel: usb 2-2: device descriptor read/8, error -71
Sep 8 10:42:37 krazykat kernel: usb 2-2: device descriptor read/8, error -71
Sep 8 10:42:37 krazykat kernel: usb 2-2: new full speed USB device using
uhci_hcd and address 43
Sep 8 10:42:37 krazykat kernel: usb 2-2: unable to read config index 0
descriptor/all
Sep 8 10:42:37 krazykat kernel: usb 2-2: can't read configurations, error -84
# not recognised, unplug and try again
Sep 8 09:56:16 krazykat kernel: usb 2-2: new full speed USB device using
uhci_hcd and addres
s 21
Sep 8 09:56:16 krazykat kernel: usb 2-2: configuration #1 chosen from 1 choice
Sep 8 09:56:16 krazykat kernel: pwc: probe() called [046D 08B2], if 0
Sep 8 09:56:16 krazykat kernel: pwc: Logitech QuickCam 4000 Pro USB webcam
detected.
Sep 8 09:56:16 krazykat kernel: pwc: Device serial number is
Sep 8 09:56:16 krazykat kernel: pwc: Release: 0000
Sep 8 09:56:16 krazykat kernel: pwc: Registered as /dev/video0.
Sep 8 09:56:16 krazykat kernel: pwc: probe() function returning struct at
0xd786c000.
Sep 8 09:56:16 krazykat kernel: pwc: probe() called [046D 08B2], if 1
Sep 8 09:56:16 krazykat kernel: pwc: probe() called [046D 08B2], if 2
Sep 8 09:56:16 krazykat NetworkManager: <debug> [1189259776.564776]
nm_hal_device_added(): N
ew device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_46d_8b2_noserial_if0').
Sep 8 09:56:16 krazykat NetworkManager: <debug> [1189259776.605046]
nm_hal_device_added(): N
ew device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_46d_8b2_noserial_if1').
Sep 8 09:56:16 krazykat NetworkManager: <debug> [1189259776.650711]
nm_hal_device_added(): N
ew device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_46d_8b2_noserial_if2').
Sep 8 09:56:16 krazykat NetworkManager: <debug> [1189259776.658943]
nm_hal_device_added(): N
ew device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_46d_8b2_noserial_video4l
inux').
Sep 8 09:56:16 krazykat NetworkManager: <debug> [1189259776.698602]
nm_hal_device_added(): N
ew device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_46d_8b2_noserial_usbraw'
).
# seems to have found it, execute vgrabbj here...
Sep 8 09:56:34 krazykat kernel: pwc: >> video_open called(vdev = 0xd664a800).
Sep 8 09:56:34 krazykat kernel: pwc: Doing first time initialization.
Sep 8 09:56:34 krazykat kernel: pwc: Failed to set LED on/off time.
Sep 8 09:56:34 krazykat kernel: pwc: >> pwc_allocate_buffers(pdev = 0xd786c000)
Sep 8 09:56:34 krazykat kernel: pwc: Allocated iso buffer at d5e14000.
Sep 8 09:56:34 krazykat kernel: pwc: Allocated iso buffer at d5e18000.
Sep 8 09:56:34 krazykat kernel: pwc: Allocated frame buffer structure at
d666c580.
Sep 8 09:56:34 krazykat kernel: pwc: Allocated frame buffer 0 at e0c02000.
Sep 8 09:56:34 krazykat kernel: pwc: Allocated frame buffer 1 at e0e81000.
Sep 8 09:56:34 krazykat kernel: pwc: Allocated frame buffer 2 at e0ef3000.
Sep 8 09:56:34 krazykat kernel: pwc: Allocated image buffer at e0f65000.
Sep 8 09:56:34 krazykat kernel: pwc: << pwc_allocate_buffers()
Sep 8 09:56:34 krazykat kernel: pwc: >> pwc_reset_buffers __enter__
Sep 8 09:56:34 krazykat kernel: pwc: << pwc_reset_buffers __leaving__
Sep 8 09:56:34 krazykat kernel: pwc: set_video_mode(176x144 @ 10, palette 15).
Sep 8 09:56:34 krazykat kernel: pwc: Could not find suitable size.
Sep 8 09:56:34 krazykat kernel: pwc: First attempt at set_video_mode failed.
Sep 8 09:56:34 krazykat kernel: pwc: set_video_mode(160x120 @ 10, palette 15).
Sep 8 09:56:34 krazykat kernel: pwc: Failed to set video mode fps;
return code = -71
Sep 8 09:56:34 krazykat kernel: pwc: Second attempt at set_video_mode failed.
Sep 8 09:56:34 krazykat kernel: pwc: Entering free_buffers(d786c000).
Sep 8 09:56:34 krazykat kernel: pwc: Freeing ISO buffer at d5e14000.
Sep 8 09:56:34 krazykat kernel: pwc: Freeing ISO buffer at d5e18000.
Sep 8 09:56:34 krazykat kernel: pwc: Freeing frame buffer 0 at e0c02000.
Sep 8 09:56:34 krazykat kernel: pwc: Freeing frame buffer 1 at e0e81000.
Sep 8 09:56:34 krazykat kernel: pwc: Freeing frame buffer 2 at e0ef3000.
Sep 8 09:56:34 krazykat kernel: pwc: Freeing decompression buffer at d5dc0000.
Sep 8 09:56:34 krazykat kernel: pwc: Freeing image buffer at e0f65000.
Sep 8 09:56:34 krazykat kernel: pwc: Leaving free_buffers().
does anyone have any suggestions? i'd really love to get this camera working...
thanks,
john cummings
_______________________________________________
pwc mailing list
http://lists.saillard.org/mailman/listinfo/pwc
|