On Wed, Nov 05, 2008 at 12:05:47AM +0100, Lars Engels wrote:
On Wed, Nov 05, 2008 at 12:04:02AM +0100, Lars Engels wrote:
Now I just removed everything but usb2_core from the kernel config and
load the modules manually. So far it runs pretty good.
Mounting a umass device, removing
Giant.
BTW: It should be trivial to remove Giant from the drivers. I think Andrew
Thompson has already done some drivers Giant-free.
Its just a mechanical change, it works fine for the couple of driver I
have converted.
Andrew
___
freebsd-usb
Hi,
I have several patches in my svn user branch that I would like to see
committed to HEAD. Some of these change the usb2 core code so I am
interested in feedback or shootdowns. I am right behind the change to
USB2 and this is an effort to help.
The patch can be found here,
On Sun, Feb 01, 2009 at 12:20:17PM +0100, Hans Petter Selasky wrote:
Hi Andrew,
We need to go through your patches together, to work out some issues.
1) A nit.
- if (usb2_proc_setup(ssc-sc_config_td, p_mtx, USB_PRI_MED)) {
- usb2_com_units_free(root_unit, sub_units);
-
On Sun, Feb 01, 2009 at 07:22:15PM +0100, Hans Petter Selasky wrote:
Hi Andrew,
3)
In general avoid more than a few synchronous USB transfer inside
attach/detach. Always defer! Else there are corner cases where the device
can hang waiting for the transfer timeout 1-5 seconds for
On Sun, Feb 01, 2009 at 08:01:05PM +0100, Hans Petter Selasky wrote:
Hi Andrew,
Regarding using taskqueues.
Yes - USB2 can use taskqueues, but I would very much like to have the
original
queueing mechanism intact.
Can you explain this further? What is t0 vs t1?
A taskqueue will
On Sun, Feb 01, 2009 at 07:22:15PM +0100, Hans Petter Selasky wrote:
If you compare the old USB code with the new USB code for if_zyd for example
you see that there are dozens of error checks everywhere:
if (error != 0)
goto fail;
In the new USB code I've factored out all those
On Sun, Feb 01, 2009 at 08:31:55PM +0100, Hans Petter Selasky wrote:
On Sunday 01 February 2009, Andrew Thompson wrote:
On Sun, Feb 01, 2009 at 08:01:05PM +0100, Hans Petter Selasky wrote:
Hi Andrew,
Regarding using taskqueues.
Yes - USB2 can use taskqueues, but I would very much
On Sun, Feb 01, 2009 at 07:38:47PM +0100, Hans Petter Selasky wrote:
On Sunday 01 February 2009, M. Warner Losh wrote:
In message: 200902011922.16810.hsela...@c2i.net
Hans Petter Selasky hsela...@c2i.net writes:
: In your patch you remove all error checking! If the taskqueue
On Wed, Feb 04, 2009 at 05:33:22PM +0100, Hans Petter Selasky wrote:
Hi,
On Wednesday 04 February 2009, M. Warner Losh wrote:
Why the change?
Because u3g2.c is attaching to an USB interface and not the whole USB device.
This is to allow other drivers to hook on the other interfaces.
On Sun, Feb 08, 2009 at 06:48:39PM +0100, Remko Lodder wrote:
On Sun, February 8, 2009 6:21 am, Alfred Perlstein wrote:
* Maxim Sobolev sobo...@freebsd.org [090206 01:50] wrote:
Alfred Perlstein wrote:
- Update GENERIC to use usb2 device names.
Wasn't there a plan to rename usb2
On Mon, Feb 09, 2009 at 11:20:42AM -0800, Garrett Cooper wrote:
On Mon, Feb 9, 2009 at 12:16 AM, Hans Petter Selasky hsela...@c2i.net wrote:
On Monday 09 February 2009, Garrett Cooper wrote:
Hi Hans,
I was just preparing to test out the usb2 changes and I noted that
one option in my
On Mon, Feb 09, 2009 at 11:58:28AM -0800, Andrew Thompson wrote:
On Mon, Feb 09, 2009 at 11:20:42AM -0800, Garrett Cooper wrote:
On Mon, Feb 9, 2009 at 12:16 AM, Hans Petter Selasky hsela...@c2i.net
wrote:
On Monday 09 February 2009, Garrett Cooper wrote:
Hi Hans,
I was just
On Thu, Feb 12, 2009 at 12:42:51PM +0900, Pyun YongHyeon wrote:
I have the same USB controller and latest CURRENT works.
axe0: ASIX Electronics AX88178, rev 2.00/0.01, addr 4 on usbus1
axe0: PHYADDR 0xe0:0x18
miibus2: MII bus on axe0
ciphy0: Cicada VSC8211 10/100/1000TX PHY PHY 24
On Wed, Feb 11, 2009 at 10:00:45AM +0100, Hans Petter Selasky wrote:
On Tuesday 10 February 2009, Thomas Sparrevohn wrote:
Reintroduced panics when the device is used heavily - it also reports the
needs callback in dmesg - Unless this is known I can post a dmesg
Hi Thomas,
Andrew
Hi,
The GENERIC kernels for all architectures now default to the new USB2 stack. No
kernel config options or code have been removed so if a problem arises please
report it and optionally revert to the old USB stack.
IMPORTANT NOTES:
1. If you are loading USB kernel modules then ensure that
On Mon, Feb 16, 2009 at 11:30:18AM +0100, Hans Petter Selasky wrote:
On Monday 16 February 2009, Noriyoshi Kawano wrote:
-LIBUSB_ETIMEDOUT
The following patch to libusb20 should resolve your problem:
http://perforce.freebsd.org/chv.cgi?CH=157783
And now in HEAD as at r188678.
On Mon, Feb 16, 2009 at 11:33:18AM +, Robert Watson wrote:
Dear all:
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. In reviewing remaining drivers
On Sun, Feb 15, 2009 at 02:34:28PM -0800, Andrew Thompson wrote:
Hi,
The GENERIC kernels for all architectures now default to the new USB2 stack.
No
kernel config options or code have been removed so if a problem arises please
report it and optionally revert to the old USB stack
On Tue, Feb 17, 2009 at 03:05:01AM +0900, Munehiro Matsuda wrote:
::5. Some people have noted that the latest xorg 7.4 requires the hal
::daemon to enumerate the input devices. hal does not (yet) work with USB2
::so if you find that the keyboard/mouse are not working in X then try
::adding the
On Tue, Feb 17, 2009 at 08:54:24AM -0700, M. Warner Losh wrote:
In message: 200902170856.11631.hsela...@c2i.net
Hans Petter Selasky hsela...@c2i.net writes:
: On Tuesday 17 February 2009, Marcel Moolenaar wrote:
: But it looks like the old usb code didn't call it either... I
Hi,
I have put together a proposed set of changes for moving USB2 to its
permanent location. The layout has some differences to how it is right
now so I am looking for feedback.
The changeover requires that the old usb stack be available until 8.0 is
branched and moves it from sys/dev/usb to
On Thu, Feb 19, 2009 at 10:46:21PM -0500, Joe Marcus Clarke wrote:
Andrew Thompson wrote:
Hi,
I have put together a proposed set of changes for moving USB2 to its
permanent location. The layout has some differences to how it is right
now so I am looking for feedback.
What about
On Thu, Feb 19, 2009 at 07:37:40PM -0800, Andrew Thompson wrote:
Hi,
I have put together a proposed set of changes for moving USB2 to its
permanent location. The layout has some differences to how it is right
now so I am looking for feedback.
I should have said the attached patch
snip
Whatever the solution may be (root_mount_hold/root_mount_rel, sync/async
explore, ...), I will commit the patch from http://wiki.freebsd.org/USB
for the moment so people can still boot.
Andrew
___
freebsd-usb@freebsd.org mailing list
On Sat, Feb 21, 2009 at 04:08:39PM -0800, Andrew Thompson wrote:
snip
Whatever the solution may be (root_mount_hold/root_mount_rel, sync/async
explore, ...), I will commit the patch from http://wiki.freebsd.org/USB
for the moment so people can still boot.
Scratch that, I used
On Thu, Feb 19, 2009 at 07:37:40PM -0800, Andrew Thompson wrote:
Hi,
I have put together a proposed set of changes for moving USB2 to its
permanent location. The layout has some differences to how it is right
now so I am looking for feedback.
The changeover requires that the old usb
Hi,
As per my previous emails, the USB2 stack has been moved in permanently
to sys/dev/usb.
The temporary kernel device (and module) naming has been reverted, all
the names are back to how they have been in previous releases
(usb,ehci,ohci,ums,...). This means that if you are using a custom
On Mon, Feb 23, 2009 at 06:37:14PM -0500, Joe Marcus Clarke wrote:
On Thu, 2009-02-19 at 19:37 -0800, Andrew Thompson wrote:
Hi,
I have put together a proposed set of changes for moving USB2 to its
permanent location. The layout has some differences to how it is right
now so I am
Hi,
Below is a patch from Rink Springer to change the new USB stack to use
devfs device nodes. I have tested this with a usb mouse and I am hoping
people with other devices can test too, in particular scanners (sane
app) and lpt ports.
This also removes the custom permissions from usb and
On Wed, Feb 25, 2009 at 06:03:30PM -0800, Andrew Thompson wrote:
Hi,
Below is a patch from Rink Springer to change the new USB stack to use
devfs device nodes. I have tested this with a usb mouse and I am hoping
people with other devices can test too, in particular scanners (sane
app
On Fri, Feb 27, 2009 at 08:43:11AM +0100, Hans Petter Selasky wrote:
Hi Andrew,
The patch has been updated thanks to feedback
http://people.freebsd.org/~thompsa/usb-cdevs2.diff
I cannot see that you have looked at the 11 issues I repored on the last
patch. Can you have a look at the
On Sat, Feb 28, 2009 at 11:57:33AM -0600, eculp wrote:
Quoting Andrew Thompson thom...@freebsd.org:
On Wed, Feb 25, 2009 at 06:10:37AM -0600, eculp wrote:
I just rebooted my laptop that I have today's USB2 hopefully with the
latest USB compatibility, if I understood the GENERIC kernel
On Mon, Feb 16, 2009 at 01:53:36PM -0800, Marcel Moolenaar wrote:
It appears that the root mount isn't serialized with USB discovery
in the same way it was under USB1.
It seems that this is not completly resolved with the root mount hold in
r188907 as geom may not have tasted the partition
On Sun, Mar 01, 2009 at 07:20:03PM -0800, Garrett Cooper wrote:
On Mar 1, 2009, at 6:36 PM, Sam Leffler wrote:
Garrett Cooper wrote:
deviceums# Mouse
This is why you cannot kldload. Not sure about any functional regression.
Sam
Yeah, well that message was
On Sun, Mar 01, 2009 at 07:20:03PM -0800, Garrett Cooper wrote:
On Mar 1, 2009, at 6:36 PM, Sam Leffler wrote:
Garrett Cooper wrote:
deviceums# Mouse
This is why you cannot kldload. Not sure about any functional regression.
Sam
Yeah, well that message was
On Wed, Mar 04, 2009 at 10:01:36AM +0100, Hans Petter Selasky wrote:
On Wednesday 04 March 2009, M. Warner Losh wrote:
In message: 200903040922.48163.hsela...@c2i.net
: I am looking at using FreeBSD in an embedded product. I have not
: examined your ehci software, but I am aware of how
Hi,
I have started a page to track USB tasks, please update with any items
and feel free to work on any.
Any discussion about the items should happen on the usb@ mailing list.
http://wiki.freebsd.org/USBTODO
cheers,
Andrew
___
On Sun, Mar 08, 2009 at 01:06:59PM -0600, M. Warner Losh wrote:
Sigh. Had a working system from Mar 4th. Upgraded now it doesn't
work. Scanner not found by xsane.
Are you sure its not this?
20090227:
The /dev handling for the new USB stack has changed, a
buildworld/installworld is
On Sun, Mar 08, 2009 at 03:43:53PM -0600, M. Warner Losh wrote:
In message: 20090308203157.gc30...@citylink.fud.org.nz
Andrew Thompson thom...@freebsd.org writes:
: On Sun, Mar 08, 2009 at 01:06:59PM -0600, M. Warner Losh wrote:
: Sigh. Had a working system from Mar 4th
Petter Selasky hsela...@c2i.net writes:
: : On Sunday 08 March 2009, Andrew Thompson wrote:
: : On Sun, Mar 08, 2009 at 03:43:53PM -0600, M. Warner Losh wrote:
: : In message: 20090308203157.gc30...@citylink.fud.org.nz
: :
: : Andrew Thompson thom...@freebsd.org writes
On Mon, Mar 09, 2009 at 04:19:51PM +0200, Boris Kotzev wrote:
Try the following patch:
http://perforce.freebsd.org/chv.cgi?CH=158916
Repeat with ums debugging turned on. I think I see what is wrong now.
--HPS
The touchpad is functioning properly now!
Committed in r189583.
On Tue, Mar 10, 2009 at 04:25:55PM +0100, Hans Petter Selasky wrote:
On Tuesday 10 March 2009, Renato Botelho wrote:
http://freebsd.pastebin.com/f2831347
Try this patch:
http://perforce.freebsd.org/chv.cgi?CH=159001
A regular diff for those not familiar with the p4web interface.
On Sun, Mar 15, 2009 at 02:55:04AM +0100, Alexander Best wrote:
i recompiled my kernel with the p4-files, but still nothing get's printed.
this is what i get when attaching the device:
ugen0.3: Samsung Electronics Co., Ltd. at usbus0
ulpt_probe:472:
ulpt_attach:498: sc=0xc5a4c900
ulpt0:
On Wed, Mar 18, 2009 at 04:15:46PM -0400, Mike Tancsa wrote:
Hi,
I was trying to see if OpenCT and OpenSC work under the new USB
regime, but openCT doesnt compile now. Are there any tricks to get it to
compile and or work ?
Can you try this patch.
Hi,
I am looking into fixing sane-backends and see that the uscanner driver
is not needed at all. I wonder if we should follow Linux on this and
remove it in favour of libusb? uscanner is just a simple wrapper around
a fifo anyway, it has no logic.
Andrew
On Wed, Mar 18, 2009 at 08:04:48PM -0400, Mike Tancsa wrote:
At 05:40 PM 3/18/2009, Andrew Thompson wrote:
On Wed, Mar 18, 2009 at 04:15:46PM -0400, Mike Tancsa wrote:
Hi,
I was trying to see if OpenCT and OpenSC work under the new USB
regime, but openCT doesnt compile now
On Fri, Mar 20, 2009 at 02:43:04PM +0300, Lev Serebryakov wrote:
Hello, Freebsd-usb.
Some software (with Linux origins, of course), which I want to port,
uses libusb1 (libusb-1.0). Is it availiable on FreeBSD? It seems, that
`ports/devel/libusb' is something very different...
Libusb 1.0
On Wed, Mar 18, 2009 at 08:04:48PM -0400, Mike Tancsa wrote:
At 05:40 PM 3/18/2009, Andrew Thompson wrote:
On Wed, Mar 18, 2009 at 04:15:46PM -0400, Mike Tancsa wrote:
Hi,
I was trying to see if OpenCT and OpenSC work under the new USB
regime, but openCT doesnt compile now
On Sun, Mar 22, 2009 at 07:15:04AM -0600, M. Warner Losh wrote:
So what's the new way to say usbdevs -v? usbconfig list doesn't list
device IDs. And devinfo doesn't show a device unless it is attached
to a driver.
There is an open task on the todo to add usbdevs compat to usbconfig.
Andrew
On Sun, Mar 22, 2009 at 03:17:15PM -0400, Chuck Robey wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hans Petter Selasky wrote:
On Sunday 22 March 2009, M. Warner Losh wrote:
So what's the new way to say usbdevs -v? usbconfig list doesn't list
device IDs. And devinfo doesn't
Hi,
I want the USB peripheral driver API to be solid before 8.0 so things dont bite
us down the line. I have discussed this privately with Hans already and want to
put it out for public consumption.
With the new USB code the buffer management has been merged into the
xfer structure and this
On Wed, Apr 01, 2009 at 08:33:33AM -0500, Engineering wrote:
I have a driver based off ugen.
Hans Petter helped me get started on it - it should be using his new stack
It was built for a custom embedded application, so the functionality is
limited to just what I needed to get it going. It
Hi,
Here is a patch that I want to get in, the changes are
- Make usb_xfer opaque, the drivers can not grub around inside it
- Reduce the number if headers needed for a usb driver, the common case
is just usb.h and usbdi.h
http://people.freebsd.org/~thompsa/usb_usbdi10.diff
Any
Hi,
The one usb task that is still an issue for 8.0 is the polling
support. The code needs to call into the host controller driver to
check if the usb descriptor has been marked as done and call the
completion callback. I am now traveling so cant look at it, if anyone
wants to have a look it
2009/7/11 Hans Petter Selasky hsela...@c2i.net:
On Friday 10 July 2009 19:20:01 Andrew Thompson wrote:
Hi,
The one usb task that is still an issue for 8.0 is the polling
support. The code needs to call into the host controller driver to
check if the usb descriptor has been marked as done
On Tue, Nov 03, 2009 at 09:55:01AM -0800, Pyun YongHyeon wrote:
On Tue, Nov 03, 2009 at 10:10:47AM +, Gavin Atkinson wrote:
[freebsd-current cc'd, as that was where the thread started, but this
Hmm, this looks like a serious bug, possibly in the new USB subsystem
(HPS CC'd).
I've
On Wed, Nov 18, 2009 at 10:47:19PM +0100, Hans Petter Selasky wrote:
On Wednesday 18 November 2009 22:44:04 Torfinn Ingolfsen wrote:
On Wed, 18 Nov 2009 22:32:23 +0100
Torfinn Ingolfsen torfinn.ingolf...@broadpark.no wrote:
Today I got a UM-70[5] monitor made by Lilliput, this is
what
On Thu, Jan 14, 2010 at 04:48:31PM +0800, Wilkinson, Alex wrote:
0n Thu, Jan 14, 2010 at 09:24:47AM +0100, Hans Petter Selasky wrote:
I think Andrew made a fixed port which you can test.
Can you please point me in the direction to this ?
I'l update the tarball tomorrow and send
On Tue, Jan 19, 2010 at 05:12:17PM +0800, Wilkinson, Alex wrote:
0n Thu, Jan 14, 2010 at 10:03:29PM +1300, Andrew Thompson wrote:
On Thu, Jan 14, 2010 at 04:48:31PM +0800, Wilkinson, Alex wrote:
0n Thu, Jan 14, 2010 at 09:24:47AM +0100, Hans Petter Selasky
wrote
On Tue, Jan 19, 2010 at 04:38:28PM +0100, Dag-Erling Sm??rgrav wrote:
Hans Petter Selasky hsela...@c2i.net writes:
Please check /etc/make.conf and replace any CFLAGS= with CFLAGS+=
Bzzt, wrong. It will make no difference whatsoever; make.conf is
included by sys.mk before the Makefile
The following reply was made to PR usb/145184; it has been noted by GNATS.
From: Andrew Thompson thom...@freebsd.org
To: Gnats bug-follo...@freebsd.org
Cc: Eir Nym eir...@gmail.com
Subject: Re: usb/145184: GENERIC can't mount root from USB on Asus EEE
Date: Tue, 30 Mar 2010 20:54:10 +1300
On 30 March 2010 23:11, Arseny Nasokin eir...@gmail.com wrote:
On 30 Mar 2010, at 08:00, Andrew Thompson thom...@freebsd.org wrote:
The following reply was made to PR usb/145184; it has been noted by GNATS.
From: Andrew Thompson thom...@freebsd.org
To: Gnats bug-follo...@freebsd.org
Cc: Eir
On 8 July 2010 07:13, Hans Petter Selasky hsela...@c2i.net wrote:
Hi,
When supplying wpa_supplicant.conf with incorrect passwords, but a valid SSID,
I have seen kernel panics several times when using USB based WLAN dongles.
When only supplying a valid password, no panic has been seen.
How
On 8 July 2010 07:13, Hans Petter Selasky hsela...@c2i.net wrote:
Hi,
When supplying wpa_supplicant.conf with incorrect passwords, but a valid SSID,
I have seen kernel panics several times when using USB based WLAN dongles.
When only supplying a valid password, no panic has been seen.
How
On 6 October 2010 10:58, Mark Atkinson atkin...@gmail.com wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 10/05/2010 11:39, Mark Atkinson wrote:
On 10/05/2010 10:09, Mark Atkinson wrote:
Root mount waiting for: usbus3 usbus0
[hang, waits forever...]
Well reverting to r213377
On 31 October 2010 12:19, Weongyo Jeong weongyo.je...@gmail.com 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 `sleepout' prototype which is a comic combination of callout(9)
On 24 November 2010 11:19, Hans Petter Selasky hsela...@c2i.net wrote:
Hi,
Please find attached official usbdump patch from HPS trying to re-use as much
as possible of Weongyo's code which was committed not long ago. You need to
SVN up to the latest 9-current.
@@ -270,7 +122,7 @@
* The
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 filter and there were a lot of
assumptions the input buffer is mbuf
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 2010 07:18 pm, Weongyo Jeong wrote:
- BPF was normally
On 13 December 2010 07:49, Emanuel Haupt eha...@freebsd.org wrote:
Is there any way I can make sure that the following device:
ugen1.3: product 0x6001 vendor 0x0403 at usbus1, cfg=0 md=HOST spd=FULL
(12Mbps) pwr=ON
bLength = 0x0012
bDescriptorType = 0x0001
bcdUSB = 0x0200
71 matches
Mail list logo