Re: Timeouts during initial Mode Sense commands

2020-02-02 Thread Warner Losh
On Sun, Feb 2, 2020 at 12:32 PM Denver Hull wrote: > Hans Petter Selasky wrote: > > On 2019-12-20 13:54, Denver Hull wrote: > >> Hans Petter Selasky wrote: > >>> On 2019-12-19 01:11, Denver Hull wrote: > Hello, > > I have several different microcontroller boards that are supposed

Re: pendrive clone impossible ?

2019-12-01 Thread Warner Losh
On Sun, Dec 1, 2019, 10:22 AM Tomasz CEDRO wrote: > As my previous message got moderated, just a quick summary - looks > like a GEOM_PART silently discards writes to MBR with a DD when it > considers MBR broken (writing to the rest of the disk is possible). I > have reported this as error: >

Re: Is it a good idea to use a usb-serial adapter for PPS input? Yes, it is.

2019-08-19 Thread Warner Losh
On Mon, Aug 19, 2019 at 8:26 AM Ian Lepore wrote: > On Mon, 2019-08-19 at 17:09 +0930, O'Connor, Daniel wrote: > > > On 12 Aug 2019, at 09:09, O'Connor, Daniel > > > wrote: > > > > always get lost on single-core processors which are in cpu_idle() > > > > at > > > > the time the hardclock

Re: USB issues with 12.0

2019-04-02 Thread Warner Losh
On Tue, Apr 2, 2019, 1:52 AM Hans Petter Selasky wrote: > On 4/2/19 8:22 AM, Florian Schulze wrote: > > Only difference is that the text for the Kindle is rearranged: > > ugen1.2: > Gadget> at usbus1, cfg=1 md=HOST spd=HIGH (480Mbps) pwr=ON (2mA) > > Hi, > > Try to get more info on this device

Re: Questions about the USB HID device drivers

2019-02-18 Thread Warner Losh
On Mon, Feb 18, 2019 at 2:04 PM Apollo D. Sharpe, Sr. via freebsd-usb < freebsd-usb@freebsd.org> wrote: > On 2/18/19 3:26 AM, Hans Petter Selasky wrote: > > Each devicename has a uniq prefix followed by a uniq unit number. > > So, we just end up dumping ALL device nodes in /dev... > Yes and no.

Re: umodem0, Cisco USB serial console, and quirks

2018-11-04 Thread Warner Losh
On Sun, Nov 4, 2018 at 5:06 PM Mike Andrews wrote: > On Fri, 2 Nov 2018, CeDeROM wrote: > > > Try to add VID/PID of your device into a usbmodem driver. Use > > configurations to see which one works with your device. Rebuild the > > module/kernel, reboot, try it out untill success. > > > > After

Re: umodem0, Cisco USB serial console, and quirks

2018-11-02 Thread Warner Losh
On Fri, Nov 2, 2018 at 8:04 AM Andrey V. Elsukov wrote: > On 02.11.2018 16:59, Warner Losh wrote: > > All the commands for USB modems should be described here: > > > > https://www.usb.org/sites/default/files/CDC_EEM10.pdf > > > > I'm sorry, but I do

Re: umodem0, Cisco USB serial console, and quirks

2018-11-02 Thread Warner Losh
On Fri, Nov 2, 2018 at 3:57 AM Hans Petter Selasky wrote: > On 11/2/18 10:24 AM, Andrey V. Elsukov wrote: > > On 02.11.2018 12:12, Hans Petter Selasky wrote: > >>> # cu -l /dev/cuaU0 > >>> Connected > >>> > >>> > >>> > >> > >> Did you try "-s" option to set another baudrate? > > > > Yes, the

Re: PC Engines APU2B4 betatest: usb install fails

2018-07-13 Thread Warner Losh
On Fri, Jul 13, 2018 at 1:21 AM, Stefan Bethke wrote: > Did you ever get this resolved? I continue having problems with the two > USB3 ports after install. > > > Am 07.11.2015 um 16:55 schrieb Noth : > > > > Hi all, > > > > I've been directed here by the good folk of #freebsd on Freenode. I'm >

Re: Clandestine USB SD card slot

2016-10-16 Thread Warner Losh
On Sun, Oct 16, 2016 at 12:08 PM, Warren Block wrote: > On Sun, 16 Oct 2016, George Mitchell wrote: > >>> So not only is it (apparently) recognized, but the sdhci_pci driver >>> attached to it! But inserting or removing a card shows no activity. >>> What's my next step?

Re: Digi Watchport/T temperature sensor as /dev/ttyU

2016-07-24 Thread Warner Losh
On Sun, Jul 24, 2016 at 12:42 PM, Kevin Oberman wrote: > There are several different USB serial drivers. Off-hand I see ubser, ubsa, > uchcom, ucom, ucycom, uftdi, ubgensa, umcs, umct, umoscom, uplcom, > usb_serial, uslcom, and uvscom. Whether any of these will support the TI

Re: How to access a FTDI usb device with a custom vendor and product id's

2015-11-11 Thread Warner Losh
On Nov 10, 2015 9:53 AM, "Hans Petter Selasky" wrote: > > On 11/10/15 17:50, Ian Lepore wrote: >> >> On Tue, 2015-11-10 at 17:40 +0100, Hans Petter Selasky wrote: >>> >>> On 11/10/15 17:28, Burton Sampley wrote: SYSFS{idVendor}=="2100", SYSFS{idProduct}=="9e56",

Re: Patch to allow dynamic USB quirks at boot

2015-09-23 Thread Warner Losh
wrote: > > > On Tue, Sep 22, 2015 at 2:38 PM, Warner Losh <i...@bsdimp.com> wrote: > >> I need help with PCI driver marking. Grab my patches and we can talk. >> >> Basically, it marks all the .ko modules in a similar way that we do >> inter-module &

Re: VIA Cardbus USB

2014-03-16 Thread Warner Losh
On Mar 14, 2014, at 2:38 AM, Hans Petter Selasky h...@bitfrost.no wrote: On 03/14/14 09:08, Admin wrote: 14.03.2014 14:42, Hans Petter Selasky пишет: On 03/14/14 08:22, Admin wrote: Hello all. I have a two-port PCMCIA USB 2.0 card exactly like this:

Re: hot usb sticks

2013-10-07 Thread Warner Losh
On Oct 7, 2013, at 7:40 AM, Julian Elischer wrote: On 10/5/13 11:46 PM, Miroslav Lachman wrote: Julian H. Stacey wrote: Has anyone else noticed how hot USB sticks can get when used for backup ? also that IO errors occur after a while, which go away after a cold reboot. Not the whole

Re: EHCI on armv6 with Write-Back caches

2012-12-19 Thread Warner Losh
On Dec 19, 2012, at 1:56 AM, Hans Petter Selasky wrote: Hi again, Different vendors use different naming conventions about sync operations. The different names are often for subtly different types of cache flushing. Maybe we should start defining some names and agree about that first?

Re: EHCI on armv6 with Write-Back caches

2012-12-18 Thread Warner Losh
On Dec 18, 2012, at 1:22 AM, Hans Petter Selasky wrote: On Tuesday 18 December 2012 08:49:31 Andrew Turner wrote: Hello, Oleksandr and myself have been looking into why when we enable the write-back cache on the PandaBoard there are kernel panics with USB. We have tracked it down to an

Re: EHCI on armv6 with Write-Back caches

2012-12-18 Thread Warner Losh
On Dec 18, 2012, at 12:44 PM, Hans Petter Selasky wrote: On Tuesday 18 December 2012 20:12:29 Andrew Turner wrote: On Tue, 18 Dec 2012 13:06:44 +0100 Hans Petter Selasky hsela...@c2i.net wrote: Hi Andrew, The BUS_DMA_COHERENT flag does nothing on armv6 as we need the cache enabled for

Re: USB devices not autodetecting anymore on stable

2012-12-12 Thread Warner Losh
On Dec 8, 2012, at 10:21 AM, Jakub Lach wrote: ...and here I was, not noticing devd at all, and used to manually loading drivers. I had no devd_enable in rc.conf though, how come this daemon is started anyway? It starts by default, unless you tell it not to. Warner

Re: Disks are 1 sector smaller with USB bridge

2012-09-06 Thread Warner Losh
On Sep 6, 2012, at 12:41 PM, Dieter BSD wrote: FreeBSD reports that disks are 1 sector smaller when connected via a usb-to-sata bridge than when connected to a sata controller. This creates a problem when migrating a disk from a sata controller to a usb bridge, the data in the last sector is

Re: Exclude USB drivers from main kernel image?

2012-03-04 Thread Warner Losh
On Mar 4, 2012, at 5:44 AM, Robert Millan wrote: El 3 de març de 2012 19:37, Warner Losh i...@bsdimp.com ha escrit: Hi, Your patch looks good. Are there any objections committing the patch attached to the previous e-mail? Do all the platforms that had the devices removed work? Have

Re: Exclude USB drivers from main kernel image?

2012-03-03 Thread Warner Losh
On Mar 3, 2012, at 11:02 AM, Hans Petter Selasky wrote: On Saturday 03 March 2012 13:48:05 Robert Millan wrote: On Sat, Feb 18, 2012 at 05:20:27PM +0100, Hans Petter Selasky wrote: The /etc/devd/usb.conf is regularly updated, though not automatically. It should auto-load most kind of

Re: 8.x grudges

2010-07-11 Thread M. Warner Losh
In message: aanlktikdj39liaffibdwkfa1vgt4w7m8toxevjykh...@mail.gmail.com Garrett Cooper yanef...@gmail.com writes: : On Wed, Jul 7, 2010 at 1:17 PM, Mikhail T. mi+t...@aldan.algebra.com wrote: : 07.07.2010 14:59, Jeremy Chadwick ???(??): : :      FREEBSD_COMPAT7 kernel option

Re: Help troubleshooting...

2009-10-26 Thread Warner Losh
wrote: 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 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

Re: Help troubleshooting...

2009-10-26 Thread M. Warner Losh
In message: 200910260959.20772.hsela...@c2i.net Hans Petter Selasky hsela...@c2i.net 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 point

Re: Help troubleshooting...

2009-10-26 Thread M. Warner Losh
In message: 200910261258.08135.hsela...@c2i.net Hans Petter Selasky hsela...@c2i.net 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

Re: Help troubleshooting...

2009-10-26 Thread M. Warner Losh
In message: 86skd6cmm8@ds4.des.no Dag-Erling_Smørgrav d...@des.no writes: : M. Warner Losh i...@bsdimp.com 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

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

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

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

Re: Performance issues

2009-08-09 Thread M. Warner Losh
In message: 3bbf2fe10908091038m3efb3612l2923d8b3238e1...@mail.gmail.com Attilio Rao atti...@freebsd.org writes: : 2009/8/9 Attilio Rao atti...@freebsd.org: : 2009/8/9 M. Warner Losh i...@bsdimp.com: : In message: 200908091840.55000.hsela...@c2i.net : Hans Petter Selasky

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 hsela...@c2i.net 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

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

Re: detaching usb device without unmounting it

2009-07-10 Thread M. Warner Losh
In message: permail-20090710090548f7e55a9d3ae0-a_bes...@message-id.uni-muenster.de Alexander Best alexbes...@math.uni-muenster.de 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

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 hsela...@c2i.net 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 :

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 hsela...@c2i.net writes: : On Tuesday 23 June 2009 11:11:29 Alexandr Rybalko wrote: : On Tue, 23 Jun 2009 10:35:42 +0200 : : Piotr Zięcik ko...@semihalf.com wrote: : While bringing up EHCI (8-CURRENT, new USB

Re: EHCI Problem on FreeBSD arm port

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

Re: u3g serial device name query

2009-04-30 Thread M. Warner Losh
In message: 200904301412.38313.freebsd-...@dino.sk Milan Obuch freebsd-...@dino.sk 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

Re: Bad USB port explanation?

2009-04-30 Thread M. Warner Losh
In message: 009e01c9ca01$356cca70$a0465f...@com Engineering e...@athyriogames.com 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

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 gpe...@entel.upc.edu 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 :

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

Re: external DVD Rewriter

2009-03-24 Thread M. Warner Losh
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 mesli...@yahoo.fr writes: : : Hi ! : : : : I recently added an external LG dvd rewriter to a clean

Re: external DVD Rewriter

2009-03-23 Thread M. Warner Losh
In message: 49c7affe.4060...@yahoo.fr dan mesli...@yahoo.fr writes: : Hi ! : : I recently added an external LG dvd rewriter to a clean FreeBSD 7.1 : installation. : : --- : umass0: HLDS Inc SuperMulti RW, class 0/0, rev 2.00/1.59, addr 2 on uhub3 : cd0 at umass-sim0 bus 0 target

Still wrong

2009-03-22 Thread M. Warner Losh
ugen2.2: Myson Century, Inc. at usbus2 umass0: Mass Storage Class 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

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

Re: Still wrong

2009-03-22 Thread M. Warner Losh
In message: 20090322.071220.1447367564@bsdimp.com M. Warner Losh i...@bsdimp.com writes: : ugen2.2: Myson Century, Inc. at usbus2 : umass0: Mass Storage Class on usbus2 : umass0: SCSI over Bulk-Only; quirks = 0x4480 : umass0:2:0:-1: Attached to scbus2 : (probe0:umass-sim0:0:0:0

Re: Still wrong

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

Re: usbdevs -v

2009-03-22 Thread M. Warner Losh
In message: 200903221454.10594.hsela...@c2i.net Hans Petter Selasky hsela...@c2i.net 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 unless it is attached

Re: usbdevs -v

2009-03-22 Thread M. Warner Losh
In message: 49c68ebb.8090...@telenix.org Chuck Robey chu...@telenix.org 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 doesn't list

Re: usbdevs -v

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

Re: USBTODO

2009-03-19 Thread M. Warner Losh
In message: 20090319223756.gf2...@citylink.fud.org.nz Andrew Thompson thom...@freebsd.org 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. : :

Re: Belkin Cardbus USB2 adaptors too hot.

2009-03-18 Thread M. Warner Losh
In message: 200903181907.n2ij7k1d042...@fire.js.berklix.net Julian Stacey j...@berklix.org 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=, :

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 torfinn.ingolf...@broadpark.no 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

Re: Latest kernel breaks scanner

2009-03-08 Thread M. Warner Losh
In message: 20090308.130659.-1303465250@bsdimp.com M. Warner Losh i...@bsdimp.com 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 doesn't work now

Re: Latest kernel breaks scanner

2009-03-08 Thread M. Warner Losh
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. Upgraded now it doesn't : work. Scanner not found by xsane. : : Are you

Re: Knobs to reduce PCI interrupt latency

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

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 hsela...@c2i.net 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: The rc.d mess strikes back

2009-03-02 Thread M. Warner Losh
In message: 2fd864e0903020512i22b2c31fg487aaf37fed63...@mail.gmail.com Astrodog astro...@gmail.com 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

Re: The rc.d mess strikes back

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

Re: USB2+umass: root mount fails

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

Re: ums no longer loads on CURRENT

2009-03-01 Thread M. Warner Losh
In message: cb26d07a-6d29-4b53-b3f1-cd1cab8af...@gmail.com Garrett Cooper yanef...@gmail.com 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

Re: The rc.d mess strikes back

2009-03-01 Thread M. Warner Losh
In message: e39d3873-3f36-467a-b225-347a088b6...@gmail.com Garrett Cooper yanef...@gmail.com 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

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 hsela...@c2i.net 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

Re: CFR: usb switchover patches

2009-02-20 Thread M. Warner Losh
In message: 20090220100115.r53...@maildrop.int.zabbadoz.net Bjoern A. Zeeb bzeeb-li...@lists.zabbadoz.net 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

Re: USB2+umass: root mount fails

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

Re: CFR: usb switchover patches

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

Re: USB2+umass: root mount fails

2009-02-18 Thread M. Warner Losh
In message: 20090219050200.ga84...@citylink.fud.org.nz Andrew Thompson thom...@freebsd.org 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 hsela...@c2i.net writes

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 torfinn.ingolf...@broadpark.no writes: : On Sun, 15 Feb 2009 14:41:04 -0800 : Andrew Thompson thom...@freebsd.org wrote: : : The GENERIC kernels for all architectures now default to the new USB2 :

Re: USB2+umass: root mount fails

2009-02-16 Thread M. Warner Losh
In message: 741faa3b-b91a-4a23-b47f-21141a8d0...@mac.com Marcel Moolenaar xcl...@mac.com writes: : : On Feb 16, 2009, at 3:13 PM, M. Warner Losh wrote: : : In message: acb7dff1-6c8e-4936-9bd9-bb2fd375f...@mac.com : Marcel Moolenaar xcl...@mac.com writes: : : Before I

Re: USB2+umass: root mount fails

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

Re: USB2+umass: root mount fails

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

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 alf...@freebsd.org writes: : * Hans Petter Selasky hsela...@c2i.net [090211 00:52] wrote: : Hi, : : On Wednesday 11 February 2009, Hiroharu Tamaru wrote: : Hi, : : I have an Atom Z530 semi-embedded system and

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 hsela...@c2i.net 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: : : :

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 i...@bsdimp.com writes: : In message: 200902081951.16823.hsela...@c2i.net : Hans Petter Selasky hsela...@c2i.net writes: : : On Sunday 08 February 2009, Andrew Thompson wrote: : : On Sun, Feb 08, 2009

Re: HEADSUP usb2/usb4bsd to become default in GENERIC

2009-02-08 Thread M. Warner Losh
In message: f8077156-96ad-4831-9ba9-eee68a2ef...@elvandar.org Remko Lodder re...@elvandar.org 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

Re: eToken and USB2 (ugen issue?)

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

Re: eToken and USB2 (ugen issue?)

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

Re: eToken and USB2 (ugen issue?)

2009-02-07 Thread M. Warner Losh
In message: 200902072044.53830.hsela...@c2i.net Hans Petter Selasky hsela...@c2i.net 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 instead

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

Re: USB2 patches

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

Re: USB2 patches

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

Re: USB2 patches

2009-02-01 Thread M. Warner Losh
In message: 20090201191851.ge32...@citylink.fud.org.nz Andrew Thompson thom...@freebsd.org 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: 200902012031.56899.hsela...@c2i.net Hans Petter Selasky hsela...@c2i.net 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 -

Re: USB2 patches

2009-01-31 Thread M. Warner Losh
In message: 20090201030628.ge65...@elvis.mu.org Alfred Perlstein alf...@freebsd.org 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

Re: USB2 patches

2009-01-31 Thread M. Warner Losh
In message: 20090201033641.gg65...@elvis.mu.org Alfred Perlstein alf...@freebsd.org writes: : * M. Warner Losh i...@bsdimp.com [090131 19:33] wrote: : In message: 20090201030628.ge65...@elvis.mu.org : Alfred Perlstein alf...@freebsd.org writes: : : I'll defer to Hans

Re: xsane busted with usb2

2009-01-06 Thread M. Warner Losh
In message: 200901060940.21830.hsela...@c2i.net Hans Petter Selasky hsela...@c2i.net 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's no /dev

Re: xsane busted with usb2

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

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 yanef...@gmail.com writes: : On Tue, Jan 6, 2009 at 10:32 AM, Hans Petter Selasky hsela...@c2i.net wrote: : On Saturday 03 January 2009, Volker wrote: : On 01/03/09 01:35, Hans Petter Selasky

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 hsela...@c2i.net writes: : On Tuesday 06 January 2009, M. Warner Losh wrote: : In message: 200901062024.31100.hsela...@c2i.net : : Hans Petter Selasky hsela...@c2i.net writes: : : On Tuesday 06 January

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 jul...@elischer.org 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: : : : : usbconfig -u xxx -a xxx

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 hsela...@c2i.net writes: : On Friday 02 January 2009, M. Warner Losh wrote: : In message: 200901022123.57193.hsela...@c2i.net : : Hans Petter Selasky hsela...@c2i.net writes: : : On Friday 02 January

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 i...@bsdimp.com 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:38

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

2009-01-02 Thread M. Warner Losh
-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: FreeBSD lighthouse 8.0-CURRENT FreeBSD 8.0-CURRENT #0 r185338:186501M: Fri Dec 26 17:56

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 hsela...@c2i.net writes: : On Friday 02 January 2009, M. Warner Losh wrote: : Number: 130122 : Category: usb : Synopsis: [hpsusb] DVD drive detects as 'da' device : Confidential

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 i...@bsdimp.com 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:01

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 hsela...@c2i.net 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

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 i...@bsdimp.com 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 'unsupported

Re: ucom serial bug?

2008-12-04 Thread M. Warner Losh
=%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 Tancsa wrote: : : At 02:33 PM 12/3/2008, Gabor wrote: : : everything works fine. When we try to use

Re: Device IDs for HP hs2300 HSDPA modem

2008-11-26 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Hans Petter Selasky [EMAIL PROTECTED] writes: : I think SVN is more up to date. Just give it some time and CVS will : be updated aswell. The lag between these two is measure in minutes, at most If that isn't the case, we need to know... Warner

Re: [Serious] busdma bug in -current in relation to USB hardware - review wanted

2008-11-17 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Hans Petter Selasky [EMAIL PROTECTED] writes: : Hi, : : It turns out my initial patch need to be limited to the use-case only. Before : I start any real work, I want to know if anyone will object if I implement : the following new BUS_DMA flag into

  1   2   3   >