Current problem reports assigned to freebsd-usb@FreeBSD.org

2014-02-17 Thread FreeBSD bugmaster
Note: to view an individual PR, use:
  http://www.freebsd.org/cgi/query-pr.cgi?pr=(number).

The following is a listing of current problems submitted by FreeBSD users.
These represent problem reports covering all versions including
experimental development code and obsolete releases.


S Tracker  Resp.  Description

o usb/186317   usbums module not loaded by devd for Razer Lachesis mouse
o usb/186110   usbconnected over USB, only first document is printed
o usb/185968   usbPocketBook Pro 912 USB connection problem
o usb/185838   usbSony DSC-H5 not connecting on USB
o usb/185837   usb[umass] Pendrive Kingston DataTraveler 8G not recogniz
o usb/185747   usbPatcf that fix support for USB key "Kingston DT 101 G2
o usb/185628   usbusbd_req_re_enumerate set address failed USB_ERR_STALL
o kern/185208  usb(da0:umass-sim0:0:0:0): CAM status: SCSI Status Error
o usb/184014   usbUSB storage devices do not work in FreeBSD 9.2 or high
o usb/183728   usblibusb20 examples filenames cause problems on windows.
o usb/183505   usb[usb] Arduino Leonardo exposes three interface descrip
f usb/183409   usbUSB Class 2 audio device playback issue
o usb/183302   usbUSB no proper work
o usb/183090   usbLogitech USB microphone failure
o usb/182820   usbusbusX if destroy page fault panic
o usb/182361   usb[panic] Suspend when using USB disc as root causes ker
o usb/181987   usbUSB isochronous transfer of the USB driver (Mentor Gra
o usb/181425   usbUSB keyboard with full N-key rollover not working
o usb/181159   usbProblem attaching USB device
o usb/180837   usb[scsi_da] [patch] Kingston DT 101 G2 usb stick quirk (
o usb/180726   usbXHCI umass support breaks between r248085 and r252560 
o usb/180657   usb[PATCH] Filco Majestouch 2 keyboard recognized as keyb
o usb/180617   usbNew quirk (another member of Western Digital My Passpo
o usb/180254   usbFreeBSD 9.1 on 384GB memory server
o usb/180119   usbFreeBSD 9.1 umass driver does not correctly handle Pan
o usb/179505   usbKernel detaches Arduino Leonardo (and similar) board u
o usb/179342   usbFreebsd 10.0-current USB 3.0 not working (xhci_do_coma
o usb/179109   usbAfter detach USB Flash a keyboard does not work.
o usb/179107   usb[usb] After detach USB Flash a keyboard does not work.
o usb/178771   usb[usbdevs] [patch] Western Digital My Passport HD
o usb/178722   usbFreeBSD 9.1-STABLE r250561 breaks support for webcam L
o usb/178267   usb[usb] USB causing interrupt storm on irq16
o usb/177897   usb[u3g][patch] add support for the Huawei E352 modem
o usb/177896   usbman page for usb_quirk suggests adding device to kerne
o usb/177895   usbsimilar 1TB Western Digital "My Passports" - some load
o usb/177666   usb[usbdevs] [patch] Add support for Texas Instruments / 
o usb/176913   usb[ehci] High interrupt load with ehci
o usb/176841   usb[umass] Sony DSC-H2 USB connection fails
o usb/176417   usb[xhci][cam][umass] kernelpanic while removing plugged 
o usb/175731   usbdetaching USB keyboard freezes other USB keyboards
o usb/175639   usbnot detect usb netcard D-LINK DUB-E100 rev C1
o usb/175599   usb[usbdevs][patch]Liebert UPS PSI1000 being assigned uhi
o usb/175551   usbSeagate 2TB USB extern hard disk have errors with Free
o usb/175379   usbusb card-reader problem
o usb/175302   usbdon't mount virtual driver CD for my phone
o usb/174963   usbbuffalo wli-uc-gn wireless card sometimes unusable and
o usb/174835   usbuaudio fails to create pcm/dsp device file
o usb/174814   usb[PATCH] support for MiFi 2200
o usb/174695   usbusb keeps disconnecting mouse or keyboard
o usb/174575   usbInterrupt storm error on startup
o usb/174464   usbclone MAC address(es) on usb networks cdce(4) && ue[0-
o usb/174254   usbMIDI keyboard not recognised
o usb/173722   usb[xhci] xhci driver bug after suspend to RAM (ACPI S3 m
o usb/173616   usbLG USB DVD-RW USB STALL
o usb/173182   usbusbus appears as a network device
o usb/172937   usbFreeBSD 9.1-RC2 usb3 port disconnects
o usb/172633   usbSony Cybershot not recognized as USB mem stick
o usb/172199   usb[xhci] high interrupts load xhci
o usb/171354   usb[umass] Medium not present error on flash drive [regre
o usb/171262   usbplug in sdhc via usb reader reboots machine
o usb/171197   usbADATA Classic CH11 USB HDD doesn't work in FreeBSD 9.1
o usb/170699   usbFreeBSD 9.0 Doesn't list HDD or its partitions in part
o usb/170688   usbpatch][usbdevs][wlan] Patch for ASUS Black Diamond US

Re: new usb device probably, needs quirks

2014-02-17 Thread Volodymyr Kostyrko

14.02.2014 10:20, Hans Petter Selasky wrote:

On 02/12/14 16:52, Volodymyr Kostyrko wrote:

Hi all.

# usbconfig -d 5.2 dump_device_desc
ugen5.2:  at usbus5, cfg=0 md=HOST
spd=HIGH (480Mbps) pwr=ON (200mA)

   bLength = 0x0012
   bDescriptorType = 0x0001
   bcdUSB = 0x0200
   bDeviceClass = 0x
   bDeviceSubClass = 0x
   bDeviceProtocol = 0x
   bMaxPacketSize0 = 0x0040
   idVendor = 0x0930
   idProduct = 0x6544
   bcdDevice = 0x0100
   iManufacturer = 0x0001  <>
   iProduct = 0x0002  
   iSerialNumber = 0x0003  
   bNumConfigurations = 0x0001



Can you send a patch adding this quirk to:

sys/dev/usb/quirk/usb_quirk.c

And vendor and product IDs to:

sys/dev/usb/usbdevs

Which you have tested?

Thank you,

--HPS



Probably I wouldn't dare to send patch... The drive is too far from me, 
something like ~600 km's at some hosting company datacenter. Citing the 
internet 0930 is "Toshiba Corp." and 6544 is "Kingston DataTraveler 2GB" 
whereas my hosting provider states that actually flash drive looks 
exactly like Goodram twister. Been uncertain of drive's origins I'll 
think I can't claim my solution been perfect.


--
Sphinx of black quartz judge my vow.
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


Reiner SCT RFID unknown device id?

2014-02-17 Thread Mathias Picker
I just found a used Reiner SCT RFID
(http://www.reiner-sct.com/produkte/chipkartenleser/cyberJack_RFID_standard.html)
 and bought it, hoping I could get it to work in FreeBSD.

When connecting I found this in the log:

Feb 17 16:44:10 marcopolo kernel: ugen5.2:  at usbus5
Feb 17 16:44:10 marcopolo devd: Executing 'logger Unknown USB device:
vendor 0x0c4b product 0x0500 bus uhub4'
Feb 17 16:44:10 marcopolo mathiasp: Unknown USB device: vendor 0x0c4b
product 0x0500 bus uhub4

This 0x0c4b/0x0500 is actually the reiner sct, so why is this "unknown
USB device" shown? usbconfig shows it just fine:

marcopolo# usbconfig -d 5.2
ugen5.2:  at usbus5, cfg=0 md=HOST
spd=FULL (12Mbps) pwr=ON (192mA)


Also, has anyone tried to get this up and running on FreeBSD? pcscd with
libccid does not find it, and googling I only find information about
Reiner's proprietary linux driver...

Thanks, Mathias


___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


Re: Question on Freebsd 9.1, usb interface to a UPSonic CXR 2000 using NUT code.

2014-02-17 Thread Hans Petter Selasky

On 02/17/14 17:09, Chris Duffy wrote:

Thx,

I tried the:

For ugen1.3 run:

usbdump -i usbus1 -f 3 -s 65536 -vvv

But it filtered out all packets.

I then tried:

usbdump -i usbus1 -s 65536 -vvv

and it did get a lot of packets
I have attached the filedo the packets make
any sense and tell you anything?

Thx
chris



On 2/14/14, 2:22 AM, Hans Petter Selasky wrote:

On 02/12/14 18:29, Chris Duffy wrote:

I have a customer of mine that just bought a

  UPSonic CXR 2000

and is trying to connect the usb cable from this UPS
to a Freebsd 9.1 system running the 2.6.5 NUT code.
Freebsd/NUT does not see the device properly.

I have also been working with the NUT people and
they suggested that I discuss this issue with the freebsd-usb
folks.

Here are some command output that the NUT people asked for
and after seeing it, they think it may be a bug on Freebsd
so here I am asking for help :)  They also stated that they
had thought that others may have gotten the blazer_usb
driver to work properly on Freebsd but

I deactivated the uhidd stuff since NUT suggested this
in order to get more debug info


# uhidd -v -u /dev/ugen1.3

ugen1.3[0]-> Report descriptor size = 27
ugen1.3[0]-> Kernel driver is active
ugen1.3[0]-> kernel driver detached!
ugen1.3[0]-> Find IN interrupt ep: 0x81 packet_size=0x8


# /usr/local/libexec/nut/blazer_usb -a UPSonic -u root -

0.00debug level is '4'
0.176793Checking device (06DA/0005) (/dev/usb//dev/ugen1.3)
0.183672- VendorID: 06da
0.183696- ProductID: 0005
0.183699- Manufacturer: PPC
0.183703- Product: USB UPS
0.183707- Serial Number: unknown
0.183710- Bus: /dev/usb
0.183714Trying to match device
0.183718Device matches
0.183746Trying megatec protocol...
0.184566send: Q1
0.423946read: (239.3 239.3 229.9 027 50.0 2.19 22.8 0001
0.423988Status read in 1 tries
0.424000Supported UPS detected with megatec protocol
1.455927send: Unknown error
1.455973Permissions problem: Input/output error


Network UPS Tools - Megatec/Q1 protocol USB driver 0.09
(2.6.5-Unversioned directory)

I have checked all the ownership/permissions on the /dev
related files and confirmed with NUT the proper stuff

Is there something I am missing to support the usb attachment
for UPS driver for this particular UPS?

Thx for any pointers/help.


Hi,

For ugenX.Y run:

usbdump -i usbusX -f Y -s 65536 -vvv

And you will see right away what USB traffic is causing the problem.

--HPS



Hi,

I don't see any errors in the USB log. The usbdump needs to be started 
before you plug the device and before starting blazer_usb. Also you need 
to find the exact bus and "-f" device number which corresponds to your 
device. Use usbconfig to find this information.


Can you:

ktrace /usr/local/libexec/nut/blazer_usb -a UPSonic -u root -

When finished:

kdump | gzip > blazer_usb.log.gz

And send it to me off-list.

The USB trace looks normal.

--HPS

___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


Re: Reiner SCT RFID unknown device id?

2014-02-17 Thread Hans Petter Selasky

On 02/17/14 16:54, Mathias Picker wrote:

I just found a used Reiner SCT RFID
(http://www.reiner-sct.com/produkte/chipkartenleser/cyberJack_RFID_standard.html)
 and bought it, hoping I could get it to work in FreeBSD.

When connecting I found this in the log:

Feb 17 16:44:10 marcopolo kernel: ugen5.2:  at usbus5
Feb 17 16:44:10 marcopolo devd: Executing 'logger Unknown USB device:
vendor 0x0c4b product 0x0500 bus uhub4'
Feb 17 16:44:10 marcopolo mathiasp: Unknown USB device: vendor 0x0c4b
product 0x0500 bus uhub4

This 0x0c4b/0x0500 is actually the reiner sct, so why is this "unknown
USB device" shown? usbconfig shows it just fine:

marcopolo# usbconfig -d 5.2
ugen5.2:  at usbus5, cfg=0 md=HOST
spd=FULL (12Mbps) pwr=ON (192mA)


Also, has anyone tried to get this up and running on FreeBSD? pcscd with
libccid does not find it, and googling I only find information about
Reiner's proprietary linux driver...

Thanks, Mathias


Hi,

Grep for "Unknown" in /etc/

It is coming from devd.

--HPS

___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


Re: new usb device probably, needs quirks

2014-02-17 Thread Hans Petter Selasky

On 02/17/14 16:06, Volodymyr Kostyrko wrote:

14.02.2014 10:20, Hans Petter Selasky wrote:

On 02/12/14 16:52, Volodymyr Kostyrko wrote:

Hi all.

# usbconfig -d 5.2 dump_device_desc
ugen5.2:  at usbus5, cfg=0 md=HOST
spd=HIGH (480Mbps) pwr=ON (200mA)

   bLength = 0x0012
   bDescriptorType = 0x0001
   bcdUSB = 0x0200
   bDeviceClass = 0x
   bDeviceSubClass = 0x
   bDeviceProtocol = 0x
   bMaxPacketSize0 = 0x0040
   idVendor = 0x0930
   idProduct = 0x6544
   bcdDevice = 0x0100
   iManufacturer = 0x0001  <>
   iProduct = 0x0002  
   iSerialNumber = 0x0003  
   bNumConfigurations = 0x0001



Can you send a patch adding this quirk to:

sys/dev/usb/quirk/usb_quirk.c

And vendor and product IDs to:

sys/dev/usb/usbdevs

Which you have tested?

Thank you,

--HPS



Probably I wouldn't dare to send patch... The drive is too far from me,
something like ~600 km's at some hosting company datacenter. Citing the
internet 0930 is "Toshiba Corp." and 6544 is "Kingston DataTraveler 2GB"
whereas my hosting provider states that actually flash drive looks
exactly like Goodram twister. Been uncertain of drive's origins I'll
think I can't claim my solution been perfect.



Hi,

Here is the patch:
http://svnweb.freebsd.org/changeset/base/262128

Hope it works for you!

--HPS
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


consistent, functional 1TB usb drive?

2014-02-17 Thread Velcro Leaf
I'm trying to get off tape drives and move to USB drives for backups, however 
circumstances are making this impossible.

Does anyone have a suggestion for a known 1TB external USB drive, powered 
through the USB cable, that consistently works with FreeBSD, and has for some 
time?

I've gone through half a dozen models of such drives and each time I find one 
that works properly on each of our servers, I try to buy a few more to make a 
complete cycle.  Invariably, however, I can no longer purchase the same model, 
or I can get the same model, but it is invisibly different at purchase-time 
(eg, with new firmware that doesn't work with FreeBSD).


I've tried to work through the quirks process with you guys, but it hasn't been 
successful, and eventually I suppose it's not considered enough of a problem to 
fix, probably because in a few weeks there will be a brand new version that 
doesn't work, in a different way.

I know that these drives are all tested with Windows before shipping, and 
that's why they work with Windows, but is there any plan, on either the 
hardware or FreeBSD side of things to deal with this issue?  I've been working 
on and off on the problem for about a year, and if anything, things are getting 
worse.

-Leif

___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


Re: consistent, functional 1TB usb drive?

2014-02-17 Thread Hans Petter Selasky

On 02/18/14 06:54, Velcro Leaf wrote:

I'm trying to get off tape drives and move to USB drives for backups, however 
circumstances are making this impossible.

Does anyone have a suggestion for a known 1TB external USB drive, powered
through the USB cable, that consistently works with FreeBSD, and has for some 
time?

I've gone through half a dozen models of such drives and each time I find one 
that works properly on each of our servers, I try to buy a few more to make a 
complete cycle.  Invariably, however, I can no longer purchase the same model, 
or I can get the same model, but it is invisibly different at purchase-time 
(eg, with new firmware that doesn't work with FreeBSD).


I've tried to work through the quirks process with you guys, but it hasn't been 
successful, and eventually I suppose it's not considered enough of a problem to 
fix, probably because in a few weeks there will be a brand new version that 
doesn't work, in a different way.

I know that these drives are all tested with Windows before shipping, and 
that's why they work with Windows, but is there any plan, on either the 
hardware or FreeBSD side of things to deal with this issue?  I've been working 
on and off on the problem for about a year, and if anything, things are getting 
worse.

-Leif



Hi,

Are any of the USB devices you have bought so-called "USB certified", 
carry a USB logo and are registered by usb.org?


If yes, then you can complain about your findings of and force the 
vendor to comply to the standards involving USB mass storage and SCSI.


If no, then you have to contact the vendor about the problems you find.

--HPS
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"