I had a problem with official + community driver zd1211b running on: Linux Cirrus 2.6.18-gentoo-r1 #14 Tue Nov 7 20:32:39 CET 2006 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.20GHz GenuineIntel GNU/Linux
After plugging: ZD1211B - http://zd1211.ath.cx/ - r83 Based on www.zydas.com.tw driver version 2.5.0.0 usbcore: registered new driver zd1211b usb 1-1: new full speed USB device using uhci_hcd and address 6 usb 1-1: configuration #1 chosen from 1 choice ieee80211_crypt: registered algorithm 'NULL' ieee80211: 802.11 data/management/control stack, git-1.1.13 ieee80211: Copyright (C) 2004-2005 Intel Corporation <[EMAIL PROTECTED]> usb 1-1: reset full speed USB device using uhci_hcd and address 6 Release Ver = 4810 zd1211:bulk out: wMaxPacketSize = 40 zd1211:bulk in: wMaxPacketSize = 40 zd1211:interrupt in: wMaxPacketSize = 40 zd1211:interrupt in: int_interval = 1 zd1211:bulk out: wMaxPacketSize = 40 EEPORM Ver = 4810 zd1211:USB Download Boot code success zd1211: failed intr_urb zd1211:USB ST Code = -22 zd1211b: probe of 1-1:1.0 failed with error -5 -22 is returned by SUBMIT_URB, which equals to EINTVAL or sth; according to Documentation/usb/* it means wrong interval... Ekhm. I've modified code a bit: //#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)) usb_fill_int_urb(macp->intr_urb, macp->usb, usb_rcvintpipe(macp->usb, EP_INT_IN), macp->IntEPBuffer, MAX_EPINT_BUFFER, zd1211_intr_cb, macp, macp->in_interval); //#else //fake it #if 0 usb_fill_bulk_urb(macp->intr_urb, macp->usb, usb_rcvbulkpipe(macp->usb, EP_INT_IN), macp->IntEPBuffer, MAX_EPINT_BUFFER, zd1211_intr_cb, macp); #endif (...) if ((res = SUBMIT_URB(macp->intr_urb, GFP_KERNEL))) { printk(KERN_ERR "zd1211: failed intr_urb\n"); zd1211_DumpErrorCode(macp, res); return false; } So the code for kernels < 2,5,0 is called instead of this "fake"... But it helped: usbcore: deregistering driver zd1211b ZD1211B - http://zd1211.ath.cx/ - r83 Based on www.zydas.com.tw driver version 2.5.0.0 usbcore: registered new driver zd1211b usb 1-1: new full speed USB device using uhci_hcd and address 7 usb 1-1: configuration #1 chosen from 1 choice usb 1-1: reset full speed USB device using uhci_hcd and address 7 Release Ver = 4810 zd1211:bulk out: wMaxPacketSize = 40 zd1211:bulk in: wMaxPacketSize = 40 zd1211:interrupt in: wMaxPacketSize = 40 zd1211:interrupt in: int_interval = 1 zd1211:bulk out: wMaxPacketSize = 40 EEPORM Ver = 4810 zd1211:USB Download Boot code success zd1211:MAC address = 00:60:b3:44:1e:8e zd1211:AddrEntryTable = f7c6 zd1211:RF_Mode = 00000184 PA type: 0 Airoha AL2230S_RF zd1211:Pure B-Mode zd1211:AllowedChannel = 000007ff zd1211:LinkLEDn = 200 AllowedChannel = 000107ff Region:48 zd1205: (exit) zd1205_config, /root/zd1211-driver-r83/src/zd1205.c line 2601 zd1205: (exit) zd1205_init, /root/zd1211-driver-r83/src/zd1205.c line 8570 It at least performed scanning. I will try sth more on monday. Hope I helped somehow. I can give more details if you like. -- View this message in context: http://www.nabble.com/Problems-with-zd1211b-%28with-some-dirty-solution%29-tf2656874.html#a7410960 Sent from the zd1211-devs mailing list archive at Nabble.com. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Zd1211-devs mailing list - http://zd1211.ath.cx/ Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs