Suspending USB Device [SOLVED]

I had 2.6.32 a while ago and wrote a script that allowed me to turn a certian usb device on and off (I used my usb mouse as a demo). When I upgraded to 2.6.33, the way I was doing this stopped working. I was using this (with $port being something like "4-1;" I determine the port by looking at the "product" files in all of the directories in /sys/bus/usb/devices/):
echo suspend > /sys/bus/usb/devices/$port/power/level
echo-ing "on" works fine on both 32 and 33, but when I echo "suspend" (or anything else... like "cows are awesome") on 33 it returns:
bash: echo: write error: Invalid argument
Is there any documentation somewhere that will tell me what the valid values are? I have searched around and haven't been able to find any docs. I have found a few people talking about it, but nowhere have I found a list of valid stuff. I don't exactly want to try browsing through the kernel source code trying to find it... but I guess that is always a last resort.
Edit: On http://www.mjmwired.net/kernel/Document … nt.txt#125 it said:
(In kernels up to 2.6.32, you could also specify "suspend", meaning that the device should remain suspended and autoresume was not allowed.  This setting is no longer supported.)
How am I supposed to manually suspend a usb device?
Solution:
echo "0" > "/sys/bus/usb/devices/$port/power/autosuspend"
echo "auto" > "/sys/bus/usb/devices/$port/power/level"
Garrett
Last edited by Floft (2010-04-20 00:10:20)

... turns out my usb mouse caused the problem. Unplugged it and the connection issues are gone.

Similar Messages

  • [SOLVED] USB Devices No Longer Designated by UUID

    My USB devices (external disks, flashdrives, etc) have always been mounted using  their UUID.  I have grsync processes set up using this method which I have used for years. Suddenly, my devices are being shown by label (/dev/sdb1, etc), and now no processes using the UUIDs will work without being changed to use the label.
    As far as I know, I haven't done anything, so I guess an update has caused this, but I have no idea exactly when it happened, or how to get back to UUID identifiers.
    I would be very grateful for any advice on how to begin to resolve this.
    Many thanks in advance.
    Last edited by myrlin (2012-07-04 08:40:50)

    Berbae, your post gave me a clue where to start, and I have now identified the problem.
    I am using Openbox, and had added "spacefm -desktop" to the autostart folder in order to manage wallpaper, etc. This resulted in it running in the background, and the mounting application it uses by default (pmount?) is not showing UUIDs. I removed this from the autostart folder, and everything was back to normal, so it's a spacefm issue which I need to resolve.
    Although I haven't fully fixed the problem yet, I know where it lies, so I am marking this as "solved"
    Once again, thank you providing me with a starting point.

  • One of the usb devices attached to this computer has malfunctioned, and Windows does not recognize it. For assistance in solving this problem, click this message.

    I connected my sons Ipod Touch to my pc and it worked fine. Now, when I try to connect my iPad the following message comes up: One of the usb devices attached to this computer has malfunctioned, and Windows does not recognize it. For assistance in solving this problem, click this message.
    I checked the cable. It surely is not the cable. If I connect the iPod again it works fine. If I use the same cable with my pc and ipad at work or my other son’s laptop, it is working perfectly. It is only on my laptop where the iPod was connected. Something tells me it got something to do with the drivers that went corrupt or something when I connected the iPod.
    I searched the internet and I see a lot of people gets this message. Still no solved answers yet. Is there a place where I can download the drivers again or any other suggestions?
    Windows 7 and iPad 2
    Kind regards,

    I was hoping it would be something like a USB device conflict, but now the shuffle is the only thing connected...
    This article was one of the ones you linked to above in your initial post
    http://support.apple.com/kb/TS1369
    Under Part 9. Verify that USB drivers are installed, did you try the steps in If only "Unknown Device" appears?  That appears to be your situation.
    Also, you said that the shuffle initially worked well enough to do a sync, then it had the same problem again.  If you can get it to work again initially, before doing anything else, try the following.  Select the shuffle in the iTunes sidebar, under DEVICES.  Over to the right, go to the Summary tab.  By default, the checkbox for Enable disk use should be unchecked.  If so, check it and Apply the change.  See if that makes any difference. 
    (If Enable disk use was already checked, try unchecking it and Apply the change.  Basically, set it the "other way" and see if there is any improvement.)
    NOTE:  When disk use is enabled, you have to eject the iPod in iTunes before disconnecting it physically.
    If the disk use change makes a difference, that may provide a clue about the actual cause.

  • Using iPod shuffle 4th generation for first time and receiving the error : one of the USB devices attached to this computer has malfunctioned, and windows does not recognize it. For assistance in solving this problem, click this message

    Using iPod shuffle 4th generation for first time and receiving the error : one of the USB devices attached to this computer has malfunctioned, and windows does not recognize it. For assistance in solving this problem, click this message.
    Using win 7 and latest iTunes [10.6.3]. Have already gone through below links and did not find any solution.
    http://support.apple.com/kb/HT2292
    http://support.apple.com/kb/TS1369
    http://support.apple.com/kb/HT1923
    http://en.kioskea.net/forum/affich-17997-ipod-not-detected

    I was hoping it would be something like a USB device conflict, but now the shuffle is the only thing connected...
    This article was one of the ones you linked to above in your initial post
    http://support.apple.com/kb/TS1369
    Under Part 9. Verify that USB drivers are installed, did you try the steps in If only "Unknown Device" appears?  That appears to be your situation.
    Also, you said that the shuffle initially worked well enough to do a sync, then it had the same problem again.  If you can get it to work again initially, before doing anything else, try the following.  Select the shuffle in the iTunes sidebar, under DEVICES.  Over to the right, go to the Summary tab.  By default, the checkbox for Enable disk use should be unchecked.  If so, check it and Apply the change.  See if that makes any difference. 
    (If Enable disk use was already checked, try unchecking it and Apply the change.  Basically, set it the "other way" and see if there is any improvement.)
    NOTE:  When disk use is enabled, you have to eject the iPod in iTunes before disconnecting it physically.
    If the disk use change makes a difference, that may provide a clue about the actual cause.

  • USB device (Logitech QuickCam Messenger) stopped working (SOLVED)

    Hey there,
    I have a logitech quickcam messenger, which used to work perfectly 2 days ago. I updated my system yesterday and this morning, but I tried the cam again only now, and neither cheese nor webcamstudio work anymore (it never worked in skype since I moved from Mint to Arch a few weeks ago, but that was easily (and better) addressed by starting cheese and then using desktop sharing in Skype)
    The webcam is recognized
    sammy@Cosmic-Bandito ~$ lsusb
    Bus 001 Device 007: ID 046d:08da Logitech, Inc. QuickCam Messanger
    Bus 001 Device 006: ID 056a:00d4 Wacom Co., Ltd
    Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB [Hama]
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 002 Device 003: ID 046d:c513 Logitech, Inc. MX3000 Cordless Desktop Receiver
    Bus 002 Device 002: ID 046d:c51a Logitech, Inc. MX Revolution/G7 Cordless Mouse
    Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    /dev/video and /dev/video0 are created.
    cheese only shows a black window and spits out :
    sammy@Cosmic-Bandito ~/Videos/Webcam$ cheese
    libv4l2: error turning on stream: Input/output error
    webcamstudio hangs when I try to start the preview and its output is :
    libv4l2: error turning on stream: Input/output error
    USB Camera (046d:08da) Error: BaseSrc: [v4l2src0],5, Error starting streaming on device '/dev/video0'.
    EDIT: that's the output of dmesg when I reconnect the webcam (after having disconnected it obviously) :
    [ 2216.282753] hub 1-1:1.0: state 7 ports 4 chg 0000 evt 0010
    [ 2216.283231] hub 1-1:1.0: port 4, status 0101, change 0001, 12 Mb/s
    [ 2216.387861] hub 1-1:1.0: debounce: port 4: total 100ms stable 100ms status 0x101
    [ 2216.450867] usb 1-1.4: new full speed USB device using ehci_hcd and address 11
    [ 2216.462234] hub 1-1:1.0: port 4 not reset yet, waiting 10ms
    [ 2216.537006] usb 1-1.4: ep0 maxpacket = 8
    [ 2216.538992] usb 1-1.4: skipped 4 descriptors after interface
    [ 2216.538994] usb 1-1.4: skipped 2 descriptors after interface
    [ 2216.538996] usb 1-1.4: skipped 1 descriptor after endpoint
    [ 2216.538998] usb 1-1.4: skipped 2 descriptors after interface
    [ 2216.539000] usb 1-1.4: skipped 1 descriptor after endpoint
    [ 2216.539006] usb 1-1.4: udev 11, busnum 1, minor = 10
    [ 2216.539008] usb 1-1.4: New USB device found, idVendor=046d, idProduct=08da
    [ 2216.539010] usb 1-1.4: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    [ 2216.539081] usb 1-1.4: usb_probe_device
    [ 2216.539084] usb 1-1.4: configuration #1 chosen from 1 choice
    [ 2216.539364] usb 1-1.4: adding 1-1.4:1.0 (config #1, interface 0)
    [ 2216.539400] zc3xx 1-1.4:1.0: usb_probe_interface
    [ 2216.539402] zc3xx 1-1.4:1.0: usb_probe_interface - got id
    [ 2216.539404] gspca: probing 046d:08da
    [ 2217.384009] zc3xx: probe 2wr ov vga 0x0000
    [ 2217.407008] zc3xx: probe sensor -> 0011
    [ 2217.407010] zc3xx: Find Sensor HV7131R(c)
    [ 2217.407304] input: zc3xx as /devices/pci0000:00/0000:00:0b.1/usb1/1-1/1-1.4/input/input14
    [ 2217.407372] gspca: video0 created
    [ 2217.407374] gspca: found int in endpoint: 0x82, buffer_len=8, interval=10
    [ 2217.407381] usb 1-1.4: link qh8-0601/f6f9e240 start 5 [1/2 us]
    [ 2217.407401] usb 1-1.4: adding 1-1.4:1.1 (config #1, interface 1)
    [ 2217.407438] zc3xx 1-1.4:1.1: usb_probe_interface
    [ 2217.407441] zc3xx 1-1.4:1.1: usb_probe_interface - got id
    [ 2217.407443] gspca: probing 046d:08da
    [ 2217.407455] snd-usb-audio 1-1.4:1.1: usb_probe_interface
    [ 2217.407458] snd-usb-audio 1-1.4:1.1: usb_probe_interface - got id
    [ 2217.410813] usb 1-1.4: adding 1-1.4:1.2 (config #1, interface 2)
    [ 2217.410855] drivers/usb/core/inode.c: creating file '011'
    EDIT 2: Just tried the webcam on another computer, and it works there. so it's not the hardware
    any ideas? I'm pretty desperate, as this is the only way for me to keep in touch with my kids  at the moment
    Last edited by SammyF (2010-05-28 20:44:15)

    SOLVED : really stupid problem, but well... I'll completement my post and leave it for anybody who might hit the same problem :
    dmesg looked like this when after I started cheese :
    [ 3815.848011] usb 1-1.4: unlink qh8-3008/ec236980 start 0 [1/2 us]
    [ 3815.848995] gspca: found int in endpoint: 0x82, buffer_len=8, interval=10
    [ 3815.849001] usb 1-1.4: link qh8-0601/f6848ec0 start 1 [1/2 us]
    [ 3816.696230] zc3xx: probe 2wr ov vga 0x0000
    [ 3816.917369] ehci_hcd 0000:00:0b.1: iso sched full f0049c00 (now 652 max 2700)
    [ 3816.917377] gspca: bandwidth not wide enough - trying again
    [ 3816.938010] gspca: no transfer endpoint found
    The (not so obvious) solution was to connect the webcam directly to the computer and not through a USB hub. I have no idea why it used to work and suddenly stopped, but it works again now.
    sorry to take up your time, in case I did.
    Last edited by SammyF (2010-05-28 20:44:56)

  • [SOLVED] Openbox+Thunar, how to show usb devices in thunar?

    Hi.  I've been running a pretty standard Xfce environment for a while.  When I plug in a usb drive, I get a new item pop up in the "DEVICES" section of the left panel in thunar (note, it doesn't automount the device, it just shows that it's there and only mounts it when I click on it...I like this behaviour).
    Now, I'm setting up an even lighter-weight environment, just openbox and tint2 with thunar as the file manager.  But when I'm logged into the openbox environment, I don't get the item in the "DEVICES" section in thunar (but it still works fine in xfce).
    If it run thunar from the command line and plug in a usb drive I get this message in the terminal
    (thunar:21205): thunar-WARNING **: Failed to launch the volume manager (Failed to execute child process "thunar-volman" (No such file or directory)), make sure you have the "thunar-volman" package installed.
    I don't see why I would need thunar-volman if it works fine in xfce.  If I install thunar-volman and do the same, I get this message
    thunar-volman: Unsupported USB device type.
    thunar-volman: Unsupported USB device type.
    thunar-volman: Unknown block device type.
    So I'm wondering if maybe there is a daemon that is autostarted during an xfce session that makes thunar probe for devices to be plugged in or something like that.  Why does it work in an xfce session, but not in an openbox session?
    Last edited by Pacopag (2013-03-14 15:52:32)

    Thanks for your replies.
    henk:  I tried installing polkit-gnome and creating the rule as per the wiki, but it didn't work.  Volume detection seems to work fine in xfce without this package.
    jv2112:  I added udiskie to .config/openbox/autostart and it seems to work.  I've had problems with udiskie in the past; it seemed to have some trouble unmounting the drives properly after a write as I would find that the newly written files were corrupt.  But it seems to be working fine.
    I'll mark this as solved, but I'm still curious as to how xfce-thunar is mounting the usb devices. 
    One clue is that with udiskie, devices get mounted to /media, whereas in xfce they get mounted to /var/run/media/username/ (or something like that).

  • I have an Ipod Touch, it appears inactive and says conect to Itunes. When I connect it to the PC, the PC says "USB device not working". How can do to solve this problem.

    I have an Ipod Touch, it appears inactive and says "connect to Itunes". When I connect to the PC, the PC says "USB device not working". How could do to solve this problem?

    See:
    iOS: Device not recognized in iTunes for Windows
    I would start with
    Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7
    or
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP

  • When I insert the usb of my Elgato Video Capture into my Macbook Pro, it says 'USB Devices Disabled'? What does this mean and how can I solve it?

    When I insert the usb of my Elgato Video Capture into my Macbook Pro, it says 'USB Devices Disabled'? What does this mean and how can I solve it?
    I've partitoned Windows swell and it says the same thing? I'm trying to live capture from my Sony Camcorder through Elgato but I just get the above message?

    This means that the backups were made with a later version than the version currently on the phone. You will have to update the phone to 6.1.3 to be able to restore the backup. You can restore a backup made with an earlier version, but not with a later version.

  • [SOLVED] setting up permissions for mounted usb devices

    Hi all,
    I've been having the following problem when mounting my external hd: in order to mount the external hd I created a folder /mnt/usbstick/ giving permissions to a non-root user to read the files/directories in this folder (using chmod); however, after I mount the external hd, the set of permissions for /mnt/usbstick/ change so that a non-root user cannot  read the mounted files in /mnt/usbstick. This is a problem for me because, when I copy a file from the external hd to the non-root home folder, the copied file can only be read by the root user.   
    Do you know how I can solve this problem? Should I write a udev rule and place it at /etc/udev/rules.d/? Or should I simply add the non-root user to a specific group from /etc/group? Any ideas?
    Thanks!
    Last edited by falsum (2010-05-08 09:21:59)

    You could try adding an entry for your usb device in /etc/fstab and specify the option user to let non-superusers mount it.
    Here's an example of an entry for my external HD. I'm sure there are probably other (and better) ways to do this but it works for me.
    UUID=4376-0BFB /media/FIRELITE vfat rw,user,noauto,async 0 0
    Nice howto found on the wiki: http://wiki.archlinux.org/index.php/Fstab

  • [SOLVED]mounting cdrom and usb devices doesn't work

    Hello,
    i have trouble mounting my usb devices. automount doesn't work and i can't mount them manually even as a superuser. here's the output of mount command:
    mount: wrong fs type, bad option, bad superblock on /dev/sdc,
    missing codepage or helper program, or other error
    In some cases useful info is found in syslog - try
    dmesg | tail or so
    i can mount cdrom manually but i can't do the same for my usb stick and external hard drives. it always complains about the above regardless of the filesystem. my devices are working under windows and other linuxes so i know hardware is not the problem.
    i'm using lxde with pcmanfm.
    if you need any other files just ask.
    thanks
    Last edited by the gray (2009-03-16 20:15:18)

    above was the error when i tried to mount any usb device with "mount -t <type> /dev/sdc /media/mountpoint". and i couldn't mount any usb device as root from console. when i tried to mount devices using pcmanfm it just popped some empty dialogs and i couldn't find any mention of "IsCallerPriviliged failed" error so i (wrongly) presumed it wasn't that. i did try some of the other fixes mentioned in the forum with no success. but adding exec ck-launch-session startkde to my .xinitrc fixed the issue
    thanks again
    Last edited by the gray (2009-03-16 20:17:53)

  • When syncing my iPhone to my computer, an 'MTP USB-device' error appears. How to solve this problem?

    When I try to connect my iPhone to my computer, it seems to be working fine (iTunes opens and connects), but still I'm getting this problem when my computer tries to install the supervisory program/driver (I'm not sure how to say it in English since Dutch is my mother language). I've made a printscreen of the error, and it's in Dutch, but maybe someone can see what the problem is anyway.
    So... It says that the installation of the 'MTP USB-device' part failed.
    The problem is that I want to put my photos on my computer, and I found these instructions (http://support.apple.com/kb/HT4083) to do that. But I don't get an Autoplay dialog box, caused by that error.
    Could someone please help me? Thanks in advance!

    I had the same iss - it's a known issue whereby Windows attempts to use the wrong driver to access the phone.
    BACK UP YOUR REGISTRY!!! Editing the registry can be (read: IS) dangerous and can cause no end of pain if done incorrectly.
    - To Back Up your Registry: Click Start menu and click "Run". Type "regedit". Click File, then choose export and type "iphone driver fix registry backup".
    - Click Export and let it export the the registry to a file.
    - To fix the issue: Follow the folder tree on the left to: hkeylocalmachine > system > current control set > control > class
    - Find “{EEC5AD98-8080-425F-922A-DABF3DE3F69A}” down the LEFT hand side and click on it.
    - Under the list on the RIGHT hand side find "UpperFilters"
    - Right-Click UpperFilters and click delete
    - Close the registry editor and restart your PC (without the iphone attached).
    - Once restarted and logged back in, plug in your iphone and voila!  Windows will actually choose the correct driver and you'll be in like flynn.

  • [SOLVED]My udev rules don't automount usb device

    Hi,
    I'm using this .rules file for automounting usb devices:
    # start at sdc to ignore the system hard drive
    KERNEL!="sd[c-z]*", GOTO="my_media_automount_end" #sda and sdb are internal hard drives
    ACTION=="add", PROGRAM!="/sbin/blkid %N", GOTO="my_media_automount_end"
    # import some useful filesystem info as variables
    IMPORT{program}="/sbin/blkid -o udev -p %N"
    # get the label if present, otherwise assign one based on device/partition
    ENV{ID_FS_LABEL}!="", ENV{dir_name}="%E{ID_FS_LABEL}"
    ENV{ID_FS_LABEL}=="", ENV{dir_name}="%k"
    # create the dir in /media and symlink it to /mnt
    ACTION=="add", RUN+="/bin/mkdir -p '/media/%E{dir_name}'"
    # global mount options
    ACTION=="add", ENV{mount_options}="relatime"
    # filesystem-specific mount options (777/666 dir/file perms for ntfs/vfat)
    ACTION=="add", ENV{ID_FS_TYPE}=="vfat|ntfs", ENV{mount_options}="$env{mount_options},gid=100,dmask=000,fmask=111,utf8"
    # automount ntfs filesystems using ntfs-3g driver
    ACTION=="add", ENV{ID_FS_TYPE}=="ntfs", RUN+="/bin/mount -t ntfs-3g -o %E{mount_options} /dev/%k '/media/%E{dir_name}'"
    # automount all other filesystems
    ACTION=="add", ENV{ID_FS_TYPE}!="ntfs", RUN+="/bin/mount -t auto -o %E{mount_options} /dev/%k '/media/%E{dir_name}'"
    # clean up after device removal
    ACTION=="remove", ENV{dir_name}!="", RUN+="/bin/umount -l '/media/%E{dir_name}'", RUN+="/bin/rmdir '/media/%E{dir_name}'"
    # exit
    LABEL="my_media_automount_end"
    The folders in /media are created successfully but no mounting takes place. The folders are empty and when I do
    umount /media/device
    , it returns:
    umount: device/: not mounted
    But when I try to remove the folder, it sometimes returns:
    rmdir: failed to remove 'device/': Device or resource busy
    When I unplug the device, the folders are deleted successfully.
    When I manually mount the device with the code for ntfs from the rules-file, it works fine. I have also verified that the device is at /dev/sdc.
    Through searching I didn't find any post with a problem like that. My guess was that somehow this test fails:
    ACTION=="add", ENV{ID_FS_TYPE}=="ntfs"
    I already tried removing the second condition, but the result stays the same. So I am left rather clueless, I hope, you guys can help me
    Last edited by toffi-fee (2014-05-04 22:47:38)

    Thanks for the reply! So now I changed the rules to:
    KERNEL!="sd[c-z]*", GOTO="my_media_automount_end"
    ACTION=="add", PROGRAM!="/sbin/blkid %N", GOTO="my_media_automount_end"
    # import some useful filesystem info as variables
    IMPORT{program}="/sbin/blkid -o udev -p %N"
    ACTION=="add", RUN+="/bin/udisksctl mount -b /dev/%k"
    # clean up after device removal
    ACTION=="remove", RUN+="/bin/udisksctl unmount -b '/dev/%k'"
    # exit
    LABEL="my_media_automount_end"
    But now nothing seems to happen when I plug in, also no folder creation at /run/media/user/, hmmm..
    Last edited by toffi-fee (2014-05-04 19:27:53)

  • [Solved]Automating a script for a usb device on systemd?

    Solution:See 3rd post by 65kid.
       Ok I'm trying to learn how to automate the execution of a script I wrote to run whenever a specific usb device is plugged in. In this case a usb flash drive with a specific partition identified though UUID following the path /dev/disk/by-uuid/specified-partion's-uuid.
       Basically the script uses rsync to update a snapshot of my system which I made bootable on this device. following the guide given in the wiki on full system backup using rsync I edited the --exclude options to ignore the contents of my /boot/ /etc/fstab and /etc/mkinitcpio.conf since the fstab entries, hooks array and initramfs and kernel images generated with them needed to be changed so as to make this snapshot bootable and adapted for use on the usb stick.
    the ultimate goal is to have a bootable snapshot the can be updated with whatever changes have been made with my system(i.e. pacman -Syu updates,config changes etc...) while leaving out the important things needed to have the usb still bootable afterwards. I've already succeeded at getting the script to work but I have to mount it manually then execute the script myself and I know that it works afterwards as I can still boot from the stick afterwards.
       This is not a question about rsync (which is why the script isn't posted here), to repeat myself, It's about how to execute ANY custom script whenever a specific device is plugged in. More specifically when a storage device with a certain uuid is detected after the device has been plugged in. I believe it may be different for running pure systemd and so that was the reasoning for having it mentioned in the subjects title(if I'm wrong then correct my understanding). If anything a few pointers on where to look would be appreciated. I've been googling and reading the wiki a bit with nothing specific on how to approach this. If an example of the script is requested I'll post it but it's not relevent to my question.
       For a general veiw of my setup regarding external storage volumes I do not automount anything as I do not use all the things I plug in in the same manner. Some of the stuff I do requires them to be unmounted or  mounted to different mount points(specified by me). The script handles the mounting part by itself just fine. The idea I have is to run it automatically when the flash drive is present. Any suggestions?
    Last edited by Thme (2012-12-29 00:06:56)

    Awebb wrote:You "seem to remember" has FUD potential, could you care to find the post again?
    he is probably referring to this: https://bbs.archlinux.org/viewtopic.php … 2#p1113682
    imho this is way different, the SYSTEMD_WANTS tag is completely ok to use. yes, he may be mounting the drive from the script, but imho he is not "exploiting" anything here. I personally don't see a much more elegant way to do this.
    these automount udev rules were however crappy and hackish. They were created by people who are like "but udisks is bloat!!1!" and whoever wrote them didn't really seem to know what he was doing because, for example, unmounting a device after it was unplugged from the system is completely non-sense.

  • Is there an App in App Store to solve  "Cannot Use Device - 'The connected USB device requires too much power' error

    I'm not an app developer, but I'm wondering if there is an app that enable's USB devices connected via the camera USB and using the most current iOS 5.0 to use USB devices that draw on the iPad's power. I'm making reference to some USB microphones such as Blue Yeti that have suggested that to get a Blue Yeti working one hasto downgrade to iOS 3.2.2?
    I'm thinking, can Apple or someone make this app so the user may think, "okay I want more power now to record something", and the user can turn up the power and when they've done recording, go to the app, turn down the power when the USB device is not in use [by turning down the power via the app].
    Of course with the App, Apple or the developer may state that using the USB Charge Changer radically reduces the charge of the device. It'll keep a LOT of musicians and creative types very happy. I hope with Apple's blessing they'll consider this.
    Hey, I'll pay 5 bucks to get this app!

    No, third-party apps cannot change the power drawn by USB devices. Such a change would have to come from Apple in an IOS update.
    Send feedback directly to Apple about this here: http://www.apple.com/feedback/ipad.html

  • [SOLVED] Virtualbox list usb devices is empty.

    I moved from virtualbox_bin(AUR) to virtualbox(community), and remove /proc/bus/usb entry in /etc/fstab, after that the usb doesn't work.   I can check 'Enable USB 2.0 (EHCI) Controller' in Virtualbox settings, but can't find any available usb devices.
    $ pacman -Qs virtualbox
    local/virtualbox 4.1.22-1
    Powerful x86 virtualization for enterprise as well as home use
    local/virtualbox-additions 4.1.22-1
    The official all-in-one VirtualBox Guest Additions ISO/CD image
    local/virtualbox-ext-oracle 4.1.22-1
    Oracle VM VirtualBox Extension Pack
    local/virtualbox-hook 2.1-1
    mkinitcpio hook to compile the virtualbox modules
    local/virtualbox-modules 4.1.22-1
    Kernel modules for VirtualBox
    local/virtualbox-source 4.1.22-1
    VirtualBox kernel modules source
    $  VBoxManage list usbhost
    Host USB Devices:
    <none>
    $ ls /dev/usbbox
    ls: cannot access /dev/usbbox: No such file or directory
    $ groups
    log kvm network video audio optical storage users vboxusers guten input libvirt davfs2 virtftp
    $ lsusb
    Bus 001 Device 002: ID 0424:2513 Standard Microsystems Corp. 2.0 Hub
    Bus 001 Device 003: ID 05ac:8509 Apple, Inc. FaceTime HD Camera
    Bus 002 Device 002: ID 0424:2513 Standard Microsystems Corp. 2.0 Hub
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 001 Device 004: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth)
    Bus 001 Device 005: ID 05ac:0252 Apple, Inc. Internal Keyboard/Trackpad (ANSI)
    Bus 002 Device 003: ID 05ac:8242 Apple, Inc. IR Receiver [built-in]
    Bus 002 Device 004: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
    Bus 001 Device 008: ID 05ac:821a Apple, Inc. Bluetooth Host Controller
    Bus 002 Device 005: ID 046d:c05a Logitech, Inc. Optical Mouse M90
    Bus 002 Device 008: ID 0951:1624 Kingston Technology DataTraveler G2 4GB Pen Drive
    Bus 002 Device 007: ID 413c:2003 Dell Computer Corp. Keyboard
    Last edited by GutenYe (2012-09-17 12:38:58)

    I am having the same problem and have tried "everything" and still cannot get it to work.
    calpoly@arch:~$ cat /etc/group | grep vboxusers
    vboxusers:x:108:calpoly,root
    calpoly@arch:~$ lsusb
    Bus 004 Device 003: ID 045e:0745 Microsoft Corp. Nano Transceiver v1.0 for Bluetooth
    Bus 004 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
    Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 001 Device 002: ID 05ac:12a0 Apple, Inc. iPhone 4S
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 003 Device 003: ID 046d:c52f Logitech, Inc. Unifying Receiver
    Bus 003 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
    Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    calpoly@arch:~$ sudo pacman -Qs virtualbox
    local/virtualbox 4.3.6-3
    Powerful x86 virtualization for enterprise as well as home use
    local/virtualbox-guest-dkms 4.3.6-3
    VirtualBox Guest kernel modules sources
    local/virtualbox-guest-modules 4.3.6-4
    Guest kernel modules for VirtualBox
    local/virtualbox-guest-utils 4.3.6-3
    VirtualBox Guest userspace utilities
    local/virtualbox-host-modules 4.3.6-4
    Host kernel modules for VirtualBox
    local/virtualbox-host-modules-lts 4.3.6-5
    Host kernel modules for VirtualBox
    calpoly@arch:~$ sudo VBoxManage controlvm windowSeven usbattach 609c101d-ef6a-401a-ad15-306f3e7bc8ae
    VBoxManage: error: The USB device with UUID {00000010-0030-0000-90f9-0560b57f0000} is not currently attached to the host
    VBoxManage: error: Details: code NS_ERROR_INVALID_ARG (0x80070057), component USBProxyService, interface IHost, callee nsISupports
    VBoxManage: error: --------
    VBoxManage: error: Could not load the Host USB Proxy service: VERR_NOT_FOUND
    VBoxManage: error: Details: code Unknown Status 0x4005 (0x4005), component Host, interface IHost
    VBoxManage: error: Context: "AttachUSBDevice(usbId.raw())" at line 973 of file VBoxManageControlVM.cpp
    calpoly@arch:~$ sudo VBoxManage showvminfo windowSeven
    Name: windowSeven
    Groups: /
    Guest OS: Windows 7
    UUID: 609c101d-ef6a-401a-ad15-306f3e7bc8ae
    Config file: /root/VirtualBox VMs/windowSeven/windowSeven.vbox
    Snapshot folder: /root/VirtualBox VMs/windowSeven/Snapshots
    Log folder: /root/VirtualBox VMs/windowSeven/Logs
    Hardware UUID: 609c101d-ef6a-401a-ad15-306f3e7bc8ae
    Memory size: 2048MB
    Page Fusion: off
    VRAM size: 128MB
    CPU exec cap: 100%
    HPET: off
    Chipset: piix3
    Firmware: BIOS
    Number of CPUs: 2
    PAE: off
    Long Mode: off
    Synthetic CPU: off
    CPUID overrides: None
    Boot menu mode: message and menu
    Boot Device (1): DVD
    Boot Device (2): HardDisk
    Boot Device (3): Network
    Boot Device (4): Floppy
    ACPI: on
    IOAPIC: on
    Time offset: 0ms
    RTC: local time
    Hardw. virt.ext: on
    Nested Paging: on
    Large Pages: off
    VT-x VPID: on
    VT-x unr. exec.: on
    State: powered off (since 2014-02-11T12:16:18.000000000)
    Monitor count: 1
    3D Acceleration: off
    2D Video Acceleration: off
    Teleporter Enabled: off
    Teleporter Port: 0
    Teleporter Address:
    Teleporter Password:
    Tracing Enabled: off
    Allow Tracing to Access VM: off
    Tracing Configuration:
    Autostart Enabled: off
    Autostart Delay: 0
    Default Frontend:
    Storage Controller Name (0): IDE
    Storage Controller Type (0): PIIX4
    Storage Controller Instance Number (0): 0
    Storage Controller Max Port Count (0): 2
    Storage Controller Port Count (0): 2
    Storage Controller Bootable (0): on
    Storage Controller Name (1): SATA
    Storage Controller Type (1): IntelAhci
    Storage Controller Instance Number (1): 0
    Storage Controller Max Port Count (1): 30
    Storage Controller Port Count (1): 1
    Storage Controller Bootable (1): on
    IDE (1, 0): Empty
    SATA (0, 0): /media/disk/VirtualBox OS X HDD/windowSeven.vdi (UUID: 5c44157f-350a-467c-a988-b4cfb8635fd5)
    NIC 1: MAC: 0800279A3907, Attachment: NAT, Cable connected: on, Trace: off (file: none), Type: 82540EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, Bandwidth group: none
    NIC 1 Settings: MTU: 0, Socket (send: 64, receive: 64), TCP Window (send:64, receive: 64)
    NIC 2: disabled
    NIC 3: disabled
    NIC 4: disabled
    NIC 5: disabled
    NIC 6: disabled
    NIC 7: disabled
    NIC 8: disabled
    Pointing Device: PS/2 Mouse
    Keyboard Device: PS/2 Keyboard
    UART 1: disabled
    UART 2: disabled
    LPT 1: disabled
    LPT 2: disabled
    Audio: enabled (Driver: ALSA, Controller: HDA)
    Clipboard Mode: Bidirectional
    Drag'n'drop Mode: Bidirectional
    VRDE: disabled
    USB: enabled
    EHCI: enabled
    USB Device Filters:
    <none>
    Available remote USB devices:
    <none>
    Currently Attached USB Devices:
    <none>
    Bandwidth groups: <none>
    Shared folders:
    Name: 'music', Host path: '/media/disk/music' (machine mapping), writable
    VRDE Connection: not active
    Clients so far: 0
    Video capturing: active
    Capture screens: 0
    Capture file: /root/VirtualBox VMs/windowSeven/windowSeven.webm
    Capture dimensions: 1024x768
    Capture rate: 1024 kbps
    Capture FPS: 25
    Guest:
    Configured memory balloon size: 0 MB
    calpoly@arch:~$ sudo modprobe vboxdrv
    calpoly@arch:~$ sudo modprobe -a vboxguest vboxsf vboxvideo
    modprobe: ERROR: could not insert 'vboxguest': No such device
    modprobe: ERROR: could not insert 'vboxsf': No such device
    calpoly@arch:~$ sudo modprobe vboxnetflt
    calpoly@arch:~$ sudo modprobe vboxsf
    modprobe: ERROR: could not insert 'vboxsf': No such device
    calpoly@arch:~$ sudo VBoxManage list usbhost
    Host USB Devices:
    <none>
    Have rebooted and reinstalled virtualbox multiple times to no avail.
    It is important to note that my iPhone used to sync with iTunes on Windows 7 in Virtualbox, but then I removed the USB filter and did some updates and now it no longer works.
    I have spent many more hours than I care to admit on this problem, so please, any help is welcome.
    Last edited by Kg4XmtUSyxd8B9M7Ex&&KXZGF (2014-02-11 12:33:00)

Maybe you are looking for

  • Useless microphone while recording videos.-.

    My iPhones microphone is not working when I play the recorded videos from my device all I hear is loud cracking sounds and faint voices, while doing Skype and regular cellular calls and voice memos it works absolutely normal but when it comes to reco

  • ABAP/BW

    Hello Friendz....        This is MCA Fresher with 77%.I have done SAP XI.I know JAVA. Now Iam looking for a Placement. But till now i have seen only Experienced persons jobs only. So many people wants to ABAP And XI. But I know JAVA and XI. So What c

  • Hiding Links on a Screen

    Hi Experts,   We are trying to customise the ECM application in MSS. On the compenstion planning screen, there is a link called "Show Additional Information". I would like to hide/remove this link. Any idea on how I can do that? Thanks Preet

  • Calling a jpeg compressio​n dll

    I use webcam images in a LabVIEW based equivalent of NetMeeting to allow communication between people in our laboratory. I currently compress my images by calling an LZW dll, but would prefer to use JPEG as lossy compression creates smaller data pack

  • I must be the only one who can't edit AVCHD

    I have Premire Pro CS4 4.1.0 installed on my Mac Pro. Mac Pro 2 Quad Core 2.4Ghz CPU with 6GB RAM and 1TB SATA Hard drives. Screaming fast system.   I have a Sony HDR-SR8 AVCHD camera.  I imported the video.  When I put the video on the timeline and