Hi,
         I have an edgeport usb-serial converter and
just checking it. I removed the driver which used to
inseted as soon as I connect, I inserted my module
which tries to display the active config, what
endpoint is there in what interface etc...

and as soon as I do 
interface = &udev->actconfig->interface[ifnum];

interface is null, I get error at 
"intf_desc = &interface->altsetting[0];"

my id_table has NULL, which should call skel_probe for
all devices connected. how do I use this
interface.....

dmesg shows this ...........

hub.c: new USB device 00:1d.7-8, assigned address 4
usb-skeleton.c:Vendor Id is 00000200, Product Id is
00000201
usb-skeleton.c: Got the Interface
Unable to handle kernel NULL pointer dereference at
virtual address 00000000
 printing eip:
e080a77c
*pde = 00000000
Oops: 0000
usb-skeleton i810_audio ac97_codec soundcore ide-cd
cdrom parport_pc lp parport autofs rfcomm l2cap bluez
e100 ipt_REJECT ipt_state ip_conntrack iptable_filte
CPU:    0
EIP:    0060:[<e080a77c>]    Tainted: P
EFLAGS: 00010282
                                                      
                                                      
               
EIP is at skel_probe [usb-skeleton] 0x120
(2.4.22-1.2115.nptl)
eax: d9c18600   ebx: 00000000   ecx: d92cb280   edx:
d92cb2d0
esi: 00000000   edi: d06026c0   ebp: da0d1ee0   esp:
da0d1e98
ds: 0068   es: 0068   ss: 0068
Process khubd (pid: 88, stackpage=da0d1000)
Stack: e080b080 00000000 0000005c d92cb280 c8da6d00
df67a060 20000504 d92cb280
       da15d000 20000504 df67a060 00000000 00000000
00000000 df67a060 e080b920
       e06cae20 d06026c0 00000001 e069eeeb d9c18600
00000000 00000000 00000000
Call Trace:   [<e080b080>] .rodata.str1.32
[usb-skeleton] 0x3e0 (0xda0d1e98)
[<e080b920>] skel_driver [usb-skeleton] 0x20
(0xda0d1ed4)
[<e06cae20>] hid_driver [hid] 0x20 (0xda0d1ed8)
[<e069eeeb>] usb_find_interface_driver [usbcore] 0x1fb
(0xda0d1ee4)
[<e080b900>] skel_driver [usb-skeleton] 0x0
(0xda0d1efc)
[<e06b0f60>] usb_driver_list [usbcore] 0x0
(0xda0d1f04)
[<e069f27c>] usb_find_drivers [usbcore] 0x8c
(0xda0d1f18)
[<e06a152b>] usb_new_device_Ra561e410 [usbcore] 0x16b
(0xda0d1f3c)
[<e06a3162>] usb_hub_port_connect_change [usbcore]
0x162 (0xda0d1f5c)
[<e06a2c9c>] usb_hub_port_status [usbcore] 0x6c
(0xda0d1f70)
[<e06a3568>] usb_hub_events [usbcore] 0x2e8
(0xda0d1f90)
[<e06a3605>] usb_hub_thread [usbcore] 0x45
(0xda0d1fbc)
[<e06a35c0>] usb_hub_thread [usbcore] 0x0 (0xda0d1fc4)
[<e06a35c0>] usb_hub_thread [usbcore] 0x0 (0xda0d1fe0)
[<c010741d>] kernel_thread_helper [kernel] 0x5
(0xda0d1ff0)
                                                      
                                                      
               
                                                      
                                                      
               
Code: 8b 36 c7 45 cc 00 00 00 00 83 c4 10 80 7e 04 00
74 37 c7 45







                
__________________________________________________________ 
Enjoy this Diwali with Y! India Click here 
http://in.promos.yahoo.com/fabmall/index.html


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to