Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Page 2 of 2 < 1 2
Topic Options
#362515 - 10/09/2014 11:38 Re: Some Linux help needed please: trying to configure a touch screen [Re: BartDG]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14482
Loc: Canada
All I know, is that I haven't had to "install a driver" on Linux for at least 10 years or so (other than drivers I am developing). Yet the Microsoft users around me are continually struggling to get basic hardware (SATA controllers, USB3 adapters, USB devices, etc..) working with their machines. Example: android phone/tablets.. driverless for Linux, horridly complex on Windows.

But once in a while, yeah, somebody does have to "install a driver" on Linux. And like Microsoft systems, how easy or difficult that is, depends on the hardware vendor supplying the driver. Except on Linux, it doesn't normally include 100MB+ of bloatware along with the driver.


Top
#362519 - 10/09/2014 16:15 Re: Some Linux help needed please: trying to configure a touch screen [Re: mlord]
BartDG
carpal tunnel

Registered: 20/05/2001
Posts: 2616
Loc: Bruges, Belgium
Ok, another try... here's the resullt of the Pi:
Code:

pi@raspberrypi ~ $ find /sys/bus/hid/drivers -ls
  2947    0 drwxr-xr-x   5 root     root            0 sep 10 20:20 /sys/bus/hid/drivers
  2950    0 drwxr-xr-x   2 root     root            0 sep 10 20:20 /sys/bus/hid/drivers/hid-generic
  2953    0 --w-------   1 root     root         4096 sep 10 20:20 /sys/bus/hid/drivers/hid-generic/bind
  2954    0 --w-------   1 root     root         4096 sep 10 20:20 /sys/bus/hid/drivers/hid-generic/new_id
  2951    0 --w-------   1 root     root         4096 sep 10 20:20 /sys/bus/hid/drivers/hid-generic/uevent
  2952    0 --w-------   1 root     root         4096 sep 10 20:20 /sys/bus/hid/drivers/hid-generic/unbind
  3683    0 drwxr-xr-x   2 root     root            0 sep 10 20:20 /sys/bus/hid/drivers/logitech-djreceiver
  3718    0 --w-------   1 root     root         4096 sep 10 20:20 /sys/bus/hid/drivers/logitech-djreceiver/bind
  3713    0 lrwxrwxrwx   1 root     root            0 sep 10 20:20 /sys/bus/hid/drivers/logitech-djreceiver/module -> ../../../../module/hid_logitech_dj
  3719    0 --w-------   1 root     root         4096 sep 10 20:20 /sys/bus/hid/drivers/logitech-djreceiver/new_id
  3684    0 lrwxrwxrwx   1 root     root            0 sep 10 20:20 /sys/bus/hid/drivers/logitech-djreceiver/0003:046D:C52B.0003 -> ../../../../devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3:1.2/0003:046D:C52B.0003
  3716    0 --w-------   1 root     root         4096 sep 10 20:20 /sys/bus/hid/drivers/logitech-djreceiver/uevent
  3717    0 --w-------   1 root     root         4096 sep 10 20:20 /sys/bus/hid/drivers/logitech-djreceiver/unbind
  3720    0 drwxr-xr-x   2 root     root            0 sep 10 20:20 /sys/bus/hid/drivers/logitech-djdevice
  3725    0 --w-------   1 root     root         4096 sep 10 20:20 /sys/bus/hid/drivers/logitech-djdevice/bind
  3721    0 lrwxrwxrwx   1 root     root            0 sep 10 20:20 /sys/bus/hid/drivers/logitech-djdevice/module -> ../../../../module/hid_logitech_dj
  3726    0 --w-------   1 root     root         4096 sep 10 20:20 /sys/bus/hid/drivers/logitech-djdevice/new_id
  3733    0 lrwxrwxrwx   1 root     root            0 sep 10 20:20 /sys/bus/hid/drivers/logitech-djdevice/0003:046D:C52B.0004 -> ../../../../devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3:1.2/0003:046D:C52B.0003/0003:046D:C52B.0004
  4281    0 lrwxrwxrwx   1 root     root            0 sep 10 20:20 /sys/bus/hid/drivers/logitech-djdevice/0003:046D:C52B.0005 -> ../../../../devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3:1.2/0003:046D:C52B.0003/0003:046D:C52B.0005
  3723    0 --w-------   1 root     root         4096 sep 10 20:20 /sys/bus/hid/drivers/logitech-djdevice/uevent
  3724    0 --w-------   1 root     root         4096 sep 10 20:20 /sys/bus/hid/drivers/logitech-djdevice/unbind


And the result of the Mint box:
Code:
er@desktop ~ $ modprobe usbtouchscreen hid-generic
er@desktop ~ $ find /sys/bus/hid/drivers -ls
 16869    0 drwxr-xr-x   3 root     root            0 sep 10 20:23 /sys/bus/hid/drivers
 16960    0 drwxr-xr-x   2 root     root            0 sep 10 20:23 /sys/bus/hid/drivers/hid-generic
 17057    0 --w-------   1 root     root         4096 sep 10 20:25 /sys/bus/hid/drivers/hid-generic/bind
 16961    0 lrwxrwxrwx   1 root     root            0 sep 10 20:25 /sys/bus/hid/drivers/hid-generic/0003:413C:3012.0001 -> ../../../../devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/0003:413C:3012.0001
 17271    0 lrwxrwxrwx   1 root     root            0 sep 10 20:25 /sys/bus/hid/drivers/hid-generic/0003:0D62:001C.0002 -> ../../../../devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0/0003:0D62:001C.0002
 17400    0 lrwxrwxrwx   1 root     root            0 sep 10 20:25 /sys/bus/hid/drivers/hid-generic/0003:0D62:001C.0003 -> ../../../../devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.1/0003:0D62:001C.0003
 17052    0 lrwxrwxrwx   1 root     root            0 sep 10 20:25 /sys/bus/hid/drivers/hid-generic/module -> ../../../../module/hid_generic
 17058    0 --w-------   1 root     root         4096 sep 10 20:25 /sys/bus/hid/drivers/hid-generic/new_id
 17055    0 --w-------   1 root     root         4096 sep 10 20:23 /sys/bus/hid/drivers/hid-generic/uevent
 17056    0 --w-------   1 root     root         4096 sep 10 20:25 /sys/bus/hid/drivers/hid-generic/unbind


Again, thanks for all your help Mark!
_________________________
Riocar 80gig S/N : 010101580 red
Riocar 80gig (010102106) - backup

Top
#362521 - 10/09/2014 18:08 Re: Some Linux help needed please: trying to configure a touch screen [Re: BartDG]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14482
Loc: Canada
That's odd. The touchscreen doesn't appear to show up there on either system, Did you have in a workable state on the RPi when you dumped that info?

Oh well. I could probably help a lot more if I had one here to sort out my lack of basic knowledge of the unit. Such a pity that the manufacturer doesn't provide a decent Linux install script for it, or hasn't bothered to get plug-and-play support into the kernel you're running.

Weird that the RPi kernel gets it fine though -- Linux is Linux, but perhaps the RPi has some extra patches for stuff like that (which makes sense).

Cheers

Top
#362523 - 10/09/2014 19:03 Re: Some Linux help needed please: trying to configure a touch screen [Re: mlord]
BartDG
carpal tunnel

Registered: 20/05/2001
Posts: 2616
Loc: Bruges, Belgium
Yes, I also switched the USB cable of the touch screen to either the RPi and the Mint box and I tested it if it worked (albeit not calibrated) before I ran the commands.

I must admit: I also find it strange why the "xinput calibrator" works just fine on the RPi, but it doesn't succeed in calibrating the same screen correctly in Mint...When I run it in Mint, the cursor remains in the 4 corners when in tap it in the area of the corner, but is not able to reach the rest of the screen...

So I guess this is it: the only option I have left is to cave in and buy a Windows licence. I would have preferred avoiding this, but I guess I have no other choice now. Oh well...

Thanks a lot for all your help!
_________________________
Riocar 80gig S/N : 010101580 red
Riocar 80gig (010102106) - backup

Top
Page 2 of 2 < 1 2