Rescan USB bus with ir remote

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
vidtek
Level 1
Level 1
Posts: 44
Joined: Sat Jul 14, 2012 9:23 pm
Location: from 13-03-2014 in Bournemouth UK

Rescan USB bus with ir remote

Post by vidtek »

Hi everyone,

Been using Mint for about 6 months, defected from Mythbuntu-a big thankyou to all developers of Mint.

System: Mint 14 KDE i7 16gb ram Gigabyte mobo, Nvidia GTS450, fusionHD, U300 Compro USB tuner stick, HD Homerun (Kaiser Baas) network tuner.

My system works fine mostly, but every now and then, my keyboard and mouse stop.

Due to wifey factors, my tower has been relegated to the garage since we moved (downsized) to our new place. On the louge wall hangs my 55 Samsung E8000 LCD, what a beauty!
The wall separating the garage and the lounge is single brick and has one small conduit where the aerial comes in.
I managed to get 2 extra Cat5e cables squeezed into this conduit along with the aerial so I can get HDMI over cat5 with great results, but alas, there is no room for a USB cable. My solution was to run a USB extension to a d-link 7-port USB powered hub which sits atop my beer fridge in the garage.
This works well with 2 Logitech unifying wireless remote dongles which connet to my K800 keyboard and wireless mouse. On this hub is also a linksys bluetooth dongle so ther are 4 spare ports.

Mythtv runs beautifully on this rig, but every now and then I have to get up and unplug the USB cable from the rear of the hub, wait a couple of seconds, plug it back in, and the keyboard and mouse will then work just fine for hours or days. Very strange.

I have set up my Logitech Harmony i100 remote with Mythtv and it works well, I also installed KDE Remote, which puts a fancy little icon on the taskbar and flashes when it receives an infra-red signal. This little application is just brilliant, I can do almost anything with the computer using this app. It has the capability to simulate keystrokes, can address the D-bus system and so I was wondering if I could use it to reset the USB bus?

I tried reading the udev rules and man pages for commands to do this, and ended up getting a headache. None of it made any kind of sense, I think a bipolar genius/idiot wrote it. Googling brought me a very few responses but no solutions other than one suggested on the ArchLinux forum where there seem to be some very unhelpful and rude people (not like Mint eh?).

There is probably an undocumented command lying out there somewhere which rescans and resets the USB bus.

I just 'aint been able to find it; like so many before me.

Hope my ramblings are not too wearisome for you, Tony.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Asus Z270 i7 16gb ram 8.25tb GT960 TSB6205 Quad tuner 64-bit Mint 18.2 Sonya KDE & win 10 Be/FE myth 0.28
Laptop Samsung NP R580 i5 nvidia linux ultimate & win 10
vidtek
Level 1
Level 1
Posts: 44
Joined: Sat Jul 14, 2012 9:23 pm
Location: from 13-03-2014 in Bournemouth UK

Re: Rescan USB bus with ir remote

Post by vidtek »

Just found this blog:

http://billauer.co.il/blog/2013/02/usb- ... hci-linux/

seems to do the trick

Tony
Asus Z270 i7 16gb ram 8.25tb GT960 TSB6205 Quad tuner 64-bit Mint 18.2 Sonya KDE & win 10 Be/FE myth 0.28
Laptop Samsung NP R580 i5 nvidia linux ultimate & win 10
Locked

Return to “Installation & Boot”