Dear All, I am new to the embedded linux development i am using a sa1100 based PDA that runs 2.4.18-rmk7 kernel. When i insert the USB smart card reader(VID/PID 04e6,4116),I get the following message in the system log after starting klogd.(The driver is not loaded) Nov 25 18:07:32 myPDA syslog.debug klogd: usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110 Nov 25 18:07:32 myPDA syslog.warn klogd: usb_control/bulk_msg: timeout Nov 25 18:07:32 myPDA syslog.debug klogd: usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110 Nov 25 18:07:32 myPDA syslog.warn klogd: usb_control/bulk_msg: timeout Nov 25 18:07:32 myPDA syslog.debug klogd: usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110 Nov 25 18:07:32 myPDA user.notice /etc/hotplug/usb.agent: Setup cannot get config descriptor: Connection timed out for USB product 4e6/5115/416 I hope this message is because the usb system did not get the configuration descriptor for the device.But when i analysed with the CATC analyser the configuration descriptor is actually sent from the device to the host. I compiled the USB Skeleton driver (usb-skeleton.c) with the VID PID modifications for my device. Then with the driver loaded (explicitly by insmod command)i got the following oops Nov 26 16:39:33 myPDA syslog.info klogd: hub.c: USB new device connect on bus1/1, assigned device number 2 Nov 26 16:39:33 myPDA syslog.warn klogd: SOF interrupt: td_array->len = 0x1, s/b: 0 Nov 26 16:39:33 myPDA syslog.warn klogd: INTERRUPT URB:[ 102] dev: 2,ep: 0-I,type:CTRL,flags: 0,len:48/93,stat:-115(ffffff8d) Nov 26 16:39:33 myPDA syslog.warn klogd: hc_simple.h: cmd(8): 80 06 00 02 00 00 5d 00 Nov 26 16:39:33 myPDA syslog.warn klogd: hc_simple.h: data(48/93): 09 02 5d 00 01 01 03 a0 32 09 04 00 00 03 0b 00 00 04 36 21 00 01 00 01 03 00 00 00 a0 0f 00 00 e0 2e 00 00 00 80 25 00 00 00 c2 01 00 00 fc 00 stat:-115 Nov 26 16:39:33 myPDA syslog.warn klogd: SOF interrupt: td_array->len = 0x1, s/b: 0 Nov 26 16:39:33 myPDA syslog.warn klogd: INTERRUPT URB:[ 16a] dev: 2,ep: 0-I,type:CTRL,flags: 0,len:64/93,stat:-115(ffffff8d) Nov 26 16:39:33 myPDA syslog.warn klogd: hc_simple.h: cmd(8): 80 06 00 02 00 00 5d 00 Nov 26 16:39:33 myPDA syslog.warn klogd: hc_simple.h: data(64/93): 09 02 5d 00 01 01 03 a0 32 09 04 00 00 03 0b 00 00 04 36 21 00 01 00 01 03 00 00 00 a0 0f 00 00 e0 2e 00 00 00 80 25 00 00 00 c2 01 00 00 fc 00 00 00 00 00 00 00 00 00 00 00 ba 00 01 00 07 01 stat:-115 Nov 26 16:39:33 myPDA syslog.warn klogd: SOF interrupt: td_array->len = 0x1, s/b: 0 Nov 26 16:39:33 myPDA syslog.warn klogd: INTERRUPT URB:[ 1d2] dev: 2,ep: 0-I,type:CTRL,flags: 0,len:80/93,stat:-115(ffffff8d) Nov 26 16:39:33 myPDA syslog.warn klogd: hc_simple.h: cmd(8): 80 06 00 02 00 00 5d 00 Nov 26 16:39:33 myPDA syslog.warn klogd: hc_simple.h: data(80/93): 09 02 5d 00 01 01 03 a0 32 09 04 00 00 03 0b 00 00 04 36 21 00 01 00 01 03 00 00 00 a0 0f 00 00 e0 2e 00 00 00 80 25 00 00 00 c2 01 00 00 fc 00 00 00 00 00 00 00 00 00 00 00 ba 00 01 00 07 01 00 00 ff ff 00 00 00 01 07 05 01 02 40 00 00 07 stat:-115 Nov 26 16:39:33 myPDA syslog.warn klogd: SOF interrupt: td_array->len = 0x1, s/b: 0 Nov 26 16:39:33 myPDA syslog.warn klogd: INTERRUPT URB:[ 23c] dev: 2,ep: 0-O,type:CTRL,flags: 0,len:0/0,stat:-115(ffffff8d) Nov 26 16:39:33 myPDA syslog.warn klogd: hc_simple.h: cmd(8): 00 09 01 00 00 00 00 00 Nov 26 16:39:33 myPDA syslog.warn klogd: SOF interrupt: td_array->len = 0x1, s/b: 0 Nov 26 16:39:33 myPDA syslog.warn klogd: INTERRUPT URB:[ 2a3] dev: 2,ep: 0-O,type:CTRL,flags: 0,len:0/0,stat:-115(ffffff8d) Nov 26 16:39:33 myPDA syslog.warn klogd: hc_simple.h: cmd(8): 00 09 01 00 00 00 00 00 Nov 26 16:39:33 myPDA syslog.alert klogd: Unable to handle kernel paging request at virtual address 69736164 Nov 26 16:39:33 myPDA syslog.alert klogd: pgd = c0004000 Nov 26 16:39:33 myPDA syslog.alert klogd: *pgd = 00000000, *pmd = 00000000 Nov 26 16:39:33 myPDA syslog.warn klogd: Internal error: Oops: 0 Nov 26 16:39:33 myPDA syslog.warn klogd: CPU: 0 Nov 26 16:39:33 myPDA syslog.warn klogd: pc : [0108f08>] lr : [0109070>] Tainted: P Nov 26 16:39:33 myPDA syslog.warn klogd: sp : c03cbee4 ip : 69736162 fp : c03cbef4 Nov 26 16:39:33 myPDA syslog.warn klogd: r10: c01dfd80 r9 : 00000000 r8 : 00000000 Nov 26 16:39:33 myPDA syslog.warn klogd: r7 : c48f43b8 r6 : 69736162 r5 : c0963840 r4 : c0963840 Nov 26 16:39:33 myPDA syslog.warn klogd: r3 : 00000001 r2 : 69736162 r1 : c0963840 r0 : c04fe800 Nov 26 16:39:33 myPDA syslog.warn klogd: Flags: nzCv IRQs on FIQs on Mode SVC_32 Segment kernel Nov 26 16:39:33 myPDA syslog.warn klogd: Control: C396317F Table: C396317F DAC: 0000001D Nov 26 16:39:33 myPDA syslog.warn klogd: Process khubd (pid: 9, stackpage=c03cb000) Nov 26 16:39:33 myPDA syslog.warn klogd: Stack: (0xc03cbed4 to 0xc03cc000) Nov 26 16:39:33 myPDA syslog.warn klogd: bec0: c0109070 c0108f08 20000013 Nov 26 16:39:33 myPDA syslog.warn klogd: bee0: ffffffff c01dfe9c c03cbf30 c03cbef8 c0109070 c0108dec 00000000 c04fe814 Nov 26 16:39:33 myPDA syslog.warn klogd: bf00: 00000000 c04fe800 c04fe800 00000000 00000000 00000000 c04fe600 00000000 Nov 26 16:39:33 myPDA syslog.warn klogd: bf20: c37f8400 c03cbf50 c03cbf34 c010940c c0108f4c 00000000 c04fe800 00000008 Nov 26 16:39:33 myPDA syslog.warn klogd: bf40: c37f8800 c03cbf70 c03cbf54 c010b3bc c01093cc 00000008 00000000 c04fe800 Nov 26 16:39:33 myPDA syslog.warn klogd: bf60: 00000000 c03cbfa8 c03cbf74 c010cd28 c010b244 c04fe700 00000000 00000000 Nov 26 16:39:33 myPDA syslog.warn klogd: bf80: 00000101 c04fe600 c03cbfb0 00000001 c0986ce0 00000000 00000001 c03cbfe0 Nov 26 16:39:33 myPDA syslog.warn klogd: bfa0: c03cbfac c010cf5c c010cb14 c0986d08 00010101 c03cbfc0 c03ca000 c0210214 Nov 26 16:39:33 myPDA syslog.warn klogd: bfc0: c01e4548 c01e4544 c01d2c48 6901b118 0000001f c03cbff4 c03cbfe4 c010d14c Nov 26 16:39:33 myPDA syslog.warn klogd: bfe0: c010ce28 00000000 00000000 c03cbff8 c003bc08 c010d128 ffffffff ffffffff Nov 26 16:39:33 myPDA syslog.warn klogd: Backtrace: Nov 26 16:39:33 myPDA syslog.warn klogd: Function entered at [0108de0>] from [0109070>] Nov 26 16:39:33 myPDA syslog.warn klogd: r4 = C01DFE9C Nov 26 16:39:33 myPDA syslog.warn klogd: Function entered at [0108f40>] from [010940c>] Nov 26 16:39:33 myPDA syslog.warn klogd: Function entered at [01093c0>] from [010b3bc>] Nov 26 16:39:33 myPDA syslog.warn klogd: r7 = C37F8800 r6 = 00000008 r5 = C04FE800 r4 = 00000000 Nov 26 16:39:33 myPDA syslog.warn klogd: Function entered at [010b238>] from [010cd28>] Nov 26 16:39:33 myPDA syslog.warn klogd: r6 = 00000000 r5 = C04FE800 r4 = 00000000 Nov 26 16:39:33 myPDA syslog.warn klogd: Function entered at [010cb08>] from [010cf5c>] Nov 26 16:39:33 myPDA syslog.warn klogd: Function entered at [010ce1c>] from [010d14c>] Nov 26 16:39:33 myPDA syslog.warn klogd: Function entered at [010d11c>] from [003bc08>] Nov 26 16:39:33 myPDA syslog.warn klogd: r4 = 00000000 Nov 26 16:39:33 myPDA syslog.warn klogd: Code: e5d13007 e1520003 0affffbc e28cc014 (e1dc30b2) Please help me to solve this ... -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/