Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]wacom tablet not recognized, need rescuecd for xorg
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
ElleStone
Tux's lil' helper
Tux's lil' helper


Joined: 12 Mar 2013
Posts: 106

PostPosted: Tue Aug 18, 2015 1:15 am    Post subject: [SOLVED]wacom tablet not recognized, need rescuecd for xorg Reply with quote

I had Gentoo running nicely on my ten-year-old AMD computer. That computer stopped working and I'm trying to get Gentoo running on a newly-built Intel core i7 machine, but I'm having a couple of issues:
1. My Wacom Bamboo tablet isn't recognized (this computer is for image editing, so having the tablet work is pretty important).
2. I'm having to boot from a systemrescue"cd" on a USB key (there's no CD/DVD player on the new machine), or else I can't get to my desktop because X doesn't start.

I have the world file and portage files from the old machine, so I was able to install all the software that I had installed on the old machine, with all the same USE flags. As with the old machine, I'm running Icewm and "startx", with a mix of kde and gtk apps (kitless and gnome-free), using eudev and openrc. Unlike the old Gentoo install, on the new machine I'm using genkernel and grub2, which might be related to both issues. I wasn't able to do "grub2-mkconfig" during the initial installation. The bios is set to "legacy" for everything, but I think maybe Gentoo is trying to boot using that uefi thing, and I wasn't sure what to do during the install when it said to add modules to some conf file.

Any help getting the Wacom tablet recognized, and/or getting Gentoo to boot without having to use a rescue cd, is very much appreciated. I don't know enough about the boot process to even try to give relevant information. But here is possibly Wacom-relevant information:
"make.conf" says:
Code:
INPUT_DEVICES="evdev"
VIDEO_CARDS="intel"
which corresponds to what the old make.conf says, except the old AMD machine had an nvidia graphics card. I've also tried various combinations of "evdev wacom mouse keyboard" for INPUT_DEVICES.

In package.use (same as the old machine) the xorg-server use flags are: "x11-base/xorg-server suid udev". Per forum advice, I added "x11-base/xorg-drivers input_devices_wacom", but it didn't help. I don't think I had "dev-libs/libwacom" installed on the old machine, but I think maybe the "input_devices_wacom" use flag pulls it in? Or maybe putting "wacom" in make.conf in INPUT_DEVICES?

When I unplug and plug in the Wacom tablet, dmesg | tail says:
Code:
[ 2967.262692] usb 3-4.1: USB disconnect, device number 5
[ 2971.947649] usb 3-4.1: new full-speed USB device number 6 using xhci_hcd
[ 2972.025142] usb 3-4.1: New USB device found, idVendor=056a, idProduct=00de
[ 2972.025147] usb 3-4.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2972.025150] usb 3-4.1: Product: CTH-470
[ 2972.025152] usb 3-4.1: Manufacturer: Wacom Co.,Ltd.

lsusb says:
Code:
Bus 003 Device 006: ID 056a:00de Wacom Co., Ltd CTH-470 [Bamboo Fun Pen & Touch]

"xsetwacom --list devices" doesn't list anything. Nor does "modprobe wacom" do anything (not sure if there is supposed to be any terminal output).

Thanks very much for any help,
Elle


Last edited by ElleStone on Tue Aug 18, 2015 3:56 pm; edited 1 time in total
Back to top
View user's profile Send private message
ElleStone
Tux's lil' helper
Tux's lil' helper


Joined: 12 Mar 2013
Posts: 106

PostPosted: Tue Aug 18, 2015 12:14 pm    Post subject: Reply with quote

Quote:
Any help getting the Wacom tablet recognized, and/or getting Gentoo to boot without having to use a rescue cd (on a usb key), is very much appreciated. I don't know enough about the boot process to even try to give relevant information.

I used the rescue cd burned to a USB key to install Gentoo. I built this machine, so Windows has never been installed and dual-booting is not a concern.

My first attempt at installing Gentoo on the new machine failed because after booting up, the minimal Gentoo install "cd on a usb key" couldn't find the install files to actually perform the installation (there is no CD/DVD device in the machine, so installing from an actual CD is not an option). I did manage to install OpenSuse, and then removed OpenSuse and installed Debian and removed Debian. After the installs, they both booted successfully from the ssd. They didn't require booting from a rescue "cd on a usb key" in order to get to the desktop, and the Wacom tablet worked in both OpenSuse and Debian. So clearly I'm doing something wrong with the Gentoo install.

When starting Gentoo using the rescue "cd", the background is blue, which apparently means the rescue "cd" is starting the OS in legacy bios mode (https://forums.gentoo.org/viewtopic-t-1026806.html, 3rd post). The bios on the motherboard is set to boot in legacy mode. The operating system is set to "other", which apparently is the way to disable secure boot on the Asus Z97-A motherboard.

The new Gentoo operating system is on a nominally 250GB Samsung EVO 850 sdd (which apparently wasn't the best choice of ssd because of trim issues, but that's not the issue at hand). After starting Gentoo from the rescue cd, and then running fdisk -l from within Gentoo, here's what is reported:
Code:
fdisk -l

Disk /dev/sda: 232.9 GiB, 250059350016 bytes, 488397168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: FE74C06A-615E-478B-8D6E-0DFBC4A7C094

Device       Start       End   Sectors   Size Type
/dev/sda1     2048     12287     10240     5M BIOS boot
/dev/sda2    12288   1060863   1048576   512M EFI System
/dev/sda3  1060864 488124783 487063920 232.3G Linux filesystem

This is what parted reports:
Code:
(parted) print                                                           
Model: ATA Samsung SSD 850 (scsi)
Disk /dev/sda: 250GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number  Start   End     Size    File system  Name    Flags
 1      1049kB  6291kB  5243kB               grub    bios_grub
 2      6291kB  543MB   537MB   ext2         boot    boot, legacy_boot, esp
 3      543MB   250GB   249GB   ext4         rootfs

"Swap" is located on a second drive, though with 32GB RAM, I'm not sure if swap space is really necessary.

Per advice from https://wiki.gentoo.org/wiki/GRUB2_Quick_Start, I put GRUB_PLATFORMS="pc" in make.conf, but it didn't make any difference.

When I try to start Gentoo directly, without using the rescue "cd" to boot the system, "startx" fails. The Xorg log says
Code:
[   656.611]
X.Org X Server 1.16.4
Release Date: 2014-12-20
[   656.611] X Protocol Version 11, Revision 0
[   656.611] Build Operating System: Linux 3.14.48-std454-amd64 x86_64 Gentoo
[   656.611] Current Operating System: Linux localhost 4.0.5-gentoo #1 SMP Sun Aug 16 14:41:10 EDT 2015 x86_64
[   656.611] Kernel command line: BOOT_IMAGE=/kernel-genkernel-x86_64-4.0.5-gentoo root=UUID=e6c0319e-c3fa-4478-951e-9fee5c939518 ro
[   656.612] Build Date: 17 August 2015  08:54:55PM
[   656.612] 
[   656.612] Current version of pixman: 0.32.6
[   656.612]    Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
[   656.612] Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   656.613] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Aug 18 07:04:09 2015
[   656.613] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   656.613] (==) No Layout section.  Using the first Screen section.
[   656.613] (==) No screen section available. Using defaults.
[   656.613] (**) |-->Screen "Default Screen Section" (0)
[   656.613] (**) |   |-->Monitor "<default monitor>"
[   656.613] (==) No monitor specified for screen "Default Screen Section".
   Using a default monitor configuration.
[   656.613] (==) Automatically adding devices
[   656.613] (==) Automatically enabling devices
[   656.613] (==) Automatically adding GPU devices
[   656.613] (WW) The directory "/usr/share/fonts/misc/" does not exist.
[   656.613]    Entry deleted from font path.
[   656.613] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[   656.613]    Entry deleted from font path.
[   656.613] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[   656.613]    Entry deleted from font path.
[   656.613] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[   656.613]    Entry deleted from font path.
[   656.613] (WW) The directory "/usr/share/fonts/100dpi/" does not exist.
[   656.613]    Entry deleted from font path.
[   656.613] (WW) The directory "/usr/share/fonts/75dpi/" does not exist.
[   656.613]    Entry deleted from font path.
[   656.613] (==) FontPath set to:
   
[   656.613] (==) ModulePath set to "/usr/lib64/xorg/modules"
[   656.613] (II) The server relies on udev to provide the list of input devices.
   If no devices become available, reconfigure udev or disable AutoAddDevices.
[   656.613] (II) Loader magic: 0x804c60
[   656.613] (II) Module ABI versions:
[   656.613]    X.Org ANSI C Emulation: 0.4
[   656.613]    X.Org Video Driver: 18.0
[   656.613]    X.Org XInput driver : 21.0
[   656.613]    X.Org Server Extension : 8.0
[   656.614] (--) PCI:*(0:0:2:0) 8086:0412:1043:8534 rev 6, Mem @ 0xdf800000/4194304, 0xc0000000/268435456, I/O @ 0x0000f000/64
[   656.614] (II) LoadModule: "glx"
[   656.614] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[   656.614] (II) Module glx: vendor="X.Org Foundation"
[   656.614]    compiled for 1.16.4, module version = 1.0.0
[   656.614]    ABI class: X.Org Server Extension, version 8.0
[   656.614] (==) AIGLX enabled
[   656.614] (==) Matched intel as autoconfigured driver 0
[   656.614] (==) Matched modesetting as autoconfigured driver 1
[   656.614] (==) Matched fbdev as autoconfigured driver 2
[   656.614] (==) Matched vesa as autoconfigured driver 3
[   656.614] (==) Assigned the driver to the xf86ConfigLayout
[   656.614] (II) LoadModule: "intel"
[   656.614] (II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so
[   656.614] (II) Module intel: vendor="X.Org Foundation"
[   656.614]    compiled for 1.16.4, module version = 2.99.917
[   656.614]    Module class: X.Org Video Driver
[   656.614]    ABI class: X.Org Video Driver, version 18.0
[   656.614] (II) LoadModule: "modesetting"
[   656.614] (WW) Warning, couldn't open module modesetting
[   656.614] (II) UnloadModule: "modesetting"
[   656.614] (II) Unloading modesetting
[   656.614] (EE) Failed to load module "modesetting" (module does not exist, 0)
[   656.614] (II) LoadModule: "fbdev"
[   656.614] (WW) Warning, couldn't open module fbdev
[   656.614] (II) UnloadModule: "fbdev"
[   656.614] (II) Unloading fbdev
[   656.614] (EE) Failed to load module "fbdev" (module does not exist, 0)
[   656.614] (II) LoadModule: "vesa"
[   656.614] (WW) Warning, couldn't open module vesa
[   656.614] (II) UnloadModule: "vesa"
[   656.614] (II) Unloading vesa
[   656.614] (EE) Failed to load module "vesa" (module does not exist, 0)
[   656.614] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
   i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
   915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
   Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
   GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[   656.615] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
[   656.615] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
[   656.615] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300
[   656.615] (--) using VT number 7

[   656.618] (EE) No devices detected.
[   656.618] (EE)
Fatal server error:
[   656.618] (EE) no screens found(EE)
[   656.618] (EE)
Please consult the The X.Org Foundation support
    at http://wiki.x.org
 for help.
[   656.618] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   656.618] (EE)

I'm pretty sure the problem started during the initial installation from the rescue "cd". Following the handbook wasn't exactly easy. Neither links nor lynx was installed on the rescue cd, but wget worked. For some reason I got kicked out of the chroot twice, and had to watch very carefully to make sure I actually was inside the chroot when running commands. The real problem started when it was time to configure a boot loader. This step wouldn't work:
Code:
grub2-mkconfig -o /boot/grub/grub.cfg
I believe the error message said something about not being able to find the canonical path, and complained about the boot partition being write-only. So I booted the new Gentoo install from the rescue "cd" and ran the grub2-mkconfig command.

Any help with resolving these issues, and especially with getting the Wacom tablet recognized, would be greatly appreciated. Having to start Gentoo using the rescue CD is a minor annoyance, but not being able to use the Wacom tablet is a show-stopper. I think resolving the "won't start without the rescue cd" issue will probably also resolve the Wacom tablet issue.

Elle
Back to top
View user's profile Send private message
ElleStone
Tux's lil' helper
Tux's lil' helper


Joined: 12 Mar 2013
Posts: 106

PostPosted: Tue Aug 18, 2015 3:54 pm    Post subject: Reply with quote

The very nice people on Gentoo IRC told me how to boot from disk instead of having to boot from the rescue"cd". The solution was to put this line in /etc/default/grub:
Code:
GRUB_CMDLINE_LINUX="i915.modeset=1"

They also told me how to get the Wacom tablet working. The solution was to put INPUT_DEVICES="evdev wacom" in make.conf, reinstall the xorg drivers (emerge -1a xorg-drivers), then run genkernel using the following command:
Code:
genkernel --menuconfig all
and then hit "/", search for hid_wacom, and activate it, and save without changing the default file name.

I've run various flavors of Linux since 2007, and Gentoo is by far the best, imho. I love being able to run all my qt/kde apps completely kitless and being able to avoid systemd and gnome libraries. But I've never felt comfortable when compiling a custom kernel because I don't understand most of the options. So on the new machine I decided to go with genkernel. But I probably could have avoided some angst about getting this new machine up and running if I had just gone ahead and compiled a custom kernel.

Best,
Elle Stone
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum