It seems like your kernel is not handling the serial to usb converter properly.
Do you have a kernel version greater than 2.4.10? Please, for testing use the 'tester' app than comes with the towitoko driver. Carlos. --- Camus Moire <[EMAIL PROTECTED]> wrote: > > Hello, > > well, compiling towitokos-driver > > ./configure --prefix=/usr \ > --with-pcsc-lite-dir=/usr \ > --enable-usb \ > --enable-debug=3 \ > --mandir=/usr/share/man > > and compiling pcsc-lite with > > ./configure --prefix=/usr \ > --mandir=/usr/share/man \ > --enable-usb \ > --enable-daemon \ > --enable-syslog \ > --enable-threadsafe \ > --enable-debug \ > --sysconfdir=/etc > > and starting my rc script > > rcpcscd start > start) > echo -n "Starting pcscd" > startproc /usr/sbin/pcscd || return=$rc_failed > echo -e "$return" > ;; > > this happens > > pcscd: Warning couldn't open config file /etc/reader.conf. > pcscd: pcscdaemon.c 202: main: PC/SC Lite Daemon Ready. > casa pcscd: readerfactory.c 1054: RFInitializeReader: Attempting > startup of Towitoko Chipdrive USB 0 0. > casa pcscd: readerfactory.c 829: RFBindFunctions: Loading IFD Handler > 2.0 > casa kernel: usb-uhci.c: interrupt, status 3, frame# 1390 > casa kernel: usb.c: USB disconnect on device 2 > casa kernel: usbserial.c: PL-2303 converter now disconnected from > ttyUSB0 > casa kernel: Unable to handle kernel NULL pointer dereference at > virtual address 00000000 > casa kernel: printing eip: > casa kernel: c6cd00c4 > casa kernel: *pde = 00000000 > casa kernel: Oops: 0000 > casa kernel: CPU: 0 > casa kernel: EIP: > 0010:[parport_pc:__insmod_parport_pc_O/lib/modules/2.4.16_hm_mp/kernel/drive+-9633596/96] > Tainted: P > casa kernel: EFLAGS: 00010206 > casa kernel: eax: 00000000 ebx: 00000000 ecx: 00000000 edx: > ffffff92 > casa kernel: esi: 00000003 edi: c6d77420 ebp: 00000ca9 esp: > c9f5fe6c > casa kernel: ds: 0018 es: 0018 ss: 0018 > casa kernel: Process pcscd (pid: 15076, stackpage=c9f5f000) > casa kernel: Stack: 00000022 00000021 00000003 00000000 00000000 > 00000000 00000064 00000000 > casa kernel: c6d77400 c6cd06cb 00000000 00000003 c6d77420 > c6d77400 c80d5bf0 c80d5000 > casa kernel: d3cd24a0 c6c78927 c6d77420 c9f5fee0 c9f5fee0 > 00000002 c01a1fa0 c80d5000 > casa kernel: Call Trace: > [parport_pc:__insmod_parport_pc_O/lib/modules/2.4.16_hm_mp/kernel/drive+-9632053/96] > [parport_pc:__insmod_parport_pc_O/lib/modules/2.4.16_hm_mp/kernel/drive+-9991897/96] > [change_termios+368/396] [set_termios+383/396] [n_tty_ioctl+257/1200] > > casa kernel: [tty_ioctl+1235/1256] [sys_ioctl+685/756] > [system_call+51/56] > casa kernel: > casa kernel: Code: 8b 11 c1 e2 08 89 d0 0d 00 00 00 04 83 79 04 01 0f > 45 c2 0d > casa kernel: <6>hub.c: USB new device connect on bus1/2, assigned > device number 3 > casa kernel: usbserial.c: PL-2303 converter detected > casa kernel: usbserial.c: PL-2303 converter now attached to ttyUSB0 > (or usb/tts/0 for devfs) > > > pl2303 and usbserial is already loaded by hotplug at booting time. > > Some tries befor - also without success. I got this messages > > casa pcscd: Warning couldn't open config file /etc/reader.conf. > pcscd: pcscdaemon.c 202: main: PC/SC Lite Daemon Ready. > pcscd: readerfactory.c 1054: RFInitializeReader: Attempting startup > of Towitoko Chipdrive USB 0 0. > pcscd: readerfactory.c 829: RFBindFunctions: Loading IFD Handler 2.0 > > kernel: usb-uhci.c: interrupt, status 3, frame# 1894 > kernel: usb.c: USB disconnect on device 2 > kernel: usbserial.c: PL-2303 converter now disconnected from ttyUSB0 > kernel: hub.c: USB new device connect on bus1/1, assigned device > number 3 > kernel: usbserial.c: PL-2303 converter detected > kernel: usbserial.c: PL-2303 converter now attached to ttyUSB0 (or > usb/tts/0 for devfs) > pcscd: readerfactory.c 1084: RFInitializeReader: Open Port 200000 > Failed > pcscd: readerfactory.c 192: RFAddReader: Towitoko Chipdrive USB init > failed. > > and my box freezed. > > > Maybe this is all SMP conditionally ? > > Thanks for your fast response, > > Camus Moire > > PS: threadsafe - should be enabled, right ?? > > *************************************************************** > Unix Smart Card Developers - M.U.S.C.L.E. > (Movement for the Use of Smart Cards in a Linux Environment) > http://www.linuxnet.com/ > To unsubscribe send an email to [EMAIL PROTECTED] with > unsubscribe sclinux > *************************************************************** __________________________________________________ Do You Yahoo!? Yahoo! Sports - Coverage of the 2002 Olympic Games http://sports.yahoo.com *************************************************************** Unix Smart Card Developers - M.U.S.C.L.E. (Movement for the Use of Smart Cards in a Linux Environment) http://www.linuxnet.com/ To unsubscribe send an email to [EMAIL PROTECTED] with unsubscribe sclinux ***************************************************************
