USB redux


515 posts   Page 12 of 21   1 ... 9, 10, 11, 12, 13, 14, 15 ... 21
by chriglu » Fri Mar 29, 2013 8:37 am
M_P wrote:Hello chriglu,

Can you remove one camera and test with a single thread to see if it your cameras work individually?

Does your USB hub have its own power supply?


I've got them both with a wlan-adapter on an USB-Hub with its own power supply.

I just tested around a bit and it they seem to work (for 10 minutes now) with v4l2_palette 8 (YU12) and resolution lowered from 640x480 to 320x240.

As soon as i raise the resolution to 640x480 i get watchdog timeout warnings:

Code: Select all
[0] Thread 1 - Watchdog timeout, trying to do a graceful restart
[0] Thread 2 - Watchdog timeout, trying to do a graceful restart


SteveDee wrote:
chriglu wrote:Hello

I'm running motion with two logitech webcams and have some errors...


I'm surprised they run even for a short time. I've never been able to get 2 webcams to run on Linux with a single USB controller. My understanding is that each cam is allocated/consumes over half the bandwidth (see: http://www.lavrsen.dk/foswiki/bin/view/Motion).

But maybe that's not the case with mjpeg....have you tried this config on a Linux pc through a single USB controller?

Be sure to let us know if you do get it working on a Pi.


I thought it wouldn't be a problem with a low resolution.
I used the webcams last year on an ALIX board which is quite similar to the raspberry pi i think.

EDIT: i'm just wondering how i can check if my usb-hub (with the cams) is working at usb 2.0 speed? If they are connected with 11mbps, then the issues wouldn't be a surprise i think :?

EDIT2: it seems they are connected at high-speed:
Code: Select all
Mar 29 09:15:28 earlybirdpi kernel: [    4.942223] usb 1-1.2.7: new high-speed USB device number 8 using dwc_otg
Mar 29 09:15:28 earlybirdpi kernel: [    4.372147] usb 1-1.2.6: new high-speed USB device number 7 using dwc_otg
Posts: 27
Joined: Thu Mar 28, 2013 10:17 pm
by jamesh » Fri Mar 29, 2013 10:00 am
kalehrl wrote:One would have thought that fixing repeating keyboard presses is more important than adding support for cameras and such addons but obviously that is not the case!


Just a an addendum to Gordon's post, the people working on the camera board and the software (mostly but not exclusively Gert and myself), are not the same people working on the USB (mostly Gordon). So the camera board has not slowed down the fix to USB one iota.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Please direct all questions to the forum, I do not do support via PM.
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 17390
Joined: Sat Jul 30, 2011 7:41 pm
by obcd » Fri Mar 29, 2013 1:02 pm
At 05-03-2013 Liz wrote in the News section:

Gordon is in charge of things camera, and he’s got ten boards to give away.


So I can understand some people get confused about priorities.
Posts: 908
Joined: Sun Jul 29, 2012 9:06 pm
by caerandir » Fri Mar 29, 2013 1:08 pm
Hi all,

thanks for the work on the USB driver! Much improvement indeed! My TV-card (Twinhan Magic Box Pro 704A, based on ULi 9207 chipset) now produces stable picture and sound (at least with some programs, still trying around). Still a little bit shaky are my webcam (using ov519 driver) and my USB soundcard (C-Media Electronics, Inc. CM106 Like Sound Device). The former once in a while has image distortions, and the latter stutters on audio recording, although both much less than before. If I can help with some additional log/output let me know.

Great work, keep going!

Caerandir
Posts: 124
Joined: Tue Dec 18, 2012 11:26 am
Location: Bonn, Germany
by jake77 » Fri Mar 29, 2013 1:21 pm
Hi,

I'm trying to read ttyUSB0 and ttyUSB1 simultaneously using PySerial. To the ports sensors are attached that output data at 100 Hz. If just one port is read, everything is fine, data arrives on time. By attaching a second sensor things slow down: 100 data points arrive in 1.5 sec instead of 1.0.
I've been struggling with this for some time now - things work perfectly on my laptop, but the same code - I tried simple sequential reading and multithreading as well under Raspbian (updated using rpi-update yesterday) and Archlinux - but so far no success. In fact, before yesterdays update the multithreading approach was ten times slower than the sequential.

I'm starting to think this is some kind of an USB-related driver or hardware issue. I'd appreciate any ideas how handling multiple ports could be sped up.

Jake
Posts: 7
Joined: Fri Mar 29, 2013 1:07 pm
by jamesh » Fri Mar 29, 2013 3:09 pm
obcd wrote:At 05-03-2013 Liz wrote in the News section:

Gordon is in charge of things camera, and he’s got ten boards to give away.


So I can understand some people get confused about priorities.


Gordon is one of the Foundation very few employees, so in this case he has been looking after/ distributing the board in the office. Look on him as 'Da Management' rather than 'Da squaddies'. He hasn't been working on the software for the camera, but has spent the last three months working on USB stuff. I can see the misunderstanding.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Please direct all questions to the forum, I do not do support via PM.
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 17390
Joined: Sat Jul 30, 2011 7:41 pm
by fbutler » Fri Mar 29, 2013 4:40 pm
M33P wrote:Hi.

A new kernel is available via rpi-update that implements a more realtime-friendly method of handling completed USB transactions.

Please test if your use case involves:
    - USB webcams
    - USB audio devices where you are recording audio
    - DVB/TV capture devices using an Isochronous transport (which is most of them)
    - A HID device (keyboard/mouse) that previously had problems with missed keypresses or repeating keypresses

I've finally had some limited success with an easycap stk1160 dongle using gstreamer 1.0. Previously I haven't had any success with getting non-distorted streaming from it, having tried a variety of drivers and resolutions with the device.

lsusb:
Code: Select all
Bus 001 Device 013: ID 05e1:0408 Syntek Semiconductor Co., Ltd STK1160 Video Capture Device
usb-devices:
Code: Select all
T:  Bus=01 Lev=04 Prnt=05 Port=02 Cnt=02 Dev#= 13 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=05e1 ProdID=0408 Rev=00.05
S:  Manufacturer=Syntek Semiconductor
S:  Product=USB 2.0 Video Capture Controller
C:  #Ifs= 3 Cfg#= 1 Atr=80 MxPwr=500mA
I:  If#= 0 Alt= 5 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=easycap
I:  If#= 1 Alt= 0 #EPs= 0 Cls=01(audio) Sub=01 Prot=00 Driver=snd-usb-audio
I:  If#= 2 Alt= 0 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=snd-usb-audio
v4l20-ctl --all
Code: Select all
Driver Info (not using libv4l2):
        Driver name   : easycap
        Card type     : EasyCAP DC60
        Bus info      : usb-bcm2708_usb-1.3.1.3
        Driver version: 0.9.1
        Capabilities  : 0x05020001
                Video Capture
                Audio
                Read/Write
                Streaming
Format Video Capture:
        Width/Height  : 360/288
        Pixel Format  : 'UYVY'
        Field         : None
        Bytes per Line: 720
        Size Image    : 207360
        Colorspace    : PAL/SECAM BG (ITU470/ITU601)
Crop Capability Video Capture:
        Bounds      : Left 0, Top 0, Width 360, Height 288
        Default     : Left 0, Top 0, Width 360, Height 288
        Pixel Aspect: 1/1
Crop Capability Video Capture:
        Bounds      : Left 0, Top 0, Width 360, Height 288
        Default     : Left 0, Top 0, Width 360, Height 288
        Pixel Aspect: 1/1
Video input : 0 (CVBS0: ok)
Video Standard = 0x0000021d
        PAL-B/G/H/I/N
Streaming Parameters Video Capture:
        Frames per second: 25.000 (25/1)
        Read buffers     : 4
At a resolution of 360 x 288 it works and provides a clear picture seemingly at full frame rate. There's a couple of error messages but these don't appear to affect the streaming
Code: Select all
 gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw, format='UYVY', width=360,height=288,framerate=25/1 ! videoconvert ! fbdevsink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
0:00:02.417573206  4450  0x1320890 ERROR                   v4l2 gstv4l2bufferpool.c:414:gst_v4l2_buffer_pool_set_config:<v4l2bufferpool0> error requesting 4 buffers: Device or resource busy
0:00:02.426584900  4450  0x1320890 ERROR                   v4l2 gstv4l2bufferpool.c:414:gst_v4l2_buffer_pool_set_config:<v4l2bufferpool0> error requesting 4 buffers: Device or resource busy

However when attempting to stream at 720x576 there are a lot of dropped frames. The picture is still good quality with no distortion, but the frame rate is about one frame per second.
Code: Select all
 gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw, format='UYVY', width=720, height=576, framerate=25/1 ! videoconvert ! fbdevsink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
0:00:02.353677127  4491   0xa74890 ERROR                   v4l2 gstv4l2bufferpool.c:414:gst_v4l2_buffer_pool_set_config:<v4l2bufferpool0> error requesting 4 buffers: Device or resource busy
0:00:02.361553736  4491   0xa74890 ERROR                   v4l2 gstv4l2bufferpool.c:414:gst_v4l2_buffer_pool_set_config:<v4l2bufferpool0> error requesting 4 buffers: Device or resource busy
WARNING: from element /GstPipeline:pipeline0/GstFBDEVSink:fbdevsink0: A lot of buffers are being dropped.
Additional debug info:
gstbasesink.c(2769): gst_base_sink_is_too_late (): /GstPipeline:pipeline0/GstFBDEVSink:fbdevsink0:
There may be a timestamping problem, or this computer is too slow.
WARNING: from element /GstPipeline:pipeline0/GstFBDEVSink:fbdevsink0: A lot of buffers are being dropped.
Additional debug info:
gstbasesink.c(2769): gst_base_sink_is_too_late (): /GstPipeline:pipeline0/GstFBDEVSink:fbdevsink0:
There may be a timestamping problem, or this computer is too slow.
WARNING: from element /GstPipeline:pipeline0/GstFBDEVSink:fbdevsink0: A lot of buffers are being dropped.
Additional debug info:
gstbasesink.c(2769): gst_base_sink_is_too_late (): /GstPipeline:pipeline0/GstFBDEVSink:fbdevsink0:
There may be a timestamping problem, or this computer is too slow.
WARNING: from element /GstPipeline:pipeline0/GstFBDEVSink:fbdevsink0: A lot of buffers are being dropped.
Additional debug info:
gstbasesink.c(2769): gst_base_sink_is_too_late (): /GstPipeline:pipeline0/GstFBDEVSink:fbdevsink0:
There may be a timestamping problem, or this computer is too slow.
WARNING: from element /GstPipeline:pipeline0/GstFBDEVSink:fbdevsink0: A lot of buffers are being dropped.
Additional debug info:
gstbasesink.c(2769): gst_base_sink_is_too_late (): /GstPipeline:pipeline0/GstFBDEVSink:fbdevsink0:
There may be a timestamping problem, or this computer is too slow.
It's not quite there yet but it's a massive improvement on previous attempts at getting this working so thanks for all the work on this so far.
User avatar
Posts: 302
Joined: Thu Mar 15, 2012 4:09 pm
Location: Surrey, England
by piotr-e » Fri Mar 29, 2013 5:50 pm
fbutler wrote:I've finally had some limited success with an easycap stk1160 dongle using gstreamer 1.0. Previously I haven't had any success with getting non-distorted streaming from it, having tried a variety of drivers and resolutions with the device.

lsusb:
Code: Select all
Bus 001 Device 013: ID 05e1:0408 Syntek Semiconductor Co., Ltd STK1160 Video Capture Device
usb-devices:
Code: Select all
T:  Bus=01 Lev=04 Prnt=05 Port=02 Cnt=02 Dev#= 13 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=05e1 ProdID=0408 Rev=00.05
S:  Manufacturer=Syntek Semiconductor
S:  Product=USB 2.0 Video Capture Controller
C:  #Ifs= 3 Cfg#= 1 Atr=80 MxPwr=500mA
I:  If#= 0 Alt= 5 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=easycap
I:  If#= 1 Alt= 0 #EPs= 0 Cls=01(audio) Sub=01 Prot=00 Driver=snd-usb-audio
I:  If#= 2 Alt= 0 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=snd-usb-audio
v4l20-ctl --all
Code: Select all
Driver Info (not using libv4l2):
        Driver name   : easycap
        Card type     : EasyCAP DC60
        Bus info      : usb-bcm2708_usb-1.3.1.3
        Driver version: 0.9.1
        Capabilities  : 0x05020001
                Video Capture
                Audio
                Read/Write
                Streaming
Format Video Capture:
        Width/Height  : 360/288
        Pixel Format  : 'UYVY'
        Field         : None
        Bytes per Line: 720
        Size Image    : 207360
        Colorspace    : PAL/SECAM BG (ITU470/ITU601)
Crop Capability Video Capture:
        Bounds      : Left 0, Top 0, Width 360, Height 288
        Default     : Left 0, Top 0, Width 360, Height 288
        Pixel Aspect: 1/1
Crop Capability Video Capture:
        Bounds      : Left 0, Top 0, Width 360, Height 288
        Default     : Left 0, Top 0, Width 360, Height 288
        Pixel Aspect: 1/1
Video input : 0 (CVBS0: ok)
Video Standard = 0x0000021d
        PAL-B/G/H/I/N
Streaming Parameters Video Capture:
        Frames per second: 25.000 (25/1)
        Read buffers     : 4
At a resolution of 360 x 288 it works and provides a clear picture seemingly at full frame rate. There's a couple of error messages but these don't appear to affect the streaming
Code: Select all
 gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw, format='UYVY', width=360,height=288,framerate=25/1 ! videoconvert ! fbdevsink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
0:00:02.417573206  4450  0x1320890 ERROR                   v4l2 gstv4l2bufferpool.c:414:gst_v4l2_buffer_pool_set_config:<v4l2bufferpool0> error requesting 4 buffers: Device or resource busy
0:00:02.426584900  4450  0x1320890 ERROR                   v4l2 gstv4l2bufferpool.c:414:gst_v4l2_buffer_pool_set_config:<v4l2bufferpool0> error requesting 4 buffers: Device or resource busy

However when attempting to stream at 720x576 there are a lot of dropped frames. The picture is still good quality with no distortion, but the frame rate is about one frame per second.
Code: Select all
 gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw, format='UYVY', width=720, height=576, framerate=25/1 ! videoconvert ! fbdevsink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
0:00:02.353677127  4491   0xa74890 ERROR                   v4l2 gstv4l2bufferpool.c:414:gst_v4l2_buffer_pool_set_config:<v4l2bufferpool0> error requesting 4 buffers: Device or resource busy
0:00:02.361553736  4491   0xa74890 ERROR                   v4l2 gstv4l2bufferpool.c:414:gst_v4l2_buffer_pool_set_config:<v4l2bufferpool0> error requesting 4 buffers: Device or resource busy
WARNING: from element /GstPipeline:pipeline0/GstFBDEVSink:fbdevsink0: A lot of buffers are being dropped.
Additional debug info:
gstbasesink.c(2769): gst_base_sink_is_too_late (): /GstPipeline:pipeline0/GstFBDEVSink:fbdevsink0:
There may be a timestamping problem, or this computer is too slow.
WARNING: from element /GstPipeline:pipeline0/GstFBDEVSink:fbdevsink0: A lot of buffers are being dropped.
Additional debug info:
gstbasesink.c(2769): gst_base_sink_is_too_late (): /GstPipeline:pipeline0/GstFBDEVSink:fbdevsink0:
There may be a timestamping problem, or this computer is too slow.
WARNING: from element /GstPipeline:pipeline0/GstFBDEVSink:fbdevsink0: A lot of buffers are being dropped.
Additional debug info:
gstbasesink.c(2769): gst_base_sink_is_too_late (): /GstPipeline:pipeline0/GstFBDEVSink:fbdevsink0:
There may be a timestamping problem, or this computer is too slow.
WARNING: from element /GstPipeline:pipeline0/GstFBDEVSink:fbdevsink0: A lot of buffers are being dropped.
Additional debug info:
gstbasesink.c(2769): gst_base_sink_is_too_late (): /GstPipeline:pipeline0/GstFBDEVSink:fbdevsink0:
There may be a timestamping problem, or this computer is too slow.
WARNING: from element /GstPipeline:pipeline0/GstFBDEVSink:fbdevsink0: A lot of buffers are being dropped.
Additional debug info:
gstbasesink.c(2769): gst_base_sink_is_too_late (): /GstPipeline:pipeline0/GstFBDEVSink:fbdevsink0:
There may be a timestamping problem, or this computer is too slow.
It's not quite there yet but it's a massive improvement on previous attempts at getting this working so thanks for all the work on this so far.


Can you send me link to driver, which you test :?: I have only driver for 3.2.27 kernel but do you test easycap with 3.6.11 :?:
Raspberry Pi, model B, revision 2, 256MB RAM; Raspbian; Huawei E3131 modem (it works :-) ); EasyCap 4CH USB DVR (it works, but very slow)

I'm sorry for my English.
User avatar
Posts: 71
Joined: Tue Aug 28, 2012 10:51 am
Location: Poland
by fbutler » Fri Mar 29, 2013 7:04 pm
piotr-e wrote:Can you send me link to driver, which you test :?: I have only driver for 3.2.27 kernel but do you test easycap with 3.6.11 :?:

The results are from using the latest raspian build having done sudo apt-get update, sudo apt-get upgrade and rpi-update. It is using the standard easycap driver that comes with the raspian build with no modifications.
User avatar
Posts: 302
Joined: Thu Mar 15, 2012 4:09 pm
Location: Surrey, England
by gordon77 » Fri Mar 29, 2013 7:21 pm
'Sudo apt-get update, sudo apt-get upgrade and rpi-update."

Does it make any difference which order you do these in ?

( by 'rpi- update' I assume that's the one on the menu)

Gordon77
Posts: 2907
Joined: Sun Aug 05, 2012 3:12 pm
by bullwinkle » Fri Mar 29, 2013 10:20 pm
Hi - try >>>>

Code: Select all
sudo wget http://goo.gl/1BOfJ -O /usr/bin/rpi-update
sudo chmod +x /usr/bin/rpi-update
sudo rpi-update

check your version with
Code: Select all
uname -a

and you should see something like
Code: Select all
Linux raspberrypi 3.6.11+ #399 PREEMPT Sun Mar 24 19:22:58 GMT 2013
Posts: 117
Joined: Wed Jan 09, 2013 12:14 pm
by chriglu » Sat Mar 30, 2013 9:04 am
Hi

A quick update about my webcam issues. I just discovered, that i haven't had the newest kernel installed. I thought it would update it all with "sudo apt-get update && sudo apt-get upgrade". I've only had a look about the version (3.6.11+) :oops:

before:
Code: Select all
Linux earlybirdpi 3.6.11+ #371 PREEMPT Thu Feb 7 16:31:35 GMT 2013 armv6l GNU/Linux


now:
Code: Select all
Linux earlybirdpi 3.6.11+ #401 PREEMPT Fri Mar 29 22:59:09 GMT 2013 armv6l GNU/Linux


After the update both webcams seems to work flawlessy since 10 minutes on 640x480! Well done guys! I will let you know if i run in new issues :)

Keep up the great work and thanks again!
Posts: 27
Joined: Thu Mar 28, 2013 10:17 pm
by gordon77 » Sat Mar 30, 2013 11:59 am
bullwinkle wrote:Hi - try >>>>

Code: Select all
sudo wget http://goo.gl/1BOfJ -O /usr/bin/rpi-update
sudo chmod +x /usr/bin/rpi-update
sudo rpi-update

check your version with
Code: Select all
uname -a

and you should see something like
Code: Select all
Linux raspberrypi 3.6.11+ #399 PREEMPT Sun Mar 24 19:22:58 GMT 2013


I tried this but I get

Linux raspberrypi 3.6.11+ #371 PREEMPT Sun Feb 07 16:31:35 GMT 2013...

something wrong ?

Gordon77
Posts: 2907
Joined: Sun Aug 05, 2012 3:12 pm
by gordon77 » Sat Mar 30, 2013 12:11 pm
Sorted I think

I needed to install git-core

now I have

Linux raspberrypi 3.6.11+ #401 PREEMPT Fri Mar 29 22:59:09 GMT 2013

:):)
Posts: 2907
Joined: Sun Aug 05, 2012 3:12 pm
by gordon77 » Sat Mar 30, 2013 12:14 pm
now its boots, but when I do a startx I just get a black screen :(
Posts: 2907
Joined: Sun Aug 05, 2012 3:12 pm
by SteveDee » Sat Mar 30, 2013 12:21 pm
gordon77 wrote:now its boots, but when I do a startx I just get a black screen :(


I had a similar problem, and it was because I'd run out of space on my SD. (I don't think the old kernel files are deleted during a kernel update). If so, clear some space and it should then boot into desktop ok.
User avatar
Posts: 342
Joined: Thu Dec 29, 2011 2:18 pm
Location: Sunny Southern England
by gordon77 » Sat Mar 30, 2013 12:42 pm
Thanks.

Gordon77
Posts: 2907
Joined: Sun Aug 05, 2012 3:12 pm
by gordon77 » Sat Mar 30, 2013 1:07 pm
Now up and running again, and now my Microsoft VX2000 webcam is working in my programme at 640 x 480, before it would only manage 352 x 288 :)

(philips 740 still not working)

Gordon77
Posts: 2907
Joined: Sun Aug 05, 2012 3:12 pm
by M33P » Sat Mar 30, 2013 1:20 pm
gordon77 wrote:Now up and running again, and now my Microsoft VX2000 webcam is working in my programme at 640 x 480, before it would only manage 352 x 288 :)

(philips 740 still not working)

Gordon77


What is reported by dmesg when you plug the camera in?
Can you lsusb -v with the 740 plugged in?

There are certain gspca-based drivers that don't play well with the Pi
Posts: 199
Joined: Sun Sep 02, 2012 1:14 pm
by gordon77 » Sat Mar 30, 2013 1:56 pm
dmesg says

pwc: Philips PCVC740K (Toucam Pro)/PCVC840 (Toucam II) USB webcam detected
pwc: Registered as video0
input: PWC snapshot button as /devices/platform/bcm2708_usb/usb/1-1/1-1.3/1-1.3.3/input/input4

lsusb shows

Bus 001 Device 010: ID 0471 0311 Philips (or NXP) PCVC740K ToUcam Pron [pwc]

how do I capture the ouput of lsusb -v, there are pages on it ?

Gordon
Posts: 2907
Joined: Sun Aug 05, 2012 3:12 pm
by M33P » Sat Mar 30, 2013 2:54 pm
Put the output into a file via lsusb -v > blah.txt

Then you can download it to a PC (or put it on /boot/ and put the SD card into a PC) and attach to a forum post.
Posts: 199
Joined: Sun Sep 02, 2012 1:14 pm
by rurwin » Sat Mar 30, 2013 3:10 pm
Even easier: log in to the Pi over SSH, then you can copy the text straight out of the window.
User avatar
Forum Moderator
Forum Moderator
Posts: 4179
Joined: Mon Jan 09, 2012 3:16 pm
by gordon77 » Sat Mar 30, 2013 3:14 pm
Thanks

Gordon77

Code: Select all
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp.
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         2 TT per port
  bMaxPacketSize0        64
  idVendor           0x0424 Standard Microsystems Corp.
  idProduct          0x9512
  bcdDevice            2.00
  iManufacturer           0
  iProduct                0
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           41
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                2mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      1 Single TT
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              12
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      2 TT per port
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              12

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         1 Single TT
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0002 2.0 root hub
  bcdDevice            3.06
  iManufacturer           3
  iProduct                2
  iSerial                 1
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval              12

Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass          255 Vendor Specific Class
  bDeviceSubClass         0
  bDeviceProtocol         1
  bMaxPacketSize0        64
  idVendor           0x0424 Standard Microsystems Corp.
  idProduct          0xec00
  bcdDevice            2.00
  iManufacturer           0
  iProduct                0
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           39
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                2mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0
      bInterfaceProtocol    255
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0010  1x 16 bytes
        bInterval               4

Bus 001 Device 004: ID 04f2:0963 Chicony Electronics Co., Ltd
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x04f2 Chicony Electronics Co., Ltd
  idProduct          0x0963
  bcdDevice            1.01
  iManufacturer           1
  iProduct                2
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           59
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower               98mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      1 Boot Interface Subclass
      bInterfaceProtocol      1 Keyboard
      iInterface              0
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.11
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      63
         Report Descriptors:
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval              10
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      1 Boot Interface Subclass
      bInterfaceProtocol      2 Mouse
      iInterface              0
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.11
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength     404
         Report Descriptors:
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval              10

Bus 001 Device 005: ID 0409:005a NEC Corp. HighSpeed Hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         1 Single TT
  bMaxPacketSize0        64
  idVendor           0x0409 NEC Corp.
  idProduct          0x005a HighSpeed Hub
  bcdDevice            1.00
  iManufacturer           0
  iProduct                0
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              12

Bus 001 Device 006: ID 2341:0001 Arduino SA Uno (CDC ACM)
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            2 Communications
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x2341 Arduino SA
  idProduct          0x0001 Uno (CDC ACM)
  bcdDevice            0.01
  iManufacturer           1
  iProduct                2
  iSerial               220
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           62
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xc0
      Self Powered
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         2 Communications
      bInterfaceSubClass      2 Abstract (modem)
      bInterfaceProtocol      1 AT-commands (v.25ter)
      iInterface              0
      CDC Header:
        bcdCDC               10.01
      CDC ACM:
        bmCapabilities       0x06
          sends break
          line coding and serial state
      CDC Union:
        bMasterInterface        0
        bSlaveInterface         1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval             255
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass        10 CDC Data
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x04  EP 4 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1

Bus 001 Device 010: ID 0471:0311 Philips (or NXP) PCVC740K ToUcam Pro [pwc]
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x0471 Philips (or NXP)
  idProduct          0x0311 PCVC740K ToUcam Pro [pwc]
  bcdDevice            0.03
  iManufacturer           0
  iProduct                0
  iSerial                 1
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          490
    bNumInterfaces          3
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              32
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x85  EP 5 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0000  1x 0 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       1
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              32
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x85  EP 5 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x00c4  1x 196 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       2
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              32
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x85  EP 5 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0124  1x 292 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       3
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              32
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x85  EP 5 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x01c0  1x 448 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       4
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              32
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x85  EP 5 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0250  1x 592 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       5
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              32
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x85  EP 5 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x02c0  1x 704 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       6
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              32
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x85  EP 5 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0308  1x 776 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       7
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              32
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x85  EP 5 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0348  1x 840 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       8
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              32
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x85  EP 5 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0380  1x 896 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       9
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              32
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x85  EP 5 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x03c0  1x 960 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting      10
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              32
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x85  EP 5 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x03c0  1x 960 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      1 Control Device
      bInterfaceProtocol      0
      iInterface              0
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      1 (HEADER)
        bcdADC               1.00
        wTotalLength           38
        bInCollection           1
        baInterfaceNr( 0)       2
      AudioControl Interface Descriptor:
        bLength                12
        bDescriptorType        36
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID             1
        wTerminalType      0x0201 Microphone
        bAssocTerminal          0
        bNrChannels             1
        wChannelConfig     0x0000
        iChannelNames           0
        iTerminal               0
      AudioControl Interface Descriptor:
        bLength                 8
        bDescriptorType        36
        bDescriptorSubtype      6 (FEATURE_UNIT)
        bUnitID                 2
        bSourceID               1
        bControlSize            1
        bmaControls( 0)      0x03
          Mute Control
          Volume Control
        iFeature                0
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID             3
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          0
        bSourceID               2
        iTerminal               0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0
      iInterface              0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0
      iInterface              0
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           3
        bDelay                  1 frames
        wFormatTag              1 PCM
      AudioStreaming Interface Descriptor:
        bLength                11
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             1
        bSubframeSize           2
        bBitResolution         16
        bSamFreqType            1 Discrete
        tSamFreq[ 0]        44100
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x005a  1x 90 bytes
        bInterval               1
        bRefresh                0
        bSynchAddress           0
        AudioControl Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x00
          bLockDelayUnits         0 Undefined
          wLockDelay              0 Undefined
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       2
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0
      iInterface              0
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           3
        bDelay                  1 frames
        wFormatTag              1 PCM
      AudioStreaming Interface Descriptor:
        bLength                11
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             1
        bSubframeSize           2
        bBitResolution         16
        bSamFreqType            1 Discrete
        tSamFreq[ 0]        22050
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x002e  1x 46 bytes
        bInterval               1
        bRefresh                0
        bSynchAddress           0
        AudioControl Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x00
          bLockDelayUnits         0 Undefined
          wLockDelay              0 Undefined
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       3
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0
      iInterface              0
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           3
        bDelay                  1 frames
        wFormatTag              1 PCM
      AudioStreaming Interface Descriptor:
        bLength                11
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             1
        bSubframeSize           2
        bBitResolution         16
        bSamFreqType            1 Discrete
        tSamFreq[ 0]        11025
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0019  1x 25 bytes
        bInterval               1
        bRefresh                0
        bSynchAddress           0
        AudioControl Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x00
          bLockDelayUnits         0 Undefined
          wLockDelay              0 Undefined
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       4
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0
      iInterface              0
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           3
        bDelay                  1 frames
        wFormatTag              1 PCM
      AudioStreaming Interface Descriptor:
        bLength                11
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             1
        bSubframeSize           2
        bBitResolution         16
        bSamFreqType            1 Discrete
        tSamFreq[ 0]         8000
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0010  1x 16 bytes
        bInterval               1
        bRefresh                0
        bSynchAddress           0
        AudioControl Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x00
          bLockDelayUnits         0 Undefined
          wLockDelay              0 Undefined

Bus 001 Device 008: ID 0781:5406 SanDisk Corp. Cruzer Micro U3
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x0781 SanDisk Corp.
  idProduct          0x5406 Cruzer Micro U3
  bcdDevice            2.00
  iManufacturer           1
  iProduct                2
  iSerial                 3
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           32
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              200mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk-Only
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
Posts: 2907
Joined: Sun Aug 05, 2012 3:12 pm
by Wildje » Wed Apr 03, 2013 7:58 am
Is there any way to see changelogs on the kernel revisions? Bridged-ethernet over USB is running way better with #399 then before. Im now wondering what's new in #401 :?
Posts: 5
Joined: Fri Jan 04, 2013 7:57 pm
by dom » Wed Apr 03, 2013 12:49 pm
Wildje wrote:Is there any way to see changelogs on the kernel revisions? Bridged-ethernet over USB is running way better with #399 then before. Im now wondering what's new in #401 :?


The prebuilt firmware is here:
https://github.com/raspberrypi/firmware

You can see:
https://github.com/raspberrypi/firmware ... ame_string is #399 and
https://github.com/raspberrypi/firmware ... ame_string is #401 (there was no #400 published).

The firmware commit message for #399 is
Rebuild with: dwc_otg: implement tasklet for returning URBs to usbcore hcd layer
Added Device IDs for August DVB-T 205.
spi-bcm2708: add 9-bit support using LoSSI mode
Firmware: new alsa scheme should fix hangs with libretro

The firmware commit message for #401 is
Add camera demo apps.
Revert memset patch that may be causing update issues.
Firmware: Non-discard mode for tunnelled EGL render
Firmware: Skip unused jpeg markers
Firmware: Allow latency for passthrough to reach zero fixing omxplayer hang

"Rebuild with: dwc_otg: implement tasklet for returning URBs to usbcore hcd layer" is likely to be the reason for the improvement. #401 doesn't change anything USB related.

You can find the corresponding source code change in the linux repo by:
https://github.com/raspberrypi/firmware ... a/git_hash which contains 79ec5aa57e2466e2cad5395fb47ad9c5c42537f9

Which you can view here:
https://github.com/raspberrypi/linux/co ... c5c42537f9

But, basically P33M submitted an improvement to the USB driver that has been a big success.
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5084
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge