usb/172633: Sony Cybershot not recognized as USB mem stick

2012-10-12 Thread Hans
>Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Oct 12 09:50:00 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Hans >Release:9-Stable >Organization: >Environment: FreeBSD pop1.hm.net.br 9.1-PRERELEASE Fr

USB drive not recognized (500 GB) to Hans Petter

2012-08-26 Thread Hans Ruhe
Hello Hans, I have got your name from Lars Engels. I am helping out to do some testwork. I have the following issue: I am trying my La Cie external usb drive (with samsung internally) but it is not even visible in 9.1 rc. I am running 64 bit Athlon with 64 bit KDE Best regards, Hans I

Re: u3g serial device name query

2009-04-30 Thread Hans Petter Selasky
On Thursday 30 April 2009, Milan Obuch wrote: > On Thursday 30 April 2009 12:58:36 Hans Petter Selasky wrote: > > On Thursday 30 April 2009, Milan Obuch wrote: > > > Hi, > > > > > > I have HUAWEI 3g usb modem. It works with u3g from current. There is > >

Re: usb/134193: System freeze on usb MP3 player insertion

2009-05-04 Thread Hans Petter Selasky
On Sunday 03 May 2009, Henri-Pierre Charles wrote: > Henri-Pierre Charles Fix for 8-current. http://perforce.freebsd.org/chv.cgi?CH=161533 --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscri

Re: usb/134193: System freeze on usb MP3 player insertion

2009-05-04 Thread Hans Petter Selasky
The following reply was made to PR usb/134193; it has been noted by GNATS. From: Hans Petter Selasky To: freebsd-usb@freebsd.org Cc: Henri-Pierre Charles , freebsd-gnats-sub...@freebsd.org Subject: Re: usb/134193: System freeze on usb MP3 player insertion Date: Mon, 4 May 2009 10:16:54 +0200

Re: ZTE MF636 USB u3g modem

2009-05-08 Thread Hans Petter Selasky
On Friday 08 May 2009, Nenhum_de_Nos wrote: > On Fri, May 8, 2009 00:14, Mike Tancsa wrote: > > At 10:01 AM 5/7/2009, Mike Tancsa wrote: > >>>This is the real port. Could you dump the descriptors after unloading > >>> the > >>>driver and loading ugen? > > > > I decided to give it a spin on HEAD, bu

Re: EHCI Problem on FreeBSD arm port

2009-05-09 Thread Hans Petter Selasky
On Saturday 09 May 2009, Yohanes Nugroho wrote: > Hi all, > > This is where I got stuck. The EHCI controller is detected, most of > the time the hub is detected (2 ports), and some of the time the USB > mass controller is loaded. From my observation, it seems that even > though the USB transaction

Re: usb/134476: [usb2] [umass] [quirk] Add quirk for Cypress xx6830xx

2009-05-12 Thread Hans Petter Selasky
On Tuesday 12 May 2009, Lucius Windschuh wrote: > >Number: 134476 > >Category: usb > >Synopsis: [usb2] [umass] [quirk] Add quirk for Cypress xx6830xx > >Confidential: no > >Severity: non-critical > >Priority: low > >Responsible:freebsd-usb > >State: op

Re: usb/134476: [usb2] [umass] [quirk] Add quirk for Cypress xx6830xx

2009-05-12 Thread Hans Petter Selasky
The following reply was made to PR usb/134476; it has been noted by GNATS. From: Hans Petter Selasky To: freebsd-usb@freebsd.org Cc: Lucius Windschuh , freebsd-gnats-sub...@freebsd.org Subject: Re: usb/134476: [usb2] [umass] [quirk] Add quirk for Cypress xx6830xx Date: Tue, 12 May 2009 09:23:56

Re: usb/134476: [usb2] [umass] [quirk] Add quirk for Cypress xx6830xx

2009-05-12 Thread Hans Petter Selasky
On Tuesday 12 May 2009, Lucius Windschuh wrote: > Lucius Windschuh Committed. http://perforce.freebsd.org/chv.cgi?CH=161973 --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any ma

Re: usb/134476: [usb2] [umass] [quirk] Add quirk for Cypress xx6830xx

2009-05-12 Thread Hans Petter Selasky
The following reply was made to PR usb/134476; it has been noted by GNATS. From: Hans Petter Selasky To: Lucius Windschuh Cc: freebsd-usb@freebsd.org, freebsd-gnats-sub...@freebsd.org Subject: Re: usb/134476: [usb2] [umass] [quirk] Add quirk for Cypress xx6830xx Date: Tue, 12 May 2009 15:23:57

Re: USB panic on 8.0/arm

2009-05-12 Thread Hans Petter Selasky
On Tuesday 12 May 2009, Gavin Atkinson wrote: > Hi all, > > I have an NSLU2, which I am netbooting. I've been doing most of my work > on it with USB removed from the kernel because the old stack would > always panic. I've recently been trying the new USB stack, and have > found that it still pani

Re: Asynchronous bulk transfers in usb2 ?

2009-05-15 Thread Hans Petter Selasky
On Friday 15 May 2009, Thierry Herbelot wrote: > Hello, > > This is a follow-on for : > http://www.mail-archive.com/freebsd-usb%40freebsd.org/msg04000.html, > where a code snippet was posted to use the new USB stack. > > I've just recompiled my old experiment (which used to work at the time), > and

Re: usb/119201: [patch] Quirksfor Olympus FE-210 camera, LG and Laser MP3 players

2009-05-15 Thread Hans Petter Selasky
On Saturday 16 May 2009, Peter Jeremy wrote: > usb/119201 Can this be patched in umass.c ? --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscr...@fre

Re: How to add support for Macbook Pro (USB) keyboard?

2009-05-15 Thread Hans Petter Selasky
On Friday 15 May 2009, Christoph Langguth wrote: > Christoph Langguth Hi, Can you try the following patch on 8-current? http://perforce.freebsd.org/chv.cgi?CH=162145 --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listi

Re: How to add support for Macbook Pro (USB) keyboard?

2009-05-16 Thread Hans Petter Selasky
after "ugen" when your device is plugged. The command above assume the keyboard resides at interface zero. --HPS On Saturday 16 May 2009, Christoph Langguth wrote: > Hi Hans Petter, > > thanks for the quick reply! > I tried your patch but it doesn't work, all I get

Re: How to add support for Macbook Pro (USB) keyboard?

2009-05-16 Thread Hans Petter Selasky
Hi Christoph, Download the two patched files from P4, ukbd.c and usbhid.h, and put them under sys/dev/usb/input and sys/dev/usb/ respectivly. Then recompile the ukbd module and/or kernel. The attach failure was due to a bug in the previous patch where I had forgotten to update N_TRANSFER. htt

Re: How to add support for Macbook Pro (USB) keyboard?

2009-05-16 Thread Hans Petter Selasky
On Saturday 16 May 2009, Christoph Langguth wrote: > Hi Hans Petter, > > I just realized after writing it that all other OS's (MacOS, Windows, > Linux) map Fn+Enter to INS, so I guess it would be best to stick with > that convention and not to introduce new idiosyncrasies...

Re: How to add support for Macbook Pro (USB) keyboard?

2009-05-16 Thread Hans Petter Selasky
On Saturday 16 May 2009, Christoph Langguth wrote: > Christoph Langguth Your patch is almost right. Can you try this (download the complete ukbd.c file): http://perforce.freebsd.org/chv.cgi?CH=162182 --HPS ___ freebsd-usb@freebsd.org mailing list http

Re: usb/134633: Add support for WILLCOM03(SHARP smart phone)

2009-05-18 Thread Hans Petter Selasky
On Monday 18 May 2009, Kouji Ito wrote: > Add support for WILLCOM03(SHARP smart phone) Patched: http://perforce.freebsd.org/chv.cgi?CH=162251 --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubs

Minor USB related sysutils/hal patch

2009-05-18 Thread Hans Petter Selasky
Hi, I've made some minor patches for sysutils/hal If the device is detached during config read, the config can be NULL. Check that. Make sure that we close the device handles as we go, to save number of open files. When the backend is freed any leftover file handles will get freed, so it is n

Re: usb/134633: Add support for WILLCOM03(SHARP smart phone)

2009-05-18 Thread Hans Petter Selasky
The following reply was made to PR usb/134633; it has been noted by GNATS. From: Hans Petter Selasky To: freebsd-usb@freebsd.org Cc: Kouji Ito , freebsd-gnats-sub...@freebsd.org Subject: Re: usb/134633: Add support for WILLCOM03(SHARP smart phone) Date: Mon, 18 May 2009 10:59:45 +0200 On

Re: Unable to read from CCID USB reader

2009-05-18 Thread Hans Petter Selasky
On Sunday 17 May 2009, Mario Pavlov wrote: > Hi, > I just got a CCID USB reader with my digital signature...unfortunately I > can't make it work I installed pcsc-lite and libccid from ports... > when I plug-in the reader I can see this: > > ugen0: on > uhub4 > > then I do this: > Is the problem t

Re: Unable to read from CCID USB reader

2009-05-18 Thread Hans Petter Selasky
On Monday 18 May 2009, Mario Pavlov wrote: > Hi, > no I haven't tried it on CURRENT > should I do that ? > is there something new in the USB stuff there ? There is a new USB stack in 8-current and a new libusb which is installed as a part of the base system. --HPS ___

Re: Unable to read from CCID USB reader

2009-05-20 Thread Hans Petter Selasky
On Tuesday 19 May 2009, Mario Pavlov wrote: > Hi, > I tired CURRENT and it's working for me :) > I only have one small issue... > when I unplug the reader pcscd goes to some sort of infinite loop > it would print this forever: > > 48111939 ccid_usb.c:491:WriteUSB() usb_bulk_write(/dev/usb//dev/ugen

Re: USB sound driver status was diffrent from 8-current and 7.2-RELEASE

2009-05-22 Thread Hans Petter Selasky
On Friday 22 May 2009, MIHIRA Sanpei Yoshiro wrote: > Hi. > > I'm using USB audio device(*1) under 8-current and 7.2-RELEASE. > > *1 Kyo-On DIGI(sorry,this page was writtin in Japanese) > http://www.area-powers.jp/product/usb_product/product/kyo-on/u1soundt4.html > > But sound driver status was dif

Re: USB sound driver status was diffrent from 8-current and 7.2-RELEASE

2009-05-22 Thread Hans Petter Selasky
On Friday 22 May 2009, MIHIRA Sanpei Yoshiro wrote: > http://www3.sanpei.org/~sanpei/tmp/uaudio-8-current Could you send me output from: usbconfig -u X -a Y dump_curr_config_desc Number X and Y are the numbers after ugen for your Audio device. --HPS

Re: USB sound driver status was diffrent from 8-current and 7.2-RELEASE

2009-05-22 Thread Hans Petter Selasky
On Friday 22 May 2009, MIHIRA Sanpei Yoshiro wrote: > >On Friday 22 May 2009, MIHIRA Sanpei Yoshiro wrote: > >> http://www3.sanpei.org/~sanpei/tmp/uaudio-8-current > > > >Could you send me output from: > > > >usbconfig -u X -a Y dump_curr_config_desc > > > >Number X and Y are the numbers after ugen

HEADS UP: USB symbols have been renamed in 8-current

2009-05-29 Thread Hans Petter Selasky
See: http://svn.freebsd.org/changeset/base/192984 And rename script: http://people.freebsd.org/~thompsa/usbstruct.txt --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to

Re: How to add support for Macbook Pro (USB) keyboard?

2009-06-02 Thread Hans Petter Selasky
Hi Christoph! Rui Paulo has an additional patch for ukbd.c. Can you look at it and verify? --HPS Here's how it worked: http://wiki.freebsd.org/AppleMacbook#head-7eab3730c3bf3d04bdfb0d1d3649eaddf2fed595 If there's any problem with the userland approach, I would like to know. If there isn't, pl

Re: usb/135206: machine reboots when inserted USB device

2009-06-03 Thread Hans Petter Selasky
On Wednesday 03 June 2009, Satoshi Togawa wrote: > >Number: 135206 > >Category: usb > >Synopsis: machine reboots when inserted USB device > >Confidential: no > >Severity: non-critical > >Priority: low > >Responsible:freebsd-usb > >State: open > >Quarte

Re: usb/135206: machine reboots when inserted USB device

2009-06-03 Thread Hans Petter Selasky
The following reply was made to PR usb/135206; it has been noted by GNATS. From: Hans Petter Selasky To: freebsd-usb@freebsd.org Cc: Satoshi Togawa , freebsd-gnats-sub...@freebsd.org Subject: Re: usb/135206: machine reboots when inserted USB device Date: Wed, 3 Jun 2009 13:27:52 +0200 On

Re: USB sound driver status was diffrent from 8-current and 7.2-RELEASE

2009-06-04 Thread Hans Petter Selasky
On Friday 22 May 2009, MIHIRA Sanpei Yoshiro wrote: > >On Friday 22 May 2009, MIHIRA Sanpei Yoshiro wrote: > >> http://www3.sanpei.org/~sanpei/tmp/uaudio-8-current > > > >Could you send me output from: > > > >usbconfig -u X -a Y dump_curr_config_desc > > > >Number X and Y are the numbers after ugen

Re: How to retrieve iManufacturer/iProduct information from libusb20?

2009-06-07 Thread Hans Petter Selasky
On Sunday 07 June 2009 04:45:20 Jack Twilley wrote: > I have been looking through the source to usbconfig and other tools > trying to figure out how to retrieve the iManufacturer and iProduct > strings. The libusb20 man page describes the > libusb20_dev_get_device_desc() function but there's n

Re: libhid is not run on 8-current and 7.2-RELEASE

2009-06-07 Thread Hans Petter Selasky
On Saturday 06 June 2009 00:55:37 MIHIRA Sanpei Yoshiro wrote: > Hi. > > I have USB Radio(*1). > > There is a application for channel selector, amfm.c which is > for linux and use libhid. > I compile it with ports/devel/libhid. But it was some errors > in 8-current and 7.2-RELEASE. > > How

Re: Yubikey

2009-06-07 Thread Hans Petter Selasky
On Sunday 07 June 2009 20:21:04 Jeremy Faulkner wrote: > Has anybody gotten a Yubikey to work with FreeBSD? It attaches as a > uhid device on both 7 and 8. > > ugen5.5: at usbus5 > uhid0: > on usbus5 If you "cat /dev/usb/5.5.1 | hexdump C" Do you get anything? 5.5 is the number after ugen. --

Temporary patch to fix USB in kdebase4

2009-06-07 Thread Hans Petter Selasky
/apps/kinfocenter/usbview/usbdevices.cpp 2009-06-07 10:55:58.0 +0200 @@ -294,17 +294,25 @@ /* * FreeBSD support by Markus Brueffer + * libusb20 support by Hans Petter Selasky * * Basic idea and some code fragments were taken from FreeBSD's usbdevs(8), * originally develope

Re: How to retrieve iManufacturer/iProduct information from libusb20?

2009-06-08 Thread Hans Petter Selasky
On Monday 08 June 2009 19:18:55 Jack Twilley wrote: > Hans Petter Selasky wrote: > > On Sunday 07 June 2009 04:45:20 Jack Twilley > > > > wrote: > >> I have been looking through the source to > > > > usbconfig and other tools > > > >> tryin

Re: How to retrieve iManufacturer/iProduct information from libusb20?

2009-06-08 Thread Hans Petter Selasky
On Monday 08 June 2009 19:16:27 Jack Twilley wrote: > "error: dereferencing pointer to incomplete type" Maybe not obvious: You need to include: #include --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-

Re: Yubikey - cont'd

2009-06-08 Thread Hans Petter Selasky
On Monday 08 June 2009 02:07:32 Jeremy Faulkner wrote: > Thanks for the reply Hans. I can't reply to the original thread as I > wasn't subscribed to usb@ and didn't mention that in my previous > email. I'm subscribed now. > > I assume you meant 'cat /d

Re: Yubikey - cont'd

2009-06-09 Thread Hans Petter Selasky
On Tuesday 09 June 2009 00:20:39 Jeremy Faulkner wrote: > Hans Petter Selasky wrote: > > On Monday 08 June 2009 02:07:32 Jeremy Faulkner wrote: > >> Thanks for the reply Hans. I can't reply to the original thread as I > >> wasn't subscribed to usb@ and didn

Re: libhid is not run on 8-current and 7.2-RELEASE

2009-06-09 Thread Hans Petter Selasky
On Tuesday 09 June 2009 15:41:15 MIHIRA Sanpei Yoshiro wrote: > >If your application and the HID library is linked with libusb, it will > > work. Can you check the source code for the HID library and find out what > > backend it is using? > > I check latest 8-current enviroment. > I think libhid u

Re: media changes and umass flash card readers

2009-06-09 Thread Hans Petter Selasky
On Tuesday 09 June 2009 17:30:29 Zane C.B. wrote: > This machine here has a USB flash card reader integrated into it. It > works with out issue, minus re-reading the partition and slice info > upon disk change. Is there any way to actually force it to re-read > that information? > > Currently the o

Re: Yubikey

2009-06-10 Thread Hans Petter Selasky
On Tuesday 09 June 2009 14:39:19 Jeremy Faulkner wrote: > On Tue, Jun 9, 2009 at 4:22 AM, Hans Petter Selasky wrote: > > On Tuesday 09 June 2009 05:24:24 Mel Flynn wrote: > >> On Saturday 06 June 2009 10:02:05 Jeremy Faulkner wrote: > >> > Has anybody gotten a Yu

Re: libhid is not run on 8-current and 7.2-RELEASE

2009-06-11 Thread Hans Petter Selasky
Hi, Sorry for late reply. Can you try the following patch on 8-current, and report back? http://perforce.freebsd.org/chv.cgi?CH=164142 You have to download + replace the patched files. Then "make clean all install" in the libusb directory. There is no need to recompile your application. --HP

Re: Yubikey

2009-06-11 Thread Hans Petter Selasky
Hi, Can you try the following patch and report back: http://perforce.freebsd.org/chv.cgi?CH=164141 --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubs

Re: libhid is not run on 8-current and 7.2-RELEASE

2009-06-12 Thread Hans Petter Selasky
On Friday 12 June 2009 15:02:17 MIHIRA Sanpei Yoshiro wrote: > Hi. > > >Sorry for late reply. Can you try the following patch on 8-current, and > > report back? > > > >http://perforce.freebsd.org/chv.cgi?CH=164142 > > > >You have to download + replace the patched files. Then "make clean all > >inst

Re: u3g? SoftBank C01SW (Sierra Wireless HSDPA modem)

2009-06-14 Thread Hans Petter Selasky
On Sunday 14 June 2009 16:02:24 Norikatsu Shigemura wrote: > Hi > > I'm evaluating Softbank C01SW (Sierra Wireless HSDPA modem). > Maybe, its driver is u3g(4). But I can't use it. So I research > its information, and I found that it was supported on OpenBSD. > > http://www.openb

Re: usb headers

2009-06-19 Thread Hans Petter Selasky
On Thursday 18 June 2009 22:06:56 Andrew Thompson wrote: > Hi, > > > Here is a patch that I want to get in, the changes are > > - Make usb_xfer opaque, the drivers can not grub around inside it > - Reduce the number if headers needed for a usb driver, the common case >is just usb.h and usbdi.

Re: usb headers

2009-06-19 Thread Hans Petter Selasky
On Thursday 18 June 2009 22:06:56 Andrew Thompson wrote: > Hi, > > > Here is a patch that I want to get in, the changes are > > - Make usb_xfer opaque, the drivers can not grub around inside it > - Reduce the number if headers needed for a usb driver, the common case >is just usb.h and usbdi.

Re: kern/135628: [umass] [patch] add a device quirk for Myson Heden 8813

2009-06-21 Thread Hans Petter Selasky
On Sunday 21 June 2009 11:58:07 re...@freebsd.org wrote: > Synopsis: [umass] [patch] add a device quirk for Myson Heden 8813 > > Responsible-Changed-From-To: freebsd-usb->remko > Responsible-Changed-By: remko > Responsible-Changed-When: Sun Jun 21 09:58:06 UTC 2009 > Responsible-Changed-Why: > I al

Re: CPU Cache and busdma usage in USB

2009-06-23 Thread Hans Petter Selasky
On Tuesday 23 June 2009 11:11:29 Alexandr Rybalko wrote: > On Tue, 23 Jun 2009 10:35:42 +0200 > > Piotr Zięcik wrote: > >> While bringing up EHCI (8-CURRENT, new USB stack) on ARM machine we > >> have found cache-related problem in the USB stack. > >> > >> The usb_pc_cpu_flush() and usb_pc_cpu_in

Re: Device reset

2009-06-25 Thread Hans Petter Selasky
On Thursday 25 June 2009 15:24:02 Nick Hibma wrote: > HPS, > > In FBSD7 I committed an ioctl on the ugen.c (some time ago) that allowed > for resetting the device. Not a port on the device, but the device itself. > This was a function that was unimplemented in libusb1 up to then. For > example som

Re: new usb stack - boot problem from usb hdd

2009-06-27 Thread Hans Petter Selasky
On Saturday 27 June 2009 06:32:54 Vinicius Abrahao wrote: > 9) What I'm doing wrong? I don't think this is your fault. My initial patch for this problem had a loop in the mount root code, trying to mount the root device several times. Now several other people did not agree about that, and made t

Re: CPU Cache and busdma usage in USB

2009-06-28 Thread Hans Petter Selasky
Hi Piotr and Rafal, Your patch is not fully correct. It will break support for x86 and more when bounce pages are uses. Let's get the definitions right: man busdma BUS_DMASYNC_PREREADPerform any synchronization required prior to an update o

Re: CPU Cache and busdma usage in USB

2009-06-29 Thread Hans Petter Selasky
Hi Piotr and Rafal, On Monday 29 June 2009 11:11:20 Piotr Zięcik wrote: > Sunday 28 June 2009 11:54:40 Hans Petter Selasky napisał(a): > > Hi Piotr and Rafal, > > > > Your patch is not fully correct. It will break support for x86 and more > > when bounce pages are

Re: CPU Cache and busdma usage in USB

2009-06-29 Thread Hans Petter Selasky
Hi, On Monday 29 June 2009 12:49:43 Piotr Zięcik wrote: > Monday 29 June 2009 11:55:11 Hans Petter Selasky napisał(a): > > Hi Piotr and Rafal, > > Look into ehci_check_transfer() function > (http://fxr.watson.org/fxr/source/dev/usb/controller/ehci.c#L1294) > &g

Re: Potential problem with USB_THREAD_SUSPEND()?

2009-06-29 Thread Hans Petter Selasky
On Monday 29 June 2009 13:29:49 Sebastian Huber wrote: > Hi, > > USB_THREAD_SUSPEND(p) is defined as {kproc|kthread}_suspend(p, 0). This > means that it will wait until the corresponding thread recognizes its > suspend request and suspends itself. It seems that > {kproc|kthread}_suspend_check() w

Re: CPU Cache and busdma usage in USB

2009-06-29 Thread Hans Petter Selasky
On Monday 29 June 2009 14:10:11 Stanislav Sedov wrote: > On Mon, 29 Jun 2009 13:37:41 +0200 > > Hans Petter Selasky mentioned: > > USB is currently _updating_ (!!) the PAGE offset part of "vaddr". If > > cpu_dcache_inv_range() is called with an address not starting

Re: CPU Cache and busdma usage in USB

2009-06-29 Thread Hans Petter Selasky
On Monday 29 June 2009 14:16:13 Piotr Zięcik wrote: > Look for bus_dmamap_sync() sync description, last sentence: > > If read and write operations are not preceded and followed by the > appropriate synchronization operations, behavior is undefined. > I don't think this is a problem. I do flush r

Re: CPU Cache and busdma usage in USB

2009-06-29 Thread Hans Petter Selasky
On Tuesday 23 June 2009 10:35:42 Piotr Zięcik wrote: > --- a/sys/dev/usb/usb_busdma.c > +++ b/sys/dev/usb/usb_busdma.c > @@ -658,8 +658,7 @@ usb_pc_cpu_invalidate(struct usb_page_cache *pc) > /* nothing has been loaded into this page cache! */ > return; > } >

Re: CPU Cache and busdma usage in USB

2009-06-29 Thread Hans Petter Selasky
On Monday 29 June 2009 17:06:37 Mark Tinguely wrote: > > What has to be changed in busdma_machdep.c for ARM/MIPS so that the > > problem= is=20 > > resolved. I think there are something missing there and not in USB! > > > > =2D-HPS > > I unsuccessfully looked for the start of this thread. Which

Re: CPU Cache and busdma usage in USB

2009-06-30 Thread Hans Petter Selasky
On Tuesday 30 June 2009 10:37:48 Piotr Zięcik wrote: > Monday 29 June 2009 15:16:56 Hans Petter Selasky napisał(a): > > You want to change the flags passed to bus_dmamap_sync() so that the > > flush/invalidate mapping gets right. I understand why your patch makes it > >

Re: Failing controls transfers in VMware

2009-07-01 Thread Hans Petter Selasky
On Tuesday 30 June 2009 22:04:34 Markus Dolze wrote: > Hans Petter Selasky wrote: > > On Tuesday 30 June 2009 20:46:22 Markus Dolze wrote: > >> Hello, > >> > >> for several days I ways trying to get devel/avrdude to work with an > >> USBasp compa

Re: Failing controls transfers in VMware

2009-07-01 Thread Hans Petter Selasky
On Tuesday 30 June 2009 22:11:47 Markus Dolze wrote: > Markus Dolze wrote: > > To repeat run the attached program: > > > >1. Fill in some vendor / product ID of a device detected as ugen > > device 2. Compile and run the code (devel/libusb must be installed). > > You should use this function w

Re: Failing controls transfers in VMware

2009-07-01 Thread Hans Petter Selasky
On Wednesday 01 July 2009 20:31:41 Markus Dolze wrote: > Hans Petter Selasky wrote: > > On Tuesday 30 June 2009 22:11:47 Markus Dolze wrote: > >> Markus Dolze wrote: > >>> To repeat run the attached program: > >>> > >>>1. Fill in

Re: Failing controls transfers in VMware

2009-07-01 Thread Hans Petter Selasky
On Wednesday 01 July 2009 20:26:35 Markus Dolze wrote: > Hans Petter Selasky wrote: > > On Tuesday 30 June 2009 22:04:34 Markus Dolze > > freebsd8# usbconfig -u 0 -a 3 dump_string 1 > STRING_0x01 = > freebsd8# usbconfig -u 0 -a 3 dump_string 2 > STRING_0x02 = > >

Re: Temporary patch to fix USB in kdebase4

2009-07-02 Thread Hans Petter Selasky
On Thursday 02 July 2009 16:52:49 Lawrence Stewart wrote: > Hans Petter Selasky wrote: > > See attachment. > > --HPS > > Any chance you (or someone with the right clue) could update this patch > to work with more recent 8-CURRENT? I get the following output when > trying

Re: [8-current] kernel panic at usbd_get_page+0x59 with uaudio

2009-07-03 Thread Hans Petter Selasky
On Friday 03 July 2009 18:01:07 MIHIRA Sanpei Yoshiro wrote: > Hi. > > I use 8-current(csup-ed today) and uaudio device. > > I record FM radio with below line. > /usr/local/bin/wavrec -d /dev/dsp0.0 -x -t 10 -S -s 48000 test.wav > > kernel panic at usbd_get_page+0x59. > There has been a regression

Re: CPU Cache and busdma usage in USB

2009-07-05 Thread Hans Petter Selasky
On Tuesday 30 June 2009 11:28:23 Hans Petter Selasky wrote: > On Tuesday 30 June 2009 10:37:48 Piotr Zięcik wrote: > > Monday 29 June 2009 15:16:56 Hans Petter Selasky napisał(a): > > > You want to change the flags passed to bus_dmamap_sync() so that the > > > flush/in

Re: FreeBSD Kernel Panic during backup to USB external drive.

2009-07-05 Thread Hans Petter Selasky
On Sunday 05 July 2009 20:18:24 Robert Jameson wrote: > Hello everyone, recently i've been experience kernel panics whenever > attempting to run my backup to my usb external drive. > Here is the information i have, whatever else is needed please reply, thank > you. Hi, This issue doesn't look dir

Re: CPU Cache and busdma usage in USB

2009-07-07 Thread Hans Petter Selasky
On Tuesday 07 July 2009 15:50:28 Piotr Zięcik wrote: > > I did not find time yet to test on my AT91RM9200 board. I hope to do a > > test this week. Did you at semihalf find anything? > Hi, > I had Checked USB behaviour on PowerPC without hardware cache coherency. > The problem also exists here an

Re: CPU Cache and busdma usage in USB

2009-07-08 Thread Hans Petter Selasky
On Wednesday 08 July 2009 10:58:17 Rafal Jaworowski wrote: > On 2009-07-07, at 18:46, Hans Petter Selasky wrote: > >> I had Checked USB behaviour on PowerPC without hardware cache > >> coherency. > >> The problem also exists here and patch helps. > > > &

Re: CPU Cache and busdma usage in USB

2009-07-08 Thread Hans Petter Selasky
Hi, On Wednesday 08 July 2009 12:16:39 Piotr Zięcik wrote: > Wednesday 08 July 2009 11:03:43 Hans Petter Selasky napisał(a): > > And what about my patch suggestion in my previous e-mail having the same > > subject. Does it work? > > I have tested it and it does not work.

Re: uvcvideo on Freebsd (uvideo status check)

2009-07-08 Thread Hans Petter Selasky
On Wednesday 08 July 2009 19:11:05 Ed Morgan wrote: > Hi, > > Has anyone had any joy getting webcams that use the uvcvideo driver working > under FreeBSD? I'm looking at putting FreeBSD back on my laptop, and if the > webcam will work, that'll clinch it for me. Most of the results i've found > from

Re: CPU Cache and busdma usage in USB

2009-07-09 Thread Hans Petter Selasky
Hi Piotr, On Thursday 09 July 2009 17:21:00 Piotr Zięcik wrote: > Wednesday 08 July 2009 12:50:56 Hans Petter Selasky napisał(a): > > By flush you mean write from CPU cache to RAM, right. And nothing else? > > You don't mean discard CPU cache by "flush" ??? >

Re: CPU Cache and busdma usage in USB

2009-07-09 Thread Hans Petter Selasky
On Thursday 09 July 2009 18:34:40 Hans Petter Selasky wrote: > > Full log with backtraces is here: > > http://people.freebsd.org/~raj/logs/usb-cache.log > > 1) My analysis: Only the data areas are being flushed/invalidated. I also see that the flushing/invalidating is being done

Re: ZTE devices

2009-07-09 Thread Hans Petter Selasky
On Thursday 09 July 2009 17:33:52 Nick Hibma wrote: > HPS, > > Not sure whether this is actually a problem, but you might want to have a > look at the switch command for ZTE devices in the FBSD7 code base. it uses > a ZTE specific command. The ZTE 636 device here switches properly using > that comm

Re: settings usb mouse rate

2009-07-10 Thread Hans Petter Selasky
On Friday 10 July 2009 09:26:00 Alexander Best wrote: > i found this very cool PR > http://www.freebsd.org/cgi/query-pr.cgi?pr=usb/125264 and wanted to ask if > there's a way of changing the rate of usb mice with the new usb2 stack? > > what about the `moused` switches -r and -F? do they work with

Re: detaching usb device without unmounting it

2009-07-10 Thread Hans Petter Selasky
This is not an USB issue. Try -current. --HPS On Friday 10 July 2009 11:05:48 Alexander Best wrote: > since the usb2 stack allows one to detach a mounted usb device without the > kernel panic'ing i'd like to know which steps are necessary to be taken > after detaching a device? because i tried t

Re: USB polling

2009-07-11 Thread Hans Petter Selasky
On Friday 10 July 2009 19:20:01 Andrew Thompson wrote: > Hi, > > The one usb task that is still an issue for 8.0 is the polling > support. The code needs to call into the host controller driver to > check if the usb descriptor has been marked as done and call the > completion callback. I am now tra

Re: Adesso AKB130-UG with -CURRENT

2009-07-12 Thread Hans Petter Selasky
On Monday 13 July 2009 04:25:57 Greg Miller wrote: > My Adesso combo device now works as a keyboard with the USB stack on > 8.0, but the touchpad is not recognized as a mouse device. What > information do I need to provide in order to help with support for this > device? We need the USB configurat

Re: Adesso AKB130-UG with -CURRENT

2009-07-13 Thread Hans Petter Selasky
On Monday 13 July 2009 20:31:31 Greg Miller wrote: >bInterfaceClass = 0x0003 >bInterfaceSubClass = 0x0001 >bInterfaceProtocol = 0x0001 Hi, This device identifies itself like a keyboard and not a mouse (combo device). usb.h: #define UICLASS_HID 0x03 #define UI

Re: CPU Cache and busdma usage in USB

2009-07-14 Thread Hans Petter Selasky
On Tuesday 14 July 2009 10:31:10 Piotr Zięcik wrote: > > 1) My analysis: Only the data areas are being flushed/invalidated. No > > transfer descriptors are flushed/invalidated. I see no cache operations > > happening on any DMA control structures, even though there are calls from > > EHCI to xxx_pc

Re: settings usb mouse rate

2009-07-14 Thread Hans Petter Selasky
Hi, The patch is in. http://perforce.freebsd.org/chv.cgi?CH=166075 Please try rates from "moused -F 1 XXX" to "moused -F 1000 XXX". Check that the rate is actually set by enabling ums debugging: sysctl hw.usb.ums.debug=15 --HPS ___ freebsd-usb@freeb

usb/125264: [patch] sysctl for set usb mouse rate (very useful for gamers - FPS games)

2009-07-14 Thread Hans Petter Selasky
The following reply was made to PR usb/125264; it has been noted by GNATS. From: Hans Petter Selasky To: bug-follo...@freebsd.org, v...@quakeworld.ru Cc: Subject: usb/125264: [patch] sysctl for set usb mouse rate (very useful for gamers - FPS games) Date: Tue, 14 Jul 2009 12:30:57 +0200 Hi

Re: settings usb mouse rate

2009-07-14 Thread Hans Petter Selasky
Hi, On Tuesday 14 July 2009 13:28:28 Alexander Best wrote: > thx for the patch. i'm recompiling my kernel right now and will test the > changes right away. any reason you limited the rate to <= 1000? i had a > quick look at the specs of my mouse: USB has a limitation of polling 1000 times per sec

Re: settings usb mouse rate

2009-07-14 Thread Hans Petter Selasky
On Tuesday 14 July 2009 15:25:59 Alexander Best wrote: > i tested the patch with rates of 1, 100 and 1000: > > 1: random copy&pastes when moving the mouse > 100: also random copy&pastes when moving the mouse > 1000: OK Could you try another USB mouse. Also I would like to see some ums debug print

Re: ulpt(EPSON PM-820C Inkjet Printer) does not work on 8-current

2009-07-14 Thread Hans Petter Selasky
On Tuesday 14 July 2009 16:35:17 MIHIRA Sanpei Yoshiro wrote: > hi. > > I upgrade my home server to 8.0-BETA1(8-current). > > But ulpt does not work fine with EPSON PM-820C Ink jet Printer. > > <> > usbus2: on ohci1 > > usbus2: 12Mbps Full Speed USB v1.0 > > ulpt0: on usbus2 > ulpt0: using b

Re: settings usb mouse rate

2009-07-14 Thread Hans Petter Selasky
On Tuesday 14 July 2009 18:29:33 Alexander Best wrote: > you were right. i attached a different usb mouse and setting the rate to 10 > or 100 didn't cause the random copy&paste issue. > > what's the reason the usb polling rate is limited to 1000? performance? > because gaming devices feature a very

Re: ukbd vs. uhid

2009-07-15 Thread Hans Petter Selasky
On Tuesday 14 July 2009 22:19:52 Christoph Langguth wrote: > Hi all, > > just bumping this issue, triggered by the mentioning of PR 102066, and > using a better subject line which might receive replies :-) > > While trying to get my keyboard and its multimedia keys to work with > usbhidctl (it does

Re: ulpt(EPSON PM-820C Inkjet Printer) does not work on 8-current

2009-07-15 Thread Hans Petter Selasky
On Wednesday 15 July 2009 16:00:32 MIHIRA Sanpei Yoshiro wrote: > Hi. > > >Replace the USB files in your system with the ones in the attached > > tarball. > > > >Then build a new kernel and report again. > > > >FreeBSD 8-current only. > > > >tar -jxvf usb_files.tar.bz2 -C /sys/dev/usb > > I replace

Re: USB polling (75% done)

2009-07-15 Thread Hans Petter Selasky
Hi, I've added minimal polling support to the USB P4 repository now. Patch can be found here: http://perforce.freebsd.org/chv.cgi?CH=166148 Dumping core to USB disk: Tested and works. Using USB keyboard in KDB: Does not work because Giant is not locked when calling into the UKBD's get char ro

Re: usb/136761: [usbdevs] [patch] Teach usbdevs / u3g(4) about Huawei E180v 3G modem

2009-07-15 Thread Hans Petter Selasky
On Tuesday 14 July 2009 18:22:22 Beat G�tzi wrote: > Beat G�tzi See: http://perforce.freebsd.org/chv.cgi?CH=166150 --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to

Re: usb/136761: [usbdevs] [patch] Teach usbdevs / u3g(4) about Huawei E180v 3G modem

2009-07-15 Thread Hans Petter Selasky
The following reply was made to PR usb/136761; it has been noted by GNATS. From: Hans Petter Selasky To: freebsd-usb@freebsd.org, Beat =?utf-8?q?G=EF=BF=BDtzi?= Cc: freebsd-gnats-sub...@freebsd.org Subject: Re: usb/136761: [usbdevs] [patch] Teach usbdevs / u3g(4) about Huawei E180v 3G modem

Re: kernel debugger and usb keyboard

2009-07-16 Thread Hans Petter Selasky
On Thursday 16 July 2009 10:43:26 Alexander Best wrote: > if i understood it correctly the reason a usb keyboard cannot be used in > the kernel debugger after a panic is that we can't be sure the panic didn't > happen inside the usb stack so the whole usb stack is discarded at a panic. > The USB k

Re: CPU Cache and busdma usage in USB

2009-07-16 Thread Hans Petter Selasky
On Tuesday 14 July 2009 19:20:22 Rafal Jaworowski wrote: > >> Please note these problems should be considered as a showstopper > >> for the release since USB is currently broken on at least three ARM > >> platforms in the tree (Marvell). Hi, First of all I'm not able to boot into userland on my

Re: CPU Cache and busdma usage in USB

2009-07-17 Thread Hans Petter Selasky
On Friday 17 July 2009 12:23:57 Rafal Jaworowski wrote: > On 2009-07-16, at 21:56, Hans Petter Selasky wrote: > > On Tuesday 14 July 2009 19:20:22 Rafal Jaworowski wrote: > >>>> Please note these problems should be considered as a showstopper > >>>> for the r

Re: ulpt(EPSON PM-820C Inkjet Printer) does not work on 8-current

2009-07-18 Thread Hans Petter Selasky
On Saturday 18 July 2009 05:49:51 MIHIRA Sanpei Yoshiro wrote: > MIHIRA Sanpei Yoshiro Looks like a regression issue. Try the following patch: http://perforce.freebsd.org/chv.cgi?CH=166221 --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.fre

Re: [usb2] Garmin Edge 705 disconnects immediately

2009-07-19 Thread Hans Petter Selasky
On Saturday 18 July 2009 20:46:22 Michael Gmelin wrote: > Hello, > > I'm trying to access a Garmin Edge 705 bike computer, which should show > up as a mass storage device. > > kldload usb2_controller_uhci|ehci > > Jul 18 19:37:55 ufo kernel: ugen2.2: at usbus2 > Jul 18 19:37:55 ufo kernel: ugen2.2

  1   2   3   4   5   6   7   8   9   10   >