Usb endpoints problem

i have read "Using NI-VISA 3.0 to Control Your USB Devic" but i have a question about the endpoint..
i want to ask how do i know which endpoint i am using when i am tranfering data such as bulk type.
besides this tutorial, does there any tutorial related to usb raw device contorl?
THANK YOU~!

Hi Amuno,
The bulk type endpoints will be numbered. They will have numbers like
6000 usually, and you should know those numbers when you are trying to
connect to that device. Then you just open a connection to your
endpoint based on that number.
If this is not clear, please let me know and I will help you further.
Regards,
Matt S.
LabVIEW Integration Engineer with experience in LabVIEW Real-Time, LabVIEW FPGA, DAQ, Machine Vision, as well as C/C++. CLAD, working on CLD and CLA.

Similar Messages

  • USB Sound Problem

    I'm having a problem with my Bose USB sound system that has just recently developed. The system is plugged directly into the back of my Mac Pro desktop so it's not going through any hubs or secondary systems. When I first start my computer the sound works just fine. But after about 10 to 15 minutes of use the sound stops completely - as if the sounds have been turned off. If I boot into Windows 7 using Boot Camp, the sound system there works just fine with no problems at all, so I do not believe this issue is hardware related but is something associated with OS X.
    This all started recently after installing Tinker Tool and then realizing that their latest version is not compatible with Snow Leopard. I followed their directions and told Tinker Tool to restore the previous settings and then I removed it from my system. Now, I'm having this USB sound problem. I think it's highly probable to be the cause of my problem.
    Is there anyway to reinstall the USB drivers in OS X without reinstalling the entire OS? Or, is there something else I can try to restore the USB function to Snow Leopard? Many thanks for any tips or suggestions.

    They are plug and play.
    I did try unplugging all of the USB devices and then powered off the computer and unplugged it for about 5 minutes as I heard that that sometimes solves USB problems. However, upon reconnecting the problem returned. All other USB devices seem to be working normally - it's only the Bose sound system. I tried plugging it into a different USB port in the back of the computer but the problem continued after about 10 minutes. Therefore, I am convinced this is not hardware related.
    At this point I am thinking I need to reinstall OS X Snow Leopard to undo whatever Tinker Tool damaged. Is it possible to just replace the USB drivers in OS X without reinstalling everything?

  • Lumia 620 usb disconnection problem

    Hi. Am facing a problem of usb disconnection while transferring data from my laptop. It's good for 1 or 2 minutes, after that am getting device not available on my laptop.
    Also I noticed the charging symbol on battery is blinking when connected to usb, but ok when connected to power cord. Is that blinking normal?
    clarify please

    The blinking is not normal.  I haven't run across any bad USB cable problems on Nokia phones but there have been some HTC USB cables that work to charge but not fot the PC connection. If you have another similar USB cable try it. Try other PC usb ports also

  • After upgrade to ios 6 usb connection problems with car stereo

    Hi Everyone,
    after ios upgrade to ios6 i am not further able to use the iPhone 4s as music device - having usb connection problems ("not readable"). I am sure, that the upgrade ist the culprit; worked fine before. My car stereo is built in a Volvo XC 60; the device is connected via the standard usb cable by apple.
    Any Ideas?
    Thanks
    Ivo

    (same problem thread): see also https://discussions.apple.com/message/20185146#20185146 (not fixed)

  • [N85] USB charging problem

    Hello all,
    I tried to charge my N85 with an [non-Nokia] USB battery charger (Lenovo 90W Slim AC/DC Combo Adapter) via the Nokia Connectivity Cable (CA-101) to keep down the amount of chargers I have to carry.
    But except of asking, which data connection profile I want to use, there is no charging at all.
    Am I doing something wrong or is the N85 only chargeable by the original Nokia wall charger?
    Thank you
    sicut

    30-Nov-2008 09:35 PM
    rbreton74 wrote:
    @sapporaby: Are you sure you have read my post completely? "Apple" is a brand o usb charger that does not work with my Nokia N85. It's a brand like "Kensington", with a usb charger that do work. Both usb charger worked with my old Nokia N95. I just want to know whether someone else has this problem usb charging problems too or if only my problem, and to make know @sicut that he is not the only one with usb charging problems with his Nokia N85 and his Lenovo charger.
    @sapporaby, is it "apple" a word taboo for you? Why "kensington" is not taboo? Why "lenovo" is not taboo either?
    1. I have had every Mac made since 2003.
    2. I am typing this on a Mac now.
    3. I have had and still have every iPhone made.
    4. Same with every brand iPod.
    5. I am running Apple software right now and the Nokia for Mac software.
    Is that taboo enough for you? DON'T ASSUME because now your taboo question is moot.
    As for your the Apple charger does not work issue, my question still stands. While your Apple charger may have worked with your N95 there is no reason why it should work with your N85. Are they the same phone?. Is the N85 made by Apple? No again. Does the Apple charger supply the same charging voltage as the Nokia charger that came with the phone? These are issues that come into play. What is so hard to use the cable that came with the phone. It seems, and maybe I am wrong but you and the OP are making a mountain out of a moe-hill.
    Just use the cable that came with the phone, in the USB port of your computer and be done with it. I am having a very hard time trying to understand what the problem is with using the cable.
    Message Edited by sapporobaby on 30-Nov-2008 10:07 PM
    Show the KUDOS button some love.... Hit that bad boy.... It don't hurt....
    Apple iPhone 5,
    Retina MacBook Pro, iPad Mini, Nikon D4

  • N78 USB CONNECTIVITY PROBLEMS

    Hy guys,
    Since i've bought my N78 i've been able to connect the phone via cable only one time. After that, every time i've tryed to connect my n78 via cable my computer doesn't recognize my Phone.
    When I plug USB cable in one of the USB ports, Windows XP gives me back an error that says "USB devices not recognized - One or more devices connected to the computer has not worked correctly. Windows is not able to recognize it".
    I've reinstalled PC suite thousands of times,but nothing changes.
    My phone has the 12.046 software version. I know that there'e a newer version but how I can update it if my PC does not recognize the phone, and hence, PC suite is not able to connect to the phone.
    Many thanks for you help
    m

    you have another option in updating via Firmware Over The Air. you can do this by entering *#0000# in the standby screen and selecting Options > Check for updates. if an update is not available over NSU, then it may be on FOTA instead for your product code. this method of updating only takes about three to five minutes anyway. remember to do a hard reset (three-finger hard reset) after updating your phone to the new firmware.
    so you can probably update from 12.046 to 20.149 or 21.002. USB connectivity problems are probably due to problems with the USB cable or the computer, i have had no problems at all with USB connectivity in all the time i've had my N78, even under 12.046 firmware.
    let us know how it goes.
    If you found this or someone's comments helpful or like what that person has to say, please give some Kudos to their post!

  • USB mounting problem

    I have done my best to research this, but have not found a solution.
    After a new Arch installation on a new machine (Dell Precision T3400) I am unable to change the permissions (even as root!) on files once they are transferred to the usbstick (a Code 1 error message is returned). Other operations, such as copying, moving and deleting occur as usual. I have also noticed that as soon as files are transferred to the USB stick, the permissions get changed (but not the ownership), as if whatever is reading the stick is also changing the permissions.
    It is not the stick -- the same stick performs normally on every other computer I use it on.
    fstab: /dev/sdc1   /mnt/usbstick  vfat   rw,user,auto,sync  0    0
    (basically the same as on 3 other Linux machines I use, all running Arch).
    When mounted, sdc1 has ownership  root:disk.  I have added myself to the disk group. /mnt/usbstick has myself as the owner.
    Not a major problem, just slightly irritating.
    Thea

    Thanks, Pheon --
    I just noticed I made a mistake in giving my fstab line, it should be:
    /dev/sdc1   /mnt/usbstick   vfat   rw,user,noauto,sync   0   0
    (so "noauto" instead of "auto" in the mount options)
    As I indicated, this is not a USB stick problem (same stick works just fine on other machines) -- also, in my attempts to troubleshoot this, I changed the filesystem on the USB stick to VFAT -- previously, it was whatever the default is when it comes out of the factory, and at that time the fstab line looked like:
    /dev/sdc1   /mnt/usbstick   auto   rw,user,noauto,sync   0   0
    Same situation, i.e. changing the filesystem did not affect the problem in any way.
    Any other ideas?

  • X6 8gb Usb Port Problem

    My x6 usb port not working and i took it to nokia care to fix that problem and they told me that we don't have that type of IC to fix your problem and we can't fix your usb port problem .....if u can't fix the problem they why the hell your running service centre i am totally fed up with this nokia ....guys pls tell what should i do now

    Can't they arrange for the part ? Insist on that.. if they agree, you may be asked to pay for the part upfront..If they do not, contact Nokia by using the 'Contact Us' tab at the top of this page and hope for a favourable resolution.

  • Usb ipod problems

    It recognized the new iPod as "Unknown Device" in Device Manager... I went through all the steps I found in the Apple support network - and to no avail...
    There's always that unrecognized yellow exclamation point on the question mark icon, even though the iPod is charging fine... What to do?
    Thank you in advance
    Ran Bleich

    I have exactly the same problem, my 4g 20 gb Ipod will report a fully charged battery when I connect it to the Apple USB AC adapter (or any other AC USB power adapter), connecting it to my Laptop USB 2.0 port gives the same indication, however, the battery is not really charged, upon disconnecting the cable from the AC adapter or the USB port, the battery icon reverts to its former status (almost completely discharged). The only way I can charge this Ipod is to connect it to a powered Firewire port or dock the Ipod in my Altec Lansing InMotion speakers, I know the USB AC charger used to work before I updated Ipod with the latest updater, I did the update just after it became available, I am not sure if this problem was caused by the update or not, I don't usually have to use the USB ac adapter, so I can't tell if the usb charging problem appeared right after the update or much later.
    It would be much appreciated if somebody posts a solution for this...
    IBM Thinkpad T42   Windows XP  
    IBM Thinkpad T42   Windows XP  

  • Nokia N900 USB connection Problem

    Hi,
    Nokia N900 USB connection Problem.
    I am very embarrassed to admit this but.......
    I removed something (I cannot remember what) and now when I connect my Nokia N900 to my pc using the data cable it starts charging only.
    Previously I could choose between "mass storage" mode and "PC Suite" mode.
    Now I cannot access any files on my phone from my PC.
    can anyone help please?
    Thank you in advance.

    Problem Solved!!
    I had unckecked USB status menu in the powatool app.

  • K8N Neo2 USB boot problem

    Hi, I'm trying to fix my computer (it freezes on every operating system all of a sudden), and I need to use the USB boot to load Linux Live and Windows installation (both froze as well). The problem is that it'll take the USB just once in a while, and that is causing me a big loss of time to make the tests and a headache. First thing I did was memtest and I found corrupt memory, thus I replaced the DIMM. But the freezing is still there.
    Do you have any hint? I know it's a double question but at least if the USB boot was working all the time it'd be a lot faster to load stuff and try to fix the problem.
    Thanks for your hints!

    Quote from: Henry on 04-October-11, 07:26:40
    First thing tell us what the rest of the PC consists of.
    I didn't think the rest of my hardware would matter with the USB boot problem, anyway:
    1.D BIOS
    Athlon 64 3000+
    512 mb ddr PC3200
    Geforce4 MX 440 AGP
    300W power supply
    Maxtor 250 GB IDE
    Thanks for your attention.

  • USB 3 problem with OEL 6.3

    Hi,
    after connecting an external 2.5" HDD (USB 3 ready!!) to one of my USB 3 interfaces I recognized a lot of xhci_hcd warnings. They all look the same.
    xhci_hcd 0000:0e:00.0: WARN: Stalled endpoint.
    I tried to connect while the OS was running.
    According to the output of my lsmod command it seems to be that the xhci_hcd kernel module is loaded but not used. Here is the output:
    xhci_hcd 123859 0
    In spite of these warnings the HDD seems to work. May be with a reduced speed??
    As I am a Linux newbie I don't know how to investigate further or to get rid of this problem.
    Could you please give some advice?
    Thanks and regards
    Volker
    P.S. I am using the following kernel: 2.6.39-200.24.1.el6uek.x86_64

    Oracle Linux or any other Linux distribution based on the source of RHEL is designed for enterprise server hardware. However, the USB 3 issue you are experiencing is not an issue with Enterprise Linux only and apparently affects other Linux distributions too. The solution for the problem is usually a device firmware and Linux kernel upgrade. You could try to upgrade to OL 6.4 and use the latest Oracle UEK2 kernel or switch to a Debian based desktop distribution, such as Ubuntu, which deploys the latest versions of available Linux software.

  • USB firmware problem

    Hello Archers.
    I recently encountered a problem with my USB : I have an Alienware M17xR4, with 4 USB3 ports. Three of them work perfectly, but one refuse to work (can't mount USB key, mouses don't work…).
    The problem doesn't occur at every boot, and I haven't encoutered it on Windows so I don't think (hope…) it is a hardware failure.
    When this problem happens, a message appear at boot: "usb 1-4.4: ti_download_firmware - error downloading firmware, -32"
    Some informations:
    lspci | grep USB
    00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
    00:1a.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
    00:1d.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
    journalctl -b -0 -r -o short | grep usb
    mars 03 15:24:13 ArchLinux upowerd[563]: (upowerd:563): UPower-Linux-WARNING **: native path /sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4.4/1-4.4:1.0 ((null)) ignoring
    mars 03 15:24:13 ArchLinux mtp-probe[775]: checking bus 1, device 7: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4.4"
    mars 03 15:24:13 ArchLinux mtp-probe[773]: checking bus 1, device 7: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4.4"
    mars 03 15:24:13 ArchLinux kernel: usb 1-4.4: TI USB 3410 1 port adapter converter now attached to ttyUSB0
    mars 03 15:24:13 ArchLinux kernel: ti_usb_3410_5052 1-4.4:2.0: TI USB 3410 1 port adapter converter detected
    mars 03 15:24:13 ArchLinux kernel: ti_usb_3410_5052: probe of 1-4.4:1.0 failed with error -5
    mars 03 15:24:13 ArchLinux kernel: ti_usb_3410_5052 1-4.4:1.0: TI USB 3410 1 port adapter converter detected
    mars 03 15:24:13 ArchLinux kernel: usb 1-4.4: new full-speed USB device number 7 using xhci_hcd
    mars 03 15:24:13 ArchLinux kernel: usb 1-4.4: USB disconnect, device number 6
    mars 03 15:24:13 ArchLinux kernel: ti_usb_3410_5052: probe of 1-4.4:1.0 failed with error -5
    mars 03 15:24:13 ArchLinux kernel: usb 1-4.4: device firmware changed
    mars 03 15:24:13 ArchLinux kernel: usb 1-4.4: reset full-speed USB device number 6 using xhci_hcd
    mars 03 15:24:12 ArchLinux kernel: usb 1-4.4: Falling back to user helper
    mars 03 15:24:12 ArchLinux kernel: usb 1-4.4: Direct firmware load failed with error -2
    mars 03 15:24:12 ArchLinux kernel: ti_usb_3410_5052 1-4.4:1.0: TI USB 3410 1 port adapter converter detected
    mars 03 15:24:12 ArchLinux kernel: usb 1-4.4: new full-speed USB device number 6 using xhci_hcd
    mars 03 15:24:12 ArchLinux kernel: usb 1-4.4: USB disconnect, device number 5
    mars 03 15:24:12 ArchLinux kernel: ti_usb_3410_5052: probe of 1-4.4:1.0 failed with error -5
    mars 03 15:24:12 ArchLinux kernel: usb 1-4.4: ti_download_firmware - error downloading firmware, -32
    mars 03 15:24:12 ArchLinux kernel: usbcore: registered new interface driver uvcvideo
    mars 03 15:24:12 ArchLinux kernel: input: Laptop_Integrated_Webcam_FHD as /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.5/3-1.5:1.0/input/input14
    mars 03 15:24:12 ArchLinux kernel: usb 1-4.4: Falling back to user helper
    mars 03 15:24:12 ArchLinux kernel: usb 1-4.4: Direct firmware load failed with error -2
    mars 03 15:24:12 ArchLinux kernel: ti_usb_3410_5052 1-4.4:1.0: TI USB 3410 1 port adapter converter detected
    mars 03 15:24:12 ArchLinux kernel: usbserial: USB Serial support registered for TI USB 5052 2 port adapter
    mars 03 15:24:12 ArchLinux kernel: usbserial: USB Serial support registered for TI USB 3410 1 port adapter
    mars 03 15:24:12 ArchLinux kernel: usbcore: registered new interface driver ti_usb_3410_5052
    mars 03 15:24:12 ArchLinux kernel: usbserial: USB Serial support registered for generic
    mars 03 15:24:12 ArchLinux kernel: usbcore: registered new interface driver usbserial_generic
    mars 03 15:24:12 ArchLinux kernel: usbcore: registered new interface driver usbserial
    mars 03 15:24:12 ArchLinux kernel: usbcore: registered new interface driver btusb
    mars 03 15:24:12 ArchLinux mtp-probe[247]: checking bus 1, device 3: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4.2"
    mars 03 15:24:12 ArchLinux mtp-probe[248]: checking bus 1, device 4: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4.3"
    mars 03 15:24:12 ArchLinux mtp-probe[249]: checking bus 1, device 5: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4.4"
    mars 03 15:24:12 ArchLinux mtp-probe[252]: checking bus 3, device 4: "/sys/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.5"
    mars 03 15:24:12 ArchLinux mtp-probe[251]: checking bus 3, device 3: "/sys/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.2"
    mars 03 15:24:11 ArchLinux kernel: usb 4-1.5: new full-speed USB device number 3 using ehci-pci
    mars 03 15:24:11 ArchLinux kernel: usb 3-1.5: new high-speed USB device number 4 using ehci-pci
    mars 03 15:24:11 ArchLinux kernel: hid-generic 0003:187C:0520.0005: hiddev0,hidraw4: USB HID v1.01 Device [Alienware M17x] on usb-0000:00:1a.0-1.2/input0
    mars 03 15:24:11 ArchLinux kernel: usb 3-1.2: config 1 interface 0 altsetting 0 has 2 endpoint descriptors, different from the interface descriptor's value: 1
    mars 03 15:24:11 ArchLinux kernel: usb 3-1.2: new full-speed USB device number 3 using ehci-pci
    mars 03 15:24:11 ArchLinux kernel: usb 1-4.4: new full-speed USB device number 5 using xhci_hcd
    mars 03 15:24:11 ArchLinux kernel: hid-generic 0003:1532:0109.0004: input,hidraw3: USB HID v1.10 Device [Razer Razer Lycosa] on usb-0000:00:14.0-4.3/input1
    mars 03 15:24:11 ArchLinux kernel: input: Razer Razer Lycosa as /devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4.3/1-4.3:1.1/input/input11
    mars 03 15:24:11 ArchLinux kernel: hid-generic 0003:1532:0109.0003: input,hidraw2: USB HID v1.10 Keyboard [Razer Razer Lycosa] on usb-0000:00:14.0-4.3/input0
    mars 03 15:24:11 ArchLinux kernel: input: Razer Razer Lycosa as /devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4.3/1-4.3:1.0/input/input10
    mars 03 15:24:11 ArchLinux kernel: usb 1-4.3: ep 0x82 - rounding interval to 64 microframes, ep desc says 80 microframes
    mars 03 15:24:11 ArchLinux kernel: usb 1-4.3: new full-speed USB device number 4 using xhci_hcd
    mars 03 15:24:11 ArchLinux kernel: hid-generic 0003:1532:002F.0002: input,hidraw1: USB HID v1.11 Keyboard [Razer Razer Imperator] on usb-0000:00:14.0-4.2/input1
    mars 03 15:24:11 ArchLinux kernel: input: Razer Razer Imperator as /devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4.2/1-4.2:1.1/input/input9
    mars 03 15:24:11 ArchLinux kernel: hid-generic 0003:1532:002F.0001: input,hidraw0: USB HID v1.11 Mouse [Razer Razer Imperator] on usb-0000:00:14.0-4.2/input0
    mars 03 15:24:11 ArchLinux kernel: input: Razer Razer Imperator as /devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4.2/1-4.2:1.0/input/input8
    mars 03 15:24:11 ArchLinux kernel: usbhid: USB HID core driver
    mars 03 15:24:11 ArchLinux kernel: usbcore: registered new interface driver usbhid
    mars 03 15:24:11 ArchLinux kernel: usb 1-4.2: new full-speed USB device number 3 using xhci_hcd
    mars 03 15:24:11 ArchLinux kernel: usb 4-1: new high-speed USB device number 2 using ehci-pci
    mars 03 15:24:11 ArchLinux kernel: usb 3-1: new high-speed USB device number 2 using ehci-pci
    mars 03 15:24:11 ArchLinux kernel: usb 1-4: new high-speed USB device number 2 using xhci_hcd
    mars 03 15:24:11 ArchLinux kernel: usb 2-4: new SuperSpeed USB device number 2 using xhci_hcd
    mars 03 15:24:11 ArchLinux kernel: usbcore: registered new device driver usb
    mars 03 15:24:11 ArchLinux kernel: usbcore: registered new interface driver hub
    mars 03 15:24:11 ArchLinux kernel: usbcore: registered new interface driver usbfs
    Don't hesitate to ask any more details.
    Thanks.
    Last edited by Cthulhu82 (2014-03-03 15:46:49)

    апр 26 01:05:48 alexander mtp-probe[235]: checking bus 3, device 3: "/sys/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.1"
    апр 26 01:05:46 alexander systemd-modules-load[148]: Inserted module 'usbip_host'
    апр 26 01:05:46 alexander systemd-modules-load[148]: Inserted module 'usbip_core'
    апр 26 01:05:46 alexander kernel: usbip_host: USB/IP Host Driver v1.0.0
    апр 26 01:05:46 alexander kernel: usbcore: registered new device driver usbip-host
    апр 26 01:05:46 alexander kernel: usbip_core: USB/IP Core v1.0.0
    апр 26 01:05:46 alexander kernel: usb 3-1-port2: unable to enumerate USB device
    апр 26 01:05:46 alexander kernel: usb 3-1.2: device not accepting address 7, error -32
    апр 26 01:05:46 alexander kernel: usb 3-1.2: new high-speed USB device number 7 using ehci-pci
    апр 26 01:05:46 alexander kernel: usb 3-1.2: device not accepting address 6, error -32
    апр 26 01:05:46 alexander kernel: usb 3-1.2: new high-speed USB device number 6 using ehci-pci
    апр 26 01:05:46 alexander kernel: usb 3-1.2: device descriptor read/64, error -71
    апр 26 01:05:46 alexander kernel: usb 3-1.2: device descriptor read/64, error -71
    апр 26 01:05:46 alexander kernel: usb 3-1.2: new high-speed USB device number 5 using ehci-pci
    апр 26 01:05:46 alexander kernel: usb 3-1.2: device descriptor read/64, error -71
    апр 26 01:05:46 alexander kernel: usb 3-1.2: device descriptor read/64, error -71
    апр 26 01:05:46 alexander kernel: usb 3-1.2: new high-speed USB device number 4 using ehci-pci
    апр 26 01:05:46 alexander kernel: usb 4-1.6: string descriptor 0 read error: -22
    апр 26 01:05:46 alexander kernel: usb 4-1.6: new full-speed USB device number 3 using ehci-pci
    апр 26 01:05:46 alexander kernel: usb 3-1.1: new high-speed USB device number 3 using ehci-pci
    апр 26 01:05:46 alexander kernel: usb 4-1: new high-speed USB device number 2 using ehci-pci
    апр 26 01:05:46 alexander kernel: usb 3-1: new high-speed USB device number 2 using ehci-pci
    апр 26 01:05:46 alexander kernel: usbcore: registered new device driver usb
    апр 26 01:05:46 alexander kernel: usbcore: registered new interface driver hub
    апр 26 01:05:46 alexander kernel: usbcore: registered new interface driver usbfs
    I have the same problem but with my phone :-( and I don't known how to mount my device by mtp protocol

  • USB communication problems

    Hello,
    I'm facing some problems with USB communication between a software application build with visual studio and a microcontoller.
    Basically the USB communication is working, I send data from the µController to PC by splitting the data up into packets of 64bytes.
    1st problem:
    Everything works fine with data packets up to a number of 5. If my data is bigger, so that I have to split it up into 6 packages or more, the communication freezes when sending the 6th packet. It seems that the endpoint/streamhandle keeps being busy (regarding
    to the debugging of the µC), but I don't know why.
    Here is the part where I read the data:
    HANDLE OverlappedReadPingEvent;
    HANDLE OverlappedWriteEvent;
    OVERLAPPED OverlappedReadPing;
    OVERLAPPED OverlappedWrite;
    OverlappedReadPingEvent = CreateEvent(NULL, FALSE, FALSE, NULL);
    OverlappedWriteEvent = CreateEvent(NULL, FALSE, FALSE, NULL);
    OverlappedReadPing.Internal = 0;
    OverlappedReadPing.InternalHigh = 0;
    OverlappedReadPing.Offset = 0;
    OverlappedReadPing.OffsetHigh = 0;
    OverlappedReadPing.hEvent = OverlappedReadPingEvent;
    ReadWriteHandleError = GetReadWriteHandle(pThread->SerialNumber, 2, &(pThread->ReadWriteHandlePing)); // Handle öffnen zum Lesen und Schreiben EP 2
    if (!ISUCCEEDED(ReadWriteHandleError))
    SetEvent(pThread->Events.IsGenReadError);
    ResetEvent(pThread->Events.Resume);
    SetEvent(pThread->Events.Break);
    SetEvent(pThread->Events.IsAutoStopDevice);
    OutLenPing = 0;
    if (!ReadFile(pThread->ReadWriteHandlePing, pThread->ReadBufferPing, pThread->PacketLength+1, &OutLenPing, &OverlappedReadPing))
    if (GetLastError() == ERROR_IO_PENDING)
    if (WaitForSingleObject(OverlappedReadPing.hEvent, pThread->TimeOut) == WAIT_OBJECT_0)
    if (!GetOverlappedResult(pThread->ReadWriteHandlePing, &OverlappedReadPing, &OutLenPing, FALSE))
    OutLenPing = 0;
    else
    OutLenPing = 0;
    2nd problem:
    when using the application with 5 or less data packets, I get an error after a while (about 1:30min) telling me about unkown serial number.
    that's the corresponding code:
    Error = GererateSerialString(SerialNumber, (PWSTR)SerialString, 17);
    if (ISUCCEEDED(Error))
    HardwareDeviceInfo = SetupDiGetClassDevs( (LPGUID)&GUID_DEVINTERFACE_MCHPUSB,
    NULL,
    NULL,
    (DIGCF_PRESENT | DIGCF_DEVICEINTERFACE));
    if (HardwareDeviceInfo != INVALID_HANDLE_VALUE)
    Error = TestInterfaceNumber( (LPGUID)&GUID_DEVINTERFACE_MCHPUSB,
    HardwareDeviceInfo,
    (PWSTR)SerialString);
    if (IFAILED(Error))
    // interface not found error
    Error = FormatErrorCode(MODUL_NUMBER, 1, 0, L"Interface unbekannt.");
    SetupDiDestroyDeviceInfoList(HardwareDeviceInfo);
    else
    // SetupDiGetClassDevs error
    Error = FormatErrorCode(MODUL_NUMBER, 1, 1, L"Hardware-Info nicht ermittelt.");
    and
    DWORD TestInterfaceNumber( __in LPGUID InterfaceGuid,
    __in HDEVINFO HardwareDeviceInfo,
    __in PWSTR SerialString)
    SP_DEVICE_INTERFACE_DATA DeviceInterfaceData;
    SP_DEVINFO_DATA DeviceInfoData;
    BOOL Success = true;
    DWORD LocalInterfaceNumber = 0;
    while(Success != FALSE)
    DeviceInterfaceData.cbSize = sizeof(SP_DEVICE_INTERFACE_DATA);
    if(!SetupDiEnumDeviceInterfaces( HardwareDeviceInfo,
    0,
    InterfaceGuid,
    LocalInterfaceNumber,
    &DeviceInterfaceData))
    return FormatErrorCode(MODUL_NUMBER, 2, 0, L"Interfaces nicht ermittelt.");
    DeviceInfoData.cbSize = sizeof(SP_DEVINFO_DATA);
    if(!SetupDiEnumDeviceInfo( HardwareDeviceInfo,
    LocalInterfaceNumber,
    &DeviceInfoData))
    return FormatErrorCode(MODUL_NUMBER, 2, 1, L"Geräte-Info nicht ermittelt.");
    PWSTR DeviceInstanceId = NULL;
    DeviceInstanceId = (PWSTR) calloc (MAX_PATH, sizeof(PWSTR));
    if(DeviceInstanceId == NULL)
    return FormatErrorCode(MODUL_NUMBER, 2, 2, L"Speicherfehler.");
    DWORD outSize;
    if(!SetupDiGetDeviceInstanceId( HardwareDeviceInfo,
    &DeviceInfoData,
    (PWSTR)DeviceInstanceId,
    MAX_PATH,
    &outSize))
    free(DeviceInstanceId);
    return FormatErrorCode(MODUL_NUMBER, 2, 3, L"Geräteinstanz ID nicht ermittelt.");
    PWSTR CompareResult = wcsstr(DeviceInstanceId, SerialString);
    if(CompareResult != NULL)
    Success = FALSE;
    else
    LocalInterfaceNumber++;
    free(DeviceInstanceId);
    return 0;
    I marked the lines bold, which are the resulting error information.
    Does anybody has any idea what could be the reason of these problems? Or any hint, how I could dig for the problem?
    Thanks for your help!
    regards, lh

    Hello Ih,
    Thank you for your post.
    Your issue is out of support range of VS General Question forum which mainly discusses the usage issue of Visual Studio IDE such as
    WPF & SL designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System
    and Visual Studio Editor.
    I am moving your question to the moderator forum ("Where is the forum for..?"). The owner of the forum will direct you to a right forum.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • R835 P56X USB 3 problems

    I have my R835 running nice now with Crucial M4 SSD, 8 gigs ram, 6230 wifi and the latest Bios & drivers.  But, whenever I use the usb3 port to transfer files from or to my usb3 supported external drive, it starts out fast but then comes to a screaching halt at quarter or third into the transfer!  The computer doesn't freeze or crash, its just like the port locks up!  Then I'd have to use the other usb2 ports without any problems, but slower!
    Any ideas?  I made sure the usb3 driver is installed!
    Thanks.

    Check out this post from another forum:
    [quote]
    USB 3.0 problem appeared on my Satellite R830 after a month of everyday use. Controller started to power itself off not only on heavy file transfers, but sometimes even with simple USB mouse connected to it. Problem existed on both OSes which I have installed on my SSD: 32-bit WinXP Pro with latest driver from Toshiba's website ver. 2.0.34.1 and 64-bit FC16 Linux with 3.1.2 kernel (i've swapped stock HDD to Intel 320 SSD and said goodbye to Win7).
    After a small research it seems that this is not Toshiba's problem, but a bug in old firmware of Renesas uPD720200 USB 3.0 controllers. It is described here for example. I've installed latest Renesas firmware (4.0.1.5) and latest Windows driver (2.1.28.0) found here, and it helped. I think problem has completely vanished now on all OSes, so solution was in firmware update, not in driver.
    [/quote]
    http://http://forum.notebookreview.com/toshiba/616670-satellite-r830-r835-serious-flaws-besides-phan...
    Good luck
    ========================================================
    QOSMIO - x505 q8102X
    i7-2630QM , GTX 460m , 18.4" screen @ 1680x945p

Maybe you are looking for

  • Why self-defined access sequences of free goods can not work?

    Hi gurus, I have maintained access sequences of free goods self-defined.but when i creat the SO it does not work! when i used the standard access sequences ,it is OK . Can anybody tell me why? thanks in advance

  • Monitor blacking out

    I just hooked up a 20.1 Samsung SyncMaster 204b monitor. I believe it is a DVI hookup as it plugs directly into card without mac adapter. I and am having trouble with it blacking out. I was looking thru some pics in Preview and certain pics would cau

  • Call smart form on button click

    Hi Experts, I have a screen. In screen a button is available. I need when i clicked on button my smartform should be open. Plz provide me ur appreciated solution. Regards, Swapniks

  • FMS require SO ship to address on production order

    Hi Experts, I need one formatted search at production udf header level to capture SO ship to address. Thanks & Regards- Mona

  • BFILE in 9i

    I have read that in racle 8.1.5 you can only place a BFILE on device. "cannot locate a single BFILE on more than one device, for instance, striped across a disk array" I4m creating a very huge database with lots of pictures and I4m thinking on placin