On Tue, 2002-11-26 at 15:12, Engelbert Hubbers wrote:

> It would surprise me too if pcsc-lite is causing the problem. Anyway you 
> should be able to rule that option out by using the test program that comes 
> with the Towitoko driver. Since it directly addresses the ct-api you can test 
> your drive without using the pcsc bridge.

Hummm..... obviously I have not looked properly at the files comprising
the Towitoko driver distribution as I wasn't aware of this test
program.  Thanks for making me aware of it.

> >Did you change /etc/security/console.perms so as to set the ownership of
> >given device files on login to the console?
> 
> No, I did not.
> 
> >
> >I am guessing that the files in question are the /dev/usb/ttyUSB* files?
> 
> Correct.
> I found out that these files were owned by root and not read/writeable by 
> others. I introduced a new group called 'usb' and changed the permissions on 
> /dev/usb/ttyUSB0 to owner=root, group=usb and added rw-permission for the 
> group. Of course I added the appropriate users to this 'usb' group.
> 
> After a reboot of the system this worked fine.

I would suggest that changing /etc/security/console.perms is in fact the
best solution to this problem since it means that the person logged in
to the console is the person who will own these files.

> These are the configure options I used:
> ./configure --enable-debug=4 --enable-ISO-t0 --enable-devpcsc --enable-usb
>             --with-pcsc-lite-dir=/usr/local/pcsc --enable-usb-bundle

This is more options that I was using.  Carlos told me not to use
--enable-ISO-t0 and I am not sure --enable-usb actually does anything
even though it says to use this in the documentation
(--enable-usb-bundle is the important option).  I don't remember
--enable-devpcsc being used or mentioned anywhere.

-- 
Russel.
====================================================================
Dr Russel Winder                    Chief Technology Officer
OneEighty Software Ltd              Tel: +44 20 8680 8712
Cygnet House                        Fax: +44 20 8680 8453
12-14 Sydenham Road                 [EMAIL PROTECTED]
Croydon, Surrey CR9 2ET, UK         http://www.180sw.com           
====================================================================
Under the Regulation of Investigatory Powers (RIP) Act 2000 together
with any and all Regulations in force pursuant to the Act One Eighty
Software Ltd reserves the right to monitor any or all incoming or
outgoing communications as provided for under the Act

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to