On Tue, Jul 23, 2013 at 10:19:03AM -0700, Gene Kopan wrote: > > Hello Sarah, > > The result of setting bConfigurationValue to 0 is below > (and then plugging in Xtion camera). This successfully disables the > builtin web cam. It disabled the webcam, but it looks like the camera then disconnects and reconnects, which means the USB core will re-install the configuration. At this point, I don't know what else I can do to help. Sorry, I guess this device just can't work under this particular host controller. > Are the bandwidth units bytes/s? So the camera is asking for > 1663 bytes/s? Nope, the units are magic. I'd have to look at the code, but it's not really important to this discussion. Sarah Sharp > ------------------------------------------------------------------------------------------------------------------------------- > > (below is sudo su) > > whiz7u devices # cat 1-1.3/bConfigurationValue > 1 > whiz7u devices # echo 0 > 1-1.3/bConfigurationValue > whiz7u devices # cat 1-1.3/bConfigurationValue > whiz7u devices # tail /var/log/syslog > Jul 23 10:01:25 whiz7u kernel: [297806.296389] usb 3-1: >New USB > device found, idVendor=1d27, idProduct=0600 > Jul 23 10:01:25 whiz7u kernel: [297806.296399] usb 3-1: >New USB > device strings: Mfr=2, Product=1, SerialNumber=0 > Jul 23 10:01:25 whiz7u kernel: [297806.296405] usb 3-1: >Product: > PrimeSense Device > Jul 23 10:01:25 whiz7u kernel: [297806.296410] usb 3-1: > >Manufacturer: PrimeSense > Jul 23 10:01:25 whiz7u kernel: [297806.296556] ACPI Exception: > AE_AML_PACKAGE_LIMIT, Index (0x0000000000000008) is beyond end of > object (20120320/exoparg2-418) > Jul 23 10:01:25 whiz7u kernel: [297806.296559] ACPI Error: Method > parse/execution failed [\_SB_.PCI0.XHC_.RHUB.HSP1._PLD] (Node > ffff880213490ed8), AE_AML_PACKAGE_LIMIT (20120320/psparse-536) > Jul 23 10:01:25 whiz7u kernel: [297806.296806] xhci_hcd > 0000:00:14.0: >Not enough bandwidth. Proposed: 1663, Max: 1607 > Jul 23 10:01:25 whiz7u kernel: [297806.296808] xhci_hcd > 0000:00:14.0: >Not enough bandwidth > Jul 23 10:01:25 whiz7u kernel: [297806.296812] usb 3-1: >can't set > config #1, error -12 > Jul 23 10:01:25 whiz7u mtp-probe: bus: 3, device: 13 was not an MTP device > whiz7u devices # > ------------------------------------------------------------------------------------------------------------------------------- > > > > On 07/22/2013 01:14 PM, Sarah Sharp wrote: > >Did you set the configuration to 0 as well? If you tried to echo 0 to > >the bConfigurationValue file, did it succeed, or did it spit out an > >error? > > > >Do you still have other USB devices attached to the system (these > >include USB mouse and keyboards). If possible, try removing those as > >well, and using the webcam. You may have to ssh into your box to do > >this. > > > >Otherwise, I'm really not sure what you can do to get the camera working > >under the Intel xHCI host. There's just not enough bandwidth for it. > > > >I'll take a look at the lsusb output you gave me, and try to see what > >bandwidth the camera is asking for. > > > >Sarah Sharp > > > >On Sat, Jul 20, 2013 at 02:21:21PM -0700, Gene Kopan wrote: > >>Hi Sarah, > >> > >> I did manage to unbind the internal camera in in my ASUS u47a > >>laptop, but I still have the same problem and the same syslog > >>bandwidth messages when plugging the ASUS Xtion rgbd camera in > >>either a usb2 or usb3 port. > >> > >> Any further thoughts? > >> > >>thanks, > >>gene > >> > >> > >> > >>On 07/18/2013 03:37 PM, Sarah Sharp wrote: > >>>On Thu, Jul 18, 2013 at 01:49:04PM -0700, Gene Kopan wrote: > >>>>Hi Sarah, thanks for helping. I answer your questions below. > >>>> > >>>>On 07/18/2013 12:55 PM, Sarah Sharp wrote: > >>>>>On Thu, Jul 18, 2013 at 11:03:32AM -0700, Gene Kopan wrote: > >>>>>>Hello Sarah, > >>>>>> > >>>>>> I am having an xhci_hcd problem on my ASUS U47A laptop (running > >>>>>>linux Mint 14) failing to mount an ASUS Xtion PRO Live RGBD camera: > >>>>works fine on my older usb2 tower machine running mint 14 (same > >>>>kernel) or even ubuntu 10.04 > >>>Right, that's not an xHCI host. And you probably don't have the > >>>internal webcam. > >>> > >>>>>>Jun 5 14:39:44 whiz7u kernel: [15698.052800] xhci_hcd 0000:00:14.0: Not enough bandwidth. Proposed: 1663, Max: 1607 > >>>>>>Jun 5 14:39:44 whiz7u kernel: [15698.052809] xhci_hcd 0000:00:14.0: Not enough bandwidth > >>>>>>Jun 5 14:39:44 whiz7u kernel: [15698.052820] usb 3-1: can't set config #1, error -12 > >>>>>Your camera is taking up too much of the xHCI bus bandwidth. Not by > >>>>>much, but the host simply won't be able to provide that much bandwidth. > >>>> how can that be when the camera works fine on my older usb2 machine? > >>>>>What other USB devices do you have attached to the system? If you > >>>>>unplug them, and re-plug in the camera, does it work? > >>>>The ASUS u47a laptop also has a built-in video camera (which works > >>>>fine). I don't know how to disable it > >>>Find the camera in the lsusb (and `lsusb -t`) output, and then follow > >>>these directions to unbind the driver: > >>> > >>>http://lwn.net/Articles/143397/ > >>> > >>>Then try using your other camera. If that doesn't work, you may have to > >>>unconfigure the device by running something like: > >>> > >>>root@xanatos:/sys/bus/usb/devices/3-1.6# echo 0 > bConfigurationValue > >>> > >>>Alan, is that the right command? It fails on my machine with -EINVAL. > >>> > >>>> I have seen others complaining about this problem with xhci_hcd > >>>>drivers and this (Primesense)camera. I could find a pointer to such > >>>>a discussion if that is useful. Let me know if I can provide other > >>>>info. > >>>If that works, hopefully you can point them to the same solution. > >>> > >>>Sarah Sharp > >>> > >>> > > > -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html