LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-19-2015, 12:09 PM   #1
gradientz
LQ Newbie
 
Registered: Nov 2015
Posts: 11

Rep: Reputation: Disabled
Unhappy Touchpad not detected in input file (Toshiba Chromebook 2 running Debian)


I recently installed Debian Jessie on my Chromebook, and everything seems to be in order but the touchpad is not working.

I tried following the instructions in https://wiki.debian.org/SynapticsTouchpad. However the following command does not yield output:

Code:
egrep -i 'synap|alps|etps' /proc/bus/input/devices
So the problem seems to be that the kernel is not detecting the presence of the touchpad. Is there anything I can do to resolve? My kernel version is 4.2.0-0.bpo.1-amd64

Last edited by gradientz; 11-19-2015 at 12:12 PM.
 
Old 11-19-2015, 12:25 PM   #2
Tonus
Senior Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,405
Blog Entries: 3

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
Touchpad not detected in input file (Toshiba Chromebook 2 running Debian)

Without any indication on what laptop model nor touchpad model you have, it will be difficult to help you...

The only thing I could suggest would be to compile newer kernel...

Last edited by Tonus; 11-19-2015 at 12:28 PM.
 
Old 11-19-2015, 12:35 PM   #3
gradientz
LQ Newbie
 
Registered: Nov 2015
Posts: 11

Original Poster
Rep: Reputation: Disabled
Thanks for your reply. It is a Toshiba Chromebook CB35-B3340 (Item Model #: PLM02U-009008). I'm not sure how to find the touchpad model.

This is my first experience with a Linux OS, so apologies if I am a little slower keeping up. What do you mean by compiling newer kernel? Isn't 4.2 the latest stable kernel for Jessie?

Last edited by gradientz; 11-19-2015 at 12:44 PM.
 
Old 11-19-2015, 02:29 PM   #4
Tonus
Senior Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,405
Blog Entries: 3

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
Touchpad not detected in input file (Toshiba Chromebook 2 running Debian)

Could have a look there for few commands that could help identify your touchpad :
http://www.linuxquestions.org/questions/slackware-14/determine-touchpad-type-920477/

Drivers are shipped with the kernel : sometimes compiling by your own the last source from kernel.org gives you a kernel with latest and appropriate drivers for your hardware...
 
Old 11-19-2015, 02:52 PM   #5
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,003
Blog Entries: 26

Rep: Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521
Interesting problem with this chromebook. In order for the kernel to see the touchpad, you need to keep ps2 from deactivating the aux port (i8042.nopnp=1 on the kernel line of grub), BUT, if you do that, then the keyboard isn't recognized. Kernel versions doesn't matter, I've tried with the default Jessie 3.16.x, 4.0.x from backports, 4.1.x from backports, and 4.2.x from backports. It does the same thing in every version. I believe if you recompiled the kernel using the Fedora configuration it might work (Fedora works out of the box), but that's not exactly something that I'd suggest someone brand new try.

Another issue you're going to run into is getting the audio working, as it doesn't work out of the box in Debian either.

While it might be possible to get everything working in Debian, unless you're absolutely DEAD SET on using Debian, just install Fedora instead, and everything except the audio will work out of the box, and the audio is easy enough to get working. I have the cb35-b3330 and cb35-b3340 and have been testing them with various distro's, so far Fedora is the ONLY one that I've managed to get everything working without issue, which is sad to say given how much I love Debian.

BTW, once you get it working, the 3340 is a FANTASTIC linux laptop. I'm actually on that right now, runs magnificently, and such a gorgeous LCD.
 
1 members found this post helpful.
Old 11-19-2015, 04:57 PM   #6
gradientz
LQ Newbie
 
Registered: Nov 2015
Posts: 11

Original Poster
Rep: Reputation: Disabled
Thank you. I am going to try to install Fedora as TM suggests and will post my results
 
Old 11-25-2015, 11:35 AM   #7
gradientz
LQ Newbie
 
Registered: Nov 2015
Posts: 11

Original Poster
Rep: Reputation: Disabled
So I booted Fedora on my Chromebook and, as predicted, it works great! The only things are that the audio does not work (not a huge deal and I'm okay with figuring that out later) and I don't know how to configure the Trackpad to my personal preferences. Right now the trackpad has two-finger scroll, right-click and left-click, but is there a config file located somewhere that I can play around with in the future? My device is apparently an Elan touchpad according to the /proc/bus/input/devices file

Last edited by gradientz; 11-25-2015 at 11:44 AM. Reason: Corrected mistake in issue. RIght click does work
 
Old 11-25-2015, 12:13 PM   #8
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,003
Blog Entries: 26

Rep: Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521
For sound.

Code:
killall alsactl
ps ax | grep alsa
The second command should return that the only thing running with alsa in the name is that grep command. If so, then navigate to /var/lib/alsa/ and delete asound.state, replace it with one that can be found here.

Then edit the /usr/share/pulseaudio/alsa-mixer/paths/analog-output-headphones.conf file, find the [ELEMENT SPEAKER] and change

Code:
switch = off
volume = off
to
Code:
switch = mute
volume = zero
Reboot and you should have sound, AND when you plug in headphones, it will properly mute said sound.

For the touchpad, there are several options, but I'd need to be on Fedora to know properly what they are (currently on Debian). Essentially, you need to make sure synaptics is installed (I'm pretty sure it is), then create the 50synaptics.conf file to modify the synaptics driver properties. You can use synclient to test settings before putting them into the conf file. This, IMO, is the easiest method UNLESS you are running the KDE respin of Fedora.

Last edited by Timothy Miller; 11-25-2015 at 12:20 PM.
 
Old 01-16-2016, 09:05 PM   #9
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,003
Blog Entries: 26

Rep: Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521
So, just in case anyone decides they want to run Debian on baytrail chromebooks, I've gotten my CB35-B3330 working, and here's a quick howto:

Requirements:
1. You'll need to run Stretch or SID, or manually copy the firmware from somewhere, the firmware package for the sound card doesn't exist in Jessie.
2. You'll need a 4.3+ kernel for the touchpad to work without having to pass kernel options from grub (which IS available in Jessie-backports).
3. Not a requirement, but the 4.4 kernel has MASSIVE improvements for the video card from <=4.3
4. You'll need to have the chromeos version of the asound.state file handy

To get it working:
1. install alsa-utils and firmware-intel-sound
2. copy the asound.state to /var/lib/alsa/ overwriting the existing one (should be created upon installing alsa-utils) and to /etc/asound.state
3. alsactl restore -f /etc/asound.state
4. That's it!! You should now have 100% working baytrail-based chromebook with Debian!!

BTW - thanks go out to the guys as the phoenix linux users group for working with me today in figuring this out.

Last edited by Timothy Miller; 01-16-2016 at 09:10 PM.
 
1 members found this post helpful.
  


Reply



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
[SOLVED] Toshiba Chromebook 2 audio (cb35) Timothy Miller Linux - Hardware 10 01-01-2016 01:25 PM
Anyone have Debian on Toshiba Chromebook 2 (cb35-bxxx0)? Timothy Miller Debian 3 11-12-2015 08:34 PM
LXer: Toshiba announces refreshed Chromebook 2 LXer Syndicated Linux News 0 09-23-2015 06:03 PM
Fax modem not detected on emac g4 running debian squeeze rajneeshkumar Linux - Newbie 11 05-19-2012 07:00 AM
Sound on Toshiba Laptop running Debian carraya Linux - Newbie 5 05-30-2004 10:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:26 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