Re: USB_ERR_TIMEOUT and USB_ERR_STALLED

2010-10-23 Thread Weongyo Jeong
HOST spd=LOW (1.5Mbps) pwr=ON > > ugen3.10: > Conversion> at usbus3, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON > > ugen3.11: > Conversion> at usbus3, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON > > > > > > This is with a kernel from Oct 4th, i386. Any idea what

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 ongoi

[CFR] add usb_sleepout.[ch]

2010-10-30 Thread Weongyo Jeong
t. 2. In the USB 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, W

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

2010-10-31 Thread Weongyo Jeong
rface names 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 Jeo

[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 (rev

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

2010-10-31 Thread Weongyo Jeong
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 #include #include +#include

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

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-&g

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: >

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

2010-11-06 Thread Weongyo Jeong
patch looks almost you moved usb_process.c code into taskqueue(9) that I means it still follows that a entry 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 f

Re: [RFC] USBdump patches

2010-11-23 Thread Weongyo Jeong
usb_pf > > usbdump -d -1 -vvv > > man usbdump NACK. You already could recognize that the patch is quite big 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, Weon

Re: [RFC] USBdump patches

2010-11-23 Thread Weongyo Jeong
x27;t compatible. - Just making the patch for BPF code, it looked like a trick or a hack to me because I couldn't define what BPF should be. - I could not define BPF exactly myself that what BPF should cover. I agreed with that BPF is for ethernet packet filter

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

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 wrote: > > On Tuesday 23 November 2010 07:18 pm, Weongyo Jeong wrote: > >>    - BPF was normally for ethernet frames (most operations were > >> based on mbuf inclu

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 wrote: > > On Tuesday 23 November 2010 07:18 pm, Weongyo Jeong wrote: > >>    - BPF was normally for ethernet frames (most operations were > >> based on mbuf inclu

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 wrote: > > On Wed, Nov 24, 2010 at 01:59:47PM +1300, Andrew Thompson wrote: > >> On 24 November 2010 13:36, Jung-uk Kim wrote: > >> > On Tuesday 23 Novembe

HEADSUP: NDIS USB support to be merged soon

2008-12-22 Thread Weongyo Jeong
king for a person 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
u please elaborate it? IIRC NDIS's approach to support Windows Binary and a approach to support Linux Binary Compatibility are different. I'm not sure we can do it like what the linuxulator is doing. regards, Weongyo Jeong ___ freebsd

HEADSUP: NDIS USB code has been committed

2008-12-27 Thread Weongyo Jeong
Hello, Just for information. The code for supporting NDIS USB drivers has been committed into HEAD. Please tell me if you encounter problems. regards, Weongyo Jeong ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo

Re: HEADSUP: NDIS USB code has been committed

2008-12-27 Thread Weongyo Jeong
On Sat, Dec 27, 2008 at 02:09:37AM -0800, Julian Elischer 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. > > > >r

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 co

HEADSUP: urtw(4) to be committed soon

2009-01-19 Thread Weongyo Jeong
yright (c) 2008 Weongyo Jeong * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS"

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 th

Re: USB support in NDIS -- IFF_NEEDSGIANT?

2009-02-16 Thread Weongyo Jeong
hat still require > IFF_NEEDSGIANT some time before 8.0, probably starting with disabling them > from the build in about 2-3 weeks). 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-15 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 >

q: USB_SET_TIMEOUT in ugen.

2009-03-18 Thread Weongyo Jeong
here something I missed in here? 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: 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("/d

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

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=0xc4

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: > > >

q: Memory modified after free in usb2

2009-03-25 Thread Weongyo Jeong
2_pause_mtx(NULL, 5 * hz); ... 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() h

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 suf

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 suf

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 c

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