Mailinglist Archive: opensuse-bugs (5243 mails)

< Previous Next >
[Bug 810382] Bus-powerd USB hub can not be used anymore

https://bugzilla.novell.com/show_bug.cgi?id=810382

https://bugzilla.novell.com/show_bug.cgi?id=810382#c1


--- Comment #1 from Dr. Werner Fink <werner@xxxxxxxx> 2013-03-24 14:04:20 UTC
---
Just found a solution by adding a local udev rule with a simple script.

The rule /etc/udev/rules.d/85-usb-alcor_micro_hub.rules looks like

---------------------------------------------------------------------
#
# ID 058f:9254 Alcor Micro Corp. Hub
#
ACTION=="add|change", SUBSYSTEM=="usb", ATTR{idVendor}=="058f", \
ATTR{idProduct}=="9254", RUN+="usb_alcor_micro_hub"
~
---------------------------------------------------------------------

and the script /usr/lib/udev/usb_alcor_micro_hub

---------------------------------------------------------------------
#!/bin/bash
#
# ID 058f:9254 Alcor Micro Corp. Hub
#
for manufacturer in /sys/bus/usb/devices/*/manufacturer ; do
test -e "$manufacturer" || continue
name=$(cat "$manufacturer")
if test "$name" = ALCOR ; then
power="${manufacturer%/*}/power/"
test -d "$power" || break
echo enabled >| "${power}/wakeup"
echo on >| "${power}/control"
# echo -1 >| "${power}/autosuspend"
break
fi
done
---------------------------------------------------------------------

and this does work, just tested. The only question is: how this problem will be
solved by a non-technical user?

--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >
References