Re: usb/176417: [xhci][cam][umass] kernelpanic while removing plugged in disk

2013-02-25 Thread Hans Petter Selasky
Hi, This does not look like an USB issue. It is related to CAM/SCSI layer. mav @ CC'ed --HPS On Monday 25 February 2013 12:19:18 Wouter Oosterveld wrote: Number: 176417 Category: usb Synopsis: [xhci][cam][umass] kernelpanic while removing plugged in disk Confidential:

Re: usb/176417: [xhci][cam][umass] kernelpanic while removing plugged in disk

2013-02-25 Thread Hans Petter Selasky
The following reply was made to PR usb/176417; it has been noted by GNATS. From: Hans Petter Selasky hsela...@c2i.net To: freebsd-usb@freebsd.org Cc: Wouter Oosterveld wou...@trimm.nl, freebsd-gnats-sub...@freebsd.org, m...@freebsd.org Subject: Re: usb/176417: [xhci][cam][umass] kernelpanic

Re: usb/176417: [xhci][cam][umass] kernelpanic while removing plugged in disk

2013-02-25 Thread Hans Petter Selasky
On Monday 25 February 2013 15:09:12 Wouter Oosterveld wrote: Please not all this happened while the drive was plugged in at the time. Is the powersafe feature of USB3.0 not understood (if any) by the kernel or something? -Wouter How long was the drive plugged when this happened? Usually a

Re: usb/176417: [xhci][cam][umass] kernelpanic while removing plugged in disk

2013-02-25 Thread Hans Petter Selasky
The following reply was made to PR usb/176417; it has been noted by GNATS. From: Hans Petter Selasky hsela...@c2i.net To: Wouter Oosterveld wouter.oosterv...@trimm.nl Cc: freebsd-usb@freebsd.org freebsd-usb@freebsd.org, freebsd-gnats-sub...@freebsd.org freebsd-gnats-sub...@freebsd.org, m

Re: Insufficient memory reserved for xfer-dma_page_ptr?

2013-02-20 Thread Hans Petter Selasky
On Wednesday 20 February 2013 15:44:12 Aman Sawrup wrote: Hi Hans, If I understand correctly, I need to set bufsize in struct usb_config as follows: [UMASS_T_BBB_DATA_READ] = { .type = UE_BULK, .endpoint = UE_ADDR_ANY, .direction

Re: argyllcms and usb (0.1 and 1.0)

2013-02-20 Thread Hans Petter Selasky
On Wednesday 20 February 2013 10:11:10 Boris Samorodov wrote: Hello, All! I try to build argyllcms (http://www.argyllcms.com/) at FreeBSD: - % uname -a FreeBSD bsam.wart.ru 10.0-CURRENT FreeBSD 10.0-CURRENT #8 r246714: Tue Feb 12 22:26:27 SAMT 2013

Re: Insufficient memory reserved for xfer-dma_page_ptr?

2013-02-19 Thread Hans Petter Selasky
On Tuesday 19 February 2013 23:26:19 Aman Sawrup wrote: I believe the amount of memory reserved needs to be much higher. For example, if sizeof(struct usb_page) is 16 bytes, then for n_frbuffers of 128 and parm-bufsize of 131072, we need the following amount of memory reserved:

Re: sdcard read error with nokia n8 as mass storage

2013-02-18 Thread Hans Petter Selasky
On Monday 18 February 2013 22:57:25 Jan Beich wrote: Hans Petter Selasky hsela...@c2i.net writes: On Monday 18 February 2013 07:11:56 Jan Beich wrote: Hans Petter Selasky hsela...@c2i.net writes: On Sunday 17 February 2013 17:24:23 Jan Beich wrote: The phone has 16G of on-board and 16G

Re: sdcard read error with nokia n8 as mass storage

2013-02-17 Thread Hans Petter Selasky
On Sunday 17 February 2013 17:24:23 Jan Beich wrote: The phone has 16G of on-board and 16G sdcard memory. FreeBSD 10.0 detects both but only the former can be mounted. And there is no issue mounting the sdcard on Ubuntu or on FreeBSD via iSCSI (fileio). $ dmesg # freebsd ugen7.2: Nokia at

Re: usb/175731: detaching USB keyboard freezes other USB keyboards

2013-02-14 Thread Hans Petter Selasky
: detaching USB keyboard freezes other USB keyboards Date: Thu, 14 Feb 2013 10:19:05 +0100 Am 07.02.2013 22:26, schrieb Hans Petter Selasky: On Thursday 07 February 2013 13:10:01 Norbert Koch wrote: The following reply was made to PR usb/175731; it has been noted by GNATS. From: Norbert

Re: usb/175731: detaching USB keyboard freezes other USB keyboards

2013-02-14 Thread Hans Petter Selasky
The following reply was made to PR usb/175731; it has been noted by GNATS. From: Hans Petter Selasky hsela...@c2i.net To: freebsd-usb@freebsd.org, Norbert Koch nk...@demig.de Cc: bug-follo...@freebsd.org Subject: Re: usb/175731: detaching USB keyboard freezes other USB keyboards Date: Thu, 14

Re: Reading 1024 bytes from mass storage device using 3 frames gives USB_ERR_STALLED

2013-02-14 Thread Hans Petter Selasky
On Thursday 14 February 2013 23:16:31 Aman Sawrup wrote: Hi Hans, Is it possible to do the following: 1. Set frame 0 length to 200 bytes 2. usbd_transfer_submit() 3. Wait for USB_ST_TRANSFERRED 4. Set frame 0 length to 512 bytes 5. Set frame 1 length to 312 bytes 6.

Re: USB 3 stick

2013-02-13 Thread Hans Petter Selasky
On Tuesday 12 February 2013 19:51:44 Mike Tancsa wrote: Hi, I picked up a Zalman USB 3.0 flash stick that has problems if its connected at boot time. If I reboot the box with the stick plugged in (RELENG_9 from Feb 11), I get the errors below. If I boot up the box and then plug the stick

Re: plenty complains on microSD reader Kingston FCR-MRG2

2013-02-13 Thread Hans Petter Selasky
On Wednesday 13 February 2013 09:52:35 Zeus Panchenko wrote: hi, on Kingston microSD reader FCR-MRG2 plug-in I receive a lot of conplains: ugen1.3: Silicon Motion, Inc. at usbus1 umass1: Silicon Motion, Inc. Generic USB2.0 card, class 0/0, rev 2.00/1.00, addr 3 on usbus1 da1 at umass-sim1

Re: plenty complains on microSD reader Kingston FCR-MRG2

2013-02-13 Thread Hans Petter Selasky
On Wednesday 13 February 2013 12:07:20 Zeus Panchenko wrote: Hans Petter Selasky hsela...@c2i.net wrote: Try to set the no synchronize quirk for your device first: first of what, sorry? first of pluging the reader? or first of noising here? :) usbconfig dump_quirk_names yes, a lot

Re: Reading 1024 bytes from mass storage device using 3 frames gives USB_ERR_STALLED

2013-02-11 Thread Hans Petter Selasky
On Monday 11 February 2013 20:44:25 Aman Sawrup wrote: Hi Hans, I have a couple of questions about usbd_xfer_max_framelen() and usbd_xfer_max_len(): You mentioned the frame length should be a multiple of usbd_xfer_max_framelen(). If there is only 1 frame in the transfer, is it okay if

Re: some usb troubles

2013-02-10 Thread Hans Petter Selasky
On Saturday 09 February 2013 19:01:25 Chagin Dmitry wrote: Hi all, trying to run macbookpro10,1 on HEAD: 1) usb3.0 does not work at 9.1 and HEAD (r246587) 2) Between stable/9 and HEAD (r246587) we are lost uhid devices (external keyboard and mouse) and umass. dmesg on the same hw can find

Re: some usb troubles

2013-02-10 Thread Hans Petter Selasky
On Sunday 10 February 2013 12:03:36 Hans Petter Selasky wrote: On Saturday 09 February 2013 19:01:25 Chagin Dmitry wrote: Hi all, trying to run macbookpro10,1 on HEAD: 1) usb3.0 does not work at 9.1 and HEAD (r246587) 2) Between stable/9 and HEAD (r246587) we are lost uhid devices

Re: Pencam does not attach

2013-02-09 Thread Hans Petter Selasky
On Saturday 09 February 2013 13:51:56 Paul Schenkeveld wrote: Hi, I tried to use a USB pen camera with flash drive but get no more than: usbus7: port reset timeout uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT uhub_reattach_port: device problem (USB_ERR_TIMEOUT),

Re: Pencam does not attach

2013-02-09 Thread Hans Petter Selasky
On Saturday 09 February 2013 21:04:03 Paul Schenkeveld wrote: On Sat, Feb 09, 2013 at 03:56:53PM +0100, Hans Petter Selasky wrote: On Saturday 09 February 2013 13:51:56 Paul Schenkeveld wrote: Hi, I tried to use a USB pen camera with flash drive but get no more than: usbus7: port

Re: hp usb mass storage issues

2013-02-08 Thread Hans Petter Selasky
On Friday 08 February 2013 11:15:42 CeDeROM wrote: Hello :-) I got a pendrive that does not want to detect on FreeBSD 9.1 and 9.1-RC3, here is what I get: ugen1.7: HP at usbus1 umass0: HP v195b, class 0/0, rev 2.00/81.92, addr 7 on usbus1 umass0: SCSI over Bulk-Only; quirks = 0x0100

Re: hp usb mass storage issues

2013-02-08 Thread Hans Petter Selasky
On Friday 08 February 2013 11:35:59 CeDeROM wrote: On Fri, Feb 8, 2013 at 11:18 AM, Hans Petter Selasky hsela...@c2i.net wrote: Try to set the no synchronize cache quirk using usbconfig. Hello Hans :-) Yes that helps: ugen1.7: HP at usbus1 umass0: HP v195b, class 0/0, rev 2.00/81.92

Re: Reading 1024 bytes from mass storage device using 3 frames gives USB_ERR_STALLED

2013-02-08 Thread Hans Petter Selasky
On Friday 08 February 2013 22:48:02 aman.sawrup wrote: Hello, We have ported the FreeBSD USB stack to my employers proprietary RTOS. The code was taken from the MAIN branch a little while after RELENG_8_BP tag was created. I'm trying to read data from the following mass storage device

Re: usb/175731: detaching USB keyboard freezes other USB keyboards

2013-02-07 Thread Hans Petter Selasky
On Thursday 07 February 2013 13:10:01 Norbert Koch wrote: The following reply was made to PR usb/175731; it has been noted by GNATS. From: Norbert Koch nk...@demig.de To: bug-follo...@freebsd.org Cc: Subject: Re: usb/175731: detaching USB keyboard freezes other USB keyboards Date: Thu, 07

Re: usb/175731: detaching USB keyboard freezes other USB keyboards

2013-02-07 Thread Hans Petter Selasky
The following reply was made to PR usb/175731; it has been noted by GNATS. From: Hans Petter Selasky hsela...@c2i.net To: freebsd-usb@freebsd.org, Norbert Koch nk...@demig.de Cc: bug-follo...@freebsd.org, i...@freebsd.org Subject: Re: usb/175731: detaching USB keyboard freezes other USB

Re: usb/175731: detaching USB keyboard freezes other USB keyboards

2013-02-07 Thread Hans Petter Selasky
On Thursday 07 February 2013 22:26:17 Hans Petter Selasky wrote: Can you try to uncomment these? I mean en-comment by adding # in front of every line. --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb

Re: usb/175731: detaching USB keyboard freezes other USB keyboards

2013-02-07 Thread Hans Petter Selasky
The following reply was made to PR usb/175731; it has been noted by GNATS. From: Hans Petter Selasky hsela...@c2i.net To: freebsd-usb@freebsd.org Cc: Norbert Koch nk...@demig.de, i...@freebsd.org, bug-follo...@freebsd.org Subject: Re: usb/175731: detaching USB keyboard freezes other USB

Re: Get the USB descriptor string from uhid device

2013-02-06 Thread Hans Petter Selasky
On Tuesday 05 February 2013 22:21:44 Martin Laabs wrote: Hi, currently I am writing an (linux compatible) UBS Joystick driver based on the libusbhid and the cuse4bsd framework. For the user I would like to get the sting from the usb device (that string which is also printed in the dmesg

Re: microsd to usb adpater on FreeBSD

2013-02-04 Thread Hans Petter Selasky
On Monday 04 February 2013 12:13:16 Jakub Lach wrote: I've got such adapter with microsd purchase, http://www.trueaccessories.com/images/MicroSD-USB-Adapter.jpg it appears to me it's missing come active component to constitute a proper usb disk, (it's only pin rewire thing) and as such is

Re: usb/175731: detaching USB keyboard freezes other USB keyboards

2013-01-31 Thread Hans Petter Selasky
On Thursday 31 January 2013 15:03:03 Norbert Koch wrote: Number: 175731 Category: usb Synopsis: detaching USB keyboard freezes other USB keyboards Confidential: no Severity: non-critical Priority: low Responsible:freebsd-usb State: open

Re: usb/175731: detaching USB keyboard freezes other USB keyboards

2013-01-31 Thread Hans Petter Selasky
The following reply was made to PR usb/175731; it has been noted by GNATS. From: Hans Petter Selasky hsela...@c2i.net To: freebsd-usb@freebsd.org Cc: Norbert Koch nk...@demig.de, freebsd-gnats-sub...@freebsd.org Subject: Re: usb/175731: detaching USB keyboard freezes other USB keyboards Date

Re: sata to usb not working

2013-01-31 Thread Hans Petter Selasky
On Friday 01 February 2013 08:24:02 john smith wrote: Hello, I bought two cheap sata to usb adapters (one with enclosure and one without, one of them is self powerd, so that's not the problem), and both give me the messages below. Tried with 8.2 and 9.1 to which I'm migrating. I have another

Re: Why my USB keyboard doesn't generate scancodes?

2013-01-30 Thread Hans Petter Selasky
On Wednesday 30 January 2013 09:28:14 Yuri wrote: On 01/29/2013 09:52, Hans Petter Selasky wrote: Please include dmesg from when you plug the device into the USB port. Here is the log for disconnecting and connecting again. Yuri That part looks OK. What is printed in dmesg

Re: Why my USB keyboard doesn't generate scancodes?

2013-01-30 Thread Hans Petter Selasky
On Wednesday 30 January 2013 09:56:21 Yuri wrote: On 01/30/2013 00:33, Hans Petter Selasky wrote: What is printed in dmesg with ukbd.debug enabled when you press a key or two. And also try NumLock. I have hw.usb.ukbd.debug=15 and nothing is printed in dmesg. Based on my previous dtrace

Re: Why my USB keyboard doesn't generate scancodes?

2013-01-30 Thread Hans Petter Selasky
On Wednesday 30 January 2013 10:17:21 Yuri wrote: On 01/30/2013 01:10, Hans Petter Selasky wrote: On Wednesday 30 January 2013 09:56:21 Yuri wrote: On 01/30/2013 00:33, Hans Petter Selasky wrote: What is printed in dmesg with ukbd.debug enabled when you press a key or two. And also try

Re: Why my USB keyboard doesn't generate scancodes?

2013-01-30 Thread Hans Petter Selasky
On Wednesday 30 January 2013 10:27:36 Yuri wrote: On 01/30/2013 01:25, Hans Petter Selasky wrote: usbconfig -d X.Y do_request 0x81 0x06 0x2200 1 0x300 Hi, Your HID descriptor is decoded like this: Report descriptor: Collection type=Application page=Generic_Desktop usage=Mouse Collection

Re: Why my USB keyboard doesn't generate scancodes?

2013-01-29 Thread Hans Petter Selasky
On Sunday 27 January 2013 11:10:43 Yuri wrote: On 01/27/2013 00:54, Hans Petter Selasky wrote: Maybe you can dump the HID descriptor of this device? Setting quirk UQ_KBD_BOOTPROTO didn't change the behavior. # usbconfig -d 1.2 do_request 0x81 0x06 0x2200 0 0x100 REQUEST = 0x05 0x01 0x09

Re: Why my USB keyboard doesn't generate scancodes?

2013-01-29 Thread Hans Petter Selasky
On Tuesday 29 January 2013 18:48:04 Hans Petter Selasky wrote: On Sunday 27 January 2013 11:10:43 Yuri wrote: On 01/27/2013 00:54, Hans Petter Selasky wrote: Maybe you can dump the HID descriptor of this device? Setting quirk UQ_KBD_BOOTPROTO didn't change the behavior. # usbconfig

Re: Why my USB keyboard doesn't generate scancodes?

2013-01-27 Thread Hans Petter Selasky
On Sunday 27 January 2013 08:29:03 Yuri wrote: Sorry, forgot an important bit: ugen1.2: Microsoft Nano Transceiver v1.0 Microsoft at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON Configuration index 0 bLength = 0x0009 bDescriptorType = 0x0002 wTotalLength = 0x0054

Re: Why my USB keyboard doesn't generate scancodes?

2013-01-27 Thread Hans Petter Selasky
On Sunday 27 January 2013 03:56:12 Yuri wrote: ---usbdump log--- # usbdump -i usbus1 -s 160 -v 17:40:16.961544 usbus1.2 DONE-INTR-EP=0082,SPD=FULL,NFR=1,SLEN=8,IVAL=1,ERR=0 frame[0] READ 5 bytes 16 00 00 27 00 -- -- -- -- -- -- -- -- -- -- -- |...'. |

Re: ZFS + usb in trouble?

2013-01-27 Thread Hans Petter Selasky
On Sunday 27 January 2013 13:52:20 Alexander Nedotsukov wrote: Thank you, Pawel. Hans, can please you take a look at your commits done on Dec 20 (r244500 and r244503)? They are seems to be the culprit. Hi, I don't have 10-current machine here right now, but I tried the following on a

Re: ZFS + usb in trouble?

2013-01-27 Thread Hans Petter Selasky
On Sunday 27 January 2013 16:59:02 Hans Petter Selasky wrote: I don't have 10-current machine here right now, but I tried the following on a 9-stable machine: BTW: 9-stable does not have the patches you wanted me to look at. Is this issue reproducible in stock 9-stable at your side or 9

Re: ZFS + usb in trouble?

2013-01-27 Thread Hans Petter Selasky
On Sunday 27 January 2013 17:15:02 Hans Petter Selasky wrote: On Sunday 27 January 2013 16:59:02 Hans Petter Selasky wrote: I don't have 10-current machine here right now, but I tried the following on a 9-stable machine: BTW: 9-stable does not have the patches you wanted me to look

Re: ZFS + usb in trouble? [PATCHED]

2013-01-27 Thread Hans Petter Selasky
Hi, Can you try this patch: http://svnweb.freebsd.org/changeset/base/245995 It fixes the issue for me. Looks like I overlooked a corner case computing the DMA addresses. Thanks for reporting! zpool status pool: tank state: ONLINE scan: none requested config: NAMESTATE

Re: usb/175551: Seagate 2TB USB extern hard disk have errors with freeBSD

2013-01-25 Thread Hans Petter Selasky
On Thursday 24 January 2013 23:11:48 Harald Langner wrote: Number: 175551 Category: usb Synopsis: Seagate 2TB USB extern hard disk have errors with freeBSD Confidential: no Severity: non-critical Priority: low Responsible:freebsd-usb State:

Re: usb/175551: Seagate 2TB USB extern hard disk have errors with freeBSD

2013-01-25 Thread Hans Petter Selasky
The following reply was made to PR usb/175551; it has been noted by GNATS. From: Hans Petter Selasky hsela...@c2i.net To: freebsd-usb@freebsd.org Cc: Harald Langner developm...@langner.net, freebsd-gnats-sub...@freebsd.org Subject: Re: usb/175551: Seagate 2TB USB extern hard disk have errors

Re: SDDR-289 slo-mo reboot

2013-01-20 Thread Hans Petter Selasky
On Sunday 20 January 2013 09:06:51 Waitman Gobble wrote: Hi, I have a SanDisk SDDR-289 hooked up through a pci-e interface card w/ VIA VL800 chipset With it plugged it, when I reboot it takes 5-6 minutes to shut down and 15 to come back up. Jan 18 20:58:20 kamira kernel: ugen0.4 (:

Re: SDDR-289 slo-mo reboot

2013-01-20 Thread Hans Petter Selasky
On Sunday 20 January 2013 22:15:35 Waitman Gobble wrote: Hans Petter Selasky hsela...@c2i.net wrote .. On Sunday 20 January 2013 18:05:46 Waitman Gobble wrote: USB_QUIRK(SANDISK, IMAGEMATE_SDDR289, 0x, 0x, UQ_MSC_FORCE_PROTO_SCSI, UQ_MSC_NO_INQUIRY

Re: Tablets with webcamd (was: wacom and x11 and webcamd)

2013-01-14 Thread Hans Petter Selasky
Hi, The drivers mentioned does not compile as-is, but you are free to send a patch to make them compile. Should not be too hard! --HPS Index: config === --- config (revision 2525) +++ config (working copy) @@ -220,6

Re: [PATCH] disable fake CD mount for Atria HD phone

2013-01-14 Thread Hans Petter Selasky
On Monday 14 January 2013 18:06:58 Lowell Gilbert wrote: Lowell Gilbert http://svnweb.freebsd.org/changeset/base/245427 --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail

Re: Plugging out Microsoft Nano Tranceiver (USB mouse) causes PS2 keyboard to cease functioning

2013-01-14 Thread Hans Petter Selasky
On Monday 14 January 2013 23:57:13 Yuri wrote: I have Microsoft USB Explorer Touch mouse. It works fine, but when I plug out its (wireless) USB dongle, keyboard also stops working. Plugging the dongle back in enables the keyboard again. Plugging in some other USB mouse instead doesn't make

Re: Tablets with webcamd (was: wacom and x11 and webcamd)

2013-01-13 Thread Hans Petter Selasky
On Sunday 13 January 2013 02:38:40 Vitaly Magerya wrote: Hans Petter Selasky wrote: I've created a Wiki Page for Wacom Tablets: https://wiki.freebsd.org/WacomTablet I have a more general question: does webcamd contain Linux code for non-Wacom tablets (there's quite a few in drivers/hid

Re: Tablets with webcamd (was: wacom and x11 and webcamd)

2013-01-13 Thread Hans Petter Selasky
On Sunday 13 January 2013 15:15:16 Vitaly Magerya wrote: Hans Petter Selasky hsela...@c2i.net wrote: The following tables are supported in the latest version of webcamd: CONFIG_TABLET_USB_ACECAD=y CONFIG_TABLET_USB_AIPTEK=y CONFIG_TABLET_USB_GTCO=y CONFIG_TABLET_USB_HANWANG=y

Re: Tablets with webcamd (was: wacom and x11 and webcamd)

2013-01-13 Thread Hans Petter Selasky
On Sunday 13 January 2013 16:56:59 Vitaly Magerya wrote: Hans Petter Selasky hsela...@c2i.net wrote: Any plans for CONFIG_HID_KYE, CONFIG_HID_UCLOGIC and CONFIG_HID_WALTOP? It is just to edit the config in the root directory of webcamd, add those options and see if it compiles

Re: regression: if_rue device doesn't attach on HEAD

2013-01-06 Thread Hans Petter Selasky
On Sunday 06 January 2013 02:36:38 Eitan Adler wrote: On 4 January 2013 17:01, Hans Petter Selasky hsela...@c2i.net wrote: On Friday 04 January 2013 22:50:38 Eitan Adler wrote: On 4 January 2013 16:41, Hans Petter Selasky hsela...@c2i.net wrote: This typically means set address failed

Re: regression: if_rue device doesn't attach on HEAD

2013-01-06 Thread Hans Petter Selasky
On Sunday 06 January 2013 19:00:03 Eitan Adler wrote: On 6 January 2013 03:52, Hans Petter Selasky hsela...@c2i.net wrote: Could you do a diff between 9.1 and 9-stable sources and see what is changed? Might be some BIOS/ACPI stuff too. I havn't had a chance to go much beyond

Re: regression: if_rue device doesn't attach on HEAD

2013-01-04 Thread Hans Petter Selasky
On Friday 04 January 2013 05:45:00 Eitan Adler wrote: I have a USB nic which worked in 9.1 but regressed in HEAD and appears as an unrecognized device. I have not had time to properly bisect this issue. Any suggestions or pointers are appreciated: ugen2.3: USB 10100 LAN USBKR100

Re: regression: if_rue device doesn't attach on HEAD

2013-01-04 Thread Hans Petter Selasky
On Friday 04 January 2013 22:31:31 Eitan Adler wrote: On 4 January 2013 03:21, Hans Petter Selasky hsela...@c2i.net wrote: Did you kldload if_rue? Yes. This did nothing to help. Did you enable devd? Yes, this was already enabled. Use(full|less) debug info: I now see

Re: auto-dismount fake CD (was Re: Android device problems with MTP ID)

2013-01-04 Thread Hans Petter Selasky
On Friday 04 January 2013 22:33:12 Lowell Gilbert wrote: Hans Petter Selasky hsela...@c2i.net writes: On Thursday 03 January 2013 20:58:15 Lowell Gilbert wrote: Hans Petter Selasky hsela...@c2i.net writes: On Thursday 03 January 2013 20:34:50 Lowell Gilbert wrote: On my (updated

Re: regression: if_rue device doesn't attach on HEAD

2013-01-04 Thread Hans Petter Selasky
On Friday 04 January 2013 22:50:38 Eitan Adler wrote: On 4 January 2013 16:41, Hans Petter Selasky hsela...@c2i.net wrote: This typically means set address failed, which in the XHCI is done in HW. I'll look into if I find some time. Not sure what we can do about it. As I mentioned

Re: regression: if_rue device doesn't attach on HEAD

2013-01-04 Thread Hans Petter Selasky
On Friday 04 January 2013 22:50:38 Eitan Adler wrote: On 4 January 2013 16:41, Hans Petter Selasky hsela...@c2i.net wrote: This typically means set address failed, which in the XHCI is done in HW. I'll look into if I find some time. Not sure what we can do about it. Hi, As I mentioned

Re: Android device problems with MTP ID

2013-01-03 Thread Hans Petter Selasky
On Thursday 03 January 2013 20:34:50 Lowell Gilbert wrote: Hi. As of the some recent releases of Android, umass support is gone and MTP support is the normal way for a computer to access a phone over USB. I have a pair of Android devices; one seems to be using MTP okay, and I'll try to move

Re: Android device problems with MTP ID

2013-01-03 Thread Hans Petter Selasky
On Thursday 03 January 2013 20:58:15 Lowell Gilbert wrote: Hans Petter Selasky hsela...@c2i.net writes: On Thursday 03 January 2013 20:34:50 Lowell Gilbert wrote: On my (updated to Android 4.1.1) phone, MTP only works if the phone's USB debugging option is enabled. If it is, usbconfig(8

Re: How do I prevent host usb wifi driver from attaching?

2012-12-26 Thread Hans Petter Selasky
On Wednesday 26 December 2012 18:01:52 Andrey V. Elsukov wrote: On 26.12.2012 01:22, G. Paul Ziemba wrote: I'm running FreeBSD 8.2-STABLE (host) and VirtualBox 4.2.0. I have followed the steps in http://wiki.freebsd.org/VirtualBox to make USB devices available to VirtualBox guests, and

Re: usb/174695: usb keeps disconnecting mouse or keyboard

2012-12-25 Thread Hans Petter Selasky
On Tuesday 25 December 2012 09:45:55 FreeBSD Proponent wrote: Note that this only occurs in console mode. Moused is not enabled. When using moused (/etc/rc.conf) with X11/xorg, there were still serious mouse disconnection issues. Using no moused and configuring X11/xorg to use /dev/usm0 only

Re: usb/174695: usb keeps disconnecting mouse or keyboard

2012-12-25 Thread Hans Petter Selasky
The following reply was made to PR usb/174695; it has been noted by GNATS. From: Hans Petter Selasky hsela...@c2i.net To: freebsd-usb@freebsd.org Cc: FreeBSD Proponent fartherreac...@aol.com, freebsd-gnats-sub...@freebsd.org Subject: Re: usb/174695: usb keeps disconnecting mouse or keyboard Date

Re: usb/173666: [USB, LIBUSB] usb_reset() behavior different between GNU/Linux and FreeBSD

2012-12-23 Thread Hans Petter Selasky
On Saturday 22 December 2012 11:17:15 Xiaofan Chen wrote: On Fri, Dec 21, 2012 at 3:38 PM, Hans Petter Selasky hsela...@c2i.net wrote: If you look in the old libusb-0.1 code you'll see something different I think. Could you check that? Not much differences in reality. I believe

Re: EHCI on armv6 with Write-Back caches

2012-12-20 Thread Hans Petter Selasky
Hi, Please try the attached patch for 10-current. The patch is not tested yet, only compiles. I will try to test more later today. Let me know if you see any issues. --HPS === dev/usb/serial/usb_serial.c == ---

Re: EHCI on armv6 with Write-Back caches

2012-12-20 Thread Hans Petter Selasky
Hi, I've run some basic tests over here (x86) which passed after some patch modifications. Please test and verify for your ARM targets: http://svnweb.freebsd.org/changeset/base/244500 http://svnweb.freebsd.org/changeset/base/244503 Please also verify that upgt and uwrt and uath still works

Re: EHCI on armv6 with Write-Back caches

2012-12-19 Thread Hans Petter Selasky
On Tuesday 18 December 2012 21:32:46 Warner Losh wrote: 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

Re: EHCI on armv6 with Write-Back caches

2012-12-19 Thread Hans Petter Selasky
Hi again, Different vendors use different naming conventions about sync operations. Maybe we should start defining some names and agree about that first? usb_pc_cpu_flush: This function is a system abstraction which is supposed to ensure that all CPU cached data for the given buffer is

Re: EHCI on armv6 with Write-Back caches

2012-12-19 Thread Hans Petter Selasky
BTW: This commit looks exactly like my X-mas present :-) http://svnweb.freebsd.org/changeset/base/244471 --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to

Re: EHCI on armv6 with Write-Back caches

2012-12-19 Thread Hans Petter Selasky
On Wednesday 19 December 2012 20:12:55 Warner Losh wrote: 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

Re: EHCI on armv6 with Write-Back caches

2012-12-18 Thread Hans Petter Selasky
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 issue appending the ehci_qh_t to the list at the end of

Re: EHCI on armv6 with Write-Back caches

2012-12-18 Thread Hans Petter Selasky
On Tuesday 18 December 2012 12:02:13 Andrew Turner wrote: On Tue, 18 Dec 2012 09:22:22 +0100 Hans Petter Selasky hsela...@c2i.net 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

Re: EHCI on armv6 with Write-Back caches

2012-12-18 Thread Hans Petter Selasky
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 atomic operations to work correctly and we would have

Re: USB3 SATA enclosure

2012-12-12 Thread Hans Petter Selasky
On Wednesday 12 December 2012 13:44:27 Mike Tancsa wrote: On 12/12/2012 2:54 AM, Hans Petter Selasky wrote: Try to tune these up, one by one. I doubled them all, and still only 0(cage)# usbconfig ugen0.1: EHCI root HUB Intel at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE

Re: USB3 SATA enclosure

2012-12-12 Thread Hans Petter Selasky
Hi, There is an error message there: xhci0: NEC uPD720200 USB 3.0 controller mem 0xfb90-0xfb901fff irq 18 at device 0.0 on pci4 usbus1: waiting for BIOS to give up control usbus1: timed out waiting for BIOS 1) Can you turn off USB legacy support in the BIOS? 2) Can you boot with

Re: USB3 SATA enclosure

2012-12-11 Thread Hans Petter Selasky
On Tuesday 11 December 2012 12:34:11 Mike Tancsa wrote: hw.usb.timings.extra_power_up_time: 20 hw.usb.timings.resume_recovery: 50 hw.usb.timings.resume_wait: 50 hw.usb.timings.resume_delay: 250 hw.usb.timings.set_address_settle: 10 hw.usb.timings.port_resume_delay: 40

Re: USB3 SATA enclosure

2012-12-11 Thread Hans Petter Selasky
On Tuesday 11 December 2012 16:48:13 Mike Tancsa wrote: On 12/11/2012 6:49 AM, Hans Petter Selasky wrote: On Tuesday 11 December 2012 12:34:11 Mike Tancsa wrote: hw.usb.timings.extra_power_up_time: 20 hw.usb.timings.resume_recovery: 50 hw.usb.timings.resume_wait: 50

Re: USB3 SATA enclosure

2012-12-10 Thread Hans Petter Selasky
On Tuesday 11 December 2012 01:27:07 Erich Dollansky wrote: Hi, On Mon, 10 Dec 2012 16:29:29 -0500 Mike Tancsa m...@sentex.net wrote: I picked up a USB3 sata enclosure and was surprised at the low speeds I was getting. I should probably just stick with eSata instead, but has anyone

Re: Add support for 3G modem WeTelecom WM-D200 patch

2012-12-09 Thread Hans Petter Selasky
On Saturday 08 December 2012 23:38:00 Artyom Mirgorodskiy wrote: Artyom Mirgorodskiy See: http://svn.freebsd.org/changeset/base/244047 --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To

Re: USB Harddrive g_vfs_done() Errors

2012-12-09 Thread Hans Petter Selasky
On Monday 10 December 2012 00:28:55 robert_car...@gmx.com wrote: I am running 9.1RC1: FreeBSD system 9.1-RC1 FreeBSD 9.1-RC1 #0 r240745: Thu Sep 20 08:33:01 PDT 2012 root@system:/usr/obj/usr/src/sys/GENERIC amd64 on a system with this motherboard: GIGABYTE GA-Z68X-UD3H-B3 LGA 1155

Re: usb/174254: MIDI keyboard not recognised

2012-12-07 Thread Hans Petter Selasky
On Friday 07 December 2012 11:32:12 Walter C. Pelissero wrote: Hans Petter Selasky writes: Can you try this: usbconfig -d 2.4 add_quirk UQ_AU_VENDOR_CLASS Then replug the device? Forgot to mention I had already tried: # usbconfig add_dev_quirk_vplh 0x0499 0x1037 0x

Re: usb/174254: MIDI keyboard not recognised

2012-12-07 Thread Hans Petter Selasky
The following reply was made to PR usb/174254; it has been noted by GNATS. From: Hans Petter Selasky hsela...@c2i.net To: wal...@pelissero.de Cc: freebsd-usb@freebsd.org, freebsd-gnats-sub...@freebsd.org Subject: Re: usb/174254: MIDI keyboard not recognised Date: Fri, 7 Dec 2012 11:48:48 +0100

Re: usb/174254: MIDI keyboard not recognised

2012-12-07 Thread Hans Petter Selasky
Hi, Can you try the attached patch? --HPS === sys/dev/sound/usb/uaudio.c == --- sys/dev/sound/usb/uaudio.c (revision 243784) +++ sys/dev/sound/usb/uaudio.c (local) @@ -641,6 +641,115 @@ .size = sizeof(struct uaudio_softc), };

Re: usb/174254: MIDI keyboard not recognised

2012-12-07 Thread Hans Petter Selasky
The following reply was made to PR usb/174254; it has been noted by GNATS. From: Hans Petter Selasky hsela...@c2i.net To: wal...@pelissero.de Cc: freebsd-usb@freebsd.org, freebsd-gnats-sub...@freebsd.org Subject: Re: usb/174254: MIDI keyboard not recognised Date: Fri, 7 Dec 2012 13:08:32 +0100

Re: USB devices not autodetecting anymore on stable

2012-12-03 Thread Hans Petter Selasky
On Monday 03 December 2012 16:14:56 Volodymyr Kostyrko wrote: Hi all. Maybe I just blow out my installation again but I have two machines on 9_STABLE that for one week refuse to autoload usb device drivers. Before that my Keyboard and mice start automatically. But right now I must

Re: run(4) needs clarification

2012-12-03 Thread Hans Petter Selasky
On Monday 03 December 2012 16:21:42 Volodymyr Kostyrko wrote: Hi all. As per man page run driver supports DWA-140, but I currently obtained one piece that identifies as: # usbconfig -d 0.2 dump_device_desc ugen0.2: 11n Adapter D-Link at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON

Re: USB devices not autodetecting anymore on stable

2012-12-03 Thread Hans Petter Selasky
On Monday 03 December 2012 20:04:59 Volodymyr Kostyrko wrote: 03.12.2012 20:09, Hans Petter Selasky: On Monday 03 December 2012 16:14:56 Volodymyr Kostyrko wrote: Hi all. Maybe I just blow out my installation again but I have two machines on 9_STABLE that for one week refuse

Re: USB devices not autodetecting anymore on stable

2012-12-03 Thread Hans Petter Selasky
On Monday 03 December 2012 20:04:59 Volodymyr Kostyrko wrote: 03.12.2012 20:09, Hans Petter Selasky: On Monday 03 December 2012 16:14:56 Volodymyr Kostyrko wrote: Hi all. Maybe I just blow out my installation again but I have two machines on 9_STABLE that for one week refuse

Re: USB devices not autodetecting anymore on stable

2012-12-03 Thread Hans Petter Selasky
On Tuesday 04 December 2012 02:37:11 Volodymyr Kostyrko wrote: 03.12.2012 23:25, Hans Petter Selasky: On Monday 03 December 2012 20:04:59 Volodymyr Kostyrko wrote: 03.12.2012 20:09, Hans Petter Selasky: On Monday 03 December 2012 16:14:56 Volodymyr Kostyrko wrote: Hi all. Maybe I

Re: USB Quirks - how do I know what are applied?

2012-11-26 Thread Hans Petter Selasky
On Tuesday 27 November 2012 05:25:30 John W wrote: Hi, I recently upgraded from FreeBSD 7.4 to 9.0, and my camera does not seem to be recognized when I plug it in over USB. I made a thread here, with some details: http://forums.freebsd.org/showthread.php?t=35997 I noticed some PRs

Re: [patch] fix uplcom(4) clear stall logic for PL2303HX

2012-11-23 Thread Hans Petter Selasky
On Thursday 22 November 2012 06:09:19 Mark Johnston wrote: On Wed, Nov 21, 2012 at 11:07:20PM +0100, Hans Petter Selasky wrote: Here you go: http://svnweb.freebsd.org/changeset/base/243380 Please test and verify. --HPS Yep, it's working. Thanks a lot! When I was debugging

Re: [patch] fix uplcom(4) clear stall logic for PL2303HX

2012-11-21 Thread Hans Petter Selasky
On Wednesday 21 November 2012 09:43:02 Mark Johnston wrote: Mark Johnston Here you go: http://svnweb.freebsd.org/changeset/base/243380 Please test and verify. --HPS ___ freebsd-usb@freebsd.org mailing list

Re: usb/173722: XHCI driver bug after suspend to ram (ACPI S3 mode)

2012-11-19 Thread Hans Petter Selasky
On Monday 19 November 2012 16:36:45 Florian Jung wrote: Number: 173722 Category: usb Synopsis: XHCI driver bug after suspend to ram (ACPI S3 mode) Confidential: no Severity: non-critical Priority: low Responsible:freebsd-usb State: open

Re: usb/173722: XHCI driver bug after suspend to ram (ACPI S3 mode)

2012-11-19 Thread Hans Petter Selasky
The following reply was made to PR usb/173722; it has been noted by GNATS. From: Hans Petter Selasky hsela...@c2i.net To: freebsd-usb@freebsd.org Cc: Florian Jung florian.a.j...@web.de, freebsd-gnats-sub...@freebsd.org Subject: Re: usb/173722: XHCI driver bug after suspend to ram (ACPI S3 mode

Re: usb/173722: XHCI driver bug after suspend to ram (ACPI S3 mode)

2012-11-19 Thread Hans Petter Selasky
On Monday 19 November 2012 20:21:47 Florian Jung wrote: Am 19.11.2012 19:21, schrieb Hans Petter Selasky: On Monday 19 November 2012 16:36:45 Florian Jung wrote: Number: 173722 Category: usb Synopsis: XHCI driver bug after suspend to ram (ACPI S3 mode) Confidential

Re: usb/173722: XHCI driver bug after suspend to ram (ACPI S3 mode)

2012-11-19 Thread Hans Petter Selasky
The following reply was made to PR usb/173722; it has been noted by GNATS. From: Hans Petter Selasky hsela...@c2i.net To: Florian Jung florian.a.j...@web.de Cc: freebsd-usb@freebsd.org, freebsd-gnats-sub...@freebsd.org Subject: Re: usb/173722: XHCI driver bug after suspend to ram (ACPI S3 mode

Re: [patch] fix uplcom(4) clear stall logic for PL2303HX

2012-11-19 Thread Hans Petter Selasky
On Tuesday 20 November 2012 03:57:22 Mark Johnston wrote: Hello all, I recently bought a PL-2303 USB to serial converter (VID 0x067b, DID 0x2303) to use with an ARM board. When I start cu(1) and power on the board no messages show up, and if I enter any input, cu exits without printing

<    3   4   5   6   7   8   9   10   11   12   >