From mboxrd@z Thu Jan 1 00:00:00 1970 From: "hy2" Date: Thu, 09 Dec 2004 14:09:31 +0000 Subject: Re: usb pen usb.usermap problem Message-Id: <20041209140931.GA26931@alea> List-Id: References: <20041209073912.GB7187@alea> In-Reply-To: <20041209073912.GB7187@alea> MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable To: linux-hotplug@vger.kernel.org > Just uncomment: > # DEBUG=3Dyes; export DEBUG >=20 done. this is the report: Dec 9 14:58:01 alea default.hotplug[5728]: arguments (scsi) env (OLDPWD=3D= / DEVPATH=3D/devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.0/host5/5:0:0:0= PATH=3D/bin:/sbin:/usr/sbin:/usr/bin ACTION=ADd PWD=3D/etc/hotplugHOME=3D/= SHLVL=3D2 DEBUG=3Dyes SEQNUM=876 _=3D/bin/env) Dec 9 14:58:01 alea default.hotplug[5744]: no runnable /etc/hotplug/scsi_g= eneric.agent is installed Dec 9 14:58:01 alea default.hotplug[5728]: invoke /etc/hotplug/scsi.agent = () Dec 9 14:58:01 alea scsi.agent[5728]: disk at /devices/pci0000:00/0000:00:= 1d.1/usb3/3-1/3-1:1.0/host5/5:0:0:0 Dec 9 14:58:02 alea usb.agent[5723]: Setup usb-stylo for USB product ea0/6= 803/100 Dec 9 14:58:02 alea usb.agent[5723]: Module setup usb-stylo for USB produc= t ea0/6803/100 # ls -l scsi.agent -rwxr-xr-x 1 root root 1459 Nov 20 07:08 scsi.agent it is runnable ! # ls -l usb-stylo -rwxr-xr-x 1 root root 64 Dec 9 15:02 usb-stylo # cat usb-stylo #!/bin/sh mount /var/aes =20 echo good echo test > /tmp/test-good # only this line works the problem is in the mount command?=20 /dev/hda6 /var/aes jfs exec,user,noauto,encryption= =AEs-256,loop=3D/dev/loop7,keygen=3D/home/hy2/bin/aes_key_gen 0 0 /home/hy2/bin/aes_key_gen=09 mounts the key and reads some bites used as passphrase for aes-256 cfs. then it umounts the key. if i run mount /var/aes all this works. thank you very much. saiph --=20 >here are more things in heaven and earth, horatio, than are dreamt of in your philosophy. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.=20 http://productguide.itmanagersjournal.com/ _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel