Re: 8.x grudges

2010-07-11 Thread M. Warner Losh
In message: Garrett Cooper writes: : On Wed, Jul 7, 2010 at 1:17 PM, Mikhail T. wrote: : > 07.07.2010 14:59, Jeremy Chadwick ???(??): : >>> : >>>      FREEBSD_COMPAT7 kernel option is, apparently, a requirement (and : >>>      thus not an "option") -- the kernel-config files, tha

Re: Help troubleshooting...

2009-10-26 Thread M. Warner Losh
In message: <86aazecl00@ds4.des.no> Dag-Erling_Smørgrav writes: : "M. Warner Losh" writes: : > Yes. Of course I have local modifications, but none in the usb stack. : > But I've also done a svn update from the top of the tree multiple : > times an

Re: Help troubleshooting...

2009-10-26 Thread M. Warner Losh
In message: <86skd6cmm8@ds4.des.no> Dag-Erling_Smørgrav writes: : "M. Warner Losh" writes: : > FreeBSD lighthouse 9.0-CURRENT FreeBSD 9.0-CURRENT #41 r185338:198411M: Fri Oct 23 10:08:48 MDT 2009 i...@lighthouse:/cache/svn/head/sys/amd64/compile/LIGHTHOUS

Re: Help troubleshooting...

2009-10-26 Thread M. Warner Losh
In message: <200910261258.08135.hsela...@c2i.net> Hans Petter Selasky writes: : On Monday 26 October 2009 12:48:16 M. Warner Losh wrote: : > I know that the august 25th version failed badly when I tried to burn : > DVDs from a USB drive to a USB attached DVD burner. This

Re: Help troubleshooting...

2009-10-26 Thread M. Warner Losh
In message: <200910260959.20772.hsela...@c2i.net> Hans Petter Selasky writes: : On Monday 26 October 2009 01:05:03 n...@ever.sanda.gr.jp wrote: : > M. Warner Losh wrote: : > > I have a usb stick (8GB) on it. This stick has about 5GB of junk on : > > it at this

Help troubleshooting...

2009-10-25 Thread M. Warner Losh
I have a usb stick (8GB) on it. This stick has about 5GB of junk on it at this point. I tried to do 'cat * > /dev/null' recently, to measure how fast it goes. It got about 1GB into the drive and then I got device missing messages. Here's the dmesg messages: # Plug it in da0 at umass-sim0 bus 0

Re: Performance issues

2009-08-09 Thread M. Warner Losh
In message: <3bbf2fe10908091038m3efb3612l2923d8b3238e1...@mail.gmail.com> Attilio Rao writes: : 2009/8/9 Attilio Rao : : > 2009/8/9 M. Warner Losh : : >> In message: <200908091840.55000.hsela...@c2i.net> : >>Hans Petter Selasky writes: : >&

Re: Performance issues

2009-08-09 Thread M. Warner Losh
In message: <200908091840.55000.hsela...@c2i.net> Hans Petter Selasky writes: : On Sunday 09 August 2009 18:23:41 M. Warner Losh wrote: : > Any ideas how to track this down? : : Hi, : : USB is only draining from "usbd_transfer_drain()" in : /sys/dev/usb/usb_tra

Performance issues

2009-08-09 Thread M. Warner Losh
Hans, Just trying to do some stuff I used to be able to do with the USB stack on a recent (July 23rd) kernel. I've had some disappointing results. I have a 750GB disk that's attached via USB. Nothing fancy or special about it. I can stream up to about 18MB/s to it when things are going well.

Re: About the "USB Cache and busdma usage in USB" thread

2009-07-24 Thread M. Warner Losh
In message: <200907232209.47729.hsela...@c2i.net> Hans Petter Selasky writes: : On Thursday 23 July 2009 20:53:06 Marcel Moolenaar wrote: : > All, : > : > I went over the thread and this is what I have to say about it: : > : > Using busdma to manage/control CPU caches is wrong for the

Re: Atheros wireless device driver developer

2009-07-14 Thread M. Warner Losh
You know, it would be a lot easier if you just email Sam directly rather than spam the lists with this :) Especially since you don't mention FreeBSD at all... Warner ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/free

Re: detaching usb device without unmounting it

2009-07-10 Thread M. Warner Losh
In message: Alexander Best writes: : since the usb2 stack allows one to detach a mounted usb device without the : kernel panic'ing usb1 allowed that too. the problem rarely was inside the usb stack (although there were some problems). The problem was at the higher levels of cam, t

Re: CPU Cache and busdma usage in USB

2009-07-08 Thread M. Warner Losh
In message: <200907081103.45388.hsela...@c2i.net> Hans Petter Selasky writes: : On Wednesday 08 July 2009 10:58:17 Rafal Jaworowski wrote: : > On 2009-07-07, at 18:46, Hans Petter Selasky wrote: : > >> I had Checked USB behaviour on PowerPC without hardware cache : > >> coherency. : >

Re: CPU Cache and busdma usage in USB

2009-06-23 Thread M. Warner Losh
In message: <200906231912.20741.hsela...@c2i.net> Hans Petter Selasky writes: : On Tuesday 23 June 2009 11:11:29 Alexandr Rybalko wrote: : > On Tue, 23 Jun 2009 10:35:42 +0200 : > : > Piotr Zięcik wrote: : > >> While bringing up EHCI (8-CURRENT, new USB stack) on ARM machine we : > >

Re: Asynchronous bulk transfers in usb2 ?

2009-05-15 Thread M. Warner Losh
In message: <200905152119.07569.thierry.herbe...@free.fr> Thierry Herbelot writes: : Le Friday 15 May 2009, Hans Petter Selasky a écrit : : > On Friday 15 May 2009, Thierry Herbelot wrote: : > > Hello, : > > : > > This is a follow-on for : : > > http://www.mail-archive.com/freebsd-usb%

Re: EHCI Problem on FreeBSD arm port

2009-05-09 Thread M. Warner Losh
In message: <260bb65e0905091102y272de752r750a3a799404...@mail.gmail.com> Yohanes Nugroho writes: : On Sat, May 9, 2009 at 3:09 PM, Hans Petter Selasky wrote: : : > Hi, : > : > If the strings are corrupt I would guess at a busdma issue. : : thank you, adding a "flush all" instruction

Re: Bad USB port explanation?

2009-04-30 Thread M. Warner Losh
In message: <009e01c9ca01$356cca70$a0465f...@com> "Engineering" writes: : Only on one USB port is it going haywire. I can disconnect the camera while : the app is running, move it to another port, and it pops up at 30fps. Move : it back to the top left port, and it goes bad again. I'v

Re: u3g serial device name query

2009-04-30 Thread M. Warner Losh
In message: <200904301412.38313.freebsd-...@dino.sk> Milan Obuch writes: : On Thursday 30 April 2009 12:58:36 Hans Petter Selasky wrote: : > On Thursday 30 April 2009, Milan Obuch wrote: : > > Hi, : > > : > > I have HUAWEI 3g usb modem. It works with u3g from current. There is : > > ho

Re: boot panic on current(04.20)

2009-04-21 Thread M. Warner Losh
In message: <41877.147.83.40.213.1240324705.squir...@webmail.entel.upc.edu> "Gustavo Perez Querol" writes: : > lists : > boot panic on current(2009.04.20).it seems caused by usbus4 : > : > Root mount waiting for: usbus4 : > uhub4: 8 ports with 8 removable, self powered : > Root mount

usb2 broken wrt devd

2009-04-08 Thread M. Warner Losh
When you plug in a device that has no driver, the following traffic is generated to devd: +ugen0.2 vendor=0x0bda product=0x8150 devclass=0x00 devsubclass=0x00 sernum="" at port=1 on ugen0.1 ? at port=1 interface=0 vendor=0x0bda product=0x8150 devclass=0x00 devsubclass=0x00 sernum="" intclass=0xf

Re: external DVD Rewriter

2009-03-24 Thread M. Warner Losh
e these commands appear in the logs. : Any suggestion ? Did that help? Warner : Thank you, : : dan : : : M. Warner Losh wrote: : > In message: <49c7affe.4060...@yahoo.fr> : > dan writes: : > : Hi ! : > : : > : I recently added an external L

Re: external DVD Rewriter

2009-03-23 Thread M. Warner Losh
In message: <49c7affe.4060...@yahoo.fr> dan writes: : Hi ! : : I recently added an external LG dvd rewriter to a clean FreeBSD 7.1 : installation. : : --- : umass0: on uhub3 : cd0 at umass-sim0 bus 0 target 0 lun 0 : cd0: Removable CD-ROM SCSI-0 device : --- : : As soon a

Re: usbdevs -v

2009-03-22 Thread M. Warner Losh
In message: <20090322.141641.1942082123@bsdimp.com> "M. Warner Losh" writes: : In message: <49c68ebb.8090...@telenix.org> : Chuck Robey writes: : : -BEGIN PGP SIGNED MESSAGE- : : Hash: SHA1 : : : : Hans Petter Selasky wrote: : : > O

Re: usbdevs -v

2009-03-22 Thread M. Warner Losh
In message: <49c68ebb.8090...@telenix.org> Chuck Robey writes: : -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 does

Re: usbdevs -v

2009-03-22 Thread M. Warner Losh
In message: <200903221454.10594.hsela...@c2i.net> Hans Petter Selasky writes: : 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 show a device unl

Re: Still wrong

2009-03-22 Thread M. Warner Losh
In message: <200903221455.13414.hsela...@c2i.net> Hans Petter Selasky writes: : On Sunday 22 March 2009, M. Warner Losh wrote: : > In message: <20090322.071220.1447367564@bsdimp.com> : > : > "M. Warner Losh" writes: : > : ugen2.2:

Re: Still wrong

2009-03-22 Thread M. Warner Losh
In message: <20090322.071220.1447367564@bsdimp.com> "M. Warner Losh" writes: : ugen2.2: at usbus2 : umass0: on usbus2 : umass0: SCSI over Bulk-Only; quirks = 0x4480 : umass0:2:0:-1: Attached to scbus2 : (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0

usbdevs -v

2009-03-22 Thread M. Warner Losh
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. Warner ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb

Still wrong

2009-03-22 Thread M. Warner Losh
ugen2.2: at usbus2 umass0: on usbus2 umass0: SCSI over Bulk-Only; quirks = 0x4480 umass0:2:0:-1: Attached to scbus2 (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (probe0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (probe0:umass-sim0:0:0:0): SCSI Status: Check Condition (prob

Re: USBTODO

2009-03-19 Thread M. Warner Losh
In message: <20090319223756.gf2...@citylink.fud.org.nz> Andrew Thompson writes: : Remember there is a page tracking the new USB stack to the 8.0 release. : Please add any items/regressions or even better would be to pick up a : task and work on it. : : http://wiki.freebsd.org/USBTODO

Re: Belkin Cardbus USB2 adaptors too hot.

2009-03-18 Thread M. Warner Losh
In message: <200903181907.n2ij7k1d042...@fire.js.berklix.net> "Julian Stacey" writes: : Hi, : Anyone else noticed Belkin Cardbus USB2 adaptors run extremely hot ? : I've been having weird things happen : umass errs, g_vfs_done()da0a[WRITE(offset=, : length=131072)]erro

Re: Xorg 7.4 and umass devices - a bad combination?

2009-03-16 Thread M. Warner Losh
In message: <20090316205626.b0ed5027.torfinn.ingolf...@broadpark.no> Torfinn Ingolfsen writes: : Have anyone seen bad performance when using umass devices (external : hard drives) in combination with Xorg 7.4? I don't see it. But I'm not using a usb mouse/keyboard... Are you? Warne

Re: Latest kernel breaks scanner

2009-03-09 Thread M. Warner Losh
In message: <200903091404.34912.hsela...@c2i.net> Hans Petter Selasky writes: : On Monday 09 March 2009, M. Warner Losh wrote: : > In message: <200903091233.55089.hsela...@c2i.net> : > : > Hans Petter Selasky writes: : > : On Sunday 08 March 200

Re: Latest kernel breaks scanner

2009-03-09 Thread M. Warner Losh
In message: <200903091233.55089.hsela...@c2i.net> Hans Petter Selasky 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...@c

Re: Latest kernel breaks scanner

2009-03-08 Thread M. Warner Losh
In message: <20090308203157.gc30...@citylink.fud.org.nz> Andrew Thompson writes: : 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

Re: Latest kernel breaks scanner

2009-03-08 Thread M. Warner Losh
In message: <20090308.130659.-1303465250@bsdimp.com> "M. Warner Losh" writes: : Sigh. Had a working system from Mar 4th. Upgraded now it doesn't : work. Scanner not found by xsane. Most likely userland, since the kernel that it worked on last week does

Latest kernel breaks scanner

2009-03-08 Thread M. Warner Losh
Sigh. Had a working system from Mar 4th. Upgraded now it doesn't work. Scanner not found by xsane. Warner ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsu

Re: Low perfomance when read from usb flash drive

2009-03-04 Thread M. Warner Losh
In message: <200903042031.37578.hsela...@c2i.net> Hans Petter Selasky writes: : On Wednesday 04 March 2009, M. Warner Losh wrote: : > : > : > : > If you do change to filters then this is much easier with taskqueues as : > : > it has a fast variant, oth

Re: Low perfomance when read from usb flash drive

2009-03-04 Thread M. Warner Losh
In message: <200903041910.58446.hsela...@c2i.net> Hans Petter Selasky writes: : On Wednesday 04 March 2009, Andrew Thompson wrote: : > On Wed, Mar 04, 2009 at 10:01:36AM +0100, Hans Petter Selasky wrote: : > > On Wednesday 04 March 2009, M. Warner Losh wrote: : &

Re: Low perfomance when read from usb flash drive

2009-03-04 Thread M. Warner Losh
In message: <200903041001.37376.hsela...@c2i.net> Hans Petter Selasky writes: : On Wednesday 04 March 2009, M. Warner Losh wrote: : > In message: <200903040922.48163.hsela...@c2i.net> : > : > Hans Petter Selasky writes: : > : Hi Steve, : > : : &

Re: Knobs to reduce PCI interrupt latency

2009-03-04 Thread M. Warner Losh
In message: <200903040942.39191.hsela...@c2i.net> Hans Petter Selasky writes: : Do we have any knobs in FreeBSD to reduce the interrupt latency? I am : currently seeing performance differences between 8.x and 7.x. Anyone have any : ideas? If we did, don't you think they would be ena

Re: Low perfomance when read from usb flash drive

2009-03-04 Thread M. Warner Losh
In message: <200903040922.48163.hsela...@c2i.net> Hans Petter Selasky writes: : Hi Steve, : : On Tuesday 03 March 2009, Steve Calfee wrote: : > > I think the reduced performance can be explained by a clamp on the : > > interrupt rate around 1000 interrupts per second instead of 8000.

Re: The rc.d mess strikes back

2009-03-02 Thread M. Warner Losh
In message: <20090302233215.ga53...@duncan.reilly.home> Andrew Reilly writes: : On Mon, Mar 02, 2009 at 01:25:22PM -0700, M. Warner Losh wrote: : > In message: <2fd864e0903020512i22b2c31fg487aaf37fed63...@mail.gmail.com> : > Astrodog writes: : >

Re: The rc.d mess strikes back

2009-03-02 Thread M. Warner Losh
In message: <2fd864e0903020512i22b2c31fg487aaf37fed63...@mail.gmail.com> Astrodog writes: : As unfortunate (and annoying) as that delay was, your system was in a : "defined" state, at the end of rc.d. As things stand now, that doesn't : appear to be the case anymore, and I think that m

Re: The rc.d mess strikes back

2009-03-01 Thread M. Warner Losh
In message: Garrett Cooper writes: : On Mar 1, 2009, at 7:36 PM, Garrett Cooper wrote: : : > On Mar 1, 2009, at 7:20 PM, Garrett Cooper wrote: : > : >> On Mar 1, 2009, at 6:36 PM, Sam Leffler wrote: : >> : >>> Garrett Cooper wrote: : deviceums# Mouse : >>> : >>>

Re: ums no longer loads on CURRENT

2009-03-01 Thread M. Warner Losh
In message: Garrett Cooper writes: : Recently built kernel as of today around 4pm. The mouse is available : on the console and moused isn't running; this issue prevents me from : using X11. I'm looking for all libraries linked against libusb-0.1.so. : 8 right now... Did you read

Re: USB2+umass: root mount fails

2009-03-01 Thread M. Warner Losh
In message: <20090301190057.gd90...@citylink.fud.org.nz> Andrew Thompson writes: : 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

Re: Low perfomance when read from usb flash drive

2009-02-28 Thread M. Warner Losh
In message: <200903010038.29534.hsela...@c2i.net> Hans Petter Selasky writes: : On Saturday 28 February 2009, Artyom Mirgorodsky wrote: : > Read speed when copy from usb flash drive decreased from 20MB/s (old usb : > stack) to 12MB/s. (on windows above 22Mb/s). : > : : Hi please expla

Re: CFR: usb switchover patches

2009-02-20 Thread M. Warner Losh
In message: <20090220100115.r53...@maildrop.int.zabbadoz.net> "Bjoern A. Zeeb" writes: : On Thu, 19 Feb 2009, Andrew Thompson wrote: : : > 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

Re: CFR: usb switchover patches

2009-02-19 Thread M. Warner Losh
In message: <20090220033740.ga...@citylink.fud.org.nz> Andrew Thompson writes: : 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 change

Re: USB2+umass: root mount fails

2009-02-19 Thread M. Warner Losh
In message: <200902190926.42992.hsela...@c2i.net> Hans Petter Selasky writes: : Do you understand why probe and attach is currently partially deferred in some : drivers? It has to do with the ability to quickly recover if a device is : suddenly detached when doing multiple sequentia

Re: USB2+umass: root mount fails

2009-02-18 Thread M. Warner Losh
In message: <20090219050200.ga84...@citylink.fud.org.nz> Andrew Thompson writes: : On Tue, Feb 17, 2009 at 08:54:24AM -0700, M. Warner Losh wrote: : > In message: <200902170856.11631.hsela...@c2i.net> : > Hans Petter Selasky writes: : > : On Tue

Re: USB2+umass: root mount fails

2009-02-17 Thread M. Warner Losh
In message: <200902170856.11631.hsela...@c2i.net> Hans Petter Selasky writes: : On Tuesday 17 February 2009, Marcel Moolenaar wrote: : > On Feb 16, 2009, at 6:03 PM, M. Warner Losh wrote: : > > : root_mount_hold() and root_mount_rel() are specifically : > > : d

Re: USB2+umass: root mount fails

2009-02-16 Thread M. Warner Losh
In message: <6e9b5ff6-685b-427c-87a7-c95850da5...@mac.com> Marcel Moolenaar writes: : : On Feb 16, 2009, at 4:35 PM, M. Warner Losh wrote: : : > In message: <741faa3b-b91a-4a23-b47f-21141a8d0...@mac.com> : >Marcel Moolenaar writes: : > : : > :

Re: USB2+umass: root mount fails

2009-02-16 Thread M. Warner Losh
In message: <6e9b5ff6-685b-427c-87a7-c95850da5...@mac.com> Marcel Moolenaar writes: : : On Feb 16, 2009, at 4:35 PM, M. Warner Losh wrote: : : > In message: <741faa3b-b91a-4a23-b47f-21141a8d0...@mac.com> : >Marcel Moolenaar writes: : > : : > :

Re: USB2+umass: root mount fails

2009-02-16 Thread M. Warner Losh
In message: <741faa3b-b91a-4a23-b47f-21141a8d0...@mac.com> Marcel Moolenaar writes: : : On Feb 16, 2009, at 3:13 PM, M. Warner Losh wrote: : : > In message: : >Marcel Moolenaar writes: : > : Before I dig into the code, what's the current status of

Re: USB2+umass: root mount fails

2009-02-16 Thread M. Warner Losh
In message: Marcel Moolenaar writes: : Before I dig into the code, what's the current status of : root mounts on USB mass storage devices? First, there's a kludge-o-round that is similar to your "sleep 10" that you've added. It loops waiting for more devices to show up if the desire

Re: HEADSUP: USB2 now default in GENERIC kernels

2009-02-16 Thread M. Warner Losh
In message: <20090216165814.d03fd8f1.torfinn.ingolf...@broadpark.no> Torfinn Ingolfsen writes: : On Sun, 15 Feb 2009 14:41:04 -0800 : Andrew Thompson wrote: : : > The GENERIC kernels for all architectures now default to the new USB2 : > stack. : : To avoid confusion: : Is this only

Re: USB2: umass not detected correctly, axe not transmitting

2009-02-11 Thread M. Warner Losh
In message: <20090211225701.gl68...@elvis.mu.org> Alfred Perlstein writes: : * Hans Petter Selasky [090211 00:52] wrote: : > Hi, : > : > On Wednesday 11 February 2009, Hiroharu Tamaru wrote: : > > Hi, : > > : > > I have an Atom Z530 semi-embedded system and tried the new USB2 stack.

Re: USB2 - umass problem

2009-02-09 Thread M. Warner Losh
In message: <200902091035.26738.n...@anywi.com> Nick Hibma writes: : > : > By some reason devfs semantic was changed: : > : > Instead of /dev/cuaU0.[0-2] and /dev/ttyU0.[0-2], I've get : > : > /dev/cuaU[0-2] /dev/ttyU[0-2] and! /dev/cuau1 /dev/ttyu1 : > : > What is reason for such chan

Re: HEADSUP usb2/usb4bsd to become default in GENERIC

2009-02-08 Thread M. Warner Losh
In message: Remko Lodder writes: : >> : > : > I take it the stage (1) is to switch over GENERIC to the new usb2 code : > and will not involve renaming the config items. : > : > stage (2) moves the usb code around in svn and all USB2 kernel config : > items will assume their original n

Re: HEADSUP usb2/usb4bsd to become default in GENERIC

2009-02-08 Thread M. Warner Losh
In message: <20090208.124756.-942592244@bsdimp.com> "M. Warner Losh" writes: : In message: <200902081951.16823.hsela...@c2i.net> : Hans Petter Selasky writes: : : On Sunday 08 February 2009, Andrew Thompson wrote: : : > On Sun, Feb 08, 2009 a

Re: HEADSUP usb2/usb4bsd to become default in GENERIC

2009-02-08 Thread M. Warner Losh
In message: <200902081951.16823.hsela...@c2i.net> Hans Petter Selasky writes: : On Sunday 08 February 2009, Andrew Thompson wrote: : > On Sun, Feb 08, 2009 at 06:48:39PM +0100, Remko Lodder wrote: : > > On Sun, February 8, 2009 6:21 am, Alfred Perlstein wrote: : : > > : > > Please nam

Re: eToken and USB2 (ugen issue?)

2009-02-07 Thread M. Warner Losh
In message: <200902072044.53830.hsela...@c2i.net> Hans Petter Selasky writes: : On Saturday 07 February 2009, M. Warner Losh wrote: : : Hi, : : > : : > : Applications that use /dev/ugen, needs to be recompiled at least and : > : modified to open /dev/ugenX.Y.A.B

Re: eToken and USB2 (ugen issue?)

2009-02-07 Thread M. Warner Losh
In message: <200902071808.48709.hsela...@c2i.net> Hans Petter Selasky writes: : On Saturday 07 February 2009, M. Warner Losh wrote: : > In message: <200902071303.53394.hsela...@c2i.net> : > : > Hans Petter Selasky writes: : > : On Saturday 07 Fe

Re: eToken and USB2 (ugen issue?)

2009-02-07 Thread M. Warner Losh
In message: <200902071303.53394.hsela...@c2i.net> Hans Petter Selasky writes: : On Saturday 07 February 2009, Mike Tancsa wrote: : > At 04:36 AM 2/7/2009, Hans Petter Selasky wrote: : > >Hi Mike, : > > : > >The ugen devices are invisible and dynamically created. : > > : > >Try open /de

Re: HEADSUP usb2/usb4bsd to become default in GENERIC

2009-02-06 Thread M. Warner Losh
Doesn't the busdma issue need to be solved before we do this? usb2 currently doesn't work if you have memory above 4GB due to this issue. I thought we tagged it as a show stopper for making it the default. Warner In message: <20090206045349.gq78...@elvis.mu.org> Alfred Perlstein w

Re: USB2 - umass problem

2009-02-04 Thread M. Warner Losh
In message: <200902041044.27663.hsela...@c2i.net> Hans Petter Selasky writes: : Hi, : : On Wednesday 04 February 2009, Vladimir Grebenschikov wrote: : > Hi : > : > : > By some reason devfs semantic was changed: : > Instead of /dev/cuaU0.[0-2] and /dev/ttyU0.[0-2], I've get : > /dev/c

Re: USB2 patches

2009-02-01 Thread M. Warner Losh
In message: <200902012200.11499.hsela...@c2i.net> Hans Petter Selasky writes: : "2" is not an option. MPSAFETTY cannot sleep! And there is no IOCTL to drain : the DTR command, if I'm not mistaken. MPSAFETTY can sleep in the ioctl() context. It does hold the tty lock, so when it wake

Re: USB2 patches

2009-02-01 Thread M. Warner Losh
In message: <200902012031.56899.hsela...@c2i.net> Hans Petter Selasky writes: : 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 ca

Re: USB2 patches

2009-02-01 Thread M. Warner Losh
In message: <20090201191851.ge32...@citylink.fud.org.nz> Andrew Thompson writes: : > > xxx_set_channel() : > > { : > > ieee80211_channel c = wlan->curchan; : > > : > > hw_reg = array1[c]; : > > write USB register; : > > hw_reg = array2[c]; : > > write USB register; : > > } :

Re: USB2 patches

2009-02-01 Thread M. Warner Losh
In message: <200902011937.32679.hsela...@c2i.net> Hans Petter Selasky writes: : Hi Warner, : : On Sunday 01 February 2009, M. Warner Losh wrote: : > In message: <20090201175021.ga32...@citylink.fud.org.nz> : > : > Andrew Thompson writes: : :

Re: USB2 patches

2009-02-01 Thread M. Warner Losh
In message: <20090201.112459.717301987@bsdimp.com> "M. Warner Losh" writes: : In message: <20090201175021.ga32...@citylink.fud.org.nz> : Andrew Thompson writes: : : > 3) : : > In general avoid more than a few synchronous USB transfer

Re: USB2 patches

2009-02-01 Thread M. Warner Losh
In message: <200902011922.16810.hsela...@c2i.net> Hans Petter Selasky writes: : In the [was configure-] thread you can attach things synchronously. In the : case of network adapters you should not rely on the device_attach() event : from devd to do something, but rather the event fro

Re: USB2 patches

2009-02-01 Thread M. Warner Losh
In message: <200902011922.16810.hsela...@c2i.net> Hans Petter Selasky writes: : In your patch you remove all error checking! If the taskqueue system does not : have an API function that can tell if the taskqueue is being drained from : inside the taskqueue callback, the taskqueue sys

Re: USB2 patches

2009-02-01 Thread M. Warner Losh
In message: <20090201175021.ga32...@citylink.fud.org.nz> Andrew Thompson writes: : > 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-

Re: USB2 patches

2009-02-01 Thread M. Warner Losh
In message: <200902011123.47690.hsela...@c2i.net> Hans Petter Selasky writes: : Hi Andrew, : : First of all thanks for helping out. I will spend some time now to go through : your changes. : : One thing about the taskqueue. How does it work? I mean, if multiple events : gets queued

Re: USB2 patches

2009-01-31 Thread M. Warner Losh
In message: <20090201033641.gg65...@elvis.mu.org> Alfred Perlstein writes: : * M. Warner Losh [090131 19:33] wrote: : > In message: <20090201030628.ge65...@elvis.mu.org> : > Alfred Perlstein writes: : > : I'll defer to Hans if he feels c

Re: USB2 patches

2009-01-31 Thread M. Warner Losh
In message: <20090201030628.ge65...@elvis.mu.org> Alfred Perlstein writes: : I'll defer to Hans if he feels confident or not about this. These changes all look good to me : For what it's worth, we're about to switch GENERIC to use : usb4bsd. Moving files or just changing names..

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

2009-01-19 Thread M. Warner Losh
In message: <4974ae57.80...@freebsd.org> Joel Dahl writes: : Well, the FreeBSD project uses the following license: While this is the preferred license for the project, core@ published a license policy for files in the three last year or the year before. The ISC license, which was post

Re: bin/129963: [newusb] usbconfig(8) fails with misleading error when run as a normal user

2009-01-06 Thread M. Warner Losh
In message: <4963c48b.9030...@elischer.org> Julian Elischer writes: : Hans Petter Selasky wrote: : > On Tuesday 06 January 2009, M. Warner Losh wrote: : >> In message: <200901062024.31100.hsela...@c2i.net> : >> : Do it like this for example: : >>

Re: bin/129963: [newusb] usbconfig(8) fails with misleading error when run as a normal user

2009-01-06 Thread M. Warner Losh
In message: <200901062103.28124.hsela...@c2i.net> Hans Petter Selasky writes: : On Tuesday 06 January 2009, M. Warner Losh wrote: : > In message: <200901062024.31100.hsela...@c2i.net> : > : > Hans Petter Selasky writes: : > : On Tuesday 06 Janu

Re: bin/129963: [newusb] usbconfig(8) fails with misleading error when run as a normal user

2009-01-06 Thread M. Warner Losh
In message: <200901062024.31100.hsela...@c2i.net> Hans Petter Selasky writes: : On Tuesday 06 January 2009, M. Warner Losh wrote: : > In message: <7d6fde3d0901061110r79333a07jf4eb134224a94...@mail.gmail.com> : > : > "Garrett Cooper" writes:

Re: bin/129963: [newusb] usbconfig(8) fails with misleading error when run as a normal user

2009-01-06 Thread M. Warner Losh
In message: <7d6fde3d0901061110r79333a07jf4eb134224a94...@mail.gmail.com> "Garrett Cooper" writes: : On Tue, Jan 6, 2009 at 10:32 AM, Hans Petter Selasky wrote: : > On Saturday 03 January 2009, Volker wrote: : >> On 01/03/09 01:35, Hans Petter Selasky wrote: : >> > On Wednesday 31 Dec

Re: xsane busted with usb2

2009-01-06 Thread M. Warner Losh
In message: <200901061721.08498.hsela...@c2i.net> Hans Petter Selasky writes: : On Tuesday 06 January 2009, M. Warner Losh wrote: : > In message: <200901061653.11745.hsela...@c2i.net> : > : > Hans Petter Selasky writes: : > : On Tuesday 06 Janu

Re: xsane busted with usb2

2009-01-06 Thread M. Warner Losh
In message: <200901061653.11745.hsela...@c2i.net> Hans Petter Selasky writes: : On Tuesday 06 January 2009, M. Warner Losh wrote: : > In message: <20090106.083501.-861032140@bsdimp.com> : > : > "M. Warner Losh" writes: : > : In

Re: xsane busted with usb2

2009-01-06 Thread M. Warner Losh
In message: <20090106.083501.-861032140@bsdimp.com> "M. Warner Losh" writes: : In message: <200901061630.02022.hsela...@c2i.net> : Hans Petter Selasky writes: : : On Tuesday 06 January 2009, M. Warner Losh wrote: : : > In message: <2009010

Re: xsane busted with usb2

2009-01-06 Thread M. Warner Losh
In message: <200901061630.02022.hsela...@c2i.net> Hans Petter Selasky writes: : On Tuesday 06 January 2009, M. Warner Losh wrote: : > In message: <200901060940.21830.hsela...@c2i.net> : > : > Hans Petter Selasky writes: : > : On Tuesday 06 Janu

Re: xsane busted with usb2

2009-01-06 Thread M. Warner Losh
In message: <200901060940.21830.hsela...@c2i.net> Hans Petter Selasky writes: : On Tuesday 06 January 2009, M. Warner Losh wrote: : > With sys/dev/usb, I'm able to kldload uscanner and xsane just works. : > With usb2, I klduscanner, and it doesn't. There'

xsane busted with usb2

2009-01-05 Thread M. Warner Losh
With sys/dev/usb, I'm able to kldload uscanner and xsane just works. With usb2, I klduscanner, and it doesn't. There's no /dev/uscanner0 in the ls listing, but one can open that file directly. trussing sane-find-scanners yields: ... open("/dev/",O_NONBLOCK,020222513) = 4 (0x4) fsta

Re: usb/130122: [hpsusb] DVD drive detects as 'da' device

2009-01-03 Thread M. Warner Losh
The following reply was made to PR usb/130122; it has been noted by GNATS. From: "M. Warner Losh" To: hsela...@c2i.net Cc: freebsd-usb@freebsd.org, freebsd-gnats-sub...@freebsd.org Subject: Re: usb/130122: [hpsusb] DVD drive detects as 'da' device Date: Sat, 03 Jan 2009 12:29

Re: usb/130122: [hpsusb] DVD drive detects as 'da' device

2009-01-03 Thread M. Warner Losh
In message: <200901030028.38064.hsela...@c2i.net> Hans Petter Selasky writes: : On Friday 02 January 2009, M. Warner Losh wrote: : > In message: <200901022123.57193.hsela...@c2i.net> : > : > Hans Petter Selasky writes: : > : On Friday 02 January 20

Re: usb/130066: [newusb] Serial adaptor use fail with 'unsupported speed XXX'

2009-01-02 Thread M. Warner Losh
The following reply was made to PR usb/130066; it has been noted by GNATS. From: "M. Warner Losh" To: hsela...@c2i.net Cc: freebsd-usb@FreeBSD.org, si...@freebsd.org, freebsd-gnats-sub...@freebsd.org Subject: Re: usb/130066: [newusb] Serial adaptor use fail with 'unsuppo

Re: usb/130066: [newusb] Serial adaptor use fail with 'unsupported speed XXX'

2009-01-02 Thread M. Warner Losh
In message: <200901030132.03840.hsela...@c2i.net> Hans Petter Selasky writes: : This issue is cause by an IOCTL returning ENOTTY instead of ENOIOCTL. I think I fixed this in usb1 not too long ago. It was introduced in the mpsafetty conversion... Well, exposed might be a better word.

Re: usb/130122: [hpsusb] DVD drive detects as 'da' device

2009-01-02 Thread M. Warner Losh
The following reply was made to PR usb/130122; it has been noted by GNATS. From: "M. Warner Losh" To: hsela...@c2i.net Cc: freebsd-usb@FreeBSD.org, freebsd-gnats-sub...@freebsd.org Subject: Re: usb/130122: [hpsusb] DVD drive detects as 'da' device Date: Fri, 02 Jan 2009 15:15

Re: usb/130122: [hpsusb] DVD drive detects as 'da' device

2009-01-02 Thread M. Warner Losh
In message: <200901022123.57193.hsela...@c2i.net> Hans Petter Selasky writes: : On Friday 02 January 2009, M. Warner Losh wrote: : > >Number: 130122 : > >Category: usb : > >Synopsis: [hpsusb] DVD drive detects as 'da' device : &

usb/130122: [hpsusb] DVD drive detects as 'da' device

2009-01-02 Thread M. Warner Losh
>Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jan 02 19:30:04 UTC 2009 >Closed-Date: >Last-Modified: >Originator: M. Warner Losh >Release:FreeBSD 8.0-CURRENT amd64 >Organization: FreeBSD >Environment: System:

Re: usb/129964: [newusb] disconnection of ugen devices isn't logged

2008-12-27 Thread M. Warner Losh
In message: <200812271101.17179.hsela...@c2i.net> Hans Petter Selasky writes: : On Saturday 27 December 2008, Bruce Cran wrote: : > On Sat, 27 Dec 2008 10:47:19 +0100 : > : > Hans Petter Selasky wrote: : > > On Saturday 27 December 2008, lini...@freebsd.org wrote: : > > > usb/129964 :

Re: ucom serial bug?

2008-12-04 Thread M. Warner Losh
!= 2) DPRINTFN(10,("uftdi_read: sc=%p, port=%d count=%d data[0]=" : : On 12/4/08 1:15 PM, M. Warner Losh wrote: : > In message: <[EMAIL PROTECTED]> : > Hans Petter Selasky <[EMAIL PROTECTED]> writes: : > : On Thursday 04 December 2008, Mike

Re: ucom serial bug?

2008-12-04 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Hans Petter Selasky <[EMAIL PROTECTED]> writes: : On Thursday 04 December 2008, Mike Tancsa wrote: : > At 02:33 PM 12/3/2008, Gabor wrote: : > >everything works fine. When we try to use a USB to serial : > >converter(type doesn't matter, UFTDI or Prolifi

  1   2   3   >