PC is at usb_pwc_probe+0x28/0x950 [pwc]
LR is at usb_probe_interface+0xc4/0x110
PC is at kref_get+0x10/0x64
LR is at kobject_get+0x20/0x28
试了两个摄像头,一插上去就是这样的错误提示,请问是那部分问题呢?是错误的指针,那怎样找呢
static int usb_pwc_probe(struct usb_interface *intf, const struct usb_device_id *id)
{
struct usb_device *udev = interface_to_usbdev(intf);
struct pwc_device *pdev = NULL;
int vendor_id, product_id, type_id;
int i, hint, rc;
int features = 0;
int video_nr = -1; /* default: use next available device */
char serial_number[30], *name;
/* Check if we can handle this device */
PWC_DEBUG_PROBE("probe() called [%04X %04X], if %d\n",
vendor_id, product_id,
intf->altsetting->desc.bInterfaceNumber);
.......
这个函数是一插摄像头就自动调用的
USB device controller drivers for PXA270 are not available in mainline kernels, and this is the main reason we do not support USB device functionality on CM-X270. Yet, there are several patches available at [2], Handhelds.org, Raphael Assenat site dedicated to Linux on CompuLab boards, and probably others. We never tried these patches, and we don't know which of them will work on CM-X270.
这是官方的说法,是usb问题吗