Re: panic: resource_list_add: resource entry is busy

2014-05-18 Thread Hans Petter Selasky
Hi, First call: resource_list_add: KDB: stack backtrace: #0 0x8089e5f6 at kdb_backtrace+0x66 #1 0x808960f0 at resource_list_add+0x50 #2 0x805ea939 at pccard_function_init+0x279 #3 0x805ebede at pccard_probe_and_attach_child+0x7e #4 0x805ec6ce at

panic: resource_list_add: resource entry is busy

2014-05-16 Thread Hans Petter Selasky
Hi, I see the following panic: panic: resource_list_add: resource entry is busy When trying to kldload an older pccard driver. The call comes from the driver_added bus method somewhere down the tree. Loading the module before the kernel boots fixes the problem temporarily. Any bells

Re: Leaving the Desktop Market

2014-04-01 Thread Hans Petter Selasky
Hi, On 04/01/14 07:46, Eitan Adler wrote: Hi all, Some of you may have seen my posts entitled Story of a Laptop User and Story of a Desktop User. For those of you who did not, it can be a worthwhile read to see what life is like when using FreeBSD as a desktop. In short, it is an educational

Re: MacPro 2009 again

2014-03-12 Thread Hans Petter Selasky
On 03/12/14 09:25, Nicolas Kozic wrote: Hello all, I come back on FreeBSD. I tried for a couple of months macports, fink on macosx on Mavericks version but it is not the same. On Mavericks we can have X via XQuartz but I miss some softwares and X from FreeBSD is different. So my actual

Re: PANIC: freebsd-10-stable - acquiring blockable sleep lock with spinlock or critical section held (sleep mutex) Giant @ /usr/src/sys/dev/usb/input/ukbd.c:1929

2014-03-10 Thread Hans Petter Selasky
On 03/10/14 00:45, Oliver Pinter wrote: critical section held Hi, Can you try this patch: http://svnweb.freebsd.org/changeset/base/262972 I suppose this happens if SCROLL LOCK LED is set while rebooting. Thank you! --HPS ___

Re: kqueue for usb_dev

2014-02-27 Thread Hans Petter Selasky
On 02/27/14 08:42, Kohji Okuno wrote: From: Hans Petter Selasky h...@bitfrost.no On 02/27/14 08:13, Kohji Okuno wrote: Hi John-Mark, Thank you for you comment. From: John-Mark Gurney j...@funkthat.com Kohji Okuno wrote this message on Thu, Feb 27, 2014 at 14:26 +0900: I tried add kqueue I

Re: kqueue for usb_dev

2014-02-27 Thread Hans Petter Selasky
Hi Kohji, Can you verify this commit: http://svnweb.freebsd.org/changeset/base/262550 Please test using both read and write direction. For example you can use the ULPT driver or a /dev/usb/X.X.X node which supports both read and write. Thank you! --HPS

Re: kqueue for usb_dev

2014-02-27 Thread Hans Petter Selasky
On 02/27/14 10:00, Hans Petter Selasky wrote: Hi Kohji, Can you verify this commit: http://svnweb.freebsd.org/changeset/base/262550 Please test using both read and write direction. For example you can use the ULPT driver or a /dev/usb/X.X.X node which supports both read and write. Thank you

Re: kqueue for usb_dev

2014-02-27 Thread Hans Petter Selasky
On 02/27/14 11:39, Kohji Okuno wrote: Hi HPS and John-Mark, After I changed as the following, the kernel panic does not happen. What do you think about this change? + knlist_clear(f-selinfo.si_note, 0); knlist_destroy(f-selinfo.si_note); Regards, Kohji Okuno Can you try

Re: kqueue for KBD.

2014-02-27 Thread Hans Petter Selasky
On 02/27/14 11:59, Kohji Okuno wrote: + sc = kbd-kb_dev-si_drv1; + knlist_clear(sc-gkb_rsel.si_note, 0); + knlist_destroy(sc-gkb_rsel.si_note); + free(kbd-kb_dev-si_drv1, M_DEVBUF); destroy_dev(kbd-kb_dev); Hi, You should put the knlist_destroy() after the

Re: kqueue for usb_dev

2014-02-26 Thread Hans Petter Selasky
On 02/27/14 07:02, John-Mark Gurney wrote: 2) Why do you try to start read/write transfers in the _filter? You should just check to see if data is available and not do work.. This is also important since kqueue calls the filter just before delivering the knote to userland to verify that there

Re: kqueue for usb_dev

2014-02-26 Thread Hans Petter Selasky
On 02/27/14 08:13, Kohji Okuno wrote: Hi John-Mark, Thank you for you comment. From: John-Mark Gurney j...@funkthat.com Kohji Okuno wrote this message on Thu, Feb 27, 2014 at 14:26 +0900: I tried add kqueue I/F to usb_dev.c. I attached my patch. What do you think about my patch? A few

RE: Build failed in Jenkins: FreeBSD_HEAD #176

2014-02-25 Thread Hans Petter Selasky
Hi, The build failure should be fixed yesterday: http://svnweb.freebsd.org/base?view=revisionrevision=262454 I forgot to test using clang compiler before committing. --HPS ___ freebsd-current@freebsd.org mailing list

Re: Google Chromebook C720

2014-02-12 Thread Hans Petter Selasky
Hi, Here is at least one patch for USB fixup and there might be more coming. A need someone to test this patch. The issue of problem has been identified thanks to Mattew Dillon at DragonFlyBSD. On 02/12/14 08:51, Adrian Chadd wrote: Yeah, we need: * usb fixed up

Re: usb_compat_linux.h errors

2014-02-11 Thread Hans Petter Selasky
On 02/11/14 02:05, Joe Nosay wrote: Referencing at https://forums.freebsd.org/viewtopic.php?f=39t=44691#p249459 I'm wondering if the problem is in my system or not. Hi, 1 warning generated. /usr/local/bin/clang -I. -I. -I./../Programs -I../Programs -I./.. -I.. -DHAVE_CONFIG_H -g -O2

Google Chromebook C720

2014-02-11 Thread Hans Petter Selasky
Hi, Anyone subscribed here that can do some USB tests using FreeBSD on a Google Chromebook, C720? --HPS ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to

Re: Google Chromebook C720

2014-02-11 Thread Hans Petter Selasky
On 02/12/14 08:19, Matthias Apitz wrote: El día Wednesday, February 12, 2014 a las 08:13:40AM +0100, Hans Petter Selasky escribió: Hi, Anyone subscribed here that can do some USB tests using FreeBSD on a Google Chromebook, C720? Does FreeBSD run on Google Chromebook at all

Re: urtwn driver for Edimax EW-7811U WLAN nano USB Adapter

2014-02-10 Thread Hans Petter Selasky
On 02/10/14 13:21, Alexey Dokuchaev wrote: On Tue, Oct 15, 2013 at 11:13:56PM -0700, Rui Paulo wrote: On 8 Oct 2013, at 10:41, Julian H. Stacey j...@berklix.com wrote: I too am seeing urtwn0: timeout waiting for checksum report Sorry, this is a know problem that I haven't been able

[HEADS UP] MacBooks and Apple Trackpads

2014-02-07 Thread Hans Petter Selasky
Hi, A new driver for the Apple Trackpad named wsp has been committed and MFC'ed to 9-stable and 10-stable from -current. The trackpad will appear non-working in X.org until HAL is recompiled with support for wsp devices. This happens when I MFC etc/usb.conf to 9-stable and 10-stable which

Re: Apple Trackpad driver

2014-02-04 Thread Hans Petter Selasky
On 02/01/14 08:18, Hans Petter Selasky wrote: On 02/01/14 08:07, Hans Petter Selasky wrote: On 01/31/14 21:30, Danilo E. Gondolfo wrote: I noticed that your driver is based on the Linux driver [1] and some pieces of code are copied, are you sure that we won't have any problems with license

Re: Apple Trackpad driver

2014-01-31 Thread Hans Petter Selasky
On 01/31/14 21:30, Danilo E. Gondolfo wrote: On 01/31/14 05:16, Hans Petter Selasky wrote: On 01/31/14 02:46, Huang Wen Hui wrote: Hi Hans, pos_x[] is not non-inialized, it may be previous pos_x, it is still ok for getting dx. n var is trying to reduce untouch sensor data for post

Re: Apple Trackpad driver

2014-01-31 Thread Hans Petter Selasky
On 01/31/14 21:30, Danilo E. Gondolfo wrote: I noticed that your driver is based on the Linux driver [1] and some pieces of code are copied, are you sure that we won't have any problems with license? Hi, Hence Huang has only copied so-called header file contents, I think this should be fine.

Re: Apple Trackpad driver

2014-01-31 Thread Hans Petter Selasky
On 02/01/14 08:07, Hans Petter Selasky wrote: On 01/31/14 21:30, Danilo E. Gondolfo wrote: I noticed that your driver is based on the Linux driver [1] and some pieces of code are copied, are you sure that we won't have any problems with license? Hi, Hence Huang has only copied so-called

Re: Apple Trackpad driver

2014-01-30 Thread Hans Petter Selasky
On 01/31/14 02:46, Huang Wen Hui wrote: Hi Hans, pos_x[] is not non-inialized, it may be previous pos_x, it is still ok for getting dx. n var is trying to reduce untouch sensor data for post proccessing. I attach a new patch may be more clear, also fixed unexpected movement when button status

Re: Apple Trackpad driver

2014-01-29 Thread Hans Petter Selasky
On 01/29/14 09:49, Lundberg, Johannes wrote: Hi I tested the driver on a 2012 Macbook Air 11 and it works great! Good job! Is there a way to disable click-by-touch? I always preferred clicking with the physical button that is built in to the pad. Hi, I've added an #if 0 around the 1 finger

Re: Apple Trackpad driver

2014-01-29 Thread Hans Petter Selasky
Hi, Can you also write a manual page for the wsp driver? --HPS ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org

Re: Apple Trackpad driver

2014-01-29 Thread Hans Petter Selasky
) { + if (ntouch == 2) { sc-distance = max(sc-distance, max( abs(sc-pos_x[0] - sc-pos_x[1]), abs(sc-pos_y[0] - sc-pos_y[1]))); --HPS Cheers, Huang Wen Hui 2014-01-29 Hans Petter Selasky h...@bitfrost.no On 01/29

RE: lock order reversals w/ backtrace

2014-01-23 Thread Hans Petter Selasky
Hi, Can you see if you can snap some keywords of the backtraces, like usb_xxx usbdx_xxx cam scsi or something like that. Else I believe there are some sysctl options to prevent the final reboot somehow so that you can write down the messages. --HPS -Original message- From:Thomas

Re: Bad support of Kingston DataTraveler/DT USB key since 9.2 (not fixed in 10.0)

2014-01-22 Thread Hans Petter Selasky
On 01/22/14 11:31, Olivier Cochard-Labbé wrote: Hi all, There is a regression since 9.2 (still not fixed on 10.0) regarding a list of Kingston DataTraveler/DT USB keys - usb/180837, regarding Kingston DT 101 G2: This PR include a patch for 9.2 and a link to netbsd code that include other

Re: Bad support of Kingston DataTraveler/DT USB key since 9.2 (not fixed in 10.0)

2014-01-22 Thread Hans Petter Selasky
On 01/22/14 11:39, Hans Petter Selasky wrote: On 01/22/14 11:31, Olivier Cochard-Labbé wrote: Hi all, There is a regression since 9.2 (still not fixed on 10.0) regarding a list of Kingston DataTraveler/DT USB keys - usb/180837, regarding Kingston DT 101 G2: This PR include a patch for 9.2

Re: Install 10.0-RC3 on MacBookPro Late 2013

2014-01-11 Thread Hans Petter Selasky
On 01/11/14 05:14, Huang Wen Hui wrote: Hi, I got one problem when I unplug/plug Buffalo WLI-UC-GNM, it is USB WLAN. All USB devices become to disconnected after unplug and plug: Try this: http://svnweb.freebsd.org/changeset/base/260535 --HPS ___

Re: Move 3G modem from u3g to uhso?

2014-01-09 Thread Hans Petter Selasky
On 01/10/14 06:06, Lundberg, Johannes wrote: Hi I have been using Globetrotter HSUPA Modem Option N.V. usb modem for a while with the uhso driver and now I installed 11-CURRENT and see that it has been added to devd and u3g is loaded automatically. Since this device has support for it

Re: Install 10.0-RC3 on MacBookPro Late 2013

2014-01-07 Thread Hans Petter Selasky
On 01/07/14 08:07, Huang Wen Hui wrote: Hi, This patch fixed my problem! Thanks, Huang Wen Hui. http://svnweb.freebsd.org/changeset/base/260388 --HPS ___ freebsd-current@freebsd.org mailing list

Re: Install 10.0-RC3 on MacBookPro Late 2013

2014-01-07 Thread Hans Petter Selasky
On 01/07/14 14:22, Lundberg, Johannes wrote: Lucky you! I tried the latest src just now, made memstick on amd64 and ran on MBA2013 but no luck. Reverting xhci* to 243780 as I've done before made it pass the boot sequence and to the installer. Was hoping the same fix applied to Air as

Re: Install 10.0-RC3 on MacBookPro Late 2013

2014-01-06 Thread Hans Petter Selasky
On 01/06/14 09:19, Huang Wen Hui wrote: The xhci code from 9.1R is OK, but there are a lot of USB_ERR_TIMEOUT in 9.2R... Have you copied the USB code from 9.1R to 9.2R and made a build? --HPS ___ freebsd-current@freebsd.org mailing list

Re: Install 10.0-RC3 on MacBookPro Late 2013

2014-01-06 Thread Hans Petter Selasky
On 01/06/14 10:41, Huang Wen Hui wrote: % grep xhci dmesg-xhci-debug.txt | more xhci0: Intel Lynx Point USB 3.0 controller mem 0xc1e0-0xc1e0 at device 20.0 on pci0 xhci0: attempting to allocate 1 MSI vectors (8 supported) xhci0: using IRQ 266 for MSI xhci0: MSI enabled Those USB

Re: Install 10.0-RC3 on MacBookPro Late 2013

2014-01-06 Thread Hans Petter Selasky
On 01/06/14 11:15, Huang Wen Hui wrote: 2014/1/6 Hans Petter Selasky h...@bitfrost.no On 01/06/14 10:41, Huang Wen Hui wrote: % grep xhci dmesg-xhci-debug.txt | more xhci0: Intel Lynx Point USB 3.0 controller mem 0xc1e0-0xc1e0 at device 20.0 on pci0 xhci0: attempting to allocate 1

Re: Install 10.0-RC3 on MacBookPro Late 2013

2014-01-06 Thread Hans Petter Selasky
. --HPS -a On 6 January 2014 01:52, Hans Petter Selasky h...@bitfrost.no wrote: On 01/06/14 10:41, Huang Wen Hui wrote: % grep xhci dmesg-xhci-debug.txt | more xhci0: Intel Lynx Point USB 3.0 controller mem 0xc1e0-0xc1e0 at device 20.0 on pci0 xhci0: attempting to allocate 1 MSI vectors

Re: Install 10.0-RC3 on MacBookPro Late 2013

2014-01-06 Thread Hans Petter Selasky
On 01/06/14 16:28, Hans Petter Selasky wrote: On 01/06/14 15:17, Adrian Chadd wrote: Right, but it used to work. That's the confusing bit. How'd you make it not work? :) Binary sect the sys/dev/usb/controller/xhci.c revision history? There has been several bug reports for the Lynx point

Re: Install 10.0-RC3 on MacBookPro Late 2013

2014-01-06 Thread Hans Petter Selasky
On 01/07/14 03:30, Huang Wen Hui wrote: Hans, This wild guess do NOT works. I binary sect xhci.c in SVN, found that *r245732 *http://svnweb.freebsd.org/base?view=revisionrevision=245732* introduce the bug.* http://svnweb.freebsd.org/base?view=revisionrevision=245732 revert to r345731 fixed

Re: Install 10.0-RC3 on MacBookPro Late 2013

2014-01-05 Thread Hans Petter Selasky
On 01/06/14 05:11, Huang Wen Hui wrote: Hi, USB still have a lot of USB_ERR_TIMEOUT, but Internal keyboard and external keyboard found and works! usb disk also found, but booting stop at: Mounting from ufs:/dev/da0a failed with error 6. or a lot of cam Retrying command. Cheers, Huang Wen Hui

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

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

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

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: Panic at USB drive plugging in

2013-07-23 Thread Hans Petter Selasky
On 07/23/13 17:12, Jia-Shiun Li wrote: Hi all, as personal preference I compiled kernel with drivers as module as possible. Recently I found that plugging in USB drives causes kernel to panic. But it does not happen when booting with GENERIC kernel which has USB drivers compiled in. panic

Re: USB gadget examples

2013-07-22 Thread Hans Petter Selasky
On 07/22/13 17:15, Alie Tan wrote: Hi, May I know what is this USB gadget examples for? http://svnweb.freebsd.org/base?view=revisionrevision=253544 http://svnweb.freebsd.org/base?view=revisionrevision=253546 Regards, Alie T Hi, These examples are for implementing a real USB device, I.E. not

Re: usb ACM device doesn't work

2013-06-23 Thread Hans Petter Selasky
On 06/23/13 10:33, Ian FREISLICH wrote: status 0xea1a1 OPEN|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_SETUP|CURR_DMA_SET|CAN_CANCEL_IMMED|DOING_CALLBACK|0 10:29:19.904434 usbus0.2 SUBM-BULK-EP=0002,SPD=FULL,NFR=1,SLEN=4,IVAL=0 frame[0] WRITE 1 bytes 6F -- -- -- -- -- --

Re: usb ACM device doesn't work

2013-06-22 Thread Hans Petter Selasky
On 06/22/13 20:54, Ian FREISLICH wrote: Daniel O'Connor wrote: On 22/06/2013, at 4:10, Ian FREISLICH i...@clue.co.za wrote: I bought a relay control board that has a USB interface. It presents a serial port to Linux on /dev/ttyACMx. However when I plug it into my FreeBSD host, it detects as

NULL pointer crash in exit1() when running certain Linux binaries

2013-06-22 Thread Hans Petter Selasky
Hi, The following crash has been observed using FreeBSD 9-stable amd64: Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0x20 fault code = supervisor read data, page not present instruction pointer = 0x20:0x81765bb6 stack

RE: USB Keyboard not worked on current (r251681)

2013-06-15 Thread Hans Petter Selasky
(r251681) On Fri, Jun 14, 2013 at 12:41:28PM +0300, Sergey V. Dyatko wrote: On Fri, 14 Jun 2013 11:36:56 +0200 Hans Petter Selasky h...@bitfrost.no wrote: See this thread and solution Supermicro 6027R-N3RF+head, usb trouble It was 'fixed' by r251282, but I see r251681 on subject

RE: USB Keyboard not worked on current (r251681)

2013-06-15 Thread Hans Petter Selasky
Selasky hans.petter.sela...@bitfrost.no Cc: Sergey V. Dyatko sergey.dya...@gmail.com; curr...@freebsd.org Subject: Re: USB Keyboard not worked on current (r251681) On Sat, Jun 15, 2013 at 09:34:59AM +0200, Hans Petter Selasky wrote: It is some error code from busdma. This is not helpful

Re: USB Keyboard not worked on current (r251681)

2013-06-14 Thread Hans Petter Selasky
On 06/14/13 10:50, Vitalij Satanivskij wrote: Hello There is system - CPU: Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz (2400.05-MHz K8-class CPU) real memory = 137438953472 (131072 MB) avail memory = 132517056512 (126378 MB) motherboard - X9DR3-F Keyboard is Logitech, identified as ugen1.2:

Re: USB Keyboard not worked on current (r251681)

2013-06-14 Thread Hans Petter Selasky
See this thread and solution Supermicro 6027R-N3RF+head, usb trouble --HPS ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org

Re: 10-CURRENT i386 memstick snapshots broken?

2013-06-07 Thread Hans Petter Selasky
On 06/07/13 22:51, Jimmy wrote: Greetings - I had originally started playing with the 10-CURRENT amd64 release a couple of months ago (no complaints here - keep up the good work!) and had used the memstick snapshot to set things up back then with no problems. Now I'd like to wipe everything

Re: Supermicro 6027R-N3RF+head, usb trouble

2013-04-22 Thread Hans Petter Selasky
On 04/21/13 21:38, Sergey V. Dyatko wrote: Hi, Can anybody explain why USB keyboard (and keyboard from integrated IPKVM) doesn't work when I boot with 'C606 chipset Dual 4-Port SATA/SAS Storage Control Unit' enabled in bios? Also I can't boot that box from usb memstick and

Re: Supermicro 6027R-N3RF+head, usb trouble

2013-04-22 Thread Hans Petter Selasky
Hi, how I can do that ? Hi, vmstat -m There is also an interactive command in the debugger! --HPS ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to

Re: USB not working

2013-02-25 Thread Hans Petter Selasky
On Sunday 24 February 2013 20:31:52 Daniel Eischen wrote: Hey, I've got a Dell Inspiron 15R Special Edition and haven't had working USB since first installing FreeBSD on it. I'm currently at r247154. When I insert a flash drive (which works fine on my desktop -current system), it is not

Re: USB not working

2013-02-25 Thread Hans Petter Selasky
On Monday 25 February 2013 15:01:24 Daniel Eischen wrote: On Mon, 25 Feb 2013, Hans Petter Selasky wrote: On Sunday 24 February 2013 20:31:52 Daniel Eischen wrote: Hey, I've got a Dell Inspiron 15R Special Edition and haven't had working USB since first installing FreeBSD on it. I'm

Re: USB not working

2013-02-25 Thread Hans Petter Selasky
On Monday 25 February 2013 15:32:26 Daniel Eischen wrote: On Mon, 25 Feb 2013, Hans Petter Selasky wrote: On Monday 25 February 2013 15:01:24 Daniel Eischen wrote: On Mon, 25 Feb 2013, Hans Petter Selasky wrote: On Sunday 24 February 2013 20:31:52 Daniel Eischen wrote: Hey, I've got

Re: USB not working

2013-02-25 Thread Hans Petter Selasky
This worked - thanks! Any chance of getting this to be automatic, without having to tweak any knobs? Not as I know of. Possibly we could set/clear the route bits when enumeration fails. Feel free to submit patches. --HPS ___

<    3   4   5   6   7   8   9   10   11   >