All times are UTC-06:00




Post new topic  Reply to topic  [ 8 posts ] 
Author Message
PostPosted: Mon Mar 26, 2012 5:13 pm 
Offline

Joined: Fri May 27, 2011 4:30 pm
Posts: 10
Hi all,
I'm trying to make work a touch screen that lsusb recognizes as :
Code:
Bus 002 Device 005: ID 0408:3000 Quanta Computer, Inc. Optical dual-touch panel
trying to follow this tutorial:
http://blog.technologeek.org/2009/12/24/248

but the udev rule created doesn't brings up any input device and dmesg show this demoralizing message:
Code:
generic-usb 0003:0408:3000.0001: claimed by neither input, hiddev nor hidraw
I'm using:
Code:
efikamx-7071bc9ba5e4:~$ uname -a
Linux efikamx-7071bc9ba5e4 2.6.31.14.20-efikamx #2 PREEMPT Mon Feb 28 21:18:36 CST 2011 armv7l GNU/Linux
The device apears on /var/lib/usbutils/usb.ids but not in /usr/share/hwdata/usb.ids

this hid is on other linux kernels so any clue or guide on how to enable this to make it recognized by the Efika smartop will be very appreciated (please if kernel has to be recopiled give me some guiadance will be very appreciated too)


Top
   
 Post subject:
PostPosted: Tue Mar 27, 2012 1:25 pm 
Offline
Genesi

Joined: Mon Jan 30, 2006 2:28 am
Posts: 409
Location: Finland
Hi.

Did you find these links:

http://wiki.debian.org/InstallingDebian ... eTwo/Lenny
http://ubuntuforums.org/showthread.php?t=1469326

I don't have a touch screen here so it's a bit like stabbing in the dark. However, the device should only need the xorg driver - no kernel driver needed.


Johan.

_________________
Johan Dams, Genesi USA Inc.
Director, Software Engineering

Yep, I have a blog... PurpleAlienPlanet


Top
   
 Post subject:
PostPosted: Tue Mar 27, 2012 4:44 pm 
Offline

Joined: Fri May 27, 2011 4:30 pm
Posts: 10
Thanks for your reply Johan, yes I know that without access to device itself is hard to make support/debugging :), so twice thanked for that.

Yes I know about the first link you have posted (in fact is barelly the same I have posted) but I didn't know the second one, but it also has no positive result :(.

The "quid" of the issue is the kernel message :
Code:
generic-usb 0003:0408:3000.0001: claimed by neither input, hiddev nor hidraw
due is not claimed by any of this drivers(is called that way?) none of the following steps, (udev, xorg driver) can't react due kernel has not created the initial node for it , as if have done for example with the keyboard and mouse
Code:
[ 15.910029] input: Logitech USB Optical Mouse as /devices/platform/fsl-ehci.1/usb2/2-1/2-1.2/2-1.2.1/2-1.2.1:1.0/input/input1
[ 15.911442] generic-usb 0003:046D:C05B.0002: input: USB HID v1.11 Mouse [Logitech USB Optical Mouse] on usb-fsl-ehci.1-1.2.1/input0
[ 15.962155] input: Logitech USB Keyboard as /devices/platform/fsl-ehci.1/usb2/2-1/2-1.2/2-1.2.2/2-1.2.2:1.0/input/input2
[ 15.963334] generic-usb 0003:046D:C31C.0003: input: USB HID v1.10 Keyboard [Logitech USB Keyboard] on usb-fsl-ehci.1-1.2.2/input0
[ 16.094755] input: Logitech USB Keyboard as /devices/platform/fsl-ehci.1/usb2/2-1/2-1.2/2-1.2.2/2-1.2.2:1.1/input/input3
[ 16.095691] generic-usb 0003:046D:C31C.0004: input: USB HID v1.10 Device [Logitech USB Keyboard] on usb-fsl-ehci.1-1.2.2/input1

so I think is more mater about this(see USB devices section):
http://www.linuxtopia.org/online_books/ ... 08s02.html

that for whatever reason in the kernel I'm using this vendor and device id is not included in neither input, hiddev nor hidraw driver.

And after making a search on the kernel sources
https://github.com/genesi/linux-legacy

on the hid driver files, there is no entry for the Quanta vendor/touch device id (0408:3000)

seems the QUANTA vendor was added in some point later than 2.6.34.11 linux kernel

So my only hope is to backport from the "future" this changes to the actual kernel version I'm running, seems not much instrusive so I hope some accurate copy&paste from one version to another can work, But I need help on how to compile /install this custom kernel (better from the efika itself)


Top
   
 Post subject:
PostPosted: Tue Mar 27, 2012 5:08 pm 
Offline
Genesi

Joined: Mon Jan 30, 2006 2:28 am
Posts: 409
Location: Finland
Hi.

Generating the kernel itself is pretty straight forward, but I do recommend cross compiling on e.g., Ubuntu or so - it'll save you lots of time and is pretty easy to set up since everything you need is in the repos.

You will need:
Code:
apt-get install debhelper kernel-package fakeroot binutils-multiarch
also, you'll need the cross compiler. I don't remember how it's called, but look for arm-gcc or so.

Then run something like:
Code:
cp arch/arm/configs/mx51_efikamx_defconfig .config

make-kpkg --revision 2012.03 --arch armel --cross-compile arm-linux-gnueabi- --subarch efikamx --us --uc --rootcmd=fakeroot --jobs=2 --initrd binary-arch
This will generate a .deb package with the kernel which you can install using dpkg.

Johan.

_________________
Johan Dams, Genesi USA Inc.
Director, Software Engineering

Yep, I have a blog... PurpleAlienPlanet


Top
   
 Post subject:
PostPosted: Wed Mar 28, 2012 3:59 pm 
Offline

Joined: Fri May 27, 2011 4:30 pm
Posts: 10
I'm totally out of ideas :(
I have patched the kernel sources to add the Quanta touch screen here is the patch.

The kernel compiles and boots fine, now the touchscreen is recognized, the udev creates the symlink, xorg loads the driver an reports no error... but .... there is no reaction when I touch or move my finger over the screen :(

I have tried both a pached(no-multitouch input) and unpatched hidtouch xorg driver, various xorg.conf apart of the one of the tutorial....

I have no clue on how can I move forward from here....so...

Waiting for some release of a 11.04 or greater based Efika distro but I bet it will take a few more time than from now to tomorrow morning :P


Top
   
 Post subject:
PostPosted: Wed Mar 28, 2012 9:10 pm 
Offline
Genesi

Joined: Mon Jan 30, 2006 2:28 am
Posts: 409
Location: Finland
Hi.

You can always try the Debian ArmHF image.

http://www.powerdeveloper.org/platforms/efikamx/linux

Johan.

_________________
Johan Dams, Genesi USA Inc.
Director, Software Engineering

Yep, I have a blog... PurpleAlienPlanet


Top
   
 Post subject:
PostPosted: Tue Apr 03, 2012 6:04 pm 
Offline

Joined: Fri May 27, 2011 4:30 pm
Posts: 10
Quote:
You can always try the Debian ArmHF image.
Well the debian image has the same problem as the maverik image, an <2.6.34 kernel version , so again same original problem arise
Code:
claimed by neither input, hiddev nor hidraw
on dmesg :(

also the kernel is in another architecture (armhf) so the previous generate kernel deb package refuse to install, I haven't enough stamina to try to make an armhf kernel with my patch (sure it will also not work with same kernel version I don't think has nothing related of the build architecture but more on the kernel version)

Conclusion until new kernel release no touch screen for poor tuxbrain. There is also planned to release something soon?


Top
   
 Post subject:
PostPosted: Tue Apr 03, 2012 6:20 pm 
Offline

Joined: Fri May 27, 2011 4:30 pm
Posts: 10
Just for the record the touch screen works ok on my desktop with ubuntu 11.10


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 8 posts ] 

All times are UTC-06:00


Who is online

Users browsing this forum: No registered users and 63 guests


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

Search for:
Jump to:  
PowerDeveloper.org: Copyright © 2004-2012, Genesi USA, Inc. The Power Architecture and Power.org wordmarks and the Power and Power.org logos and related marks are trademarks and service marks licensed by Power.org.
All other names and trademarks used are property of their respective owners. Privacy Policy
Powered by phpBB® Forum Software © phpBB Group