Google
  Web www.spinics.net

Re: Experimental driver for USB dongle 07d0:4100 (Kingsun/Dazzle) - looking for testers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On 29/07/07, andrzej zaborowski <balrogg@xxxxxxxxx> wrote:> Hi,>> On 27/07/07, Alex Villací­s Lasso <avillaci@xxxxxxxxxxxxxxxxxxxxxxx> wrote:> > Yesterday, Ashik Ahamed from the irda-users mailing list send me a> > SnoopyPro log showing communication for the USB IrDA dongle whose> > descriptors are 07d0:4100 (which I call the Kingsun/Dazzle dongle). I do> > not have the dongle, so this driver is completely untested. I only> > guarantee that it will compile.> >> > At least once.> >> > On 2.6.23-rc1.> >> > On my home machine :-)> >> > I am looking for people who do have the dongle, and are willing to see> > if this driver works for them. Please point out any stupid mistakes I> > may have done in the code. Also test if the range of speeds this dongle> > supports, which might be higher (or lower!) than the 2400-115200 bps> > indicated by the probe routine. Even if you are not running exactly> > 2.6.23-rc1, you can test it if you run any 2.6.x kernel.>> The driver seems to work! My testing was very poor but definitely both> transmission and reception worked. The strange thing is that I can't> observe any light from the LED using a camera, with other dongles I> can clearly see when something is being emitted. This may be the> reason why I thought transmission was failing with my earlier libusb> driver.> However other devices clearly detected my computer in the network now.>> Other than the formatting I don't see anything wrong in the code.> (Note that .rx_time is unused). I built the driver inside the kernel> tree rather than with a separate makefile. Removing of the module also> worked without any Oops.
Sorry, actually there were some Oopses but I was looking at the wronglogs. A couple of hours later the kernel started doing strange thingswith other usb devices and I had to reboot it :(
However the communication through the dongle worked fine while it was connected.
Jul 29 16:04:30 [kernel] usb 2-3: new low speed USB device usingohci_hcd and address 9Jul 29 16:04:30 [kernel] usb 2-3: Product: USB to SerialJul 29 16:04:30 [kernel] usb 2-3: Manufacturer: Kingsun SemiconductorJul 29 16:04:30 [kernel] usb 2-3: configuration #1 chosen from 1 choiceJul 29 16:04:30 [kernel] KingSun/Dazzle IRDA/USB found at address 9,Vendor: 7d0, Product: 4100Jul 29 16:04:30 [kernel] drivers/net/irda/ksdazzle-sir.c: IrDA:Registered KingSun/Dazzle device irda0Jul 29 16:04:30 [kernel] usbcore: registered new interface driver ksdazzle-sirJul 29 16:05:06 [irattach] executing: '/sbin/modprobe irda0'Jul 29 16:05:06 [irattach] + FATAL: Module irda0 not found.Jul 29 16:05:06 [irattach] Trying to load module irda0 exited with status 1Jul 29 16:05:06 [irattach] executing: 'echo borg > /proc/sys/net/irda/devname'Jul 29 16:05:06 [irattach] Starting device irda0Jul 29 16:17:02 [kernel] IrLAP, no activity on link!                - Last output repeated 3 times -Jul 29 16:18:35 [kernel] async_wrap_skb(), tx buffer overflow (n=507)                - Last output repeated 2 times -Jul 29 16:18:39 [kernel] IrLAP, no activity on link!Jul 29 16:18:39 [kernel] async_wrap_skb(), tx buffer overflow (n=507)                - Last output repeated 2 times -Jul 29 16:18:42 [kernel] IrLAP, no activity on link!Jul 29 16:18:42 [kernel] async_wrap_skb(), tx buffer overflow (n=507)                - Last output repeated 2 times -Jul 29 16:18:46 [kernel] printk: 2 messages suppressed.Jul 29 16:18:46 [kernel] async_wrap_skb(), tx buffer overflow (n=507)Jul 29 16:18:48 [kernel] BUG: scheduling while atomic: swapper/0x10000100/0Jul 29 16:18:48 [kernel] Call Trace:Jul 29 16:18:48 [kernel]  [<ffffffff810393f9>] autoremove_wake_function+0x9/0x30Jul 29 16:18:48 [kernel]  [<ffffffff8101c784>] __wake_up_common+0x44/0x80Jul 29 16:18:48 [kernel]  [<ffffffff8101ce23>] __wake_up+0x43/0x70Jul 29 16:18:48 [kernel]  [<ffffffff8804f250>]:irda:irlap_final_timer_expired+0x0/0x10Jul 29 16:18:48 [kernel]  [<ffffffff8101f52c>] __cond_resched+0x1c/0x50Jul 29 16:18:48 [kernel]  [<ffffffff8130806e>] cond_resched+0x2e/0x40Jul 29 16:18:48 [kernel]  [<ffffffff812721d6>] lock_sock_nested+0x16/0xe0Jul 29 16:18:48 [kernel]  [<ffffffff880501e4>] :irda:hashbin_remove+0xc4/0x120Jul 29 16:18:48 [kernel]  [<ffffffff8805028a>] :irda:hashbin_insert+0x4a/0x100Jul 29 16:18:48 [kernel]  [<ffffffff8804f250>]:irda:irlap_final_timer_expired+0x0/0x10Jul 29 16:18:48 [kernel]  [<ffffffff88056bca>]:irda:irda_disconnect_indication+0x4a/0xd0Jul 29 16:18:48 [kernel]  [<ffffffff8804a12c>] :irda:irlmp_state_dtr+0xdc/0x130Jul 29 16:18:48 [kernel]  [<ffffffff8804a61f>]:irda:irlmp_state_active+0x13f/0x170Jul 29 16:18:48 [kernel]  [<ffffffff8804c6e5>]:irda:irlap_state_nrm_p+0x4e5/0x5a0Jul 29 16:18:48 [kernel]  [<ffffffff8804f250>]:irda:irlap_final_timer_expired+0x0/0x10Jul 29 16:18:48 [kernel]  [<ffffffff8804bbfd>] :irda:irlap_do_event+0x3d/0x130Jul 29 16:18:48 [kernel]  [<ffffffff8804f250>]:irda:irlap_final_timer_expired+0x0/0x10Jul 29 16:18:48 [kernel]  [<ffffffff8102da71>] run_timer_softirq+0x141/0x1c0Jul 29 16:18:48 [kernel]  [<ffffffff81029d6f>] __do_softirq+0x5f/0xd0Jul 29 16:18:48 [kernel]  [<ffffffff8100ac5c>] call_softirq+0x1c/0x30Jul 29 16:18:48 [kernel]  [<ffffffff8100ca4c>] do_softirq+0x2c/0x90Jul 29 16:18:48 [kernel]  [<ffffffff81015d2e>]smp_apic_timer_interrupt+0x5e/0x80Jul 29 16:18:48 [kernel]  [<ffffffff81008da0>] default_idle+0x0/0x50                - Last output repeated twice -Jul 29 16:18:48 [kernel]  [<ffffffff8100a706>] apic_timer_interrupt+0x66/0x70Jul 29 16:18:48 [kernel]  <EOI>  [<ffffffff81008dc9>] default_idle+0x29/0x50Jul 29 16:18:48 [kernel]  [<ffffffff81008e4c>] cpu_idle+0x5c/0x80Jul 29 16:18:48 [kernel]  [<ffffffff81491c6c>] start_secondary+0x50c/0x520Jul 29 16:18:48 [kernel] Unable to handle kernel NULL pointerdereference at 0000000000000008 RIP:Jul 29 16:18:48 [kernel]  [<ffffffff88055f6a>]:irda:irda_recvmsg_stream+0x11a/0x300Jul 29 16:18:48 [kernel] PGD 369ea067 PUD 1c23f067 PMD 0Jul 29 16:18:48 [kernel] CPU 1Jul 29 16:18:48 [kernel] Modules linked in: ksdazzle_sir kqemucdc_ether usbnet cdc_acm ipaq usbserial irda pppoatm usbhid speedtchusbatm ohci_hcdJul 29 16:18:48 [kernel] Pid: 20273, comm: obexftp Not tainted2.6.20-rc3-omap1balrog #0Jul 29 16:18:48 [kernel] RIP: 0010:[<ffffffff88055f6a>][<ffffffff88055f6a>] irda:irda_recvmsg_stream+0x11a/0x300Jul 29 16:18:48 [kernel] Process obexftp (pid: 20273, threadinfoffff81006057e000, task ffff81007bd05670)Jul 29 16:18:48 [kernel] Call Trace:Jul 29 16:18:48 [kernel]  [<ffffffff8101f4d0>] default_wake_function+0x0/0x10Jul 29 16:18:48 [kernel]  [<ffffffff88054154>]:irda:__lock_irda_stream_recvmsg+0x44/0x70Jul 29 16:18:48 [kernel]  [<ffffffff8126f5e2>] sock_aio_read+0x102/0x130Jul 29 16:18:48 [kernel]  [<ffffffff81069aef>] do_sync_read+0xcf/0x120Jul 29 16:18:48 [kernel]  [<ffffffff810393f0>] autoremove_wake_function+0x0/0x30Jul 29 16:18:48 [kernel]  [<ffffffff811909e3>] tty_ldisc_deref+0x63/0x80Jul 29 16:18:48 [kernel]  [<ffffffff811924cc>] tty_write+0x21c/0x250Jul 29 16:18:48 [kernel]  [<ffffffff8106a460>] vfs_read+0xd0/0x180Jul 29 16:18:48 [kernel]  [<ffffffff8106a963>] sys_read+0x53/0x90Jul 29 16:18:48 [kernel]  [<ffffffff81009b3e>] system_call+0x7e/0x83Jul 29 16:18:48 [kernel] Code: f0 0f ba 68 08 01 48 8b 7d 68 48 8d 7424 20 e8 22 37 fe f8Jul 29 16:18:48 [kernel] RIP  [<ffffffff88055f6a>]:irda:irda_recvmsg_stream+0x11a/0x300Jul 29 16:18:48 [kernel]  RSP <ffff81006057fc88>Jul 29 16:19:29 [kernel] async_wrap_skb(), tx buffer overflow (n=507)                - Last output repeated 5 times -Jul 29 16:19:32 [kernel] IrLAP, no activity on link!Jul 29 16:19:32 [kernel] async_wrap_skb(), tx buffer overflow (n=507)                - Last output repeated twice -Jul 29 16:19:36 [kernel] printk: 6 messages suppressed.Jul 29 16:19:36 [kernel] async_wrap_skb(), tx buffer overflow (n=507)Jul 29 16:19:41 [kernel] printk: 10 messages suppressed.Jul 29 16:19:41 [kernel] async_wrap_skb(), tx buffer overflow (n=507)Jul 29 16:19:42 [kernel] BUG: scheduling while atomic: swapper/0x10000100/0Jul 29 16:19:42 [kernel] Call Trace:Jul 29 16:19:42 [kernel]  <IRQ>  [<ffffffff8130777d>]__sched_text_start+0x5d/0x834Jul 29 16:19:42 [kernel]  [<ffffffff810393f9>] autoremove_wake_function+0x9/0x30Jul 29 16:19:42 [kernel]  [<ffffffff8101c784>] __wake_up_common+0x44/0x80Jul 29 16:19:42 [kernel]  [<ffffffff8101ce23>] __wake_up+0x43/0x70Jul 29 16:19:42 [kernel]  [<ffffffff8804f250>]:irda:irlap_final_timer_expired+0x0/0x10Jul 29 16:19:42 [kernel]  [<ffffffff8101f52c>] __cond_resched+0x1c/0x50Jul 29 16:19:42 [kernel]  [<ffffffff8130806e>] cond_resched+0x2e/0x40Jul 29 16:19:42 [kernel]  [<ffffffff812721d6>] lock_sock_nested+0x16/0xe0Jul 29 16:19:42 [kernel]  [<ffffffff880501e4>] :irda:hashbin_remove+0xc4/0x120Jul 29 16:19:42 [kernel]  [<ffffffff8805028a>] :irda:hashbin_insert+0x4a/0x100Jul 29 16:19:42 [kernel]  [<ffffffff8804f250>]:irda:irlap_final_timer_expired+0x0/0x10Jul 29 16:19:42 [kernel]  [<ffffffff88056bca>]:irda:irda_disconnect_indication+0x4a/0xd0Jul 29 16:19:42 [kernel]  [<ffffffff8804a12c>] :irda:irlmp_state_dtr+0xdc/0x130Jul 29 16:19:42 [kernel]  [<ffffffff8804a61f>]:irda:irlmp_state_active+0x13f/0x170Jul 29 16:19:42 [kernel]  [<ffffffff8804c6e5>]:irda:irlap_state_nrm_p+0x4e5/0x5a0Jul 29 16:19:42 [kernel]  [<ffffffff8804f250>]:irda:irlap_final_timer_expired+0x0/0x10Jul 29 16:19:42 [kernel]  [<ffffffff8804bbfd>] :irda:irlap_do_event+0x3d/0x130Jul 29 16:19:42 [kernel]  [<ffffffff8804f250>]:irda:irlap_final_timer_expired+0x0/0x10Jul 29 16:19:42 [kernel]  [<ffffffff8102da71>] run_timer_softirq+0x141/0x1c0Jul 29 16:19:42 [kernel]  [<ffffffff81029d6f>] __do_softirq+0x5f/0xd0Jul 29 16:19:42 [kernel]  [<ffffffff8100ac5c>] call_softirq+0x1c/0x30Jul 29 16:19:42 [kernel]  [<ffffffff8100ca4c>] do_softirq+0x2c/0x90Jul 29 16:19:42 [kernel]  [<ffffffff81015d2e>]smp_apic_timer_interrupt+0x5e/0x80Jul 29 16:19:42 [kernel]  [<ffffffff81008da0>] default_idle+0x0/0x50                - Last output repeated twice -Jul 29 16:19:42 [kernel]  [<ffffffff8100a706>] apic_timer_interrupt+0x66/0x70Jul 29 16:19:42 [kernel]  <EOI>  [<ffffffff81008dc9>] default_idle+0x29/0x50Jul 29 16:19:42 [kernel]  [<ffffffff81008e4c>] cpu_idle+0x5c/0x80Jul 29 16:19:42 [kernel]  [<ffffffff81488745>] start_kernel+0x1c5/0x1d0Jul 29 16:19:42 [kernel]  [<ffffffff8148815a>] _sinittext+0x15a/0x160Jul 29 16:19:42 [kernel] Unable to handle kernel NULL pointerdereference at 0000000000000008 RIP:Jul 29 16:19:42 [kernel]  [<ffffffff88055f6a>]:irda:irda_recvmsg_stream+0x11a/0x300Jul 29 16:19:42 [kernel] PGD 4cd6a067 PUD 9f00067 PMD 0Jul 29 16:19:42 [kernel] CPU 0Jul 29 16:19:42 [kernel] Modules linked in: ksdazzle_sir kqemucdc_ether usbnet cdc_acm ipaq usbserial irda pppoatm usbhid speedtchusbatm ohci_hcdJul 29 16:19:42 [kernel] Pid: 20278, comm: obexftp Not tainted2.6.20-rc3-omap1balrog #0Jul 29 16:19:42 [kernel] RIP: 0010:[<ffffffff88055f6a>][<ffffffff88055f6a>] :irda:irda_recvmsg_stream+0x11a/0x300Jul 29 16:19:42 [kernel] Process obexftp (pid: 20278, threadinfoffff810045a34000, task ffff81006ce798b0)Jul 29 16:19:42 [kernel] Call Trace:Jul 29 16:19:42 [kernel]  [<ffffffff8101f4d0>] default_wake_function+0x0/0x10Jul 29 16:19:42 [kernel]  [<ffffffff88054154>]:irda:__lock_irda_stream_recvmsg+0x44/0x70Jul 29 16:19:42 [kernel]  [<ffffffff8126f5e2>] sock_aio_read+0x102/0x130Jul 29 16:19:42 [kernel]  [<ffffffff81069aef>] do_sync_read+0xcf/0x120Jul 29 16:19:42 [kernel]  [<ffffffff810393f0>] autoremove_wake_function+0x0/0x30Jul 29 16:19:42 [kernel]  [<ffffffff811909e3>] tty_ldisc_deref+0x63/0x80Jul 29 16:19:42 [kernel]  [<ffffffff811924cc>] tty_write+0x21c/0x250Jul 29 16:19:42 [kernel]  [<ffffffff8106a460>] vfs_read+0xd0/0x180Jul 29 16:19:42 [kernel]  [<ffffffff8106a963>] sys_read+0x53/0x90Jul 29 16:19:42 [kernel]  [<ffffffff81009b3e>] system_call+0x7e/0x83Jul 29 16:19:42 [kernel] Code: f0 0f ba 68 08 01 48 8b 7d 68 48 8d 7424 20 e8 22 37 fe f8Jul 29 16:19:42 [kernel] RIP  [<ffffffff88055f6a>]:irda:irda_recvmsg_stream+0x11a/0x300Jul 29 16:19:42 [kernel]  RSP <ffff810045a35c88>Jul 29 16:23:39 [kernel] IrLAP, no activity on link!                - Last output repeated 3 times -Jul 29 16:30:41 [kernel] usb 2-3: USB disconnect, address 9Jul 29 16:30:41 [kernel] drivers/net/irda/ksdazzle-sir.c:kingsun_rcv_irq: urb a synchronously failed - -108-------------------------------------------------------------------------This SF.net email is sponsored by: Splunk Inc.Still grepping through log files to find problems?  Stop.Now Search log events and configuration files using AJAX and a browser.Download your FREE copy of Splunk now >>  http://get.splunk.com/_______________________________________________Linux-usb-users@xxxxxxxxxxxxxxxxxxxxxxx unsubscribe, use the last form field at:https://lists.sourceforge.net/lists/listinfo/linux-usb-users

[Linux USB]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Video Projectors]     [PDAs]     [Free Online Dating]     [Hacking TiVo]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Devices]     [Big List of Linux Books]     [16.7MP]

Powered by Linux