LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-25-2017, 02:38 PM   #1
dBlizzard
LQ Newbie
 
Registered: Sep 2017
Location: Toronto, Canada
Distribution: Linux Mint and Raspbian
Posts: 4

Rep: Reputation: Disabled
TP-Link driver help needed...


Hi,
Sorry to bother you but I have an issue I can't resolve...
I just upgraded my kernel from 4.8.0-53 to 4.10 and it works well but I seem to have lost the driver for my TP-Link wireless T4-UH which worked in the old kernel.
The error message I get when I plug in is:

Sep 25 15:25:01 dave-MS-6702E CRON[5086]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Sep 25 15:25:36 dave-MS-6702E kernel: [ 1407.473947] usb 1-7: USB disconnect, device number 4
Sep 25 15:25:40 dave-MS-6702E colord-sane: io/hpmud/pp.c 627: unable to read device-id ret=-1

Sep 25 15:25:47 dave-MS-6702E kernel: [ 1418.208030] usb 1-7: new high-speed USB device number 5 using ehci-pci
Sep 25 15:25:47 dave-MS-6702E kernel: [ 1418.364898] usb 1-7: New USB device found, idVendor=2357, idProduct=0103
Sep 25 15:25:47 dave-MS-6702E kernel: [ 1418.364902] usb 1-7: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Sep 25 15:25:47 dave-MS-6702E kernel: [ 1418.364904] usb 1-7: Product: 802.11n NIC
Sep 25 15:25:47 dave-MS-6702E kernel: [ 1418.364905] usb 1-7: Manufacturer: Realtek
Sep 25 15:25:47 dave-MS-6702E kernel: [ 1418.364907] usb 1-7: SerialNumber: 123456
Sep 25 15:25:47 dave-MS-6702E mtp-probe: checking bus 1, device 5: "/sys/devices/pci0000:00/0000:00:10.4/usb1/1-7"
Sep 25 15:25:47 dave-MS-6702E mtp-probe: bus: 1, device: 5 was not an MTP device
Sep 25 15:25:51 dave-MS-6702E colord-sane: io/hpmud/pp.c 627: unable to read device-id ret=-1

I attempted to make the driver provided by TP-Link and the make fails as I suspect it is designed for an old kernel.

Any help would be appreciated.
Dave Blizzard
 
Old 09-25-2017, 07:26 PM   #2
dBlizzard
LQ Newbie
 
Registered: Sep 2017
Location: Toronto, Canada
Distribution: Linux Mint and Raspbian
Posts: 4

Original Poster
Rep: Reputation: Disabled
Solved

Further to my previous post:
The problem is solved. I attempted to build the driver from the source found at TP-Link for the 8812au device, but couldn't make it build. This device was installed on the last working kernel but did not want to work on version 4.10.0-35-generic. After a bunch of fiddling, I told device manager to stop using this driver and rebooted. I then told device manager to use it again and rebooted and it worked fine...
Sorry for the trouble...
 
Old 09-26-2017, 07:34 AM   #3
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,354
Blog Entries: 13

Rep: Reputation: 4411Reputation: 4411Reputation: 4411Reputation: 4411Reputation: 4411Reputation: 4411Reputation: 4411Reputation: 4411Reputation: 4411Reputation: 4411Reputation: 4411
Hi dBlizzard and welcome to LQ.

It is no trouble at all, we're glad you were able to solve before anyone yet had a chance to offer some suggestions.

I'm marking your thread as Solved.

Best Regards.
 
Old 09-26-2017, 07:51 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 19,774

Rep: Reputation: 3572Reputation: 3572Reputation: 3572Reputation: 3572Reputation: 3572Reputation: 3572Reputation: 3572Reputation: 3572Reputation: 3572Reputation: 3572Reputation: 3572
That is very old source - even their own FAQ suggests to use github open source community drivers. There is probably an update to 4.11 that will require another patch - I ran into similar with 8814au (new buy) a couple of days back.
Try this.
 
Old 10-01-2017, 08:59 PM   #5
dBlizzard
LQ Newbie
 
Registered: Sep 2017
Location: Toronto, Canada
Distribution: Linux Mint and Raspbian
Posts: 4

Original Poster
Rep: Reputation: Disabled
Further information please.

I understand your notes in the README.md, but is this an example of your 8814au install or do I also download all those files at the top of the page and use what seems to be a driver there? I would assume as a zip file which I then install in a working dir? My wifi modem is an 8843-T4UH...
Sorry but I'm a newbie at this...

Last edited by dBlizzard; 10-01-2017 at 09:10 PM.
 
Old 10-01-2017, 10:36 PM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 19,774

Rep: Reputation: 3572Reputation: 3572Reputation: 3572Reputation: 3572Reputation: 3572Reputation: 3572Reputation: 3572Reputation: 3572Reputation: 3572Reputation: 3572Reputation: 3572
Ignore my comment re 8814au, that was just an aside - concentrate on 8812au.
The author of the repo (certainly not me) has covered things pretty well. To save having to explain git, click the green button on the site and download the zip - it appeared as ~/Downloads/rtl8812au-5.1.5.zip on my system. Double click it from a GUI file manager, or use unzip in a terminal - it will generate a rtl8812au-5.1.5 directory.
You will need compilers and kernel headers for the following.
Code:
sudo apt-get install build-essential linux-headers-$(uname -r)
Then install dkms as suggested,
Code:
sudo apt-get install dkms
then cd into ~/Downloads/rtl8812au-5.1.5 and run the following - it should finish cleanly and then you can reboot. The module should load automatically.
Code:
sudo dkms-install.sh

Last edited by syg00; 10-01-2017 at 10:44 PM. Reason: added build essential and headers requirement
 
Old 10-02-2017, 06:44 PM   #7
dBlizzard
LQ Newbie
 
Registered: Sep 2017
Location: Toronto, Canada
Distribution: Linux Mint and Raspbian
Posts: 4

Original Poster
Rep: Reputation: Disabled
Small fix in dkms-install.sh

Your procedure worked perfectly with a small change to dkms-install.sh by fixing DRV_DIR to include/append the version number 5.1.5

Thanks...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
D-Link DFM-560ES modem driver for RHEL 4 needed linbie1 Linux - Newbie 1 10-04-2007 01:18 AM
D-Link DWL-G250 wireless driver needed tjd50 Linux - Hardware 8 01-30-2007 06:01 AM
driver needed for R Driver II USB to IDE cable for Ent . Linux 4.0 byju_das Linux - Hardware 1 12-01-2006 01:48 PM
smart link linux modem driver needed sajjadc Linux - Hardware 6 06-28-2006 02:11 PM
Help with D-Link wireless in SUSE 10.0 needed... gutterballk7 Linux - Wireless Networking 3 03-10-2006 02:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration