From: Dan Johansson <Dan.Johansson@dmj.nu>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] [OT] Problems with USB subsystem after upgrading to 2.6.22
Date: Sun, 9 Sep 2007 19:21:01 +0200 [thread overview]
Message-ID: <200709091921.09133.Dan.Johansson@dmj.nu> (raw)
[-- Attachment #1: Type: text/plain, Size: 982 bytes --]
After upgrading to 2.6.22 one of my USB-devices stopped working "out of the
box". I've found a workaround (see below) to get it working. And my question
is how can I make this automatically?
Here's the workaround:
From dmesg:
usb 2-1: new full speed USB device using uhci_hcd and address 4
usb 2-1: no configuration chosen from 1 choice
In /sys/bus/usb/devices/ I find the symlink for this device (2-1)
/sys/bus/usb/devices/2-1# cat bNumConfigurations
1
/sys/bus/usb/devices/2-1# cat bConfigurationValue
by writing a value into bConfigurationValue, I can select an active
configuration:
/sys/bus/usb/devices/2-1# echo 1 > bConfigurationValue
/sys/bus/usb/devices/2-1# cat bConfigurationValue
1
After this the device works as expected.
--
Dan Johansson, <http://www.dmj.nu>
***************************************************
This message is printed on 100% recycled electrons!
***************************************************
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next reply other threads:[~2007-09-09 17:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-09 17:21 Dan Johansson [this message]
2007-09-12 16:44 ` [gentoo-user] [OT] Problems with USB subsystem after upgrading to 2.6.22 Dan Johansson
2007-09-12 18:58 ` Hans-Werner Hilse
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200709091921.09133.Dan.Johansson@dmj.nu \
--to=dan.johansson@dmj.nu \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox