Re: shutdown -p doesn't power-off USB

2012-04-02 Thread Mage

For me it's even worse.

http://forums.freebsd.org/showthread.php?t=29700

It occurs after the first world rebuilding and I can't solve it since 
months.


And only occurs since 9.0 is out. 9 RC3 worked fine.

However the fresh install from the 9.0 stable disk also works fine until 
building and installing kernel and world from src.


The kernel is GENERIC and I run mergemaster properly every time it's needed.

All my computers having this issue are on ZFS root and all work properly 
except the shutdown and reboot.


Mage



On 03/31/2012 17:38, Jens Schweikhardt wrote:

hello world\n

I'm running 9-STABLE/amd64 and for a few months now, whenever I shut
down with "shutdown -p now", the USB devices still have power. This is
most visible on the USB keyboard, where *all* LEDs are turned on and
stay on.

The MB is an ASUS P5Q3 Deluxe.

The USB related sysctls are:
# sysctl -aw|grep -i usb
 USB1008A Flash Disk
device  usb
hw.pci.usb_early_takeover: 1
hw.usb.no_shutdown_wait: 0
hw.usb.no_boot_wait: 0
hw.usb.debug: 0
hw.usb.usb_lang_mask: 255
hw.usb.usb_lang_id: 9
hw.usb.template: 0
hw.usb.power_timeout: 30
hw.usb.no_pf: 0
hw.usb.no_cs_fail: 0
dev.uhci.0.%desc: Intel 82801JI (ICH10) USB controller USB-D
dev.uhci.0.%location: slot=26 function=0 handle=\_SB_.PCI0.USB4
dev.uhci.1.%desc: Intel 82801JI (ICH10) USB controller USB-E
dev.uhci.1.%location: slot=26 function=1 handle=\_SB_.PCI0.USB5
dev.uhci.2.%desc: Intel 82801JI (ICH10) USB controller USB-F
dev.uhci.2.%location: slot=26 function=2 handle=\_SB_.PCI0.USB6
dev.uhci.3.%desc: Intel 82801JI (ICH10) USB controller USB-A
dev.uhci.3.%location: slot=29 function=0 handle=\_SB_.PCI0.USB0
dev.uhci.4.%desc: Intel 82801JI (ICH10) USB controller USB-B
dev.uhci.4.%location: slot=29 function=1 handle=\_SB_.PCI0.USB1
dev.uhci.5.%desc: Intel 82801JI (ICH10) USB controller USB-C
dev.uhci.5.%location: slot=29 function=2 handle=\_SB_.PCI0.USB2
dev.usbus.0.%desc: Intel 82801JI (ICH10) USB controller USB-D
dev.usbus.0.%driver: usbus
dev.usbus.0.%parent: uhci0
dev.usbus.1.%desc: Intel 82801JI (ICH10) USB controller USB-E
dev.usbus.1.%driver: usbus
dev.usbus.1.%parent: uhci1
dev.usbus.2.%desc: Intel 82801JI (ICH10) USB controller USB-F
dev.usbus.2.%driver: usbus
dev.usbus.2.%parent: uhci2
dev.usbus.3.%desc: Intel 82801JI (ICH10) USB 2.0 controller USB-B
dev.usbus.3.%driver: usbus
dev.usbus.3.%parent: ehci0
dev.usbus.4.%driver: usbus
dev.usbus.4.%parent: xhci0
dev.usbus.5.%desc: Intel 82801JI (ICH10) USB controller USB-A
dev.usbus.5.%driver: usbus
dev.usbus.5.%parent: uhci3
dev.usbus.6.%desc: Intel 82801JI (ICH10) USB controller USB-B
dev.usbus.6.%driver: usbus
dev.usbus.6.%parent: uhci4
dev.usbus.7.%desc: Intel 82801JI (ICH10) USB controller USB-C
dev.usbus.7.%driver: usbus
dev.usbus.7.%parent: uhci5
dev.usbus.8.%desc: Intel 82801JI (ICH10) USB 2.0 controller USB-A
dev.usbus.8.%driver: usbus
dev.usbus.8.%parent: ehci1
dev.ehci.0.%desc: Intel 82801JI (ICH10) USB 2.0 controller USB-B
dev.ehci.0.%location: slot=26 function=7 handle=\_SB_.PCI0.USBE
dev.ehci.1.%desc: Intel 82801JI (ICH10) USB 2.0 controller USB-A
dev.ehci.1.%location: slot=29 function=7 handle=\_SB_.PCI0.EUSB
dev.xhci.0.%desc: XHCI (generic) USB 3.0 controller
dev.uhub.0.%parent: usbus0
dev.uhub.1.%parent: usbus1
dev.uhub.2.%parent: usbus2
dev.uhub.3.%parent: usbus3
dev.uhub.4.%parent: usbus4
dev.uhub.5.%parent: usbus5
dev.uhub.6.%parent: usbus6
dev.uhub.7.%parent: usbus7
dev.uhub.8.%parent: usbus8
dev.ums.0.%desc: Logitech USB Receiver, class 0/0, rev 2.00/22.00, addr 2
dev.uhid.0.%desc: Logitech USB Receiver, class 0/0, rev 2.00/22.00, addr 2

Any help appreciated in telling me how to turn off USB power with shutdown.

Regards,

Jens


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: shutdown -p doesn't power-off USB

2012-04-01 Thread Polytropon
On Sat, 31 Mar 2012 17:38:11 +0200, Jens Schweikhardt wrote:
> I'm running 9-STABLE/amd64 and for a few months now, whenever I shut
> down with "shutdown -p now", the USB devices still have power. This is
> most visible on the USB keyboard, where *all* LEDs are turned on and
> stay on.

That's not a bug, it's a feature. :-) Many mainboards allow
switching-on per keyboard. There's typically a toggle in
the board's CMOS setup. Maybe there's also an option to
turn USB power completely off. However, USB powered on
seems to be the default as soon as the machine's power
supply is on line.



> The MB is an ASUS P5Q3 Deluxe.

Also check its documentation, maybe USB power is mentioned?



> Any help appreciated in telling me how to turn off USB power with shutdown.

I don't think this is any option in the OS. You should check
this per hardware.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: shutdown -p doesn't power-off USB

2012-03-31 Thread Michael Sierchio
That would be something in the BIOS settings, probably...

On Sat, Mar 31, 2012 at 8:38 AM, Jens Schweikhardt <
schwe...@schweikhardt.net> wrote:

> hello world\n
>
> I'm running 9-STABLE/amd64 and for a few months now, whenever I shut
> down with "shutdown -p now", the USB devices still have power. This is
> most visible on the USB keyboard, where *all* LEDs are turned on and
> stay on.
>
> The MB is an ASUS P5Q3 Deluxe.
>
> The USB related sysctls are:
> # sysctl -aw|grep -i usb
>USB1008A Flash Disk
> device  usb
> hw.pci.usb_early_takeover: 1
> hw.usb.no_shutdown_wait: 0
> hw.usb.no_boot_wait: 0
> hw.usb.debug: 0
> hw.usb.usb_lang_mask: 255
> hw.usb.usb_lang_id: 9
> hw.usb.template: 0
> hw.usb.power_timeout: 30
> hw.usb.no_pf: 0
> hw.usb.no_cs_fail: 0
> dev.uhci.0.%desc: Intel 82801JI (ICH10) USB controller USB-D
> dev.uhci.0.%location: slot=26 function=0 handle=\_SB_.PCI0.USB4
> dev.uhci.1.%desc: Intel 82801JI (ICH10) USB controller USB-E
> dev.uhci.1.%location: slot=26 function=1 handle=\_SB_.PCI0.USB5
> dev.uhci.2.%desc: Intel 82801JI (ICH10) USB controller USB-F
> dev.uhci.2.%location: slot=26 function=2 handle=\_SB_.PCI0.USB6
> dev.uhci.3.%desc: Intel 82801JI (ICH10) USB controller USB-A
> dev.uhci.3.%location: slot=29 function=0 handle=\_SB_.PCI0.USB0
> dev.uhci.4.%desc: Intel 82801JI (ICH10) USB controller USB-B
> dev.uhci.4.%location: slot=29 function=1 handle=\_SB_.PCI0.USB1
> dev.uhci.5.%desc: Intel 82801JI (ICH10) USB controller USB-C
> dev.uhci.5.%location: slot=29 function=2 handle=\_SB_.PCI0.USB2
> dev.usbus.0.%desc: Intel 82801JI (ICH10) USB controller USB-D
> dev.usbus.0.%driver: usbus
> dev.usbus.0.%parent: uhci0
> dev.usbus.1.%desc: Intel 82801JI (ICH10) USB controller USB-E
> dev.usbus.1.%driver: usbus
> dev.usbus.1.%parent: uhci1
> dev.usbus.2.%desc: Intel 82801JI (ICH10) USB controller USB-F
> dev.usbus.2.%driver: usbus
> dev.usbus.2.%parent: uhci2
> dev.usbus.3.%desc: Intel 82801JI (ICH10) USB 2.0 controller USB-B
> dev.usbus.3.%driver: usbus
> dev.usbus.3.%parent: ehci0
> dev.usbus.4.%driver: usbus
> dev.usbus.4.%parent: xhci0
> dev.usbus.5.%desc: Intel 82801JI (ICH10) USB controller USB-A
> dev.usbus.5.%driver: usbus
> dev.usbus.5.%parent: uhci3
> dev.usbus.6.%desc: Intel 82801JI (ICH10) USB controller USB-B
> dev.usbus.6.%driver: usbus
> dev.usbus.6.%parent: uhci4
> dev.usbus.7.%desc: Intel 82801JI (ICH10) USB controller USB-C
> dev.usbus.7.%driver: usbus
> dev.usbus.7.%parent: uhci5
> dev.usbus.8.%desc: Intel 82801JI (ICH10) USB 2.0 controller USB-A
> dev.usbus.8.%driver: usbus
> dev.usbus.8.%parent: ehci1
> dev.ehci.0.%desc: Intel 82801JI (ICH10) USB 2.0 controller USB-B
> dev.ehci.0.%location: slot=26 function=7 handle=\_SB_.PCI0.USBE
> dev.ehci.1.%desc: Intel 82801JI (ICH10) USB 2.0 controller USB-A
> dev.ehci.1.%location: slot=29 function=7 handle=\_SB_.PCI0.EUSB
> dev.xhci.0.%desc: XHCI (generic) USB 3.0 controller
> dev.uhub.0.%parent: usbus0
> dev.uhub.1.%parent: usbus1
> dev.uhub.2.%parent: usbus2
> dev.uhub.3.%parent: usbus3
> dev.uhub.4.%parent: usbus4
> dev.uhub.5.%parent: usbus5
> dev.uhub.6.%parent: usbus6
> dev.uhub.7.%parent: usbus7
> dev.uhub.8.%parent: usbus8
> dev.ums.0.%desc: Logitech USB Receiver, class 0/0, rev 2.00/22.00, addr 2
> dev.uhid.0.%desc: Logitech USB Receiver, class 0/0, rev 2.00/22.00, addr 2
>
> Any help appreciated in telling me how to turn off USB power with shutdown.
>
> Regards,
>
>Jens
> --
> Jens Schweikhardt http://www.schweikhardt.net/
> SIGSIG -- signature too long (core dumped)
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscr...@freebsd.org"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


shutdown -p doesn't power-off USB

2012-03-31 Thread Jens Schweikhardt
hello world\n

I'm running 9-STABLE/amd64 and for a few months now, whenever I shut
down with "shutdown -p now", the USB devices still have power. This is
most visible on the USB keyboard, where *all* LEDs are turned on and
stay on.

The MB is an ASUS P5Q3 Deluxe.

The USB related sysctls are:
# sysctl -aw|grep -i usb
USB1008A Flash Disk
device  usb
hw.pci.usb_early_takeover: 1
hw.usb.no_shutdown_wait: 0
hw.usb.no_boot_wait: 0
hw.usb.debug: 0
hw.usb.usb_lang_mask: 255
hw.usb.usb_lang_id: 9
hw.usb.template: 0
hw.usb.power_timeout: 30
hw.usb.no_pf: 0
hw.usb.no_cs_fail: 0
dev.uhci.0.%desc: Intel 82801JI (ICH10) USB controller USB-D
dev.uhci.0.%location: slot=26 function=0 handle=\_SB_.PCI0.USB4
dev.uhci.1.%desc: Intel 82801JI (ICH10) USB controller USB-E
dev.uhci.1.%location: slot=26 function=1 handle=\_SB_.PCI0.USB5
dev.uhci.2.%desc: Intel 82801JI (ICH10) USB controller USB-F
dev.uhci.2.%location: slot=26 function=2 handle=\_SB_.PCI0.USB6
dev.uhci.3.%desc: Intel 82801JI (ICH10) USB controller USB-A
dev.uhci.3.%location: slot=29 function=0 handle=\_SB_.PCI0.USB0
dev.uhci.4.%desc: Intel 82801JI (ICH10) USB controller USB-B
dev.uhci.4.%location: slot=29 function=1 handle=\_SB_.PCI0.USB1
dev.uhci.5.%desc: Intel 82801JI (ICH10) USB controller USB-C
dev.uhci.5.%location: slot=29 function=2 handle=\_SB_.PCI0.USB2
dev.usbus.0.%desc: Intel 82801JI (ICH10) USB controller USB-D
dev.usbus.0.%driver: usbus
dev.usbus.0.%parent: uhci0
dev.usbus.1.%desc: Intel 82801JI (ICH10) USB controller USB-E
dev.usbus.1.%driver: usbus
dev.usbus.1.%parent: uhci1
dev.usbus.2.%desc: Intel 82801JI (ICH10) USB controller USB-F
dev.usbus.2.%driver: usbus
dev.usbus.2.%parent: uhci2
dev.usbus.3.%desc: Intel 82801JI (ICH10) USB 2.0 controller USB-B
dev.usbus.3.%driver: usbus
dev.usbus.3.%parent: ehci0
dev.usbus.4.%driver: usbus
dev.usbus.4.%parent: xhci0
dev.usbus.5.%desc: Intel 82801JI (ICH10) USB controller USB-A
dev.usbus.5.%driver: usbus
dev.usbus.5.%parent: uhci3
dev.usbus.6.%desc: Intel 82801JI (ICH10) USB controller USB-B
dev.usbus.6.%driver: usbus
dev.usbus.6.%parent: uhci4
dev.usbus.7.%desc: Intel 82801JI (ICH10) USB controller USB-C
dev.usbus.7.%driver: usbus
dev.usbus.7.%parent: uhci5
dev.usbus.8.%desc: Intel 82801JI (ICH10) USB 2.0 controller USB-A
dev.usbus.8.%driver: usbus
dev.usbus.8.%parent: ehci1
dev.ehci.0.%desc: Intel 82801JI (ICH10) USB 2.0 controller USB-B
dev.ehci.0.%location: slot=26 function=7 handle=\_SB_.PCI0.USBE
dev.ehci.1.%desc: Intel 82801JI (ICH10) USB 2.0 controller USB-A
dev.ehci.1.%location: slot=29 function=7 handle=\_SB_.PCI0.EUSB
dev.xhci.0.%desc: XHCI (generic) USB 3.0 controller
dev.uhub.0.%parent: usbus0
dev.uhub.1.%parent: usbus1
dev.uhub.2.%parent: usbus2
dev.uhub.3.%parent: usbus3
dev.uhub.4.%parent: usbus4
dev.uhub.5.%parent: usbus5
dev.uhub.6.%parent: usbus6
dev.uhub.7.%parent: usbus7
dev.uhub.8.%parent: usbus8
dev.ums.0.%desc: Logitech USB Receiver, class 0/0, rev 2.00/22.00, addr 2
dev.uhid.0.%desc: Logitech USB Receiver, class 0/0, rev 2.00/22.00, addr 2

Any help appreciated in telling me how to turn off USB power with shutdown.

Regards,

Jens
-- 
Jens Schweikhardt http://www.schweikhardt.net/
SIGSIG -- signature too long (core dumped)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"