Force a USB device to use OHCI

Hi, I have some problems with EHCI on my motherboard. it's the motherboard since it's a problem on every distro i tried.
I have a wireless-device wich conects yo EHCI and a USB-HD.
problem is that the devices disconect sometimes.
I want to force the wireless to use OHCI and I found this script: http://moserei.de/index.php/96/force-a- … omment-121
but I have problem runing it, since usb-directory doesn't exist here in /proc/bus..why is that?
[studio@myhost bin]$ sudo ./force_ohci.sh "0846:4260"
cat: /proc/bus/usb/devices: file or directory not found
./force_ohci.sh: line 16: 0 + : syntax error: operand expected (error token is "+ ")
can anybody help out?
Last edited by capoeira (2010-12-31 13:37:40)

Daniel_F wrote:Hmmm....   I tried it here and it worked  !
hum, could be the liqourix-kernel I use?! will try out the regular kernel later
Daniel_F wrote:As a workaroud, if your motherboard has problems with EHCI then you won't be using it for anything so maybe adding
unfortunatly this is no solution as i have a external HD. I could unable USB2 in bios, too...there is an option...but i need it
Daniel_F wrote:
BTW, please post the output of
# cat /etc/mtab
[studio@myhost ~]$ cat /etc/mtab
proc /proc proc rw,relatime
sys /sys sysfs rw,relatime
udev /dev devtmpfs rw,nosuid,relatime,size=10240k,nr_inodes=124825,mode=755
/dev/disk/by-uuid/d15efb1a-a129-4e35-91a4-b0bd085a1def / ext4 rw,noatime,barrier=1,data=ordered
devpts /dev/pts devpts rw 0 0
shm /dev/shm tmpfs rw,nosuid,nodev 0 0
/dev/sda2 /home ext4 rw,noatime 0 0
/dev/sdb2 /home/studio/USB ext3 rw,noatime 0 0
Daniel_F wrote:
and
# lsmod
[studio@myhost ~]$ lsmod
Module Size Used by
snd_seq_dummy 1310 0
snd_seq_oss 26204 0
snd_seq_midi_event 5911 1 snd_seq_oss
snd_seq 46157 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_usb_audio 84792 2
snd_pcm 69218 2 snd_usb_audio
snd_timer 17879 2 snd_seq,snd_pcm
snd_page_alloc 7016 1 snd_pcm
snd_hwdep 5176 1 snd_usb_audio
snd_usbmidi_lib 16378 1 snd_usb_audio
snd_rawmidi 18884 1 snd_usbmidi_lib
snd_seq_device 5526 4 snd_seq_dummy,snd_seq_oss,snd_seq,snd_rawmidi
snd 53726 12 snd_seq_oss,snd_seq,snd_usb_audio,snd_pcm,snd_timer,snd_hwdep,snd_usbmidi_lib,snd_rawmidi,snd_seq_device
soundcore 6588 1 snd
ipv6 269847 8
af_packet 17226 2
ext3 117855 1
jbd 45645 1 ext3
arc4 1125 2
ecb 1651 2
rtl8187 53128 0
mac80211 183412 1 rtl8187
cfg80211 139444 2 rtl8187,mac80211
usb_storage 38877 2
rfkill 15550 1 cfg80211
eeprom_93cx6 1305 1 rtl8187
ppdev 5247 0
ohci_hcd 21110 0
ssb 43127 1 ohci_hcd
fan 2711 0
mmc_core 63403 1 ssb
sis_agp 3795 1
parport_pc 29734 1
floppy 51715 0
pcmcia 35050 1 ssb
pcmcia_core 13309 1 pcmcia
lp 7637 0
parport 31045 3 ppdev,parport_pc,lp
psmouse 51175 0
agpgart 30247 1 sis_agp
led_class 2497 2 rtl8187,psmouse
shpchp 24269 0
thermal 10491 0
ehci_hcd 34688 0
processor 26042 0
pci_hotplug 25461 1 shpchp
button 4521 0
sg 19833 0
evdev 7003 9
serio_raw 3822 0
rtc_cmos 7995 0
rtc_core 13192 1 rtc_cmos
rtc_lib 2221 1 rtc_core
ext4 312831 2
mbcache 5886 2 ext3,ext4
jbd2 69616 1 ext4
crc16 1343 1 ext4
sd_mod 31240 7
pata_acpi 2487 0
pata_sis 8638 3
libata 169607 2 pata_acpi,pata_sis

Similar Messages

  • I can no longer charge my iPhone5 through either of my macbook pros. I get the error message that a USB device is using too much power. Can anyone help?

    I can no longer charge my iPhone5 through either of my macbook pros. I get the error message that a USB device is using too much power. Can anyone help?

    I reconnected the original powered hub that I thought probably caused the problem and this time it shut down the whole computer. When I rebooted everything now works perfectly. The system reset. I tried another powered hub and it didn't have the same effect so the old one is heading for the bin and with fingers crossed all systems are now working perfectly. Trying to reset PRAM or reset the SMC didn't work but causing the same power issue did. Thanks for your input though. It did get me to think what was the original cause.
    Cheers
    Guy

  • Problems with USB device when using WindowsNT

    Hi,
    my problem is that I want to use a simulator which can only be connected with USB to the computer.
    I used the VISA Driver Development Wizard as discribed in this link (http://zone.ni.com/devzone/conceptd.nsf/webmain/6792BAB18242082786256DD7006B6416) and it didn't work.
    I'm using Windows NT and VISA 3.1 and I read that it isn't possible to create a USB connection with VISA when using Windows NT. So my questions
    1) is this right
    2) Has someone a idea what I can do? I tried to use VISA USB Control and this also didn't work.
    I hope I discribed my problem detailed enough. It's my first post.
    Thanks for your responses
    Joerg

    As you can see in this table, USB is not supported by VISA under NT:
    http://digital.ni.com/public.nsf/websearch/EE34F21ECC2BE01286256C52005D1A1F?OpenDocument
    I would recommend to use Win2000 or XP. Using one of these OSes you could use this turorial  to create your VISA-driver:
    http://zone.ni.com/devzone/devzoneweb.nsf/Opendoc?openagent&1D0DD81FF1448CAE86256D90006EE2B4
    If it is not posssible to change the OS, you have to look for other ways of programming your usb-device. Check the web or the Microsoft site for help concerning Windows SDK and USB.
    Hope this helps a little!

  • How to configure a plugged in usb device to use the winusb driver

    Hi,
    We have an app that uses an ANT+ USB dongle to tap into ANT+ messaging traffic and we would like to get our app up and running on the Raspberry PI running Windows 10 IoT.
    Using Powershell I can see that the device is recognized when plugged in:
    Name                           Property                                                                                     
    126                            DeviceDesc          : ANT USB-m Stick                                                        
                                   LocationInformation : Port_#0005.Hub_#0002                                                   
                                   Capabilities        : 20                                                                     
                                   ContainerID         : {207a56e2-9393-5c49-bdd7-309b37712562}                                 
                                   HardwareID          : {USB\VID_0FCF&PID_1009&REV_0100,
    USB\VID_0FCF&PID_1009}                
                                   CompatibleIDs       : {USB\Class_FF&SubClass_00&Prot_00,
    USB\Class_FF&SubClass_00, USB\Class_FF}
                                   ConfigFlags         : 64        
    I would now like to configure it to use the already available WinUSB driver so that we can 'talk' to it from c#. Is there any way I can do that like e.g. provide and .Inf file, but then, how do install that from powershell? On a regular windows device we
    would be able to switch the drivers through the device manager or so but how to go about it on Windows 10 IoT?

    What you might need to do is compare how this device is configured for use on your desktop system, and then duplicate those registry entries on your Pi device so it will attempt to use the WinUSB driver when detected.
    This article talks about using remote powershell to modify the registry on a remote device:
    http://blogs.technet.com/b/heyscriptingguy/archive/2012/03/16/use-powershell-to-edit-the-registry-on-remote-computers.aspx
    If that doesn't work or you still have problems can you please provide a screen shot of the following information:
    In DeviceManager->Right click the device->Properties->Driver->DriverDetails.
    Jonathan Tanner | Microsoft | Windows 10 IoT Core Insider Preview Support | This posting is provided 'as is' with no warranties and confers no rights.

  • Apple IPod USB Device Driver Not Installed?  WIndows not reconizing IPod!

    Hoping someone can help me with my new Ipod Nano. I installed the IPod Updater and Itunes programs from the provided CD and formatted the Ipod. That all works fine -- the Ipod actually works, etc.
    But during the actuall instation process, the Hardware Update Window came up for the 'Apple IPod USB Device' (I use Windows XP) I've tried to have it install automaticaly and manualy, without any luck. As a result, when the IPod is connected to the computer, I get a '!' on the device in Windows Explorer and neither ITunes or the Ipod Updater -- or Windows -- will reconize it!
    If I connect my Ipod to the computer, the 'hardware' icon comes up in my system tray and the Ipod screen changes to the 'Do not disconnect' message. I can click on the hardware icon to 'remove' it. But I can't DO anything with the Ipod if nothing will reconize it!
    I've tried updating the ITunes and Updater to the latest versions, plugged the USB cable into different spots on my computer, uninstalled and reinstalled everything, this time selecting the 'do not connect the Ipod to the computer at this time' option.....nothing. Windows just will NOT reconize the IPod and everytime I install the software I get that Hardware Update Window screen up!
    Is there a driver for this I'm missing somewhere? What's going on? I can't do anything with my IPod and can't even find a phone number to call Apple for help!

    1-800-275-2273.
    This might be an issue with your operating system. You might also want to try using it on another computer before calling them as they'll probably ask you to do so. This will isolate the problem to your computer and they might tell you to try calling Windows or getting the latest drivers for your computer.

  • How to install and run USB device application without NI-VISA environment?

    Hi everyone:
          I develop a LabWindows/CVI8.5 application that uses a driver for a USB device created using the NI-VISA 4.6.2. The application is ok when the NI-VISA  environment is installed in PC. But the  NI-VISA 4.6.2 is too big(326M).  Can be the USB device successfully installed in non-development machine without NI-VISA 4.6.2?  Just need some files, such as INF, NiViUsbK.sys and ni-visa32.dll, the device will be installed and run.   If the way is feasible, please tell me how to do. Which files are necessary to the device is installed in non-development machine without NI-VISA 4.6.2 environment? It is so big, I need a minimum NI-VISA system.
          I need your help.

    Personally I use the open source LibUSB. It links without difficulty with
    CVI. And it works both on Linux and Windows, which is a big plus. Haven't
    touched it in 2 years though.
    Guillaume Dargaud
    http://www.gdargaud.net/

  • How do you measure the voltages in an external usb device, such as a usb missile launcher?

    Any Suggestions?

    USB is a funny thing. Typically 5V max provided by the client PC. A lot of devices use 3.3V , The current the USB device will use is determined during enumeration. And the client device negotiates this with the PC. As was stated in the duplicate post you made a few days ago, Your missile launcher will need either LV drivers provided by the manufacture or a DLL file OR some way of knowing the communication protocol of the missile launcher.
    Alan

  • USB driver development using DDK

    I heard that Sun Blade 1000 supports USB.
    To connect our product with Sun machine through USB, we are trying to develop USB device driver using DDK for Solaris.
    Please let me know that present DDK supports USB device driver development.
    Thank you in advance.

    You may want to look at
    http://soldc.sun.com/developer/support/driver/docs/whitepapers.html
    There are a couple of whitepapers on the subject
    Regards,
         Cyril
    I heard that Sun Blade 1000 supports USB.
    To connect our product with Sun machine through USB,
    we are trying to develop USB device driver using DDK
    for Solaris.
    Please let me know that present DDK supports USB
    device driver development.
    Thank you in advance.

  • Want to transfer muisic playlist to usb device

    Want to transfer a playlist to USB device to use in my car,

    Drag the tracks from the iTunes window to the USB device open in a Finder window.  If you want actual playlist structure (playing in other than file order) you will need to consult your car's manual as to how this needs to be structured as there is no uniform standard.

  • Reset USB device

    How can I perform an USB device RESET using viUsbControlOut?

    In any case, your need to get from the USB Device manufacturer all the Device Command Set. In all this commands, you will find a "message" that can reset the device (Of course, if a reset functionality has been added to the device).
    An USB device is "like" a GPIB instrument. When you want to reset a GPIB Scope, you need to know which SCPI message to send to the instrument, so you need to have the command set of the instrument. In no way, the scope reset is done by a Lv GPIB function, but by a message send by the Lv GPIB_Write function. This is exactly the same for the USB device.
    Then, if you know the command to send, you need to send it by a function in Lv. You have 2 choices, depending on the USB device specifications:
    Case 1: The USB device is compli
    ant to USB Test & Measurement Class (USBTMC)
    In this case, you just need to use a VISA_WRITE, with the command which reset the device. No configuration is required to communicate with a USB device compliant with the USBTMC.
    Case 2: The USB device is not compliant to USBTMC (This is the case for all others USB devices)
    In this case, this is a litle bit more complicated. The function you need in Lv to send your message will depend on the pipe (way of communication) use by your device. For knowing this, you need to read the documentation of you device.
    This is clearly exlpain on step 3.2 at the following web adress:
    http://zone.ni.com/devzone/conceptd.nsf/webmain/6792BAB18242082786256DD7006B6416?opendocument
    I hope this will help.
    Raphael TILLET
    National Instruments.
    FRANCE
    Cordialement,
    Raphael T

  • USB devices are changing address afte reboot?

    I am wondering if anyone else has noticed USB devices changing their adresses after re-boots.
    I had one customer that was using two USB DAQ devices and had repeated problems with starting his application until after I added some code that queried the devices and assigned device ID's as indicated by their type.
    I just got off of the phone with another customer who had a similar problem with a USB to serial device showing up as a different device.
    So....
    1) Has anyone else seen issue of this type?
    2) Any ideas or suggestions to make sure the address swapping does not happen?
    Thank you!
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

    Greetings Ben,
    The way the devices will behave when plugged in or when the computer restarts will depend on which driver is being used.
    DAQmx Base:  DAQmx Base has no memory of previous devices.  Devices will be named dev1, dev2, dev3 as they are enumerated.  The first detected device will become dev1.  For this reason it is possible for the devices to "trade" their names.  
    Scenario:
    1) Begin with two USB devices.  Use LSDAQ to note the serial numbers of the devices corresponding to dev1 and dev2.
    2) Remove dev1. Note that dev2 now becomes dev1.
    3) Re-connect the original dev1.  It will now be named dev2 and you have essentially "traded" your device names.
    DAQmx:  DAQmx will associate a serial number with a device.  For this reason, the devices should never trade names unless MAX loses association.  This can occur for example if the device is deleted from MAX.
    Scenario:
    1) Connect one USB device and note the associated name in MAX.
    2) Remove the device and note the red "X" in MAX showing the device is not present.
    3) Connect a new USB device (different serial number).  The new device will show up under a new device name (dev#, where # is the first unused positive integer) and the orignal device will remain with the X.  If reconnected, the orignal device will assume the old name and the X will disappear.
    Have you been experiencing something which differs from the above scenarios?
    Regards,
    Jennifer O.
    Applications Engineer
    National Instruments

  • Sattellite Pro 6100 USB XP SP2 drops USB device after standby

    I have a Satellite Pro 6100 running XpPro.
    I have a problem since I installed the XP Service Pack 2 in that the USB drops when the computer comes out of standby.
    The computer is fine until then, but I can replicate this only with the SP2 installed. Luckily I did a Norton Ghost and I have restored it to pre-SP2 status for the time being.
    It does not matter what is connected to the USB port, nor which port anything is plugged in. Coming out of standby causes a balloon message on the taskbar on an icon which represents the USB port - and the message says "USB Device not recognised"
    I cannot find any help on the microsoft site, nor on the newsgroup. I am at a loss as where else I can look.
    Thanks in advance for any feedback.

    Hello
    I dont know which USB device you use but it is known to me that some external devices like DVD-ROMs doesnt support standby or hibernate mode. Try to remove the unit from USB port and connect it again. I am pretty sure that it should works again.
    Bye

  • How can I best control a non NI USB device using LabVIEW?

    One of our radio products has a USB port for local (test) control.  When I connect the radio to a USB port on my computer the NI Measurement and Automation Explorer does not recognize the device.  Nor does it recognize the device when I attempt to "add new device".
    Within LabVIEW I am unable to assign an appropriate VISA resource name that does not cause an error when attempting to use the "VISA USB Control Out" or "VISA USB Control In" functions.  The help page for wiring up these functions is unclear, particularly for the "request" and "request type" variables.
    Would it be best to pursue this current method or purchase some type of serial (com port) to USB converter hardware to communicate with my USB radio?
    Regards
    Roger

    Sorry for the hijack, but this is a related question... I have an LV application that works using COM1 on the PC.  Customer wants me to change to a USB-to-RS485 converter.  I installed the Windows driver for the converter, then plugged the converter into USB port on the PC.  Windows and MAX both see the new port.  What I'm not sure of is the best way to have the LV app find the converter.  This application will be used on a variety of PCs so the COM port will be likely to change from PC to PC.  Or even on the same PC, sometimes another USB device might get plugged in before the converter.
    So the question is this:  The converter will always have the same vendor ID.  Is there a way for LabVIEW to look at the USB devices and pick the one with the correct ID ?  Or maybe this is overkill... the Windows driver makes the converter look like a serial port (COM4 on my PC).  The original app that worked with com1 used the VISA Configure Serial function with ASRL1:INSTR. 
    I can modify the LV app to force the user to pick from the available COM ports, but would prefer to make this happen automatically.
    Any suggestions ?

  • I don't have a wireless printer, and want to print things off of my iPad.  I know that I can use the iPad Camera Connection kit to connect USB devices like keyboards and I am wondering if I could do the same with a USB printer.

    I don't have a wireless printer, and want to print things off of my iPad.  I know that I can use the iPad Camera Connection kit to connect USB devices like keyboards and I am wondering if I could do the same with a USB printer.

    I don't think you can connect a printer since you won't have the printer drivers. I use FingerPrint from collobos.com to print to my non-AirPrint printers.

  • How do I use more than one USB device with Airport Extreme?

    I would like to plug a shared hard drive into my new airport extreme and still be able to plug in a shared printer as well. How am I supposed to do this with only one USB port. Do I use a USB hub???
    Is it possible to connect a hard drive using one of the ethernet ports?

    To use multiple USB devices you would use a powered USB hub.
    You can connect a hard drive to one of the Ethernet ports providing the hard drive is a NAS and supports Ethernet connections. In that situation the NAS hard drive is just like any other Ethernet client and the AirPort Extreme base station (AEBS) does not handle the file sharing services. The drive itself would provide the file sharing services.

Maybe you are looking for