HEADSUP: NDIS USB support to be merged soon

2008-12-22 Thread Weongyo Jeong
to port this from USB1 to USB2. regards, Weongyo Jeong ___ 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: HEADSUP: NDIS USB support to be merged soon

2008-12-24 Thread Weongyo Jeong
Linux Binary Compatibility are different. I'm not sure we can do it like what the linuxulator is doing. regards, Weongyo Jeong ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail

Re: HEADSUP: NDIS USB code has been committed

2008-12-27 Thread Weongyo Jeong
On Sat, Dec 27, 2008 at 06:36:56PM +0800, Ganbold wrote: Weongyo Jeong wrote: Hello, Just for information. The code for supporting NDIS USB drivers has been committed into HEAD. Please tell me if you encounter problems. Tried to compile kernel, but gives error. Is it related

Re: HEADSUP: urtw(4) to be committed soon

2009-01-20 Thread Weongyo Jeong
On Wed, Jan 21, 2009 at 02:38:18PM +0800, Kevin Lo wrote: Weongyo Jeong wrote: Hello, Hi Weongyo, I would like to commit urtw(4) driver for supporting Realtek's 8187L wireless chipset based on USB into HEAD by the end of the week if there are no objections. And the license of files

Re: USB support in NDIS -- IFF_NEEDSGIANT?

2009-02-16 Thread Weongyo Jeong
). regards, Weongyo Jeong ___ 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 support in NDIS -- IFF_NEEDSGIANT?

2009-03-16 Thread Weongyo Jeong
On Fri, Mar 13, 2009 at 11:37:57AM +, Robert Watson wrote: On Tue, 17 Feb 2009, Weongyo Jeong wrote: As you know, I've been gradually working to eliminate all non-MPSAFE network device driver infrastructure for 8.0, having removed non-MPSAFE network protocol infrastructure in 7.0

q: USB_SET_TIMEOUT in ugen.

2009-03-18 Thread Weongyo Jeong
writing some data into msg and data pipe there was no any response using read(2). The problem source can be found at:. http://perforce.freebsd.org/depotTreeBrowser.cgi?FSPC=//depot/user/weongyo/wireless/src/usr.sbin/uathloadHIDEDEL=NO Are there something I missed in here? regards, Weongyo

Re: q: USB_SET_TIMEOUT in ugen.

2009-03-18 Thread Weongyo Jeong
On Wed, Mar 18, 2009 at 08:52:47AM +0100, Hans Petter Selasky wrote: Hi, On Wednesday 18 March 2009, Weongyo Jeong wrote: Hello, During porting uath(4) to usb2 I found the following code failed to run: data = open(/dev/usb/0.2.2, O_WRONLY, 0); timeout = UATH_DATA_TIMEOUT

Re: q: USB_SET_TIMEOUT in ugen.

2009-03-18 Thread Weongyo Jeong
On Wed, Mar 18, 2009 at 02:54:17PM +0100, Hans Petter Selasky wrote: On Wednesday 18 March 2009, Weongyo Jeong wrote: On Wed, Mar 18, 2009 at 08:52:47AM +0100, Hans Petter Selasky wrote: Hi, On Wednesday 18 March 2009, Weongyo Jeong wrote: Hello, During porting uath(4

Re: q: USB_SET_TIMEOUT in ugen.

2009-03-19 Thread Weongyo Jeong
On Thu, Mar 19, 2009 at 09:01:23AM +0100, Hans Petter Selasky wrote: On Thursday 19 March 2009, Weongyo Jeong wrote: ugen_default_read_callback:384: actlen=0, aframes=0 ugen_default_read_callback:384: actlen=0, aframes=0 ugen_read_clear_stall_callback:477: f=0xc4d5b000: stall cleared One

Re: q: USB_SET_TIMEOUT in ugen.

2009-03-19 Thread Weongyo Jeong
On Thu, Mar 19, 2009 at 02:32:23PM +0100, Hans Petter Selasky wrote: Hi, On Thursday 19 March 2009, Weongyo Jeong wrote: On Thu, Mar 19, 2009 at 09:01:23AM +0100, Hans Petter Selasky wrote: On Thursday 19 March 2009, Weongyo Jeong wrote: ugen_default_read_callback:384: actlen=0

q: Memory modified after free in usb2

2009-03-25 Thread Weongyo Jeong
); ... uath_free_rx_data_list(sc); uath_free_tx_data_list(sc); uath_free_cmd_list(sc, sc-sc_cmd, UATH_CMD_LIST_COUNT); After adding it I couldn't see `Memory modified after free' messages anymore. My question is that I can't understand why adding usb2_pause_mtx() helps this symptom? regards, Weongyo Jeong

Re: q: Memory modified after free in usb2

2009-03-25 Thread Weongyo Jeong
On Wed, Mar 25, 2009 at 10:46:54AM +0100, Hans Petter Selasky wrote: On Wednesday 25 March 2009, Weongyo Jeong wrote: Hello Hans :), I think porting uath(4) to usb almost have done that it works well to associate with AP and for WPA but I'm suffered from a strange panic after detach

Re: q: Memory modified after free in usb2

2009-03-26 Thread Weongyo Jeong
On Wed, Mar 25, 2009 at 10:46:54AM +0100, Hans Petter Selasky wrote: On Wednesday 25 March 2009, Weongyo Jeong wrote: Hello Hans :), I think porting uath(4) to usb almost have done that it works well to associate with AP and for WPA but I'm suffered from a strange panic after detach

Re: q: Memory modified after free in usb2

2009-03-26 Thread Weongyo Jeong
On Thu, Mar 26, 2009 at 09:02:02AM +0100, Hans Petter Selasky wrote: On Thursday 26 March 2009, Weongyo Jeong wrote: On Wed, Mar 25, 2009 at 10:46:54AM +0100, Hans Petter Selasky wrote: To solve this problem I modified codes slightly like below: usb2_transfer_unsetup(sc-sc_xfer

q: a trivial question of usb2_transfer_unsetup()

2009-03-26 Thread Weongyo Jeong
Hello Hans, I have a simple question that is there a possibility for .mh.callback of usb2_config to be called after usb2_transfer_unsetup()? regards, Weongyo Jeong ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo

Re: USB_ERR_TIMEOUT and USB_ERR_STALLED

2010-10-23 Thread Weongyo Jeong
traffic. It's merged into HEAD not too lately. :-) regards, Weongyo Jeong ___ 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_ERR_TIMEOUT and USB_ERR_STALLED

2010-10-25 Thread Weongyo Jeong
On Mon, Oct 25, 2010 at 10:16:00AM +0400, Boris Samorodov wrote: On Sat, 23 Oct 2010 16:49:59 -0700 Weongyo Jeong wrote: On Thu, Oct 21, 2010 at 10:56:12PM +0200, Hans Petter Selasky wrote: Weongyo is working on a usbdump utility to monitor ongoing USB traffic. It's merged into HEAD

[CFR] add usb_sleepout.[ch]

2010-10-30 Thread Weongyo Jeong
process context it operates USB commands that most of times it'd be blocked at least 125 us (it'd be always true for USB) In a view of driver developer it'd be more convenient if USB stack has a feature like this (timer supporting blocking). regards, Weongyo Jeong Index: usb_sleepout.c

[CFR 2/n] removes uther dependency of aue(4)

2010-10-31 Thread Weongyo Jeong
for each ethernet devices are linux-style `ue[0-9]+'. The naming rule would be kept at STABLE_8 but not sure at STABLE_9. If no objections I'd like to see this patch at HEAD. regards, Weongyo Jeong Index: usb_ethernet.c

[CFR 3/n] removes uther dependency of axe(4)

2010-10-31 Thread Weongyo Jeong
Hello, As one of patch series it's for patching axe(4) without dependency of uether module. The change log would be almost same like the previous patch log. regards, Weongyo Jeong Index: if_axereg.h === --- if_axereg.h (revision

[CFR 4/n] removes uether dependency of cdce(4)

2010-10-31 Thread Weongyo Jeong
and parentheses. Please reviews. regards, Weongyo Jeong Index: if_cdce.c === --- if_cdce.c (revision 214604) +++ if_cdce.c (working copy) @@ -61,6 +61,8 @@ __FBSDID($FreeBSD$); #include sys/lock.h #include sys/mutex.h #include sys

Re: [CFR] add usb_sleepout.[ch]

2010-10-31 Thread Weongyo Jeong
On Sun, Oct 31, 2010 at 03:09:49PM +0100, Hans Petter Selasky wrote: On Sunday 31 October 2010 01:19:01 Weongyo Jeong wrote: Hello USB guys, The following patch is to add a implementation, called `sleepout'. Please reviews. I'd like to commit it into HEAD if no objections. Adds

Re: [CFR 2-3/n] removes uther dependency of axe(4)

2010-11-01 Thread Weongyo Jeong
On Mon, Nov 01, 2010 at 09:30:25AM +0100, Hans Petter Selasky wrote: On Sunday 31 October 2010 23:43:04 Weongyo Jeong wrote: +static void +axe_watchdog(void *arg) +{ + struct axe_softc *sc = arg; + struct ifnet *ifp = sc-sc_ifp; + + if ((ifp-if_drv_flags

Re: [CFR] add usb_sleepout.[ch]

2010-11-01 Thread Weongyo Jeong
On Mon, Nov 01, 2010 at 09:10:43AM +0100, Hans Petter Selasky wrote: On Monday 01 November 2010 03:03:48 Weongyo Jeong wrote: On Sun, Oct 31, 2010 at 03:09:49PM +0100, Hans Petter Selasky wrote: On Sunday 31 October 2010 01:19:01 Weongyo Jeong wrote: Hello USB guys, 1) All

Re: [RFC] Outline of USB process integration in the kernel taskqueue system

2010-11-06 Thread Weongyo Jeong
which enqueued at last should be executed at last. It seems that at least it's not a general for taskqueue(9). In my humble opinion it looks a trick. I think it'd better to find a general solution to solve it though I used sx(9) lock in my patches. regards, Weongyo Jeong

Re: [RFC] USBdump patches

2010-11-23 Thread Weongyo Jeong
and multiple patches are mixed into one. Please separate into smallest pieces then send freebsd-usb@ again. I don't want to do a jumbo jump. regards, Weongyo Jeong ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo

Re: [RFC] USBdump patches

2010-11-23 Thread Weongyo Jeong
that what BPF should cover. I agreed with that BPF is for ethernet packet filtering but could not make sure myself that BPF could cover USB packets. Please tell me your opinion if you guys have better approach. regards, Weongyo Jeong ___ freebsd-usb

Re: [RFC] USBdump patches

2010-11-23 Thread Weongyo Jeong
On Tue, Nov 23, 2010 at 07:36:47PM -0500, Jung-uk Kim wrote: On Tuesday 23 November 2010 07:18 pm, Weongyo Jeong wrote: On Tue, Nov 23, 2010 at 06:52:36PM -0500, Jung-uk Kim wrote: On Tuesday 23 November 2010 06:31 pm, Jung-uk Kim wrote: [CC sanitized] On Tuesday 23 November 2010

Re: [RFC] USBdump patches

2010-11-23 Thread Weongyo Jeong
On Wed, Nov 24, 2010 at 01:59:47PM +1300, Andrew Thompson wrote: On 24 November 2010 13:36, Jung-uk Kim j...@freebsd.org wrote: On Tuesday 23 November 2010 07:18 pm, Weongyo Jeong wrote:    - BPF was normally for ethernet frames (most operations were based on mbuf including the machine

Re: [RFC] USBdump patches

2010-11-23 Thread Weongyo Jeong
On Wed, Nov 24, 2010 at 01:59:47PM +1300, Andrew Thompson wrote: On 24 November 2010 13:36, Jung-uk Kim j...@freebsd.org wrote: On Tuesday 23 November 2010 07:18 pm, Weongyo Jeong wrote:    - BPF was normally for ethernet frames (most operations were based on mbuf including the machine

Re: [RFC] USBdump patches

2010-11-24 Thread Weongyo Jeong
On Wed, Nov 24, 2010 at 07:35:30PM +1300, Andrew Thompson wrote: On 24 November 2010 18:46, Weongyo Jeong weongyo.je...@gmail.com wrote: On Wed, Nov 24, 2010 at 01:59:47PM +1300, Andrew Thompson wrote: On 24 November 2010 13:36, Jung-uk Kim j...@freebsd.org wrote: On Tuesday 23 November