FYI: Advanced USB compliance testing tool now in the tree (10-current only)

2013-08-09 Thread Hans Petter Selasky
Hi, For those of you that want to make sure your USB mass storage device behaves correctly when using FreeBSD, typically for critical applications, I've just added an advanced USB testing tool to the FreeBSD source tree. It can be used to stress your USB mass storage device in ways that are

Re: FYI: Advanced USB compliance testing tool now in the tree (10-current only)

2013-08-11 Thread Hans Petter Selasky
On 08/10/13 23:34, Kevin Oberman wrote: On Fri, Aug 9, 2013 at 1:33 PM, Hans Petter Selasky h...@bitfrost.no wrote: Hi, For those of you that want to make sure your USB mass storage device behaves correctly when using FreeBSD, typically for critical applications, I've just added an advanced

Re: USB no proper work

2013-08-16 Thread Hans Petter Selasky
On 08/16/13 22:05, Alexander Panyushkin wrote: uname -a FreeBSD scorpion.kiev.ua 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r254417M: Fri Aug 16 21:53:47 EEST 2013 r...@scorpion.kiev.ua:/usr/obj/usr/src/sys/Kernel amd64 After first attach USB Flash drive - is good mount. After detach and attach

Re: USB no proper work

2013-08-17 Thread Hans Petter Selasky
On 08/16/13 22:38, Alexander Panyushkin wrote: This deatach== Aug 16 23:24:05 scorpion kernel: ugen1.2: Generic at usbus1 (disconnected) Aug 16 23:24:05 scorpion kernel: umass0: at uhub0, port 4, addr 2 (disconnected) Aug 16 23:24:05 scorpion kernel: (da0:umass-sim0:0:0:0): lost

Re: USB no proper work

2013-08-17 Thread Hans Petter Selasky
On 08/17/13 23:55, Alexander Panyushkin wrote: 17.08.2013 19:41, Alexander Motin пишет: On 17.08.2013 09:22, Hans Petter Selasky wrote: On USB device FAT-32 file system. When I removed flash drive, the file system has been unmounted. Hi, The problem might be in the GELI module

Re: USB no proper work

2013-08-19 Thread Hans Petter Selasky
On 08/19/13 21:54, Alexander Panyushkin wrote: 18.08.2013 01:04, Hans Petter Selasky пишет: On 08/17/13 23:55, Alexander Panyushkin wrote: 17.08.2013 19:41, Alexander Motin пишет: On 17.08.2013 09:22, Hans Petter Selasky wrote: On USB device FAT-32 file system. When I removed flash

Re: ulpt can't attach Lexmark E120

2013-08-22 Thread Hans Petter Selasky
On 08/22/13 13:24, George Mitchell wrote: As I was saying a few minutes ago ... On 01/27/13 17:32, George Mitchell wrote: On 01/27/13 14:07, Hans Petter Selasky wrote: [...] I need output when hw.usb.ulpt.debug=15 to say exactly. Could you ask the provider of the binaries to compile having

Re: ulpt can't attach Lexmark E120

2013-08-23 Thread Hans Petter Selasky
On 08/23/13 02:29, George Mitchell wrote: On 08/22/13 07:34, Hans Petter Selasky wrote: Here's the result: root@pi:/ # usbdump -i usbus0 -f 4 -s 65536 00:26:01.592494 usbus0.4 SUBM-CTRL-EP=,SPD=FULL,NFR=1,SLEN=8,IVAL=0 00:26:01.593117 usbus0.4 DONE-CTRL-EP=,SPD=FULL,NFR=1

Re: ulpt can't attach Lexmark E120

2013-08-24 Thread Hans Petter Selasky
On 08/24/13 02:44, George Mitchell wrote: On 08/23/13 07:11, George Mitchell wrote: On 08/23/13 02:18, Hans Petter Selasky wrote: On 08/23/13 02:29, George Mitchell wrote: On 08/22/13 07:34, Hans Petter Selasky wrote: Give that the printer works fine with the same code on my amd64

Re: devel/gettext build error in jail i386 environment on amd64 host

2013-08-24 Thread Hans Petter Selasky
On 08/23/13 23:14, Ivan Klymenko wrote: wing error: http://privatepaste.com/46f9477022 Not sure if this helps: https://wiki.freebsd.org/PkgPrimer Using portbuilder inside a jail When building 9-stable ports in a 9-stable jail under -current you might want to set the UNAME_r enviroment

Re: ulpt can't attach Lexmark E120

2013-08-25 Thread Hans Petter Selasky
On 08/24/13 20:21, George Mitchell wrote: Setting hw.usb.dwc_otg.debug to any value greater than 0 generates an unending stream of debug output and effectively locks up the chip scrolling the output on the display. Perhaps there are some specific debug messages I could put in ...

Re: xhci broken on 10-CURRENT and 2013 MacBook Air?

2013-08-26 Thread Hans Petter Selasky
On 08/26/13 17:55, Lundberg, Johannes wrote: Just looked through the PR mail that came today and found possible duplicates. o usb/180726 usbXHCI umass support breaks between r248085 and r252560 o usb/179342 usbFreebsd 10.0-current USB 3.0 not working (xhci_do_coma Hi,

Re: xhci broken on 10-CURRENT and 2013 MacBook Air?

2013-08-27 Thread Hans Petter Selasky
On 08/26/13 21:02, Lundberg, Johannes wrote: Hi Hans Thanks but nothing of that makes any difference. Well, it's gonna be difficult to find the diff I think... The oldest image I could find was from May. What I'm doing now is compiling a bootonly.iso of current with a xhci.h/c that's reverted

Re: xhci broken on 10-CURRENT and 2013 MacBook Air?

2013-08-30 Thread Hans Petter Selasky
On 08/30/13 08:09, Lundberg, Johannes wrote: What I got so far is this; USB driver from current stops after xhci0: 32 byte context size While driver from 9.1 continues to the next step which is usbus0 on xhci0 xhci0: usbpf: Attached ... I can try adding some printf's in the code and see if I

Re: xhci broken on 10-CURRENT and 2013 MacBook Air?

2013-08-30 Thread Hans Petter Selasky
On 08/30/13 11:35, Lundberg, Johannes wrote: Hi Hans I tried the patch and the result is the same. However, I found the command that causes the freeze. Also, it is not always it freezes but maybe 9/10 reboots or more frequently. At the end of the function xhci_start_controller(..) there is a

Re: xhci broken on 10-CURRENT and 2013 MacBook Air?

2013-08-30 Thread Hans Petter Selasky
On 08/30/13 13:54, Lundberg, Johannes wrote: Still got the same behaviour after applying the patch... Johannes Lundberg BRILLIANTSERVICE CO., LTD. http://www.brilliantservice.co.jp I've seen something similar with my mac, that the boot menu counter is not always counting stable. I think this

Re: xhci broken on 10-CURRENT and 2013 MacBook Air?

2013-08-30 Thread Hans Petter Selasky
it is running, and see if it goes == 100 for example. --HPS Johannes Lundberg BRILLIANTSERVICE CO., LTD. http://www.brilliantservice.co.jp On Fri, Aug 30, 2013 at 2:26 PM, Hans Petter Selasky h...@bitfrost.nowrote: On 08/30/13 13:54, Lundberg, Johannes wrote: Still got the same behaviour after

Re: xhci broken on 10-CURRENT and 2013 MacBook Air?

2013-08-30 Thread Hans Petter Selasky
On 08/30/13 15:53, Lundberg, Johannes wrote: I added printf at every 100,000th iteration in both locations but I didn't get any output at all.. Seems it stuck in some other place. During my test I actually passed that stage a couple of times but still the xhci_do_command times out and I get the

Re: 2013 MacBook Air Project

2013-08-31 Thread Hans Petter Selasky
On 08/31/13 01:42, Lundberg, Johannes wrote: + + /* MacBookAir6,1 */ + { USB_VPI(0x05ac, 0x828f, 0) }, + }; Hi, I've updated the FreeBSD USB bluetooth driver with your ID, and a few more from Linux. I've attached an XHCI patch you can try. --HPS === ./xhci.c

Re: Moused + HAL + rc.conf + Boot

2013-09-16 Thread Hans Petter Selasky
On 09/16/13 13:06, Nilton Jose Rizzo wrote: Hi all, I'm here again! When I start my box, the moused is run. My mouse is an USB mouse. I put in rc.conf this knob: moused_enable=NO, but is ignored by start up script and moused is run, this is a problem to the HAL,

General Protection Fault in prelist_remove()

2013-09-16 Thread Hans Petter Selasky
Hi, I caught a General protection fault in prelist_remove. Any clues what this might be? FreeBSD-10 from one month back approx. 80a95810 prelist_remove: 80a95810: 55 push %rbp 80a95811: 48 89 e5mov%rsp,%rbp

RE: General Protection Fault in prelist_remove()

2013-09-16 Thread Hans Petter Selasky
Hi Mark, -Original message- From:Mark Johnston ma...@freebsd.org mailto:ma...@freebsd.org Sent: Monday 16th September 2013 19:09 To: Hans Petter Selasky hans.petter.sela...@bitfrost.no mailto:hans.petter.sela...@bitfrost.no Cc: freebsd-current@freebsd.org mailto:freebsd-current

RE: gphoto2 bus error

2013-09-29 Thread Hans Petter Selasky
: Saturday 28th September 2013 19:45 To: Hans Petter Selasky hans.petter.sela...@bitfrost.no mailto:hans.petter.sela...@bitfrost.no Cc: freebsd-current@freebsd.org mailto:freebsd-current@freebsd.org Subject: Re: gphoto2 bus error I try to build with gcc 4.6 - the same result :( Artyom

Re: gphoto2 bus error

2013-10-01 Thread Hans Petter Selasky
Hi, I cannot reproduce this issue. gphoto --shell works fine on 9-stable using PTP protocol. gphoto2-2.4.14 Command-line frontend to libgphoto2 libgphoto2-2.4.14_3 Universal digital camera control library Can you provide more information about your system? uname -a ls /usr/lib/libusb*

Re: gphoto2 bus error

2013-10-01 Thread Hans Petter Selasky
Can you run the commands listed below? --HPS On 10/01/13 12:22, Artyom Mirgorodskiy wrote: I'm use current On Tuesday 01 October 2013 11:32:39 Hans Petter Selasky wrote: Hi, I cannot reproduce this issue. gphoto --shell works fine on 9-stable using PTP protocol. gphoto2-2.4.14

Re: gphoto2 bus error

2013-10-01 Thread Hans Petter Selasky
On 10/01/13 12:24, Artyom Mirgorodskiy wrote: ls /usr/lib/libusb* /usr/lib/libusb.a/usr/lib/libusb.so.3 /usr/lib/libusbhid.so@ /usr/lib/libusb.so@ /usr/lib/libusb_p.a /usr/lib/libusbhid.so.4 /usr/lib/libusb.so.2 /usr/lib/libusbhid.a /usr/lib/libusbhid_p.a Hi, I

Re: gphoto2 bus error

2013-10-01 Thread Hans Petter Selasky
On 10/01/13 13:11, Artyom Mirgorodskiy wrote: I removed old libraries: ls /usr/lib/libusb* /usr/lib/libusb.a/usr/lib/libusb_p.a /usr/lib/libusbhid.so.4 /usr/lib/libusb.so@ /usr/lib/libusbhid.a /usr/lib/libusbhid_p.a /usr/lib/libusb.so.3 /usr/lib/libusbhid.so@ and

Re: gphoto2 bus error

2013-10-01 Thread Hans Petter Selasky
On 10/01/13 14:10, Artyom Mirgorodskiy wrote: Thank you. Work fine for me FYI: Here is the link to the ticket which you can request to get committed to libgphoto: https://sourceforge.net/p/gphoto/patches/153/ --HPS ___

Re: gphoto2 bus error

2013-10-01 Thread Hans Petter Selasky
On 10/01/13 14:22, John wrote: On Sat, Sep 28, 2013 at 02:05:42AM +0300, Artyom Mirgorodskiy wrote: I just update to current and get bus error when I try to run gphoto2: Hi, This might be related - I get SIGBUS when running scanimage (Canon LIDE 110 scanner). I installed sane backends and

Re: gphoto2 bus error

2013-10-02 Thread Hans Petter Selasky
On 10/01/13 15:50, John wrote: sorry, forgot to change From:, sending again On Tue, Oct 01, 2013 at 02:45:29PM +0100, John wrote: On Tue, Oct 01, 2013 at 02:41:22PM +0200, Hans Petter Selasky wrote: Hi, Could you enter bt in GDB and show the output when this crash happens? --HPS Sure

Re: gphoto2 bus error

2013-10-02 Thread Hans Petter Selasky
On 10/02/13 14:31, John wrote: Hi, One for the archives. I'm not sure if your patch had anything to do with it but I finally got it working by commenting out everything in /usr/local/etc/sane.d/dll.conf and just uncommenting the one I wanted. It seems the scanner was being mis-identified

KGDB and kvm_write

2013-12-07 Thread Hans Petter Selasky
Hi, Is there a particular reason that set variable = value is not implemented when using kgbd from the command prompt? --HPS ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send

Re: KGDB and kvm_write

2013-12-08 Thread Hans Petter Selasky
On 12/07/13 22:34, Alexander Kabaev wrote: On Sat, 07 Dec 2013 19:09:26 +0100 Hans Petter Selasky h...@bitfrost.no wrote: Hi, Is there a particular reason that set variable = value is not implemented when using kgbd from the command prompt? --HPS Just a thought: maybe you forgot -w on kgdb

Re: spec violation of xHCI?

2013-12-11 Thread Hans Petter Selasky
On 12/11/13 11:12, Kohji Okuno wrote: Hi, I think the xHCI host controller driver has a spec violation. Could you refer to ``Table 126: Offset 0Ch – Link TRB Field Definitions'' in xHCI_Specification_for_USB.pdf(Revision 1.0)? The following is an excerpt about the CHAIN ​​BIT. Chain bit

Re: spec violation of xHCI?

2013-12-11 Thread Hans Petter Selasky
On 12/11/13 12:12, Kohji Okuno wrote: On 12/11/13 11:12, Kohji Okuno wrote: Hi, I think the xHCI host controller driver has a spec violation. Could you refer to ``Table 126: Offset 0Ch – Link TRB Field Definitions'' in xHCI_Specification_for_USB.pdf(Revision 1.0)? The following is an

Re: spec violation of xHCI?

2013-12-11 Thread Hans Petter Selasky
On 12/11/13 13:44, Hans Petter Selasky wrote: On 12/11/13 12:12, Kohji Okuno wrote: On 12/11/13 11:12, Kohji Okuno wrote: Hi, I think the xHCI host controller driver has a spec violation. Could you refer to ``Table 126: Offset 0Ch – Link TRB Field Definitions

Re: spec violation of xHCI?

2013-12-11 Thread Hans Petter Selasky
On 12/11/13 14:06, Kohji Okuno wrote: Hi HPS, All link trbs which are not the end need CHAIN bit, I think. But, this is errata in xHCI ver 0.95. So, linux has quirk for chain bit. Could you check linux codes? Regards, Kohji Okuno Hi Kohji, I went through the Linux codes a bit, and I see

Re: spec violation of xHCI?

2013-12-11 Thread Hans Petter Selasky
On 12/12/13 01:59, Kohji Okuno wrote: From: Hans Petter Selasky h...@bitfrost.no Date: Wed, 11 Dec 2013 15:04:42 +0100 On 12/11/13 14:06, Kohji Okuno wrote: Hi HPS, All link trbs which are not the end need CHAIN bit, I think. But, this is errata in xHCI ver 0.95. So, linux has quirk

Re: spec violation of xHCI?

2013-12-11 Thread Hans Petter Selasky
On 12/12/13 08:15, Hans Petter Selasky wrote: On 12/12/13 01:59, Kohji Okuno wrote: Hi Kohji, Did you check using a USB analyzer what the difference is when setting the CHAIN bit and not setting the chain bit? I would guess that if you set the CHAIN-bit in this case, no ZLP will be sent

Re: spec violation of xHCI?

2013-12-12 Thread Hans Petter Selasky
On 12/12/13 08:40, Kohji Okuno wrote: From: Hans Petter Selasky h...@bitfrost.no Hi HPS, The endpoint type is BULK, and the direction is OUT. I checked by using a USB analyzer. When I did not set CHAIN bit in LINK TRB, my host controller sent illegal packets sometimes. But, ZLPs were sent

Re: spec violation of xHCI?

2013-12-16 Thread Hans Petter Selasky
Hi Kohji, A regression issue has been reported when using the CHAIN-BIT patch. Can you verify this additional patch on you hardware and report back? http://svnweb.freebsd.org/changeset/base/259462 Thank you! --HPS ___ freebsd-current@freebsd.org

Re: General Protection Fault in prelist_remove()

2013-12-18 Thread Hans Petter Selasky
On 09/16/13 19:33, Hans Petter Selasky wrote: Hi Mark, -Original message- From:Mark Johnston ma...@freebsd.org mailto:ma...@freebsd.org Sent: Monday 16th September 2013 19:09 To: Hans Petter Selasky hans.petter.sela...@bitfrost.no mailto:hans.petter.sela...@bitfrost.no Cc: freebsd

Re: Problem with ebook reader on usb

2013-12-23 Thread Hans Petter Selasky
On 12/23/13 15:23, Marc UBM wrote: On Sun, 8 Dec 2013 22:54:25 +0100 Marc UBM Bocklet ubm.free...@gmail.com wrote: On Sun, 8 Dec 2013 22:44:33 +0100 Marc UBM Bocklet ubm.free...@gmail.com wrote: Hiho! :-) I got myself a new ebook reader (Onyx M92), but encountered a strange problem when

Re: misc/157903: automated kldload for USB class devices

2011-06-23 Thread Hans Petter Selasky
Hi, I need some people testing the following patch: http://svn.freebsd.org/changeset/base/223486 svn up and build a new kernel. Try to remove all USB devices from kernel config except the host controllers and USB keyboard. Then put the following file into /etc/devd/

Re: misc/157903: automated kldload for USB class devices

2011-06-23 Thread Hans Petter Selasky
On Friday 24 June 2011 04:37:25 Hans Petter Selasky wrote: Hi, I need some people testing the following patch: http://svn.freebsd.org/changeset/base/223486 svn up and build a new kernel. Try to remove all USB devices from kernel config except the host controllers and USB keyboard

Re: misc/157903: automated kldload for USB class devices

2011-06-24 Thread Hans Petter Selasky
On Friday 24 June 2011 09:22:57 Robert Millan wrote: 2011/6/24 Hans Petter Selasky hsela...@c2i.net: Updated bus_auto.conf: http://hselasky.homeunix.org:8192/bus_auto.conf Very nice. But why not use variable names instead of hardcoding numbers? It makes the output much easier

Re: misc/157903: automated kldload for USB class devices

2011-06-24 Thread Hans Petter Selasky
On Friday 24 June 2011 14:59:37 Robert Millan wrote: 2011/6/24 Hans Petter Selasky hsela...@c2i.net: Very nice. But why not use variable names instead of hardcoding numbers? It makes the output much easier to understand. To save memory. I haven't inspected devd code, but I was under

[Testing wanted] USB patch for HAL

2011-06-24 Thread Hans Petter Selasky
Hi, It appears there are some bugs in the USB2 HAL implementation. For example the parent USB device is not always correctly set and there are problems with dynamic attach/detach of USB devices in hald. For users of 9-current and 8-stable: Copy the attached file to

Re: [Testing wanted] USB patch for HAL

2011-06-24 Thread Hans Petter Selasky
On Friday 24 June 2011 15:51:03 Eir Nym wrote: On 24 June 2011 17:31, Hans Petter Selasky hsela...@c2i.net wrote: Hi, [...] There're no attached file. Please check content type for attachments. I think, if you'll make shar archive, it'll be better. Look here: http

[RFT] Automatic load of USB kernel modules

2011-06-24 Thread Hans Petter Selasky
Hi, I've been working today on getting auto load of USB kernel modules working properly. I've identified and fixed several issues since the initial patch by Robert Millan was posted. I would like to request testing of the attached patch before I commit it. The patch is about only having ukbd,

Re: [RFT] Automatic load of USB kernel modules

2011-06-24 Thread Hans Petter Selasky
On Saturday 25 June 2011 00:15:17 Warner Losh wrote: Hey Hans, Given that all this stuff is really new and shiny, and we're really close to the feature freeze, I'm not sure enabling it by default is the prudent action. Yes, you might be right. I'm not saying it should be enabled by

Re: [RFT] Automatic load of USB kernel modules

2011-06-25 Thread Hans Petter Selasky
On Saturday 25 June 2011 01:05:26 Jeremy Messenger wrote: Jeremy Messenger Done. http://svn.freebsd.org/changeset/base/223536 --HPS ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe,

Re: [RFT] Automatic load of USB kernel modules

2011-06-25 Thread Hans Petter Selasky
On Saturday 25 June 2011 18:45:14 Warner Losh wrote: On Jun 25, 2011, at 9:42 AM, Hans Petter Selasky wrote: On Saturday 25 June 2011 01:05:26 Jeremy Messenger wrote: Jeremy Messenger Done. http://svn.freebsd.org/changeset/base/223536 Please move it back. It doesn't belong

Re: [Testing wanted] USB patch for HAL

2011-06-25 Thread Hans Petter Selasky
On Saturday 25 June 2011 20:53:53 Greg Rivers wrote: On Fri, 24 Jun 2011, Hans Petter Selasky wrote: It appears there are some bugs in the USB2 HAL implementation. For example the parent USB device is not always correctly set and there are problems with dynamic attach/detach of USB devices

Re: Automatic load of PCI kernel modules [WAS: [RFT] Automatic load of USB kernel modules]

2011-06-25 Thread Hans Petter Selasky
On Saturday 25 June 2011 19:07:01 Hans Petter Selasky wrote: On Saturday 25 June 2011 18:45:14 Warner Losh wrote: On Jun 25, 2011, at 9:42 AM, Hans Petter Selasky wrote: On Saturday 25 June 2011 01:05:26 Jeremy Messenger wrote: Jeremy Messenger Done. http://svn.freebsd.org

Re: [Testing wanted] USB patch for HAL

2011-06-26 Thread Hans Petter Selasky
On Sunday 26 June 2011 09:27:22 Greg Rivers wrote: With this change, the USB bus continued to operate as expected while attaching and detaching a USB flash drive. On start up, hald was not detecting the attach/detach events, but started working and kept working after restarting it. In

Re: [CFT] Sierra Wireless HSPA+ USB modem

2011-06-28 Thread Hans Petter Selasky
On Tuesday 28 June 2011 06:58:37 PseudoCylon wrote: Hello Here is a driver for Sierra Wireless HSPA+ USB modem. Please test it. My subscription will expire on June 29, 2011. (Yes, it sounds silly.) So, try it before too late. source tree https://gitorious.org/usie/usie/trees/master

Re: [RFT] Automatic load of USB kernel modules

2011-06-29 Thread Hans Petter Selasky
On Wednesday 29 June 2011 12:10:36 Robert Millan wrote: 2011/6/24 Hans Petter Selasky hsela...@c2i.net: I would like to request testing of the attached patch before I commit it. The patch is about only having ukbd, ums and umass per default in the kernel GENERIC config file(s). What

Re: [RFT] Automatic load of USB kernel modules

2011-06-29 Thread Hans Petter Selasky
On Wednesday 29 June 2011 12:10:36 Robert Millan wrote: 2011/6/24 Hans Petter Selasky hsela...@c2i.net: I would like to request testing of the attached patch before I commit it. The patch is about only having ukbd, ums and umass per default in the kernel GENERIC config file(s). What

Crossbuild failure on 8-stable

2011-06-30 Thread Hans Petter Selasky
Hi, Trying to cross build ARM fails in the following way on 8-stable: 8.2-STABLE FreeBSD 8.2-STABLE #1: Wed Jun 29 13:09:23 UTC 2011 make toolchain TARGET=arm Is this perhaps also an issue in 9-current? Any clues? cc -O -pipe -ffreestanding -Wformat -I/usr/src/lib/libstand -msoft-float -

Re: Crossbuild failure on 8-stable

2011-06-30 Thread Hans Petter Selasky
On Thursday 30 June 2011 13:13:48 Olivier Houchard wrote: On Thu, Jun 30, 2011 at 11:22:36AM +0200, Hans Petter Selasky wrote: Hi, Trying to cross build ARM fails in the following way on 8-stable: 8.2-STABLE FreeBSD 8.2-STABLE #1: Wed Jun 29 13:09:23 UTC 2011 make toolchain

Re: Crossbuild failure on 8-stable

2011-06-30 Thread Hans Petter Selasky
On Thursday 30 June 2011 18:59:04 Garrett Cooper wrote: On Thu, Jun 30, 2011 at 9:14 AM, Mark Tinguely marktingu...@gmail.com wrote: On 6/30/2011 4:22 AM, Hans Petter Selasky wrote: Hi, Trying to cross build ARM fails in the following way on 8-stable: 8.2-STABLE FreeBSD 8.2-STABLE

Re: keyboard driver problem?

2011-07-01 Thread Hans Petter Selasky
On Friday 01 July 2011 13:21:35 ti bugmenot wrote: I met with the same problem. I do not know how to solve this problem: http://lists.freebsd.org/pipermail/freebsd-current/2011-January/022022.html Hi, Our USB keyboard driver is very simple and does not parse the HID descriptors of the

Re: keyboard driver problem?

2011-07-01 Thread Hans Petter Selasky
On Friday 01 July 2011 16:14:43 Eir Nym wrote: On 1 July 2011 16:05, Hans Petter Selasky hsela...@c2i.net wrote: On Friday 01 July 2011 13:21:35 ti bugmenot wrote: I met with the same problem. I do not know how to solve this problem: http://lists.freebsd.org/pipermail/freebsd-current

Re: keyboard driver problem?

2011-07-01 Thread Hans Petter Selasky
On Friday 01 July 2011 16:14:43 Eir Nym wrote: On 1 July 2011 16:05, Hans Petter Selasky hsela...@c2i.net wrote: On Friday 01 July 2011 13:21:35 ti bugmenot wrote: I met with the same problem. I do not know how to solve this problem: http://lists.freebsd.org/pipermail/freebsd-current

Re: keyboard driver problem?

2011-07-01 Thread Hans Petter Selasky
Hi, Can you try the attached patch and report back? Please also send me your HID descriptor: usbconfig -d X.Y do_request 0x81 0x06 0x2200 0 0x100 --HPS === input/ukbd.c == --- input/ukbd.c (revision 223581) +++ input/ukbd.c

Re: keyboard driver problem? (new patch)

2011-07-01 Thread Hans Petter Selasky
Hi, Found some bugs in my intial patch. Try this new one. --HPS === ukbd.c == --- ukbd.c (revision 223581) +++ ukbd.c (local) @@ -108,9 +108,10 @@ #define UKBD_IN_BUF_SIZE (2*(UKBD_NMOD + (2*UKBD_NKEYCODE))) /* bytes */ #define

Re: keyboard driver problem?

2011-07-04 Thread Hans Petter Selasky
Hi, I've committed a larger patch to UKBD to make it more HID compliant. Please try the following patch and report back if you see any regression issues with your USB keyboard. http://svn.freebsd.org/changeset/base/223755 --HPS ___

Re: [CFT] Sierra Wireless HSPA+ USB modem

2011-07-06 Thread Hans Petter Selasky
Hi, I'm going to review and import your driver. --HPS Hi, The intial patch had some bad code and didn't compile on 9-current. I've tried to clean it up. Please test and report back if I didn't break anything. http://hselasky.homeunix.org:8192/usie_for_FreeBSD_9_current.patch --HPS

Re: [CFT] Sierra Wireless HSPA+ USB modem

2011-07-07 Thread Hans Petter Selasky
On Thursday 07 July 2011 14:43:22 PseudoCylon wrote: On Wed, Jul 6, 2011 at 9:19 AM, Hans Petter Selasky hsela...@c2i.net wrote: Hi, I'm going to review and import your driver. --HPS Hi, The intial patch had some bad code and didn't compile on 9-current. I've tried

Re: [CFT] Sierra Wireless HSPA+ USB modem

2011-07-07 Thread Hans Petter Selasky
On Thursday 07 July 2011 14:43:22 PseudoCylon wrote: The compiler complained about uninitialized int if_usie.c: 1484 - uint8_t pad; + uint8_t pad = 0; I changed it so that pad is set in both cases: pad = (hip-id USIE_HIP_PAD) ? 1 : 0;

Re: [CFT] Sierra Wireless HSPA+ USB modem

2011-07-08 Thread Hans Petter Selasky
On Friday 08 July 2011 03:25:39 PseudoCylon wrote: On Thu, Jul 7, 2011 at 6:47 AM, Hans Petter Selasky hsela...@c2i.net wrote: On Thursday 07 July 2011 14:43:22 PseudoCylon wrote: On Wed, Jul 6, 2011 at 9:19 AM, Hans Petter Selasky hsela...@c2i.net wrote: Hi, I'm going

Re: [CFT] Sierra Wireless HSPA+ USB modem

2011-07-08 Thread Hans Petter Selasky
Hi, I found some more bugs/issues before I committed the driver. Please verify: http://svn.freebsd.org/changeset/base/223864 --HPS ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe,

Re: device_probe_and_attach() fails in kernel built w/ clang

2011-08-18 Thread Hans Petter Selasky
On Thursday 18 August 2011 08:03:14 Jason Harmening wrote: Any help would be really appreciated. I'm guessing that some static data sections needs a __used flag, and have been removed by the compiler. Could you do an object dump? objdump -D -x xxx.ko ? --HPS

Re: kldload uhci, system grinds to halt

2011-08-22 Thread Hans Petter Selasky
On Monday 22 August 2011 18:35:08 Jakub Lach wrote: Hello. Anybody is experiencing something similar? There was no such problem on 8-STABLE, this is now FreeBSD 9.0-BETA1 #0 r225063 amd64, kernel is semi-heavily stripped (usb is not compiled in). Is ACPI and PCI compiled? Are you able

Re: skipping locks, mutex_owned, usb

2011-08-23 Thread Hans Petter Selasky
On Tuesday 23 August 2011 14:09:15 Andriy Gapon wrote: Yes, the subject sounds quite hairy, so please let me try to explain it. First, let's consider one concrete function: static int ukbd_poll(keyboard_t *kbd, int on) { struct ukbd_softc *sc = kbd-kb_data; if

Re: http://www.freebsd.org/marketing/os-comparison.html

2011-08-30 Thread Hans Petter Selasky
On Monday 29 August 2011 21:58:29 Volodymyr Kostyrko wrote: 27.08.2011 22:13, Hartmann, O. wrote: This website should be brushed up or taken offline! It seems full of vintage stuff from glory days. http://www.freebsd.org/marketing/os-comparison.html I think this one would better look

Re: USB Keyboard don't Work

2011-09-14 Thread Hans Petter Selasky
On Wednesday 14 September 2011 20:46:35 Alisson wrote: Hi... i'm using FreeBSD 8.2 I change the Hard Drive to another position. and FreeBSD don't boot. Appers to change the position o HardDrive. I need to run this command: # mountroot ufs:/dev/ad4s1a but.. the usb keyboard dont

Re: USB Keyboard don't Work

2011-09-14 Thread Hans Petter Selasky
On Wednesday 14 September 2011 20:46:35 Alisson wrote: Hi... i'm using FreeBSD 8.2 I change the Hard Drive to another position. and FreeBSD don't boot. Appers to change the position o HardDrive. I need to run this command: # mountroot ufs:/dev/ad4s1a but.. the usb keyboard dont

Re: USB Keyboard doesn't work

2011-09-20 Thread Hans Petter Selasky
On Tuesday 20 September 2011 03:10:35 Daniel O'Connor wrote: Unfortunately I believe the USB stack is effectively frozen once the mountroot prompt appears hence the need for the work around. Hi, It is not frozen. The problem is that the thread polling for key-presses runs at higher priority

Re: Choosing between DELAY(useconds) and pause()

2011-09-22 Thread Hans Petter Selasky
On Thursday 22 September 2011 19:55:23 David Somayajulu wrote: It appears that the pause() function cannot be used in driver functions which are invoked early in the boot process. Is there is a kernel api which a device driver can use to determine whether to use pause() or DELAY(), for delays

Re: Boot FreeBSD-current on macbook from USB stick ?

2011-09-23 Thread Hans Petter Selasky
On Friday 23 September 2011 21:12:52 Poul-Henning Kamp wrote: Has anybody managed this on an unadultered MacBook ? I've tried with rEFIt and it sees the FreeBSD, but it doesn't boot for me :-/ Hi, Yes - you need to put a dummy MBR there even if using GPT layout. There are some tools in

Re: [Solved] FreeBSD 9-Beta3 on X300 2 problems

2011-09-27 Thread Hans Petter Selasky
On Tuesday 27 September 2011 13:53:41 Adrian Chadd wrote: Hans, Why haven't those patches been committed? I don't know. There is no reason that they shouldn't, except I believe pause() should have the checks for cold and resuming/suspending instead of USB. Must have been forgotten :-)

Re: USB storage corruption/panic when doing file IO and unplugging (another, non-storage) device

2011-10-10 Thread Hans Petter Selasky
On Friday 07 October 2011 08:32:40 Adrian Chadd wrote: On 7 October 2011 13:55, Garrett Cooper yaneg...@gmail.com wrote: Has anyone seen this before? This is _not_ plug/unplug the active storage device, or another storage device. This is when doing IO on a storage device (whether the

Re: umass(4) regression in 9.0-RC1.

2011-10-27 Thread Hans Petter Selasky
On Thursday 27 October 2011 19:07:38 Pawel Jakub Dawidek wrote: Hi. My SDHC card (via adapter) is no longer being detected after upgrade to 9.0-RC1. The same card with this adapter works on my laptop with older HEAD. usbus0: EHCI version 1.0 usbus0: NVIDIA nForce MCP55 USB

Re: umass(4) regression in 9.0-RC1.

2011-10-27 Thread Hans Petter Selasky
On Thursday 27 October 2011 20:40:37 Pawel Jakub Dawidek wrote: On Thu, Oct 27, 2011 at 08:30:44PM +0200, Hans Petter Selasky wrote: What does usbconfig dump_device_desc, say about this device? ugen0.1: EHCI root HUB nVidia at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE bLength

Re: umass(4) regression in 9.0-RC1.

2011-10-28 Thread Hans Petter Selasky
On Thursday 27 October 2011 20:51:15 Pawel Jakub Dawidek wrote: On Thu, Oct 27, 2011 at 08:42:09PM +0200, Hans Petter Selasky wrote: This is the root HUB. Can you also show the actual device? Sorry, it wasn't connected, here it goes: ugen0.2: USB2.0-CRW Generic at usbus0, cfg=255 md=HOST

Re: [Freebsd 9] [amd64] [USB] [HPLIP] what's the (new) right way to manage hplip usb-plugged printers, running Freebsd 9

2011-10-30 Thread Hans Petter Selasky
On Sunday 30 October 2011 01:31:21 Daniel O'Connor wrote: I'm not sure what would load it automatically - it may be built into the kernel though. Anyway, as you say it should work with ulpt loaded anyway. Hi, ulpt is autoloaded by /etc/devd/usb.conf --HPS

Re: lockup during probing because of a memory stick

2011-10-30 Thread Hans Petter Selasky
On Saturday 29 October 2011 23:26:29 deeptec...@gmail.com wrote: If a USB mass storage device was connected when the computer was turned on or reset and the device is left connected, then the system locks up somewhere around the ``acpi0: A M I OEMXSDT on motherboard'' line (not exactly

Re: umass(4) regression in 9.0-RC1.

2011-10-31 Thread Hans Petter Selasky
On Friday 28 October 2011 21:09:47 Pawel Jakub Dawidek wrote: On Fri, Oct 28, 2011 at 09:11:42AM +0200, Hans Petter Selasky wrote: On Thursday 27 October 2011 20:51:15 Pawel Jakub Dawidek wrote: On Thu, Oct 27, 2011 at 08:42:09PM +0200, Hans Petter Selasky wrote: This is the root HUB

Re: ng_ubt fatal trap 12 on RELENG_9 and CURRENT

2011-11-01 Thread Hans Petter Selasky
On Monday 31 October 2011 09:22:40 Matt Mullins wrote: It's late, so I'm going to come back to this later. Any ideas on where I should go from here? Try to figure out where the NULL valued structure is initialised. --HPS ___

Re: USB3 express card panics on 9.0-RC1

2011-11-03 Thread Hans Petter Selasky
On Wednesday 02 November 2011 16:22:20 Jan Henrik Sylvester wrote: I have bought a Super-speed Express Card To USB 3.0 1-Port to connect an USB3 hard disk to my Thinkpad T510, which only has USB2. Trying to hot plug the express card did nothing, but I guess that is expected. Hence, I booted

Re: USB3 express card panics on 9.0-RC1

2011-11-03 Thread Hans Petter Selasky
On Thursday 03 November 2011 13:30:19 Jan Henrik Sylvester wrote: On 11/03/2011 11:51, Jan Henrik Sylvester wrote: On 11/03/2011 09:27, Hans Petter Selasky wrote: On Wednesday 02 November 2011 16:22:20 Jan Henrik Sylvester wrote: I have bought a Super-speed Express Card To USB 3.0 1-Port

Re: USB3 express card panics on 9.0-RC1

2011-11-03 Thread Hans Petter Selasky
On Thursday 03 November 2011 19:42:30 Hans Petter Selasky wrote: On Thursday 03 November 2011 13:30:19 Jan Henrik Sylvester wrote: After reading http://www.unixguide.net/freebsd/faq/18.13.shtml , I found that 806e8040 t usb_process is the last symbol before instruction pointer

Re: USB3 express card panics on 9.0-RC1

2011-11-03 Thread Hans Petter Selasky
On Thursday 03 November 2011 21:04:23 Hans Petter Selasky wrote: On Thursday 03 November 2011 19:42:30 Hans Petter Selasky wrote: On Thursday 03 November 2011 13:30:19 Jan Henrik Sylvester wrote: After reading http://www.unixguide.net/freebsd/faq/18.13.shtml , I found

Re: USB3 express card panics on 9.0-RC1

2011-11-03 Thread Hans Petter Selasky
On Thursday 03 November 2011 13:30:19 Jan Henrik Sylvester wrote: On 11/03/2011 11:51, Jan Henrik Sylvester wrote: On 11/03/2011 09:27, Hans Petter Selasky wrote: On Wednesday 02 November 2011 16:22:20 Jan Henrik Sylvester wrote: I have bought a Super-speed Express Card To USB 3.0 1-Port

Re: Netgear WNA1000N USB wlan device

2011-11-10 Thread Hans Petter Selasky
On Thursday 10 November 2011 06:56:23 Glen Barber wrote: Hi, Netgear has these neat little USB micro wireless network adapters[1] that one could plug in and forget about without fear of, for example, breaking the device. Said devices are really nice for those of us without supported

Re: uhid(4) and report structures

2011-11-15 Thread Hans Petter Selasky
On Tuesday 15 November 2011 21:54:06 Marcus von Appen wrote: struct usb_ctl_report { int ucr_report; u_char ucr_data[1024]; }; Hi, Before the descriptor length was limited to 1024 bytes. Now it is limited to 65535 bytes, which is the USB maximum for control endpoints. Having

Re: man ugen error

2011-11-30 Thread Hans Petter Selasky
On Wednesday 30 November 2011 11:24:39 Thomas Mueller wrote: According to ugen man page, ugen can be compiled into the kernel with device ugen in config file. I tried that in the kernel config when upgrading from FreeBSD 9.0-RC1 to RC2, but the kernel build stopped quickly with the message

Re: [patch] turning devctl into a multiple openable device

2011-11-30 Thread Hans Petter Selasky
On Wednesday 30 November 2011 13:43:20 Baptiste Daroussin wrote: Hi all, With the help of cognet, I wrote a patch to turn devctl into a multiple openable device, that mean that it will allow to open /dev/devctl in multiple programs, for example hald and everythings that want to receive

  1   2   3   4   5   6   7   8   >