Some USB devices will automatically reconnect after I unbind it, how to disable it long time?How to identify a disconnecting USB device using udev rules?Script in udev rule doesn't runHow can I bind a driver with a USB device?How do I programmatically disable/enable the physical keyboard in Android?How to disable the appearence of the taskbar when a USB is plugged?Read/Write usb hid device (with one interface type keyboard and mouse) on androidHow to compile a windows application using DLL's on LinuxLinux USB HID device for Logitech G29 (kernel 4.4)[linux][x86]How to force USB 3.0 combo controller to work in USB 2.0 mode?Preventing usbhid from claiming device

How do I decide when to use MAPE, SMAPE and MASE for time series analysis on stock forecasting

What is this sticking out of my wall?

If every star in the universe except the Sun were destroyed, would we die?

Change-due function

Contractor cut joist hangers to make them fit

What's the biggest difference between these two photos?

How should we understand "unobscured by flying friends" in this context?

More than three domains hosted on the same IP address

Do you need to burn fuel between gravity assists?

Isn't that (two voices leaping to C like this) a breaking of the rules of four-part harmony?

What makes things real?

After a few interviews, What should I do after told to wait?

Gap in tcolorbox after title

How do you say "to hell with everything" in French?

How to add extra edges in tree?

Does the 2019 UA artificer need to prepare the Lesser Restoration spell to cast it with their Alchemical Mastery feature?

Is it unavoidable taking shortcuts in software development sometimes?

Why can linguists decide which use of language is correct and which is not?

Why do the British opposition parties not want a new election?

How do I politely hint customers to leave my store, without pretending to need leave store myself?

What is the difference between a translation and a Galilean transformation?

A puzzling nature walk

I multiply the source, you (probably) multiply the output!

The pirate treasure of Leatherback Atoll



Some USB devices will automatically reconnect after I unbind it, how to disable it long time?


How to identify a disconnecting USB device using udev rules?Script in udev rule doesn't runHow can I bind a driver with a USB device?How do I programmatically disable/enable the physical keyboard in Android?How to disable the appearence of the taskbar when a USB is plugged?Read/Write usb hid device (with one interface type keyboard and mouse) on androidHow to compile a windows application using DLL's on LinuxLinux USB HID device for Logitech G29 (kernel 4.4)[linux][x86]How to force USB 3.0 combo controller to work in USB 2.0 mode?Preventing usbhid from claiming device






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I'm try to disable my two USB keyboard on my linux system, the one can unbind long time until I unplug then plugin and the number lock light is off during this time. But the other one can not unbind long time, maybe after 5 seconds, it will reconnect again and the number lock light is on during this time, the other lights will flash once, the log shown below:



[505545.210490] usb 3-3.1: USB disconnect, device number 47
[505547.687005] usb 3-3.1: new low-speed USB device number 49 using xhci_hcd
[505547.984255] usb 3-3.1: New USB device found, idVendor=17ef, idProduct=6099
[505547.984258] usb 3-3.1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[505547.984260] usb 3-3.1: Product: Lenovo Traditional USB Keyboard
[505548.019948] input: Lenovo Traditional USB Keyboard as /devices/pci0000:00/0000:00:15.0/0000:03:00.0/usb3/3-3/3-3.1/3-3.1:1.0/input/input40
[505548.071999] hid-generic 0003:17EF:6099.002A: input,hidraw1: USB HID v1.10 Keyboard [Lenovo Traditional USB Keyboard] on usb-0000:03:00.0-3.1/input0


Below is my shell command to disable the keyboard:



echo "3-3.1" > /sys/bus/usb/drivers/usb/unbind


or



echo "0003:17EF:6099.002A" > /sys/bus/hid/drivers/hid-generic/unbind


What is the reason for this difference? Is have a way to disable the second keyboard?



Thank a lot










share|improve this question
























  • I think Unix& Linux stack Exchange I a better place for your question. That site is also part of the Stackoverflow network, and people there know more about the Linux system. You can quickly get to this site by using the network switcher on the top right of the site, and then searching for Unix.

    – Ferrybig
    Mar 28 at 16:47











  • Ok, I will post the question to Unix& Linux stack Exchange, thank you for your reminder.

    – Hongyu.Zhang
    Mar 29 at 2:29

















0















I'm try to disable my two USB keyboard on my linux system, the one can unbind long time until I unplug then plugin and the number lock light is off during this time. But the other one can not unbind long time, maybe after 5 seconds, it will reconnect again and the number lock light is on during this time, the other lights will flash once, the log shown below:



[505545.210490] usb 3-3.1: USB disconnect, device number 47
[505547.687005] usb 3-3.1: new low-speed USB device number 49 using xhci_hcd
[505547.984255] usb 3-3.1: New USB device found, idVendor=17ef, idProduct=6099
[505547.984258] usb 3-3.1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[505547.984260] usb 3-3.1: Product: Lenovo Traditional USB Keyboard
[505548.019948] input: Lenovo Traditional USB Keyboard as /devices/pci0000:00/0000:00:15.0/0000:03:00.0/usb3/3-3/3-3.1/3-3.1:1.0/input/input40
[505548.071999] hid-generic 0003:17EF:6099.002A: input,hidraw1: USB HID v1.10 Keyboard [Lenovo Traditional USB Keyboard] on usb-0000:03:00.0-3.1/input0


Below is my shell command to disable the keyboard:



echo "3-3.1" > /sys/bus/usb/drivers/usb/unbind


or



echo "0003:17EF:6099.002A" > /sys/bus/hid/drivers/hid-generic/unbind


What is the reason for this difference? Is have a way to disable the second keyboard?



Thank a lot










share|improve this question
























  • I think Unix& Linux stack Exchange I a better place for your question. That site is also part of the Stackoverflow network, and people there know more about the Linux system. You can quickly get to this site by using the network switcher on the top right of the site, and then searching for Unix.

    – Ferrybig
    Mar 28 at 16:47











  • Ok, I will post the question to Unix& Linux stack Exchange, thank you for your reminder.

    – Hongyu.Zhang
    Mar 29 at 2:29













0












0








0








I'm try to disable my two USB keyboard on my linux system, the one can unbind long time until I unplug then plugin and the number lock light is off during this time. But the other one can not unbind long time, maybe after 5 seconds, it will reconnect again and the number lock light is on during this time, the other lights will flash once, the log shown below:



[505545.210490] usb 3-3.1: USB disconnect, device number 47
[505547.687005] usb 3-3.1: new low-speed USB device number 49 using xhci_hcd
[505547.984255] usb 3-3.1: New USB device found, idVendor=17ef, idProduct=6099
[505547.984258] usb 3-3.1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[505547.984260] usb 3-3.1: Product: Lenovo Traditional USB Keyboard
[505548.019948] input: Lenovo Traditional USB Keyboard as /devices/pci0000:00/0000:00:15.0/0000:03:00.0/usb3/3-3/3-3.1/3-3.1:1.0/input/input40
[505548.071999] hid-generic 0003:17EF:6099.002A: input,hidraw1: USB HID v1.10 Keyboard [Lenovo Traditional USB Keyboard] on usb-0000:03:00.0-3.1/input0


Below is my shell command to disable the keyboard:



echo "3-3.1" > /sys/bus/usb/drivers/usb/unbind


or



echo "0003:17EF:6099.002A" > /sys/bus/hid/drivers/hid-generic/unbind


What is the reason for this difference? Is have a way to disable the second keyboard?



Thank a lot










share|improve this question














I'm try to disable my two USB keyboard on my linux system, the one can unbind long time until I unplug then plugin and the number lock light is off during this time. But the other one can not unbind long time, maybe after 5 seconds, it will reconnect again and the number lock light is on during this time, the other lights will flash once, the log shown below:



[505545.210490] usb 3-3.1: USB disconnect, device number 47
[505547.687005] usb 3-3.1: new low-speed USB device number 49 using xhci_hcd
[505547.984255] usb 3-3.1: New USB device found, idVendor=17ef, idProduct=6099
[505547.984258] usb 3-3.1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[505547.984260] usb 3-3.1: Product: Lenovo Traditional USB Keyboard
[505548.019948] input: Lenovo Traditional USB Keyboard as /devices/pci0000:00/0000:00:15.0/0000:03:00.0/usb3/3-3/3-3.1/3-3.1:1.0/input/input40
[505548.071999] hid-generic 0003:17EF:6099.002A: input,hidraw1: USB HID v1.10 Keyboard [Lenovo Traditional USB Keyboard] on usb-0000:03:00.0-3.1/input0


Below is my shell command to disable the keyboard:



echo "3-3.1" > /sys/bus/usb/drivers/usb/unbind


or



echo "0003:17EF:6099.002A" > /sys/bus/hid/drivers/hid-generic/unbind


What is the reason for this difference? Is have a way to disable the second keyboard?



Thank a lot







linux kernel usb udev sysfs






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 28 at 7:30









Hongyu.ZhangHongyu.Zhang

203 bronze badges




203 bronze badges















  • I think Unix& Linux stack Exchange I a better place for your question. That site is also part of the Stackoverflow network, and people there know more about the Linux system. You can quickly get to this site by using the network switcher on the top right of the site, and then searching for Unix.

    – Ferrybig
    Mar 28 at 16:47











  • Ok, I will post the question to Unix& Linux stack Exchange, thank you for your reminder.

    – Hongyu.Zhang
    Mar 29 at 2:29

















  • I think Unix& Linux stack Exchange I a better place for your question. That site is also part of the Stackoverflow network, and people there know more about the Linux system. You can quickly get to this site by using the network switcher on the top right of the site, and then searching for Unix.

    – Ferrybig
    Mar 28 at 16:47











  • Ok, I will post the question to Unix& Linux stack Exchange, thank you for your reminder.

    – Hongyu.Zhang
    Mar 29 at 2:29
















I think Unix& Linux stack Exchange I a better place for your question. That site is also part of the Stackoverflow network, and people there know more about the Linux system. You can quickly get to this site by using the network switcher on the top right of the site, and then searching for Unix.

– Ferrybig
Mar 28 at 16:47





I think Unix& Linux stack Exchange I a better place for your question. That site is also part of the Stackoverflow network, and people there know more about the Linux system. You can quickly get to this site by using the network switcher on the top right of the site, and then searching for Unix.

– Ferrybig
Mar 28 at 16:47













Ok, I will post the question to Unix& Linux stack Exchange, thank you for your reminder.

– Hongyu.Zhang
Mar 29 at 2:29





Ok, I will post the question to Unix& Linux stack Exchange, thank you for your reminder.

– Hongyu.Zhang
Mar 29 at 2:29












0






active

oldest

votes










Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);














draft saved

draft discarded
















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55392238%2fsome-usb-devices-will-automatically-reconnect-after-i-unbind-it-how-to-disable%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes




Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.







Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.




















draft saved

draft discarded















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55392238%2fsome-usb-devices-will-automatically-reconnect-after-i-unbind-it-how-to-disable%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현