Re: usb/149283: avrdude unable to talk to Arduino board (via uftdi)
The following reply was made to PR usb/149283; it has been noted by GNATS. From: Marcin Cieslak sa...@saper.info To: Hans Petter Selasky hsela...@c2i.net Cc: freebsd-usb@freebsd.org, freebsd-gnats-sub...@freebsd.org Subject: Re: usb/149283: avrdude unable to talk to Arduino board (via uftdi) Date: Thu, 5 Aug 2010 09:35:10 + On Wed, 4 Aug 2010, Hans Petter Selasky wrote: You can try to comment out: /* clear stall at first run */ mtx_lock(sc-sc_mtx); usbd_xfer_set_stall(sc-sc_xfer[UFTDI_BULK_DT_WR]); usbd_xfer_set_stall(sc-sc_xfer[UFTDI_BULK_DT_RD]); mtx_unlock(sc-sc_mtx); In uftdi_attach in sys/dev/usb/serial/uftdi.c. That did not fix it ... --Marcin ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org
Re: suspend/resume and the freebsd usb stack
On Fri, 30 Jul 2010, Hans Petter Selasky wrote: On Friday 30 July 2010 16:53:22 b. f. wrote: Are these criticisms of suspend/resume for the usb stack justified?: http://lists.freebsd.org/pipermail/svn-src-head/2010-July/018974.html If so, are there any plans to fix the problem(s)? Regards, b. Hi, Suspend and resume has not been too much tested! Some part is done in the BIOS, the other part is done in the OS. You can try doing a detach instead of a suspend, and an attach instead of a resume. Do you mean doing what you often used to have to do with the old usb stack, at least on some laptops, that is kldunload usb before suspend and kldload usb after resume, in /etc/rc.{suspend,resume} respectively? If so, how would that go if (eg) you had a USB stick or external drive mounted? And with usb in kernel, I guess you can't unload it anyway? I know doing that used to cause panics, but admit not having tried it more recently, except one suspend/resume (default rc.{suspend,resume}) from the Fixit shell booted from the 8.1-RELEASE-i386-memstick.img the other night, where I got I/O read errors on commands, that ceased after removing/reinserting the mounted stick (which WAS quite encouraging :) If not, what/how do you mean by detach and attach here? Patches are welcome! First don't we need to describe just what the problems really are? cheers, Ian ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org
Re: usb/149287: Re: avrdude unable to talk to Arduino board (via uftdi)
Synopsis: Re: avrdude unable to talk to Arduino board (via uftdi) State-Changed-From-To: open-closed State-Changed-By: linimon State-Changed-When: Thu Aug 5 14:20:03 UTC 2010 State-Changed-Why: Misfiled followup to usb/149283; content migrated. Responsible-Changed-From-To: gnats-admin-freebsd-usb Responsible-Changed-By: linimon Responsible-Changed-When: Thu Aug 5 14:20:03 UTC 2010 Responsible-Changed-Why: http://www.freebsd.org/cgi/query-pr.cgi?pr=149287 ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org
Re: usb/149289: Re: avrdude unable to talk to Arduino board (via uftdi)
Synopsis: Re: avrdude unable to talk to Arduino board (via uftdi) State-Changed-From-To: open-closed State-Changed-By: linimon State-Changed-When: Thu Aug 5 14:20:03 UTC 2010 State-Changed-Why: Misfiled followup to usb/149283; content migrated. Responsible-Changed-From-To: gnats-admin-freebsd-usb Responsible-Changed-By: linimon Responsible-Changed-When: Thu Aug 5 14:20:03 UTC 2010 Responsible-Changed-Why: http://www.freebsd.org/cgi/query-pr.cgi?pr=149289 ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org
Re: usb/149291: Re: avrdude unable to talk to Arduino board (via uftdi)
Synopsis: Re: avrdude unable to talk to Arduino board (via uftdi) State-Changed-From-To: open-closed State-Changed-By: linimon State-Changed-When: Thu Aug 5 14:20:03 UTC 2010 State-Changed-Why: Misfiled followup to usb/149283; content migrated. Responsible-Changed-From-To: gnats-admin-freebsd-usb Responsible-Changed-By: linimon Responsible-Changed-When: Thu Aug 5 14:20:03 UTC 2010 Responsible-Changed-Why: http://www.freebsd.org/cgi/query-pr.cgi?pr=149291 ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org
Re: usb/149292: Re: avrdude unable to talk to Arduino board (via uftdi)
Synopsis: Re: avrdude unable to talk to Arduino board (via uftdi) State-Changed-From-To: open-closed State-Changed-By: linimon State-Changed-When: Thu Aug 5 14:20:03 UTC 2010 State-Changed-Why: Misfiled followup to usb/149283; content migrated. Responsible-Changed-From-To: gnats-admin-freebsd-usb Responsible-Changed-By: linimon Responsible-Changed-When: Thu Aug 5 14:20:03 UTC 2010 Responsible-Changed-Why: http://www.freebsd.org/cgi/query-pr.cgi?pr=149292 ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org
Re: usb/149294: Re: avrdude unable to talk to Arduino board (via uftdi)
Synopsis: Re: avrdude unable to talk to Arduino board (via uftdi) State-Changed-From-To: open-closed State-Changed-By: linimon State-Changed-When: Thu Aug 5 14:20:03 UTC 2010 State-Changed-Why: Misfiled followup to usb/149283; content migrated. Responsible-Changed-From-To: gnats-admin-freebsd-usb Responsible-Changed-By: linimon Responsible-Changed-When: Thu Aug 5 14:20:03 UTC 2010 Responsible-Changed-Why: http://www.freebsd.org/cgi/query-pr.cgi?pr=149294 ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org
Re: usb/149296: Re: avrdude unable to talk to Arduino board (via uftdi)
Synopsis: Re: avrdude unable to talk to Arduino board (via uftdi) State-Changed-From-To: open-closed State-Changed-By: linimon State-Changed-When: Thu Aug 5 14:20:03 UTC 2010 State-Changed-Why: Misfiled followup to usb/149283; content migrated. Responsible-Changed-From-To: gnats-admin-freebsd-usb Responsible-Changed-By: linimon Responsible-Changed-When: Thu Aug 5 14:20:03 UTC 2010 Responsible-Changed-Why: http://www.freebsd.org/cgi/query-pr.cgi?pr=149296 ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org
Re: usb/149298: Re: avrdude unable to talk to Arduino board (via uftdi)
Synopsis: Re: avrdude unable to talk to Arduino board (via uftdi) State-Changed-From-To: open-closed State-Changed-By: linimon State-Changed-When: Thu Aug 5 14:20:03 UTC 2010 State-Changed-Why: Misfiled followup to usb/149283; content migrated. Responsible-Changed-From-To: gnats-admin-freebsd-usb Responsible-Changed-By: linimon Responsible-Changed-When: Thu Aug 5 14:20:03 UTC 2010 Responsible-Changed-Why: http://www.freebsd.org/cgi/query-pr.cgi?pr=149298 ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org
Re: usb/149301: Re: avrdude unable to talk to Arduino board (via uftdi)
Synopsis: Re: avrdude unable to talk to Arduino board (via uftdi) State-Changed-From-To: open-closed State-Changed-By: linimon State-Changed-When: Thu Aug 5 14:20:03 UTC 2010 State-Changed-Why: Misfiled followup to usb/149283; content migrated. Responsible-Changed-From-To: gnats-admin-freebsd-usb Responsible-Changed-By: linimon Responsible-Changed-When: Thu Aug 5 14:20:03 UTC 2010 Responsible-Changed-Why: http://www.freebsd.org/cgi/query-pr.cgi?pr=149301 ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org
Re: usb/149162: ASUS WL-167g doesn't work in 8.1 (continue of 149058)
On Tue, 3 Aug 2010 17:50:45 +0200, Hans Petter Selasky hsela...@c2i.net wrote: Hi, Actually, my intention was to get you into the kernel debugger and not the userland debugger. Maybe you have some missing keywords in your kernel config. Try google. When setup correctly, CTRL+ALT+ESC should get you into the kernel debugger. That means you should exit X11 before typing this sequence. When in the kernel debugger, try to dump all threads. Look for function names that contain the word ural. Write down brief stack backtrace. Hello. I found very strange behavior. тot for nothing that I work for a tester :) http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug-online-ddb.html - Here I found how to use kernel debugger (Ctrl+Alt+Esc). I added to my config-file next strings: options KDB options DDB options KDB_UNATTENDED options BREAK_TO_DEBUGGER I did the rebuild of kernel, installed it, rebooted the PC. After reboot I typed into console ifconfig wlan0 create wlandev ural0 and ifconfig didn't hangs. Device wlan0 was successfully created. I commented this 4 strings -- ifconfig hangs, wlan0 wasn't created. It's very strange :) Now I'll rebuild kernel with this parameters, read man ifconfig and try to make workable wireless lan. I shall write you results. Thanks. Best regards, Bukreev Alexey ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org
Re: usb/149162: ASUS WL-167g doesn't work in 8.1 (continue of 149058)
The following reply was made to PR usb/149162; it has been noted by GNATS. From: le...@lepis.net.ru To: Hans Petter Selasky hsela...@c2i.net Cc: freebsd-usb@freebsd.org, freebsd-gnats-sub...@freebsd.org Subject: Re: usb/149162: ASUS WL-167g doesn't work in 8.1 (continue of 149058) Date: Fri, 06 Aug 2010 00:50:04 +0400 On Tue, 3 Aug 2010 17:50:45 +0200, Hans Petter Selasky hsela...@c2i.net wrote: Hi, Actually, my intention was to get you into the kernel debugger and not the userland debugger. Maybe you have some missing keywords in your kernel config. Try google. When setup correctly, CTRL+ALT+ESC should get you into the kernel debugger. That means you should exit X11 before typing this sequence. When in the kernel debugger, try to dump all threads. Look for function names that contain the word ural. Write down brief stack backtrace. Hello. I found very strange behavior. Ñot for nothing that I work for a tester :) http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug-online-ddb.html - Here I found how to use kernel debugger (Ctrl+Alt+Esc). I added to my config-file next strings: options KDB options DDB options KDB_UNATTENDED options BREAK_TO_DEBUGGER I did the rebuild of kernel, installed it, rebooted the PC. After reboot I typed into console ifconfig wlan0 create wlandev ural0 and ifconfig didn't hangs. Device wlan0 was successfully created. I commented this 4 strings -- ifconfig hangs, wlan0 wasn't created. It's very strange :) Now I'll rebuild kernel with this parameters, read man ifconfig and try to make workable wireless lan. I shall write you results. Thanks. Best regards, Bukreev Alexey ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org
Re: usb/149162: ASUS WL-167g doesn't work in 8.1 (continue of 149058)
On Thursday 05 August 2010 23:10:11 le...@lepis.net.ru wrote: options KDB_UNATTENDED This option you don't need. --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org
Re: usb/149162: ASUS WL-167g doesn't work in 8.1 (continue of 149058)
On Thu, 5 Aug 2010 23:23:18 +0200, Hans Petter Selasky hsela...@c2i.net wrote: On Thursday 05 August 2010 23:10:11 le...@lepis.net.ru wrote: options KDB_UNATTENDED This option you don't need. --HPS Hans, I tried to configure wlan0 as a access point, but all my tries was failed. When I type ifconfig wlan0 mediaopt hostap I get message SIOCSFMEDIA (media): device not configured. I type ifconfig -m wlan0 and see this: wlan0: flags=8802BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 1500 ether 00:17:31:eb:9e:e7 media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) status: no carrier supported media: media OFDM/54Mbps mode autoselect media OFDM/48Mbps mode autoselect media OFDM/36Mbps mode autoselect media OFDM/24Mbps mode autoselect media OFDM/18Mbps mode autoselect media OFDM/12Mbps mode autoselect media OFDM/9Mbps mode autoselect media OFDM/6Mbps mode autoselect media DS/11Mbps mode autoselect media DS/5.5Mbps mode autoselect media DS/2Mbps mode autoselect media DS/1Mbps mode autoselect media OFDM/54Mbps mode 11g media OFDM/48Mbps mode 11g media OFDM/36Mbps mode 11g media OFDM/24Mbps mode 11g media OFDM/18Mbps mode 11g media OFDM/12Mbps mode 11g media OFDM/9Mbps mode 11g media OFDM/6Mbps mode 11g media DS/11Mbps mode 11g media DS/5.5Mbps mode 11g media DS/2Mbps mode 11g media DS/1Mbps mode 11g media autoselect mode 11g media DS/11Mbps mode 11b media DS/5.5Mbps mode 11b media DS/2Mbps mode 11b media DS/1Mbps mode 11b media autoselect mode 11b media autoselect mode autoselect ssid channel 1 (2412 MHz 11b) country US authmode OPEN privacy OFF txpower 0 bmiss 7 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 1 bintval 0 After that I type ifconfig -m ural0 and see this: ural0: flags=8802BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 2290 ether 00:17:31:eb:9e:e7 media: IEEE 802.11 Wireless Ethernet autoselect adhoc (autoselect) status: no carrier supported media: media OFDM/54Mbps mode autoselect mediaopt monitor media OFDM/54Mbps mode autoselect mediaopt hostap media OFDM/54Mbps mode autoselect mediaopt adhoc media OFDM/54Mbps mode autoselect media OFDM/48Mbps mode autoselect mediaopt monitor media OFDM/48Mbps mode autoselect mediaopt hostap media OFDM/48Mbps mode autoselect mediaopt adhoc media OFDM/48Mbps mode autoselect media OFDM/36Mbps mode autoselect mediaopt monitor media OFDM/36Mbps mode autoselect mediaopt hostap media OFDM/36Mbps mode autoselect mediaopt adhoc media OFDM/36Mbps mode autoselect media OFDM/24Mbps mode autoselect mediaopt monitor media OFDM/24Mbps mode autoselect mediaopt hostap media OFDM/24Mbps mode autoselect mediaopt adhoc media OFDM/24Mbps mode autoselect media OFDM/18Mbps mode autoselect mediaopt monitor media OFDM/18Mbps mode autoselect mediaopt hostap media OFDM/18Mbps mode autoselect mediaopt adhoc media OFDM/18Mbps mode autoselect media OFDM/12Mbps mode autoselect mediaopt monitor media OFDM/12Mbps mode autoselect mediaopt hostap media OFDM/12Mbps mode autoselect mediaopt adhoc media OFDM/12Mbps mode autoselect media OFDM/9Mbps mode autoselect mediaopt monitor media OFDM/9Mbps mode autoselect mediaopt hostap media OFDM/9Mbps mode autoselect mediaopt adhoc media OFDM/9Mbps mode autoselect media OFDM/6Mbps mode autoselect mediaopt monitor media OFDM/6Mbps mode autoselect mediaopt hostap media OFDM/6Mbps mode autoselect mediaopt adhoc media OFDM/6Mbps mode autoselect media DS/11Mbps mode autoselect mediaopt monitor media DS/11Mbps mode autoselect mediaopt hostap media DS/11Mbps mode autoselect mediaopt adhoc media DS/11Mbps mode autoselect media DS/5.5Mbps mode autoselect mediaopt monitor media DS/5.5Mbps mode autoselect mediaopt hostap media DS/5.5Mbps mode autoselect mediaopt adhoc media DS/5.5Mbps mode autoselect
Re: usb/149162: ASUS WL-167g doesn't work in 8.1 (continue of 149058)
On Thursday 05 August 2010 23:55:56 le...@lepis.net.ru wrote: On Thu, 5 Aug 2010 23:23:18 +0200, Hans Petter Selasky hsela...@c2i.net wrote: On Thursday 05 August 2010 23:10:11 le...@lepis.net.ru wrote: options KDB_UNATTENDED This option you don't need. --HPS Now I'll try to update kernel sources and rebuild world and kernel. I hope update should help me. Sounds like a good idea. --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org
Re: usb/149162: ASUS WL-167g doesn't work in 8.1 (continue of 149058)
On 06.08.2010 2:09, Hans Petter Selasky wrote: Now I'll try to update kernel sources and rebuild world and kernel. I hope update should help me. Sounds like a good idea. I updated, did rebuild and installed world and kernel - wlan0 don't have hostap Hans, how do you think, will wlan0 have hostap if I change wi-fi card? I have PCI card DLink DWL-G510 rev.C on another PC (ral driver). As I recall this card does not work on FreeBSD 7.2 - it loses signal strength. -- С уважением, Букреев Алексей +7(926) 249-90-25 http://lepisgame.net.ru ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org