Peppermint OS Community Forum

Support => Hardware => Topic started by: emegra on October 23, 2015, 05:46:41 am

Title: Holtek mouse support (SOLVED)
Post by: emegra on October 23, 2015, 05:46:41 am
Hi guys

Recently I installed PM6 to a friends Toshiba Satellite and it works fine but he's asked me to see if I can get his USB mouse working,

The mouse is a Holtek gaming mouse there's no model name or number I can see but it's listed in lsusb as a Holtek

when plugged in it lights up but no activity

any ideas ?

Code: [Select]
scott@Scotts-Laptop ~ $ lsusb
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 04f2:b307 Chicony Electronics Co., Ltd
Bus 001 Device 005: ID 04d9:a071 Holtek Semiconductor, Inc.
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
scott@Scotts-L
aptop ~ $


Many thanks


Graeme
Title: Re: Holtek mouse support
Post by: scifidude79 on October 23, 2015, 09:38:04 am
Well, their site is certainly no help.  They have one driver for all of their peripherals and it's an .exe file.   ::)

Have you tried the Ubuntu or Mint forums to see if anyone has started a thread about this brand of mouse before?  It may be worth a look in case there is a posted solution.
Title: Re: Holtek mouse support
Post by: emegra on October 23, 2015, 09:54:50 am
Hi scifidude

Thanks for your reply

You're right their site is useless at least as far as Linux support is concerned

Quote
Have you tried the Ubuntu or Mint forums to see if anyone has started a thread about this brand of mouse before?  It may be worth a look in case there is a posted solution.

I've been all over the internet, and I can't find a solution anywhere at least not one that doesn't require a computer science degree, there was a similar question on the Mint forums but it ended inconclusively and to make matters even more complicated I'm not 100% sure of the model but I think it's a Sharkoon Draconia.

this post here will give some idea what I mean by "in depth"


Many thanks


Graeme
Title: Re: Holtek mouse support
Post by: scifidude79 on October 23, 2015, 10:56:36 am
Hm, sounds like a huge PITA. I wish I could be some help, bro, but all of my peripherals are plug and play compatible.  Though, I'll know to stay away from that brand of gaming mouse.  ;)  I suppose your friend wouldn't want to buy a different brand of mouse.  I mean, I know how we gamers are about our stuff, we want certain things and nothing else will do.
Title: Re: Holtek mouse support
Post by: emegra on October 23, 2015, 11:17:29 am
Quote
I mean, I know how we gamers are about our stuff, we want certain things and nothing else will do.

The thing is I told him from the get go he wouldn't be able to game on Linux at least not the games he might be used to and he said he didn't care about that, he just wanted off Windows,

You're right this is a pain in the arse if he's not going to game with it the mouse has no advantages over any other normal mouse, as far as I can see, but that said I would still like to get it to work for pride sake if nothing else but if it's not to be then  I'll just have to tell him to get another mouse or go back to Windows


Graeme
Title: Re: Holtek mouse support
Post by: darknet on October 23, 2015, 11:47:11 am
just found these links on the internet, maybe it can solve the problem:
http://lxr.free-electrons.com/source/drivers/hid/hid-holtek-mouse.c
http://www.linux-hardware-guide.com/2014-02-01-sharkoon-drakonia-gaming-laser-mouse-8200-dpi-11-buttons
http://www.gossamer-threads.com/lists/linux/kernel/1792017
Title: Re: Holtek mouse support
Post by: emegra on October 23, 2015, 12:09:55 pm
Hi Drum

I've seen at least one of the sites you posted but I really don't know what to make of that info or what to do with it  it's a bit out of my depth but it does give some hope it might be possible to get this mouse working, hopefully someone can make sense of the information and guide me

Anyway thanks for taking the time to help and post the links


Graeme
Title: Re: Holtek mouse support
Post by: PCNetSpec on October 23, 2015, 12:28:14 pm
OK, it seems like it's probably quite an easy fix:
https://forums.opensuse.org/showthread.php/473200-USB-Gaming-Mouse-04d9-a078-not-working-in-linux-plus-workaround

Just change a single value in hid.h, then recompile the kernel.

Erm, who said Linux was easier  :o
Title: Re: Holtek mouse support
Post by: emegra on October 23, 2015, 12:52:04 pm
ok couple of problems

there is no hid.h file at /usr/src/linux/include/linux instead I have 6 linux-headers folders 3.16.0-46 + generic, 3.16.0-50 + generic & 3.16.0-51 + generic

presumably I have to follow these instructions in one of these folders the question is which one ?

Quote
In /usr/src/linux/include/linux/hid.h
change the value of the constant in line 344

Code:

#define HID_MAX_USAGES                        12288

from 12288 to a value greater than 32k,
recompile and install the new kernel.

and then how do I recompile the kernel ?


many thanks


Graeme

Title: Re: Holtek mouse support
Post by: PCNetSpec on October 23, 2015, 01:52:10 pm
Download the current kernel source to your home folder:
Code: [Select]
cd ~/
then
Code: [Select]
apt-get source linux-image-$(uname -r)
now install the build dependencies:
Code: [Select]
sudo apt-get build-dep linux-image-$(uname -r)
now make your edit to this file:
Code: [Select]
gedit ~/linux-lts-utopic-3.16.0/include/linux/hid.h
then compile the kernel:
Code: [Select]
cd ~/linux-lts-utopic-3.16.0
then
Code: [Select]
fakeroot debian/rules clean
then
Code: [Select]
fakeroot debian/rules binary-headers binary-generic
and go to the pub whilst it compiles

see here:
https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel
Title: Re: Holtek mouse support
Post by: emegra on October 23, 2015, 02:23:46 pm
ok before I head off to the pub

this will probably be a stupid question but I'm gonna ask it anyway

why couldn't I just make the same edit to the current kernel at  /usr/src/linux/include/linux ?


Graeme
Title: Re: Holtek mouse support
Post by: PCNetSpec on October 23, 2015, 02:42:43 pm
because that's not the kernel .. it's just the header files (info that applications you may manually compile need to compile correctly), it is NOT the complete kernel source code.
Title: Re: Holtek mouse support
Post by: emegra on October 23, 2015, 03:42:40 pm
Ok I followed your instructions and rebooted but still no mouse activity, is there anything I have to do ?



Graeme
Title: Re: Holtek mouse support
Post by: PCNetSpec on October 23, 2015, 04:00:38 pm
Did you install the generated .deb packages ?

Have you rebooted to the new kernel ?

Is it running your custom kernel ?

What's the output from:
Code: [Select]
uname -a
Title: Re: Holtek mouse support
Post by: emegra on October 23, 2015, 04:10:27 pm
Quote
Did you install the generated .deb packages ?

No i Didn't install anything, there's a few .deb packages in my home folder, do I have to install all these packages ?

Quote
Have you rebooted to the new kernel ?

I rebooted immediately after it finished recompiling buit I don't know what kernel I booted into

Quote
Is it running your custom kernel ?

I have no idea

I will post post the out put to uname -a in a few minutes by edit to this post

Code: [Select]
scott@Scotts-Laptop ~ $ uname -a
Linux Scotts-Laptop 3.16.0-51-generic #69~14.04.1-Ubuntu SMP Wed Oct 7 15:32:41 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
scott@Scotts-Laptop ~ $






Graeme
Title: Re: Holtek mouse support
Post by: PCNetSpec on October 23, 2015, 04:21:51 pm
Quote
No i Didn't install anything, there's a few .deb packages in my home folder, do I have to install all these packages ?

What are they called ?
Title: Re: Holtek mouse support
Post by: emegra on October 24, 2015, 01:30:39 am
Quote
What are they called ?


linux-cloud-tools-3.16.0-51-generic_3.16.0-51.69~14.04.1_amd64.deb
linux-headers-3.16.0-51_3.16.0-51.69~14.04.1_all.deb
linux-headers-3.16.0-51-generic_3.16.0-51.69~14.04.1_amd64.deb
linux-image-3.16.0-51-generic_3.16.0-51.69~14.04.1_amd64.deb
linux-image-extra-3.16.0-51-generic_3.16.0-51.69~14.04.1_amd64.deb
linux-lts-utopic-3.16.0
linux-lts-utopic_3.16.0-51.69~14.04.1.diff.gz
linux-lts-utopic_3.16.0-51.69~14.04.1.dsc
linux-lts-utopic_3.16.0.orig.tar.gz
linux-tools-3.16.0-51-generic_3.16.0-51.69~14.04.1_amd64.deb
Title: Re: Holtek mouse support
Post by: emegra on October 24, 2015, 01:45:37 pm
here's the results of attempting to install the .deb packages

Quote
linux-cloud-tools-3.16.0-51-generic_3.16.0-51.69~14.04.1_amd64.deb              (Same version is available in a software channel)
linux-headers-3.16.0-51_3.16.0-51.69~14.04.1_all.deb                            (Error:no longer provides linux headers-3.16.0=51)
linux-headers-3.16.0-51-generic_3.16.0-51.69~14.04.1_amd64.deb                  (Same version is already installed)
linux-image-3.16.0-51-generic_3.16.0-51.69~14.04.1_amd64.deb                    (Same version is already installed)
linux-image-extra-3.16.0-51-generic_3.16.0-51.69~14.04.1_amd64.deb              (Same version is already installed)   
linux-lts-utopic-3.16.0
linux-lts-utopic_3.16.0-51.69~14.04.1.diff.gz
linux-lts-utopic_3.16.0-51.69~14.04.1.dsc
linux-lts-utopic_3.16.0.orig.tar.gz
linux-tools-3.16.0-51-generic_3.16.0-51.69~14.04.1_amd64.deb                      (Same version is available in a software channel)

I haven't installed anything so far



Graeme
Title: Re: Holtek mouse support
Post by: PCNetSpec on October 24, 2015, 03:27:53 pm
Maybe it'd be easier to just try a 4 series kernel directly from Ubuntu's kernel PPA and hope they've fixed it ?

But I forgot to draw your attention to this bit on the page I linked to:-

Quote
In order to make your kernel "newer" than the stock Ubuntu kernel from which you are based you should add a local version modifier. Add something like "+test1" to the end of the first version number in the debian.master/changelog file, before building. This will help identify your kernel when running as it also appears in uname -a. Note that when a new Ubuntu kernel is released that will be newer than your kernel (which needs regenerating), so care is needed when upgrading. NOTE: do not attempt to use CONFIG_LOCALVERSION as this _will_ break the build.
Title: Re: Holtek mouse support
Post by: emegra on October 24, 2015, 04:20:17 pm
Quote
Maybe it'd be easier to just try a 4 series kernel directly from Ubuntu's kernel PPA ?

Mark all this is unknown territory for me, I'll follow whatever advice you suggest :)




Graeme
Title: Re: Holtek mouse support
Post by: PCNetSpec on October 24, 2015, 04:22:41 pm
First read the bit I just added to my last posting .. you could try rebuilding the kernel with a new later version ?

or do you want to try the easier option of installing say the 4.2 kernel from Ubuntu first ? .. if so I'll type up instructions.
Title: Re: Holtek mouse support
Post by: emegra on October 24, 2015, 05:26:14 pm
easier option sounds good to me :)





Graeme
Title: Re: Holtek mouse support
Post by: PCNetSpec on October 24, 2015, 07:53:26 pm
OK, first if you're using proprietary graphics drivers I *STRONGLY* suggest switching back to the open sourced versions and rebooting BEFORE continuing.

It's IMPORTANT that you reboot after switching back to the open source graphics drivers to load them before continuing .. you can re-apply them after installing the new kernel.



OK, if this is the 64bit version of peppermint, run these commands in sequence:
Code: [Select]
mkdir ~/Desktop/4.2.3-kernel
then
Code: [Select]
cd ~/Desktop/4.2.3-kernel
then
Code: [Select]
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.2.3-unstable/linux-headers-4.2.3-040203-generic_4.2.3-040203.201510030832_amd64.deb
then
Code: [Select]
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.2.3-unstable/linux-headers-4.2.3-040203_4.2.3-040203.201510030832_all.deb
then
Code: [Select]
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.2.3-unstable/linux-image-4.2.3-040203-generic_4.2.3-040203.201510030832_amd64.deb
then
Code: [Select]
sudo dpkg -i *.deb
once that's finished .. REBOOT

When rebooted, check you're now on the 4.2.3 kernel with
Code: [Select]
uname -a
Once you're happy, you can delete the 4.2.3-kernel directory from your desktop .. and try switching back to the proprietary graphics drivers if required.
Title: Re: Holtek mouse support
Post by: emegra on October 25, 2015, 03:04:44 am
ok the 4.2.3 kernel installed ok but unfortunately still no mouse activity :(





Graeme
Title: Re: Holtek mouse support
Post by: PCNetSpec on October 25, 2015, 07:50:41 am
OK, you're going to have to remove the 4.2.3 kernel and compile the 3.16 kernel again but giving it an extension to its version number so it has a higher priority to the one from Ubuntu.

Do you know how to boot back to the 3.16 kernel then remove the 4.2.3 one ?
Title: Re: Holtek mouse support
Post by: emegra on October 25, 2015, 08:14:44 am
Quote
Do you know how to boot back to the 3.16 kernel then remove the 4.2.3 one ?

I know how to boot into a different kernel, not so sure about removing one though  :-[



Graeme

Title: Re: Holtek mouse support
Post by: PCNetSpec on October 25, 2015, 08:18:46 am
OK boot into the 3.16 kernel, and post the output from:
Code: [Select]
dpkg -l | grep 4.3.2
ang
Code: [Select]
dpkg -l | grep linux-image
Title: Re: Holtek mouse support
Post by: emegra on October 25, 2015, 08:23:31 am
Code: [Select]
scott@Scotts-Laptop ~ $ dpkg -l | grep 4.3.2
ii  libssh2-1:amd64                             1.4.3-2                                 amd64        SSH2 client-side library
ii  python-cupshelpers                          1.4.3+20140219-0ubuntu2.6               all          Python modules for printer configuration with CUPS
ii  system-config-printer-common                1.4.3+20140219-0ubuntu2.6               all          Printer configuration GUI
ii  system-config-printer-gnome                 1.4.3+20140219-0ubuntu2.6               all          Printer configuration GUI
scott@Scotts-Laptop ~ $ dpkg -l | grep linux-image
rc  linux-image-3.16.0-37-generic               3.16.0-37.51~14.04.1                    amd64        Linux kernel image for version 3.16.0 on 64 bit x86 SMP
ii  linux-image-3.16.0-46-generic               3.16.0-46.62~14.04.1                    amd64        Linux kernel image for version 3.16.0 on 64 bit x86 SMP
ii  linux-image-3.16.0-50-generic               3.16.0-50.67~14.04.1                    amd64        Linux kernel image for version 3.16.0 on 64 bit x86 SMP
ii  linux-image-3.16.0-51-generic               3.16.0-51.69~14.04.1                    amd64        Linux kernel image for version 3.16.0 on 64 bit x86 SMP
ii  linux-image-4.2.3-040203-generic            4.2.3-040203.201510030832               amd64        Linux kernel image for version 4.2.3 on 64 bit x86 SMP
rc  linux-image-extra-3.16.0-37-generic         3.16.0-37.51~14.04.1                    amd64        Linux kernel extra modules for version 3.16.0 on 64 bit x86 SMP
ii  linux-image-extra-3.16.0-46-generic         3.16.0-46.62~14.04.1                    amd64        Linux kernel extra modules for version 3.16.0 on 64 bit x86 SMP
ii  linux-image-extra-3.16.0-50-generic         3.16.0-50.67~14.04.1                    amd64        Linux kernel extra modules for version 3.16.0 on 64 bit x86 SMP
ii  linux-image-extra-3.16.0-51-generic         3.16.0-51.69~14.04.1                    amd64        Linux kernel extra modules for version 3.16.0 on 64 bit x86 SMP
ii  linux-image-generic-lts-utopic              3.16.0.51.42                            amd64        Generic Linux kernel image
scott@Scotts-Laptop ~ $
Title: Re: Holtek mouse support
Post by: PCNetSpec on October 25, 2015, 08:49:08 am
I was expecting more than that .. can you also post the output from:
Code: [Select]
dpkg -l | grep linux-headers

[EDIT]

My mistake .. typo in first command .. it should have read:
Code: [Select]
dpkg -l | grep 4.2.3
Title: Re: Holtek mouse support
Post by: emegra on October 25, 2015, 08:58:53 am
Code: [Select]
scott@Scotts-Laptop ~ $ dpkg -l | grep linux-headers
ii  linux-headers-3.16.0-46                     3.16.0-46.62~14.04.1                    all          Header files related to Linux kernel version 3.16.0
ii  linux-headers-3.16.0-46-generic             3.16.0-46.62~14.04.1                    amd64        Linux kernel headers for version 3.16.0 on 64 bit x86 SMP
ii  linux-headers-3.16.0-50                     3.16.0-50.67~14.04.1                    all          Header files related to Linux kernel version 3.16.0
ii  linux-headers-3.16.0-50-generic             3.16.0-50.67~14.04.1                    amd64        Linux kernel headers for version 3.16.0 on 64 bit x86 SMP
ii  linux-headers-3.16.0-51                     3.16.0-51.69~14.04.1                    all          Header files related to Linux kernel version 3.16.0
ii  linux-headers-3.16.0-51-generic             3.16.0-51.69~14.04.1                    amd64        Linux kernel headers for version 3.16.0 on 64 bit x86 SMP
ii  linux-headers-4.2.3-040203                  4.2.3-040203.201510030832               all          Header files related to Linux kernel version 4.2.3
ii  linux-headers-4.2.3-040203-generic          4.2.3-040203.201510030832               amd64        Linux kernel headers for version 4.2.3 on 64 bit x86 SMP
ii  linux-headers-generic-lts-utopic            3.16.0.51.42                            amd64        Generic Linux kernel headers
scott@Scotts-Laptop ~ $ dpkg -l | grep 4.2.3
ii  linux-headers-4.2.3-040203                  4.2.3-040203.201510030832               all          Header files related to Linux kernel version 4.2.3
ii  linux-headers-4.2.3-040203-generic          4.2.3-040203.201510030832               amd64        Linux kernel headers for version 4.2.3 on 64 bit x86 SMP
ii  linux-image-4.2.3-040203-generic            4.2.3-040203.201510030832               amd64        Linux kernel image for version 4.2.3 on 64 bit x86 SMP
ii  notify-osd                                  0.9.35+14.04.20140213-0ubuntu1          amd64        daemon that displays passive pop-up notifications
ii  teamviewer                                  10.0.46203                              i386         TeamViewer (Remote Control Application)
scott@Scotts-Laptop ~ $
Title: Re: Holtek mouse support
Post by: PCNetSpec on October 25, 2015, 01:04:13 pm
Sorry mate, had to rush out...

anyway, mate sure you're booted to the 3.16 kernel and run:
Code: [Select]
sudo apt-get remove --purge linux-image-4.2.3-040203-generic linux-headers-4.2.3-040203  linux-headers-4.2.3-040203-generic
then reboot without doing anything to choose a specific kernel.

did it boot into the 3.16 kernel automatically ?
Title: Re: Holtek mouse support
Post by: emegra on October 25, 2015, 01:40:22 pm
Don't be sorry you're the one helping me

Anyway it's still booting into the 4.2.3 kernel we haven't got as far as removing it yet




Graeme
Title: Re: Holtek mouse support
Post by: emegra on October 25, 2015, 01:41:37 pm
sorry forget that last post  :-[
Title: Re: Holtek mouse support
Post by: emegra on October 25, 2015, 01:51:26 pm
Ok i followed you instructions and it's now booting straight into the 3.16.0-51-generic kernel




Graeme
Title: Re: Holtek mouse support
Post by: PCNetSpec on October 25, 2015, 02:14:55 pm
OK do you wanna have a go at compiling the kernel again (with an extension to the version number) on your own, or would you like me to do a trial run, then post instructions ?
Title: Re: Holtek mouse support
Post by: emegra on October 25, 2015, 02:55:30 pm
Sorry mark but I don't feel confident to do this on my own,


Graeme
Title: Re: Holtek mouse support
Post by: emegra on October 25, 2015, 02:58:09 pm
I don't want to be a PITA here so if you edit the original instructions I'll follow that if you want




Graeme
Title: Re: Holtek mouse support
Post by: PCNetSpec on October 25, 2015, 02:59:09 pm
No worries mate .. I'll build a kernel over the next hour or two (to check the process) then post intructions .. they may not be up till tomorrow morning though ;)
Title: Re: Holtek mouse support
Post by: emegra on October 25, 2015, 03:01:40 pm
Quote
No worries mate .. I'll build a kernel over the next hour or two (to check the process) then post intructions .. they may not be up till tomorrow morning though


Thank you :)



Graeme
Title: Re: Holtek mouse support
Post by: PCNetSpec on October 25, 2015, 10:43:43 pm
Before I post these instruction, is this a UEFI system ? .. I'm not sure if this will work with a UEFI system as the kernel is signed under UEFI
Title: Re: Holtek mouse support
Post by: emegra on October 26, 2015, 01:55:12 am
Quote
is this a UEFI system ?

No it's BIOS (InsydeH20 v6.3)




Graeme
Title: Re: Holtek mouse support
Post by: PCNetSpec on October 26, 2015, 05:56:44 am
Download the current kernel source to your home folder:
Code: [Select]
cd ~/
then
Code: [Select]
mkdir ~/my-custom-kernel
then
Code: [Select]
cd ~/my-custom-kernel
then
Code: [Select]
apt-get source linux-image-$(uname -r)
now install the build dependencies:
Code: [Select]
sudo apt-get build-dep linux-image-$(uname -r)
now edit this file:
Code: [Select]
gedit ~/my-custom-kernel/linux-lts-utopic-3.16.0/include/linux/hid.h
find the line (337) that reads

#define HID_MAX_USAGES                        12288

and change it to

#define HID_MAX_USAGES                        34000

SAVE the file and exit gedit.

Now edit this file:
Code: [Select]
gedit ~/my-custom-kernel/linux-lts-utopic-3.16.0/debian.utopic/changelog
and add these 6 new lines at the very beginning (top) of the file
Code: [Select]
linux-lts-utopic (3.16.0-51.69~14.04.1+emegra) trusty; urgency=low

  [ emegra ]

  * Custom Kernel - Fix for USB game mouse

SAVE the file and exit gedit.

Now edit this file:
Code: [Select]
gedit ~/my-custom-kernel/linux-lts-utopic-3.16.0/debian/changelog
and add these 6 new lines at the very beginning (top) of the file
Code: [Select]
linux-lts-utopic (3.16.0-51.69~14.04.1+emegra) trusty; urgency=low

  [ emegra ]

  * Custom Kernel - Fix for USB game mouse

SAVE the file and exit gedit.

then compile the kernel:
Code: [Select]
cd ~/my-custom-kernel/linux-lts-utopic-3.16.0
then
Code: [Select]
fakeroot debian/rules clean
then
Code: [Select]
fakeroot debian/rules binary-headers binary-generic
and go to the pub whilst it compiles

Now install the kernel:
Code: [Select]
cd ~/my-custom-kernel
then
Code: [Select]
sudo dpkg -i linux-image-3.16.0-51-generic_3.16.0-51.69~14.04.1+emegra_amd64.deb linux-headers-3.16.0-51-generic_3.16.0-51.69~14.04.1+emegra_amd64.deb linux-headers-3.16.0-51_3.16.0-51.69~14.04.1+emegra_all.deb
Now REBOOT
Title: Re: Holtek mouse support
Post by: emegra on October 26, 2015, 09:13:01 am
OK I'll do this when I get home this evening

just one question I'm obviously misunderstanding something here but I only make that 3 lines

Quote
and add these 6 new lines at the very beginning of the file
Code: [Select]

linux-lts-utopic (3.16.0-51.69~14.04.1+emegra) trusty; urgency=low

  [ emegra ]

  * Custom Kernel - Fix for USB game mouse


Graeme
Title: Re: Holtek mouse support
Post by: PCNetSpec on October 26, 2015, 11:35:49 am
6 lines including the blank lines.

there should also be a blank line underneath the line
  * Custom Kernel - Fix for USB game mouse

You'll understand it when you edit the files .. basically you're adding a new section at the top in the same format as those already present.
Title: Re: Holtek mouse support (SOLVED)
Post by: emegra on October 26, 2015, 04:29:23 pm
The edited title says it all, that was a tough one Mark but you come good yet again

 thank you very much :)




Graeme
Title: Re: Holtek mouse support (SOLVED)
Post by: PCNetSpec on October 26, 2015, 05:33:20 pm
Be aware - I don't know how "permanent" this fix will be .. I have a feeling the next kernel update will break it.

maybe we sould have renamed the kernel differently.

The only way you can be sure it won't break would be to put a hold on
linux-image-generic-lts-utopic

Title: Re: Holtek mouse support (SOLVED)
Post by: PCNetSpec on October 26, 2015, 05:35:55 pm
Or even better .. maybe do the same thing, but with say the 4.2.3 kernel .. that would never get updated
Title: Re: Holtek mouse support (SOLVED)
Post by: PCNetSpec on October 26, 2015, 05:38:42 pm
I know.....

wait till the next kernel update comes through, but do NOT remove this kernel .. if the new kernel breaks things, we'll give priority to this kernel in GRUB, so it ALWAYS boots this kernel (even when newer kernels are added).
Title: Re: Holtek mouse support (SOLVED)
Post by: emegra on October 26, 2015, 05:46:00 pm
Quote
Be aware - I don't know how "permanent" this fix will be .. I have a feeling the next kernel update will break it.

Now you mention it I have a feeling it almost certainly will and I'm not gonna put myself or you through this again just to get a mouse to work

so the way I see it we have 2 options (1) put a hold on the current kernel or (2) tell him to start looking for another mouse

am I right in saying that even if there was a kernel update he wont lose the custom kernel but he would need to select it at each reboot?







Title: Re: Holtek mouse support (SOLVED)
Post by: emegra on October 26, 2015, 05:48:27 pm
Quote
I know.....

wait till the next kernel update comes through, but do NOT remove this kernel .. if the new kernel breaks things, we'll give priority to this kernel in GRUB, so it ALWAYS boots this kernel (even when newer kernels are added).


That sounds like a plan, I installed Team Viewer to the laptop so it could be done without him even having to give it me



Graeme