diff options
author | aavit <eirik.aavitsland@digia.com> | 2013-05-13 11:38:17 +0200 |
---|---|---|
committer | Rainer Keller <rainer.keller@digia.com> | 2013-05-14 11:30:54 +0300 |
commit | bf3433bebc3be50fe39eb67feab42bc838432d40 (patch) | |
tree | 69f7c385661c9825c1b83f157ee45dfcc84f21f4 | |
parent | 96bf7d631fcbbf0f65b65ee2655150c2b4b92822 (diff) |
Doc: Fix udev rule setup instructions
lsusb will not provide the right information work until the right
kernel has been booted - which it typically has not, at this point in
the setup. This way is also a lot simpler.
Change-Id: I03991ac69281dfe81ece5e02617a81b7688161ea
Reviewed-by: Rainer Keller <rainer.keller@digia.com>
-rw-r--r-- | src/doc/src/b2qt.qdoc | 25 |
1 files changed, 4 insertions, 21 deletions
diff --git a/src/doc/src/b2qt.qdoc b/src/doc/src/b2qt.qdoc index 207be78..a787c4d 100644 --- a/src/doc/src/b2qt.qdoc +++ b/src/doc/src/b2qt.qdoc @@ -213,29 +213,12 @@ \section1 Setting up Access to Development Hardware via USB On Ubuntu Linux you have to grant your development user access to - plugged in devices. This is done by creating a new \e{udev} rule that - allows access to the device via USB. In order to do that, you need to - find out the USB ID of your device. - - First, power up the device and connect it to your development - machine with a USB cable. Then, look for a line listing your - device in the output generated by the \c{lsusb} command. - - For example: - - \code - $ lsusb - ... - ... - Bus 001 Device 008: ID 18d1:9018 Google Inc. - ... - \endcode - - Take note of the numbers stated after \c{ID}, and replace them in the - following shell command: + plugged in devices. This is done by creating a new \e{udev} rule + that allows access to the device via USB. First, run the following + command in a shell: \code - echo 'SUBSYSTEM=="usb", ATTRS{idVendor}=="18d1", ATTRS{idProduct}=="9018", TAG+="udev-acl"' | sudo tee -a /etc/udev/rules.d/70-boot2qt.rules + echo 'SUBSYSTEM=="usb", ATTRS{idVendor}=="18d1", TAG+="udev-acl"' | sudo tee -a /etc/udev/rules.d/70-boot2qt.rules \endcode Now disconnect and reconnect the USB cable. Confirm that the |