How can I disable a usb device on debian? I am using a macbook pro but I have installed debian jessie 8.2 on it.  the USB device: Card Reader (Apple) is pulling way too much power and I don't even use the device.  How can I disable that device?    33.8 W    100.0%                      Device         USB device: Card Reader (Apple)   2.96 W    100.0%                      Device         Radio device: btusb   477 mW      0.0 pkts/s                Device         Network interface: wlan0 (wl)   running lsusb I cannot find which device is that card reader  Bus 002 Device 003: ID 05ac:8406 Apple, Inc.  Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 006: ID 05ac:8289 Apple, Inc.  Bus 001 Device 002: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth) Bus 001 Device 003: ID 05ac:0262 Apple, Inc.  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub   additional information.  dmesg | grep APPLE  [    0.000000] ACPI: RSDP 0x000000007AD8E014 000024 (v02 APPLE ) [    0.000000] ACPI: XSDT 0x000000007AD8E1C0 00009C (v01 APPLE  Apple00  00000000      01000013) [    0.000000] ACPI: FACP 0x000000007AD8C000 0000F4 (v05 APPLE  Apple00  00000000 Loki 0000005F) [    0.000000] ACPI: DSDT 0x000000007AD80000 006C1F (v03 APPLE  MacBookP 00110002 INTL 20100915) [    0.000000] ACPI: HPET 0x000000007AD8B000 000038 (v01 APPLE  Apple00  00000001 Loki 0000005F) [    0.000000] ACPI: APIC 0x000000007AD8A000 0000BC (v02 APPLE  Apple00  00000001 Loki 0000005F) [    0.000000] ACPI: SBST 0x000000007AD88000 000030 (v01 APPLE  Apple00  00000001 Loki 0000005F) [    0.000000] ACPI: ECDT 0x000000007AD87000 000053 (v01 APPLE  Apple00  00000001 Loki 0000005F) [    0.000000] ACPI: SSDT 0x000000007AD7F000 00010B (v01 APPLE  SataAhci 00001000 INTL 20100915) [    0.000000] ACPI: SSDT 0x000000007AD7E000 000024 (v01 APPLE  SmcDppt  00001000 INTL 20100915) [    0.000000] ACPI: SSDT 0x000000007AD7C000 000688 (v01 APPLE  SDUsbLpt 00001000 INTL 20100915) [    0.000000] ACPI: SSDT 0x000000007AD79000 000032 (v01 APPLE  SsdtS3   00001000 INTL 20100915) [    0.000000] ACPI: SSDT 0x000000007AD64000 009E2C (v01 APPLE  TbtPEG11 00001000 INTL 20100915) [    0.000000] ACPI: SSDT 0x000000007AD63000 0000B8 (v01 APPLE  Sdxc     00001000 INTL 20100915) [    0.000000] ACPI: MCFG 0x000000007AD89000 00003C (v01 APPLE  Apple00  00000001 Loki 0000005F) [    0.000000] ACPI: DMAR 0x000000007AD5F000 000088 (v01 APPLE  HSW      00000001 AAPL 00000001) [    2.141500] ata1.00: ATA-8: APPLE SSD SM0512F, UXM2JA1Q, max UDMA/133 [    2.149927] scsi 0:0:0:0: Direct-Access     ATA      APPLE SSD SM0512 JA1Q PQ: 0 ANSI: 5 [    3.051962] scsi 1:0:0:0: Direct-Access     APPLE    SD Card Reader   3.00 PQ: 0 ANSI: 6   sg_scan -i  /dev/sg0: scsi0 channel=0 id=0 lun=0 [em]     ATA       APPLE SSD SM0512  JA1Q [rmb=0 cmdq=0 pqual=0 pdev=0x0]  /dev/sg1: scsi1 channel=0 id=0 lun=0 [em]     APPLE     SD Card Reader    3.00 [rmb=1 cmdq=0 pqual=0 pdev=0x0]    ps -ax | grep dev     47 ?        S      0:00 [kdevtmpfs]    59 ?        S&lt;     0:00 [devfreq_wq]   215 ?        Ss     0:00 /lib/systemd/systemd-udevd  2525 ?        Sl     0:15 /google/chrome/chrome   4358 pts/2    S+     0:00 grep dev   I've tried all the suggestions in  but it doesn't work. That's why I have a new question.
I am currently using a macbook pro but the operating system is debian 8.2 not os x  I am using a macbook pro but there's this one device that's just draining a lot of power. This USB device: Card Reader (Apple)   32.5 W    100.0%                      Device         USB device: Card Reader (Apple)   2.60 W    100.0%                      Device         Radio device: btusb   209 mW     19.7 pkts/s                Device         Network interface: wlan0 (wl)   This device really drains my battery, I noticed that my laptop wouldn't even get 2 hours when not plugged in, I installed powertop. Made all the recommended changes but this device, I can't find out how to disable it. I don't even use that reader and forgot that it was there.  I configured all my devices to use limited power in my rc.local  echo '0' &gt; '/proc/sys/kernel/nmi_watchdog' echo 'min_power' &gt; '/sys/class/scsi_host/host0/link_power_management_policy' echo '1' &gt; '/sys/module/snd_hda_intel/parameters/power_save' echo '1500' &gt; '/proc/sys/vm/dirty_writeback_centisecs' echo 'auto' &gt; '/sys/bus/usb/devices/2-4/power/control' echo 'auto' &gt; '/sys/bus/usb/devices/1-12/power/control' echo 'auto' &gt; '/sys/bus/usb/devices/1-8.3/power/control' echo 'auto' &gt; '/sys/bus/pci/devices/0000:00:1f.3/power/control' echo 'auto' &gt; '/sys/bus/pci/devices/0000:01:00.1/power/control' echo 'auto' &gt; '/sys/bus/pci/devices/0000:00:1c.3/power/control' echo 'auto' &gt; '/sys/bus/pci/devices/0000:00:1c.4/power/control' echo 'auto' &gt; '/sys/bus/pci/devices/0000:00:1c.2/power/control' echo 'auto' &gt; '/sys/bus/pci/devices/0000:00:1c.0/power/control' echo 'auto' &gt; '/sys/bus/pci/devices/0000:00:1b.0/power/control' echo 'auto' &gt; '/sys/bus/pci/devices/0000:00:16.0/power/control' echo 'auto' &gt; '/sys/bus/pci/devices/0000:00:14.0/power/control' echo 'auto' &gt; '/sys/bus/pci/devices/0000:00:01.1/power/control' echo 'auto' &gt; '/sys/bus/pci/devices/0000:00:01.0/power/control' echo 'auto' &gt; '/sys/bus/pci/devices/0000:00:00.0/power/control' echo 'auto' &gt; '/sys/bus/pci/devices/0000:01:00.0/power/control' echo 'auto' &gt; '/sys/bus/pci/devices/0000:08:00.0/power/control' echo 'auto' &gt; '/sys/bus/pci/devices/0000:07:06.0/power/control' echo 'auto' &gt; '/sys/bus/pci/devices/0000:07:05.0/power/control' echo 'auto' &gt; '/sys/bus/pci/devices/0000:07:04.0/power/control' echo 'auto' &gt; '/sys/bus/pci/devices/0000:07:03.0/power/control' echo 'auto' &gt; '/sys/bus/pci/devices/0000:07:00.0/power/control' echo 'auto' &gt; '/sys/bus/pci/devices/0000:06:00.0/power/control' echo 'auto' &gt; '/sys/bus/pci/devices/0000:05:00.0/power/control' echo 'auto' &gt; '/sys/bus/pci/devices/0000:04:00.0/power/control' echo 'auto' &gt; '/sys/bus/pci/devices/0000:03:00.0/power/control' echo 'auto' &gt; '/sys/bus/pci/devices/0000:00:1f.0/power/control'   How can I get this device to act sanely or disable it completely because I  haven't used it.
Am I allowed to make a Stack Overflow clone? SO is not Open-Source, but I like the whole idea of Stack Overflow :   Giving bounties for Questions Up/Downvoting Questions The Badges The intelligent use of Ajax-Technologies Highly Rated users have administrative powers Reputation system Editing posts like a wiki   So I would like to program a (what is it called) Q&amp;A site / board / wiki system. Am I allowed to? Prove by mathematical induction that: $\forall n \in \mathbb{N}: 3^{n} > n^{3}$ Prove by mathematical  induction that:   $$\forall n \in \mathbb{N}: 3^{n} &gt; n^{3}$$  Step 1: Show that the statement is true for $n = 1$:  $$3^{1} &gt; 1^{3} \Rightarrow 3 &gt; 1$$  Step 2: Show that if the statement is true for $n = p$, it is true for $n = p + 1$  The general idea I had was to start with $(p+1)^{3}$ and during the process substitute in $3^{p}$ for $p^{3}$ as an inequality.  $$(p+1)^{3} = p^{3} + 3p^{2} + 3p + 1 &lt; 3^{p} + 3p^{2} + 3p + 1$$  Now, if it can be shown that:  $$\forall p \in \mathbb{N}: 3p^{2} + 3p + 1 \leq 2 \cdot 3^{p}$$  ...the proof is complete. This is because $3^{p+1} = 3 \cdot 3^{p}$ and one of those three have already been used.   We do this by mathematical induction. First, the base case of $n = 1$:  $$3\cdot 1^{2} + 3 \cdot 1 + 1 \not \leq 2 \cdot 3^{1}$$  ..which turns out to be false.  What are some more productive approaches to this step? Alternative of `route -n` of Linux in Mac How can I see the list of routes and its corresponding gateway in a Mac ? The command in linux is route -n .  For a particular IP address, I am able to get the routes for an particular IP address via route get 10.0.0.0. How do I use a different drive as an installation location for Steam? I recently got an invitation for Steam. I want to download games but my SSD drive which I have Ubuntu will not be enough. How can I install Steam on a different hard drive?  I went into the "Steam Library Folders" but I can't delete the original folder so steam can install on that drive. I have also tried to change the place but it is again on the down side: Proof of the following inequality $ \frac{x - y}{\log x - \log y} > \sqrt{xy} $, $x>y$. I have seen the following inequality  $$ \frac{x - y}{\log x - \log y} &gt; \sqrt{xy} \ , \quad \forall x&gt;y $$ be stated as a near "obvious" fact in another , on the site.  The inequality is very cute, but so far I have not been able to prove it.  It reminds me of the Lipschitz inequality, but has some minor differences. Also Jensens inequality comes to mind. Is there something obvious I am missing, or is this ineqality not as easy to prove as it looks? I would like to travel in the USA for a period of 3 - 6 months. But I want to spend some time working for my employer (remote work) and getting paid by the employer. Is this possible under a tourist visa (B1/B2)?  I hope this is OK since I will not be getting paid by a US employer. I am in the IT trade so all that I will be needing is my own laptop and a connection to the internet. The money I earn would actually help me pay for the expenses I get during the holiday. Have we ever observed two drosophila lineages that evolved reproductive isolation in labs? Background  The standard definition of species refers to the concept of . If two lineages are found to be reproductively isolated, then we consider these two lineages to belong to different species. My question concerns evolved reproductive isolation in Drosophila sp. following labs due to experimental evolution.  Question  Have we ever demonstrated that two Drosophila sp. lineages that could initially interbreed (in nature or in labs) evolved through artificial selection (and drift and mutations) in labs to finally not be able to interbreed anymore either due pre- or post- zygotic isolation (see )? Or, in other words, have we ever demonstrated that two drosophila lineages evolved to become different species (reproductive isolation definition) in labs experiments?  If not, have we ever observed some partial reproductive isolation such as inbreeding depression for example?    Note: This question is motivated by @LotusBiology that could not receive the answers she/he was waiting for because he/she failed to ask questions that are possibly answerable! So I wanted to ask this question that somehow addresses  question he/she asked (now on-hold)  For more information about the concept of species, please have a look at This is what is supposedly his claim:     My noumenal self is an uncaused cause outside of time, which therefore   is not subject to the deterministic laws of nature in accordance with   which our understanding constructs experience.   How can he say that if a noumenal self has to exist in nature and be bound to body that exists in nature? Also, if his noumenal self is free then so does 7 billion other people's, which is not the case because they all live in a societal structure where everyone has freedom that comes with a bunch conditions as to what is forbidden. What's the maximum length of the meta keywords tag? Could you please tell me that what is the maximum length for meta keywords? Labelling figures in the tikz package Consider the following piece of code, which uses the tikz-feynman package:  \usepackage{tikz-feynman, contour} \tikzfeynmanset{compat=1.1.0}  \begin{document} \begin{center}     \begin{tikzpicture}[baseline={(current bounding box.center)}]     \begin{feynman}         \diagram [vertical'=a to b] {             {   [edges={draw=none}]                 a -- b [label=0:\(\mu_{3}\)]                 -- c [label=-180:\(\mu_{4}\)]                 -- d [label=-180:\(\mu_{1}\)]                 -- a [label=0:\(\mu_{2}\)],             },             {   [edges={photon}]                 a -- ap [particle=\(p_{2}\)],                 b -- bp [particle=\(p_{3}\)],                 d -- dp [particle=\(p_{1}\)],                 c -- cp [particle=\(p_{4}\)],             },         };         \diagram* {             (c) -- [fermion] (b)                 -- [fermion] (d)                 -- [fermion] (a)                 -- (c),         };     \end{feynman}     \end{tikzpicture}     %     \feynmandiagram[baseline={(current bounding box.center)}, vertical'=a to b,] {         {   [edges={fermion}]             a -- b [label=0:\(\mu_{3}\)]             -- c [label=-180:\(\mu_{4}\)]             -- d [label=-180:\(\mu_{1}\)]             -- a [label=0:\(\mu_{2}\)],         },         {   [edges={photon}]             a -- ap [particle=\(p_{2}\)],             b -- bp [particle=\(p_{3}\)],             d -- dp [particle=\(p_{1}\)],             c -- cp [particle=\(p_{4}\)],         },     };     %     \begin{tikzpicture}[baseline={(current bounding box.center)}]     \begin{feynman}         \diagram [vertical'=a to b] {             {   [edges={draw=none}]                 a -- b [label=0:\(\mu_{3}\)]                 -- c [label=-180:\(\mu_{4}\)]                 -- d [label=-180:\(\mu_{1}\)]                 -- a [label=0:\(\mu_{2}\)],             },             {   [edges={photon}]                 a -- ap [particle=\(p_{2}\)],                 b -- bp [particle=\(p_{3}\)],                 d -- dp [particle=\(p_{1}\)],                 c -- cp [particle=\(p_{4}\)],             },         };         \diagram* {             (a) -- [anti fermion] (b)                 -- [anti fermion] (d)                 -- [anti fermion] (c)                 -- (a),         };     \end{feynman}     \end{tikzpicture}     \end{center} \end{document}   This piece of code draws the following figure:    I would like to label each figure. I do not want a caption, but just a label beneath each diagram. The label should say Diagram I, Diagram II, Diagram III.  How do I implement this into my code? I have a shop created with drupal commerece modules,I enabled 2 currency in my shop , but only show one of them, I want to show price in 2 currency       something like this price :  10$  / 20 IRR I use multi currency module to achieve this job, but  I my problem is in payment  phase, I use multi currency module to achieve this job,in multicurrency  module's setting I don't want  use  synchronize method, if you want have two field in my product , one form $ and another for IRR, I did this job by this method     first enable IRR currency in  admin/commerce/config/currency  then in  admin/commerce/config/currency/handling under Enable dedicated price fields for Product check Iranian Rial  by doing this  another field added you my product ( ** Price for IRR** ), this is good , after this I enable  *currency selector * block ,in checking out process by switching the currency I don't see any change in current currency of billing and cart. :( why changing currency not changing cart currency? Technically, any odd number of backslashes, as described in .  &gt;&gt;&gt; r'\'   File "&lt;stdin&gt;", line 1     r'\'        ^ SyntaxError: EOL while scanning string literal &gt;&gt;&gt; r'\\' '\\\\' &gt;&gt;&gt; r'\\\'   File "&lt;stdin&gt;", line 1     r'\\\'          ^ SyntaxError: EOL while scanning string literal   It seems like the parser could just treat backslashes in raw strings as regular characters (isn't that what raw strings are all about?), but I'm probably missing something obvious. Page 105 of D. Burton's A First Course in Rings and Ideals reads     It is not difficult to show that if (I'll call them $n$ and $m$ instead of $n_1$ and $n_2$) $n$, $m$ are square free integers, then $\mathbb{Q}(\sqrt{n}) \cong \mathbb{Q}(\sqrt{m})$ if and only if $n=m$.   Well, it is getting difficult for me, any help or would be appreciated.    My progress so far: Suppose $\phi :\mathbb{Q}(\sqrt{n})\to\mathbb{Q}(\sqrt{m})$ is an isomorphism. Then $\phi(u)=u$ for every $u \in \mathbb{Q}$, so that $\phi(\sqrt{n})^2=\phi(n)=n$. If $\phi(\sqrt{n})=a+b\sqrt{m}$ for some $a,b\in\mathbb{Q}$, then $(a+b\sqrt{m})^2=a^2+b^2m + 2ab\sqrt{m}=n$ implies $$a^2+b^2m = n$$ and $$2ab=0.$$  Then $b=0$ cannot happen since that would imply that $\sqrt{n}\in\mathbb{Q}$, where $n$ is a square-free integer. Also $a=b=0$ cannot happen. Hence $a=0$ and we have $$b^2m=n.$$ If $\psi:\mathbb{Q}(\sqrt{n})\to\mathbb{Q}(\sqrt{m})$ were an isomorphism then there would exist some $s\in\mathbb{Q}$ such that $$s^2m=n,$$ then $s=b$ or $s=-b$. Therefore the only isomorphisms from $\mathbb{Q}(\sqrt{n})$ to $\mathbb{Q}(\sqrt{n})$ are $\phi(u+v\sqrt{n})=u+vs\sqrt{m}$ and $\psi(u+v\sqrt{n})=u-vs\sqrt{m}$.    I don't know if there's an easier way and I don't know if I'm in the correct way here. Thanks beforehand :) Prove that if $A$ is a set with $m$ elements, $B$ is a set with $n$ elements, and $A \cap B = \emptyset$, then $A \cup B$ has $m+n$ elements. static_assert fails compilation even though template function is called nowhere I know to secure safety it is now not allowed anymore to open apps that were not downloaded from the mac app store.  But surely there is a workaround for this to open an app that you know is 'good' but just isn't in the app store. Preferably allowing only that app and not allowing all downloaded apps to be opened.    How do I open an app that is not downloaded from the app store in mountain lion? Solve the functional equation $f(xy) = f(x)f(y) - f(x + y) + 1$ and $f(1) = 2$ I'm working on this problem already, the domain and co-domain are the set of Rational Numbers. we see that setting $x = 1$ and $y = n$, we obtain $f(n + 1) = f(n) + 1$  But I'm trying to prove that $f(n) = n + 1$ for all $n$, the case when $n = 1, 2$ is obviously true, how do I approach this via induction? How do you report percentage accuracy for glmnet logistic regression? Where did the "play on realms" option go? My Minecraft app now only has the option of "play" and there is no "play on realms" to be found!  I downloaded - and paid for - the multiplayer app, but there doesn't seem to be a way to get to any realms on that app either. What is the need of complex functions in wave analysis? It is commonly known that waves can be express in terms of sine or cosine function. But when I study further, I seen that for analyising the waves, it is common to use complex functions in the form $$y=y_{_0}e^{i(kx-\omega{t})}$$ where $y_{_0}$ is the amplitude, $k$ is the wave number, $\omega$ is the angular velocity and $x$ &amp; $t$ are position an time respectively. Ofcourse, I know that the function $e^{ix}$ can be written in the form $\cos{x}+i\sin{x}$ and so it is a periodic function with period $2\pi$ but my question is for what purpose we define it in terms of complex numbers? It seem to be more convenient to use real functions for real variables such as amplitude, electric and magnetic field of an electro magnetic wave, and also in quantum mechanics. What actually this interpretation means or what is the advantage of such functions?