Now that I have my touchscreen working I am seeing the next piece of the puzzle.

When my LCD (and touchscreen controller) power off and my computer is still running, the touchscreen controller does not come back to the system when I power the lcd back on.

This seems to be seen with other devices like USB printers in Linux. Does any of you know how to keep this from happening? I am running Debian Sarge, 2.6.8 kernel, hotplug.

Thanks,
Paul

07-08-2005, 06:39 PM

DigitalExpl0it

might have to make a script for hotplug to autodetect usb plug/unplug I had to do this in gentoo with a usb thumbdrive

07-08-2005, 08:14 PM

pkg

Quote:

Originally Posted by DigitalExpl0it

might have to make a script for hotplug to autodetect usb plug/unplug I had to do this in gentoo with a usb thumbdrive

Do you have a copy that you can post here? Also, do you have to run it manually each time?

Thanks,

07-11-2005, 11:54 AM

DigitalExpl0it

ill see if I cant get it :) and no its all auto :)

07-11-2005, 11:57 AM

DigitalExpl0it

it uses the automount hotplug so here is the script may need tweaking

Quote:

#!/bin/sh
#
# Automount hotplugged block devices, by Wout Mertens ([email protected])
#
# Linux v2.6 version
# This script is released under version 2 of the GPL.

# To install this, either make it /sbin/hotplug, or, if you have
# linux-hotplug installed, make it /etc/hotplug.d/block/automount.hotplug .
# It needs to be executable. I tested it with busybox's ash.
#
# The devices will be mounted for the console user if applicable.
#
# To work, this needs:
# - v2.6 kernel support:
# - hotplugging, /proc mounted, /sys mounted
# - filesystems that will be mounted, like vfat
# - sh, echo, sed, stat or ls, getent or grep passwd,
# mount, umount, mkdir, rmdir. logger is used if there.
#
# Possible improvements:
# - Call a notifier script when mounting/unmounting. This could create the
# desktop entry by itself.
# - Edit fstab instead, and give the "user" option. This depends more on
# the user/desktop knowing what he/it is doing.

# Changelog:
#
# - 2005-03-26 Mark Burazin ([email protected])
# - Multiple partitions are now correctly created as separate icons
#
# - 2005-03-20 Mark Burazin ([email protected])
# - Creation of desktop entry under /home/(current user)/Desktop
# - use supermount and subfs successfuly.
# - Solve bug where sometimes the icons were not deleted (problem was in spaces
# which were in some names eg. "JUMPDRIVE " -> "JUMPDRIVE")
# - Another issue of the delete bug is when the usb is quicker and we don't
# know the device name. There is a solution, but You must uncomment the "usbbug" line
# - allow a definition for using diffrent icons for diffrent drives check the
# PRODUCTS_* variables.