you should use sudo su and then echo disabled. you can also make a script in /etc/pm/sleep.d/ with: #!/bin/bash echo disabled >/sys/bus/usb/devices/.../power/wakeup
2010/5/2 cmavr8 <cma...@gmail.com> > No! it should be in /etc/udev/rules.d! > > I get a "permission denied" every time I try to manually echo > "disabled"! > > Why does it work on SOME people only? > I have a really long flight next saturday and I need suspend on my laptop! > > -- > cannot suspend usb devices on lucid > https://bugs.launchpad.net/bugs/515109 > You received this bug notification because you are a direct subscriber > of the bug. > > Status in “linux” package in Ubuntu: Triaged > > Bug description: > when i put computer in sleep mode this is the dmesg: > > [ 380.876233] PM: Syncing filesystems ... done. > [ 380.905949] PM: Preparing system for mem sleep > [ 380.905955] Freezing user space processes ... (elapsed 0.00 seconds) > done. > [ 380.907775] Freezing remaining freezable tasks ... (elapsed 0.00 > seconds) don > e. > [ 380.907943] PM: Entering mem sleep > [ 380.907959] Suspending console(s) (use no_console_suspend to debug) > [ 380.980055] sd 0:0:0:0: [sda] Synchronizing SCSI cache > [ 381.288204] sd 0:0:0:0: [sda] Stopping disk > [ 383.780171] pm_op(): usb_dev_suspend+0x0/0x20 returns -16 > [ 383.780175] PM: Device usb1 failed to suspend: error -16 > [ 383.780177] PM: Some devices failed to suspend > [ 383.780369] sd 0:0:0:0: [sda] Starting disk > [ 385.674724] PM: resume devices took 1.890 seconds > [ 385.674736] PM: Finishing wakeup. > [ 385.674738] Restarting tasks ... done. > > I removed all usb device, but problem persist > > ProblemType: Bug > AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21. > Architecture: amd64 > AudioDevicesInUse: > USER PID ACCESS COMMAND > /dev/snd/controlC0: daniele 2596 F.... pulseaudio > Card0.Amixer.info: > Card hw:0 'NVidia'/'HDA NVidia at 0xc0000000 irq 17' > Mixer name : 'Realtek ALC883' > Components : 'HDA:10ec0883,10250000,00100002 > HDA:14f12bfa,10250093,00090000' > Controls : 25 > Simple ctrls : 15 > Date: Sun Jan 31 13:23:08 2010 > DistroRelease: Ubuntu 10.04 > HibernationDevice: RESUME=UUID=4dda44f8-4af3-48ee-a792-83453ef293e5 > Lsusb: > Bus 002 Device 005: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth > Dongle (HCI mode) > Bus 002 Device 004: ID 046d:c00e Logitech, Inc. M-BJ58/M-BJ69 Optical > Wheel Mouse > Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub > Bus 001 Device 004: ID 0402:5602 ALi Corp. Video Camera Controller > Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub > MachineType: Acer Aspire 9300 > NonfreeKernelModules: nvidia > Package: linux-image-2.6.32-12-generic 2.6.32-12.16 > PccardctlIdent: > Socket 0: > no product info available > PccardctlStatus: > Socket 0: > no card > ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-12-generic > root=UUID=793246ac-c5ff-421b-a508-052d57cca90c ro rootfstype=ext4 quiet > splash > ProcEnviron: > LANGUAGE=it_IT.UTF-8 > PATH=(custom, user) > LANG=it_IT.UTF-8 > SHELL=/bin/bash > ProcVersionSignature: Ubuntu 2.6.32-12.16-generic > Regression: Yes > RelatedPackageVersions: linux-firmware 1.28 > Reproducible: Yes > SourcePackage: linux > TestedUpstream: No > Uname: Linux 2.6.32-12-generic x86_64 > WpaSupplicantLog: > > dmi.bios.date: 12/13/2006 > dmi.bios.vendor: Phoenix Technologies LTD > dmi.bios.version: V1.14 > dmi.board.name: Myallm > dmi.board.vendor: Acer > dmi.board.version: Rev > dmi.chassis.asset.tag: None > dmi.chassis.type: 10 > dmi.chassis.vendor: Acer > dmi.chassis.version: N/A > dmi.modalias: > dmi:bvnPhoenixTechnologiesLTD:bvrV1.14:bd12/13/2006:svnAcer:pnAspire9300:pvr0100:rvnAcer:rnMyallm:rvrRev:cvnAcer:ct10:cvrN/A: > dmi.product.name: Aspire 9300 > dmi.product.version: 0100 > dmi.sys.vendor: Acer > > To unsubscribe from this bug, go to: > https://bugs.launchpad.net/ubuntu/+source/linux/+bug/515109/+subscribe > -- cannot suspend usb devices on lucid https://bugs.launchpad.net/bugs/515109 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs