Re: keyboard has a weird layout after boot

2020-07-14 Thread CeDeROM
Hello world :-)

Plase also take a look at IICHID project at GitHub and report an issue this
is the new HID driver for FreeBSD and the developers are very responsive
and helpful :-)

https://github.com/wulf7/iichid

--
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


Re: USB reset fails when using a LimeSDR Mini on FreeBSD

2020-06-26 Thread CeDeROM
I have the USB sniffer hardware. If problem persists I can buy this LimeSDR
and take some dumps from the wire. USB can also get sniffed in software on
FreeBSD but this would not help here I guess. Just let me know when all
other ways fail :-)

--
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


Re: USB reset fails when using a LimeSDR Mini on FreeBSD

2020-06-25 Thread CeDeROM
Hello Jan :-)

Are you sure you have the correct permissions to read/write /dev/usb* devices?

Assuming you are already in the operator group:

 ***/etc/devfs.rules:
 [localrules=10]
add path 'ugen*' mode 0660 group operator
add path 'usb/*'  mode 0660 group operator
add path 'usb' mode 0770 group operator

 ***/etc/rc.conf:
devfs_system_ruleset="localrules"


Best regards :-)
Tomek

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


Re: svn commit: r359446 - head/sys/dev/sound/usb

2020-03-31 Thread CeDeROM
If you work on snd_uaudio attach/detach please take a look on how
devices are detached when disconnected as there is a problem with
that.

I just got some old but still nice Creative Sound Blaster 24-bit card
that works over USB.

I noticed kernel crashes when card is disconnected and then on
kldunload snd_uaudio.

That happens when I unplug whole USB HUB (with Ethernet and Sound on
it) from my laptop when moving away from my desk to work over
wireless. I work on 12.1-RELEASE amd64, Xorg + Enlightenment +
PulseAudio. That PulseAudio stuff (in addition to application that may
actually use the pcm) usually blocks the audio device and prevents it
from kldunload.

Also when I do kldunload snd_uaudio the device is re-attached
momentarily after unload.. which is not quite what I want.

It would be really nice to safely remove the device (even if forced remove).
It would be really nice to avoid kernel panic.
Maybe some information to PulseAudio that device is gone would be nice
too, because it still thinks that audio device is there even if the
cable was disconnected.

These are simple things that may impact also many cards on USB
configuration.. but also maybe fixed during such implementation :-)

Best regards :-)
Tomek


-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


Re: strange USB timing issue with u3g

2019-03-13 Thread CeDeROM
Hey there! I also noticed problems with U3G module with my new Quectel
EC25E miniPCI-E module replaced the Sierra Wireless on my Panasonic
CF-C2 notebook.. sometimes (very very often) the /dev/cuaU* is not
created properly so PPP has nothing to connect to..

So I have to use simple usbconfig to reset devices at boot.. but that
also sometimes does not help as devices seems to have random order..
and it causes problems with other devices that are already
attached/enumerated.. this is a bit unreliable..

I was wondering is there a problem with U3G module and how could I
quick fix it without the module rewrite?

Best regards :-)
Tomek

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


Re: Add support for USB devices

2018-12-03 Thread CeDeROM
Hello Igor, webcamd is configured on runtime, use -d to pass the
proper camera device.. have you tried that?

https://www.freebsd.org/cgi/man.cgi?query=webcamd=8=freebsd-release-ports

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


Re: umodem0, Cisco USB serial console, and quirks

2018-11-05 Thread CeDeROM
Sorry, that would be USBSERIAL then if only UART-TO-USB is necessary, I
have also added custom FTDI based driver (KT-LINK JTAG/SWD/UART) interface
that way, just add VIP/PID to the list and it should work :-)

--
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


Re: umodem0, Cisco USB serial console, and quirks

2018-11-02 Thread CeDeROM
Try to add VID/PID of your device into a usbmodem driver. Use
configurations to see which one works with your device. Rebuild the
module/kernel, reboot, try it out untill success.

After your device is recognised by usbmodem and creates several cuaU*
devices.. still Your device may require uploading a specific firmware
in order for gsm modem to work. You can find those in Windows driver
package.

Use MINICOM for cuaU communications that would save you a debug time.

That works for me - added 3 devices like that with no problem. In fact
they work better on FreeBSD than Windows ;-)


Alternartively, replace your modem with something that is known to
work - for instance QUECTEL EC25 LTE module works far better than my
previous stock 3G module here..

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


Re: PCIe to USB to PCIe

2016-04-13 Thread CeDeROM
On Wed, Apr 13, 2016 at 9:34 AM, Zane C. B-H. <vve...@vvelox.net> wrote:
> On 2015-09-05 00:49, CeDeROM wrote:
>> Its not USB but Thunderbolt [1] that gives you the display and 4xPCIe over
>> the wire, but its far slower and far more expensive than USB3 :-)
>> [1] https://en.m.wikipedia.org/wiki/Thunderbolt_(interface)
>
> This is not one of those though. You can find Thunderbolt to PCIe adapters
> for
> using cards outside of laptops, but this is not one of those though. This is
> just using a USB cable to extend a 1xPCIe in a questionable manner.

Yea, good luck with the signalling interferences =)

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


Re: PCIe to USB to PCIe

2015-09-04 Thread CeDeROM
Its not USB but Thunderbolt [1] that gives you the display and 4xPCIe over
the wire, but its far slower and far more expensive than USB3 :-)

[1] https://en.m.wikipedia.org/wiki/Thunderbolt_(interface)

--
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


USB EHCI Host/HUB problems on HP EliteBook 2740p

2014-09-29 Thread CeDeROM
Hello :-)

I have found USB EHCI Controller / HUB on HP EliteBook 2740p to be problematic.

First I was not able to boot the installer from USB memory - it hung
at booloader stage / kernel load randomly.

Now I have problem with Unitek 10/100 Ethernet adapter USB 2.0 - it
seems to crash USB hub, but it works fine on other machines and when I
connect via external USB 2.0 HUB.

Please advise :-)

Tomek


--- Extract from DMESG ---

 FreeBSD 10.0-RELEASE-p9 #0: Tue Sep 23 17:43:02 CEST 2014
root@orion:/usr/obj/usr/src/sys/GENERIC amd64
FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610
CPU: Intel(R) Core(TM) i5 CPU   M 540  @ 2.53GHz (2527.07-MHz K8-class CPU)
  Origin = GenuineIntel  Id = 0x20655  Family = 0x6  Model = 0x25
Stepping = 5
  
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
  
Features2=0x29ae3ffSSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,POPCNT,AESNI
  AMD Features=0x28100800SYSCALL,NX,RDTSCP,LM
  AMD Features2=0x1LAHF
  TSC: P-state invariant, performance statistics
real memory  = 8589934592 (8192 MB)
avail memory = 8049582080 (7676 MB)
Event timer LAPIC quality 600
ACPI APIC Table: HPQOEM 7007
...
ehci0: Intel PCH USB 2.0 controller USB-B mem 0xd4729000-0xd47293ff
irq 16 at device 26.0 on pci0
usbus0: EHCI version 1.0
usbus0 on ehci0
...
ehci1: Intel PCH USB 2.0 controller USB-A mem 0xd4728000-0xd47283ff
irq 20 at device 29.0 on pci0
usbus1: EHCI version 1.0
usbus1 on ehci1
...
usbus0: 480Mbps High Speed USB v2.0
usbus1: 480Mbps High Speed USB v2.0
...


--- What happens if I attach this USB Ethernet adapter  directly to
the computer ---

uhub_reattach_port: giving up port reset - device vanished
uhub_reattach_port: giving up port reset - device vanished
uhub_reattach_port: giving up port reset - device vanished
uhub_reattach_port: giving up port reset - device vanished
uhub_reattach_port: giving up port reset - device vanished
uhub_reattach_port: giving up port reset - device vanished

% usbconfig
ugen1.1: EHCI root HUB Intel at usbus1, cfg=0 md=HOST spd=HIGH
(480Mbps) pwr=SAVE (0mA)
ugen0.1: EHCI root HUB Intel at usbus0, cfg=0 md=HOST spd=HIGH
(480Mbps) pwr=SAVE (0mA)
ugen1.2: product 0x0020 vendor 0x8087 at usbus1, cfg=0 md=HOST
spd=HIGH (480Mbps) pwr=SAVE (0mA)
ugen0.2: product 0x0020 vendor 0x8087 at usbus0, cfg=0 md=HOST
spd=HIGH (480Mbps) pwr=SAVE (0mA)
ugen0.3: HP un2420 Mobile Broadband Module Qualcomm Incorporated at
usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA)
ugen1.3: USB2.0 Hub vendor 0x05e3 at usbus1, cfg=0 md=HOST spd=HIGH
(480Mbps) pwr=SAVE (100mA)
ugen0.4: product 0x0007 vendor 0x138a at usbus0, cfg=0 md=HOST
spd=FULL (12Mbps) pwr=ON (100mA)
ugen0.5: HP Webcam 2 MP Macro Chicony Electronics Co., Ltd. at
usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (98mA)
ugen1.4: KT-LINK Kristech at usbus1, cfg=0 md=HOST spd=HIGH
(480Mbps) pwr=ON (100mA)


--- What happens if I attach USB Ethernet adapter via USB 2.0 HUB ---

ugen1.5: vendor 0x0b95 at usbus1
axe0: vendor 0x0b95 product 0x1780, rev 2.00/0.01, addr 5 on usbus1
miibus0: MII bus on axe0
rgephy0: RTL8169S/8110S/8211 1000BASE-T media interface PHY 2 on miibus0
rgephy0:  none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX,
100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT, 1000baseT-master,
1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow,
1000baseT-FDX-flow-master, auto, auto-flow
ue0: USB Ethernet on axe0
ue0: Ethernet address: 00:23:54:5c:11:85
ue0: link state changed to DOWN

% usbconfig
ugen1.1: EHCI root HUB Intel at usbus1, cfg=0 md=HOST spd=HIGH
(480Mbps) pwr=SAVE (0mA)
ugen0.1: EHCI root HUB Intel at usbus0, cfg=0 md=HOST spd=HIGH
(480Mbps) pwr=SAVE (0mA)
ugen1.2: product 0x0020 vendor 0x8087 at usbus1, cfg=0 md=HOST
spd=HIGH (480Mbps) pwr=SAVE (0mA)
ugen0.2: product 0x0020 vendor 0x8087 at usbus0, cfg=0 md=HOST
spd=HIGH (480Mbps) pwr=SAVE (0mA)
ugen0.3: HP un2420 Mobile Broadband Module Qualcomm Incorporated at
usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA)
ugen1.3: USB2.0 Hub vendor 0x05e3 at usbus1, cfg=0 md=HOST spd=HIGH
(480Mbps) pwr=SAVE (100mA)
ugen0.4: product 0x0007 vendor 0x138a at usbus0, cfg=0 md=HOST
spd=FULL (12Mbps) pwr=ON (100mA)
ugen0.5: HP Webcam 2 MP Macro Chicony Electronics Co., Ltd. at
usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (98mA)
ugen1.4: KT-LINK Kristech at usbus1, cfg=0 md=HOST spd=HIGH
(480Mbps) pwr=ON (100mA)
ugen1.5: product 0x1780 vendor 0x0b95 at usbus1, cfg=0 md=HOST
spd=FULL (12Mbps) pwr=ON (250mA)




-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
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: [Bug 193775] [kernel/usb/u3g] GOBI2000/HP_UN2420 WWAN/GPS identification numbers

2014-09-20 Thread CeDeROM
On Fri, Sep 19, 2014 at 6:38 PM, Hans Petter Selasky h...@selasky.org wrote:
 Is this something which you can put into a port in ports?

This is really small one file C program [1] and it would be nice to
have it in the core as it may be used first to bring up the interface
to get ports/packages :-)

Unfortunately there is no information on the author nor licence in the
source... thus my question if this can be adapted to BSD in a legal
way?

[1] http://textuploader.com/orcw

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
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: [Bug 193775] [kernel/usb/u3g] GOBI2000/HP_UN2420 WWAN/GPS identification numbers

2014-09-19 Thread CeDeROM
On Fri, Sep 19, 2014 at 6:07 PM,  bugzilla-nore...@freebsd.org wrote:
 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193775

I would also like to add gobi_loader application [1] that loads the
firmware to UN2420_QDL in order UN2420 to show up and work. Firmware
files are copyrighted and should be put in example to /boot/firmware.
There is no information on license nor author in the gobi_loader
sources [1].

I am wondering how to add this utility to the FreeBSD . It is
essential for device to work. Is it possible to add it to the core?
Should I prepare a man page?

Any hints appreciated :-)

Tomek

[1] http://textuploader.com/orcw

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
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


U3G QDL firmware loader for GOBI2000/HP_UN2420 MiniPCI/USB 3G/GPS

2014-09-15 Thread CeDeROM
Hello world! :-)

I have changed my machine, there is a built-in GOBI2000 / HP UN2420
3G/GPS module installable as MiniPCI card and visible as USB device. I
have added its VID/PID to the usbdevs and u3g.c module, so after
recompilation it gets recognised by u3g module and apropriate
/dev/cuaU* device shows up..

The problem is that device does not store firmware inside non-volatile
memory, so user needs to upload it after power-on. I have the firmware
files. I can test modem with success after reboot from Win7 which
uploads firmware into device. Still, I need to upload the firmware
somehow on my FreeBSD.

The upload protocol is QDL and /dev/cuaU0 shows up waiting for
command. Which utility can I use to upload firmware with QDL? I have
seen one post [1] regarding this problem in the past but the QDL
utility was not named explicitly.

Any hints welcome! :-)

Tomek

[1] http://lists.freebsd.org/pipermail/freebsd-usb/2010-October/009384.html

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
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


libusb-1.0 and freebsd libusb: libusb_handle_events_completed() missing?

2014-08-12 Thread CeDeROM
Hello :-)

I am working on GNURadio port for FreeBSD and try to make upstream
patches :-) The libusb_handle_events_completed() function seemd to be
missing in FreeBSD, while it is a parto of the LibUSB-1.0 API [1]. Are
there any plans to add or wrap this function?

[ 94%] Building C object
gr-fcd/lib/CMakeFiles/gnuradio-fcd.dir/hid/hid-libusb.c.o
/home/cederom/cederom/moje/prm/c/gnuradio/gnuradio-cederom.github/gr-fcd/lib/hid/hid-libusb.c:759:3:
warning: implicit declaration of function
'libusb_handle_events_completed' is invalid in
  C99 [-Wimplicit-function-declaration]
libusb_handle_events_completed(usb_context, dev-cancelled);
^
1 warning generated.

Best regards,
Tomek

[1] 
http://libusb.sourceforge.net/api-1.0/group__poll.html#ga0bc99f39e4cf5ad393cd5936c36037d1

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
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: libusb-1.0 and freebsd libusb: libusb_handle_events_completed() missing?

2014-08-12 Thread CeDeROM
On Tue, Aug 12, 2014 at 8:56 PM, Hans Petter Selasky h...@selasky.org wrote:
 I am working on GNURadio port for FreeBSD and try to make upstream
 patches :-) The libusb_handle_events_completed() function seemd to be
 missing in FreeBSD, while it is a parto of the LibUSB-1.0 API [1]. Are
 there any plans to add or wrap this function?

 It's there, but you maybe have to upgrade to -stable.
 --HPS

ACK! How should it be handled on previous releases? Is
libusb_handle_events(NULL); instead enough? :-)

Best regards,
Tomek

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
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: libusb-1.0 and freebsd libusb: libusb_handle_events_completed() missing?

2014-08-12 Thread CeDeROM
On Tue, Aug 12, 2014 at 9:06 PM, Hans Petter Selasky h...@selasky.org wrote:
 ACK! How should it be handled on previous releases? Is
 libusb_handle_events(NULL); instead enough? :-)

 It cannot.
 The most simple solution is to only checkout libusb from -stable and:
 cd libusb
 make all install
 That's it.
 --HPS

How about building this existing GURadio code on FreeBSD 10 or 9 or 8
before patch was made, that is where libusb_handle_events_completed()
is still missing?

Thank for hints! :-)

Tomek

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
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: [BSD-Ham] libusb-1.0 and freebsd libusb: libusb_handle_events_completed() missing?

2014-08-12 Thread CeDeROM
On Tue, Aug 12, 2014 at 10:18 PM, Diane Bruce d...@db.net wrote:
 On Tue, Aug 12, 2014 at 08:48:14PM +0200, CeDeROM wrote:
 Hello :-)

 I am working on GNURadio port for FreeBSD and try to make upstream
 patches :-) The libusb_handle_events_completed() function seemd to be
 missing in FreeBSD, while it is a parto of the LibUSB-1.0 API [1]. Are
 there any plans to add or wrap this function?

 I dealt with this already in the gnuradio port I did. It's present
 in later versions of libusb, but look the diffs I did to work around
 this for older libusb. Please.. There was no reason to spam everyone..

Hello Diane :-)

I am adapting patches from local port to GNURadio upstream so it
builds smoothly straight away, as we talked in direct channel. Can I
use Your patches?

Building the sources from the upstream seems to be still missing :-)
And we found out something new about libusb on FreeBSD :-)

Best regards :-)
Tomek

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
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: [BSD-Ham] libusb-1.0 and freebsd libusb: libusb_handle_events_completed() missing?

2014-08-12 Thread CeDeROM
On Tue, Aug 12, 2014 at 10:21 PM, Diane Bruce d...@db.net wrote:
 I handled it already in the gnuradio port for months and months already.
 Please look.

Aahh! Tanks! Nice trick! :-)

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
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


VirtualBox 4.3.6 and USB Mass Storage problems

2014-02-24 Thread CeDeROM
Hello :-)

I have noticed that I am unable to work on USB memories attached to
guest system - I get various errors in different OS (i.e. Windows,
Linux, ...). I think it was possible before, and might come handy
quite often :-) Any hints apprciated :-)

Tomek

FreeBSD mercury 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan
16 22:34:59 UTC 2014
r...@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64

pkg info virtualbox-ose
virtualbox-ose-4.3.6
Name   : virtualbox-ose
Version: 4.3.6
Installed on   : Fri Jan 31 02:25:26 CET 2014
Origin : emulators/virtualbox-ose
Architecture   : freebsd:10:x86:64
Prefix : /usr/local
Categories : emulators
Licenses   : GPLv2
Maintainer : v...@freebsd.org
WWW: http://www.virtualbox.org/
Comment: A general-purpose full virtualizer for x86 hardware
Options:
DBUS   : on
DEBUG  : off
GUESTADDITIONS : off
NLS: on
PULSEAUDIO : off
PYTHON : on
QT4: on
UDPTUNNEL  : on
VDE: off
VNC: on
VPX: off
WEBSERVICE : on
X11: on

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
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: 9-STABLE, lost access to previously working usb device

2013-12-31 Thread CeDeROM
On Tue, Dec 31, 2013 at 11:35 AM, Hans Petter Selasky h...@bitfrost.no wrote:
 On 12/31/13 00:05, Jakub Lach wrote:

 ...and another stall when using uaudio. Definitely connected with usb.

Do you use any kind of cable or connector panel? I had some
stall/disappear issues when using faulty cable...

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
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


usb port hangs on freebsd9.2 amd64 and dell latitude e4310

2013-12-02 Thread CeDeROM
Hey :-)

I have found some issues with USB port on my Dell Latitude E4310 -
sometimes ports hangs and I cannot use it until reboot. On another
port device works correctly with no reboot... Can I somehow reset the
port to avoid reboot? :-)

% uname -a
FreeBSD xxx 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Thu Sep 26
22:50:31 UTC 2013
r...@bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64

% dmesg | grep -i USB
ehci0: Intel PCH USB 2.0 controller USB-B mem 0xf547-0xf54703ff
irq 16 at device 26.0 on pci0
usbus0: EHCI version 1.0
usbus0 on ehci0
ehci1: Intel PCH USB 2.0 controller USB-A mem 0xf545-0xf54503ff
irq 17 at device 29.0 on pci0
usbus1: EHCI version 1.0
usbus1 on ehci1
usbus0: 480Mbps High Speed USB v2.0
usbus1: 480Mbps High Speed USB v2.0
ugen0.1: Intel at usbus0
uhub0: Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1 on usbus0
ugen1.1: Intel at usbus1
uhub1: Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1 on usbus1
ugen0.2: vendor 0x8087 at usbus0
uhub2: vendor 0x8087 product 0x0020, class 9/0, rev 2.00/0.00, addr
2 on usbus0
ugen1.2: vendor 0x8087 at usbus1
uhub3: vendor 0x8087 product 0x0020, class 9/0, rev 2.00/0.00, addr
2 on usbus1
Root mount waiting for: usbus1 usbus0
ugen0.3: CN0F5CWW7866407M01CFA00 at usbus0
usb_alloc_device: set address 3 failed (USB_ERR_STALLED, ignored)
usbd_setup_device_desc: getting device descriptor at addr 3 failed,
USB_ERR_STALLED
usbd_req_re_enumerate: addr=3, set address failed! (USB_ERR_STALLED, ignored)
usbd_setup_device_desc: getting device descriptor at addr 3 failed,
USB_ERR_STALLED
Root mount waiting for: usbus1
usbd_req_re_enumerate: addr=3, set address failed! (USB_ERR_STALLED, ignored)
usbd_setup_device_desc: getting device descriptor at addr 3 failed,
USB_ERR_STALLED
ugen1.3: Unknown at usbus1 (disconnected)
ugen1.3: ADell Wireless 5540 at usbus1
umodem0: Dell Wireless 5540 HSPA Mini-Card Data Modem on usbus1
umodem1: Dell Wireless 5540 HSPA Mini-Card Modem on usbus1
cdce0: Dell Wireless 5540 HSPA Mini-Card Network Adapter on usbus1
ue0: USB Ethernet on cdce0
umodem2: Dell Wireless 5540 HSPA Mini-Card GPS Port on usbus1
Root mount waiting for: usbus1
ugen1.4: Dell Computer Corp at usbus1
Root mount waiting for: usbus1
ugen1.5: Broadcom Corp at usbus1
ubt0: Dell Computer Corp DW375 Bluetooth Module, class 224/1, rev
2.00/5.17, addr 4 on usbus1
usb_alloc_device: set address 6 failed (USB_ERR_STALLED, ignored)
usbd_setup_device_desc: getting device descriptor at addr 6 failed,
USB_ERR_STALLED
usbd_req_re_enumerate: addr=6, set address failed! (USB_ERR_STALLED, ignored)
usbd_setup_device_desc: getting device descriptor at addr 6 failed,
USB_ERR_STALLED
ubt0: ubt_bulk_read_callback:873: bulk-in transfer failed: USB_ERR_STALLED
usbd_req_re_enumerate: addr=6, set address failed! (USB_ERR_STALLED, ignored)
usbd_setup_device_desc: getting device descriptor at addr 6 failed,
USB_ERR_STALLED
ugen1.6: Unknown at usbus1 (disconnected)
usb_alloc_device: set address 6 failed (USB_ERR_STALLED, ignored)
usbd_setup_device_desc: getting device descriptor at addr 6 failed,
USB_ERR_STALLED
usbd_req_re_enumerate: addr=6, set address failed! (USB_ERR_STALLED, ignored)
usbd_setup_device_desc: getting device descriptor at addr 6 failed,
USB_ERR_STALLED
usbd_req_re_enumerate: addr=6, set address failed! (USB_ERR_STALLED, ignored)
usbd_setup_device_desc: getting device descriptor at addr 6 failed,
USB_ERR_STALLED
ugen1.6: Unknown at usbus1 (disconnected)
usb_alloc_device: set address 6 failed (USB_ERR_STALLED, ignored)
usbd_setup_device_desc: getting device descriptor at addr 6 failed,
USB_ERR_STALLED
usbd_req_re_enumerate: addr=6, set address failed! (USB_ERR_STALLED, ignored)
usbd_setup_device_desc: getting device descriptor at addr 6 failed,
USB_ERR_STALLED
ubt0: ubt_bulk_read_callback:873: bulk-in transfer failed: USB_ERR_STALLED
usbd_req_re_enumerate: addr=6, set address failed! (USB_ERR_STALLED, ignored)
usbd_setup_device_desc: getting device descriptor at addr 6 failed,
USB_ERR_STALLED
ugen1.6: Unknown at usbus1 (disconnected)
ugen1.6: STMicroelectronics at usbus1

Best regards :-)
Tomek

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
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: usb port hangs on freebsd9.2 amd64 and dell latitude e4310

2013-12-02 Thread CeDeROM
On Mon, Dec 2, 2013 at 7:01 PM, CeDeROM cede...@tlen.pl wrote:
 I have found some issues with USB port on my Dell Latitude E4310 -
 sometimes ports hangs and I cannot use it until reboot. On another
 port device works correctly with no reboot... Can I somehow reset the
 port to avoid reboot? :-)

Aaaarrgh, after dozens of trials turned out to be a faulty old USB
cable :-( Sorry!! :-)

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
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


LibFTDI/LibUSB 1.0 and Asyncrhonous I/O on FreeBSD

2013-07-23 Thread CeDeROM
Hello :-)

LibUSB 1.0 introduced Asyncrhonous I/O [1] which in conjuction with
LibFTDI 1.0 [2] gives significant performance improvement on FT2232*
based chips used in various UART/JTAG/SWD interfaces. I am working on
LibSWD [3] and would like to use this Asyncrhonous I/O on my FreeBSD
box. I know there is an internal BSD implementation of LibUSB, so my
question is it possible to use this Asynchronous I/O with FreeBSD
implementation of LibUSB, or more specifically is it possible to use
LibFTDI 1.0 to improve speed of my driver for FT2232 chip? :-)

Any hints appreciated! :-)
Tomek

[1] http://www.libusb.org/wiki/libusb-1.0
[2] http://www.intra2net.com/en/developer/libftdi/
[3] http://libswd.sf.net

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
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: LibFTDI/LibUSB 1.0 and Asyncrhonous I/O on FreeBSD

2013-07-23 Thread CeDeROM
On Tue, Jul 23, 2013 at 9:03 PM, Hans Petter Selasky h...@bitfrost.no wrote:
 On 07/23/13 20:10, CeDeROM wrote:
 question is it possible to use this Asynchronous I/O with FreeBSD
 implementation of LibUSB, or more specifically is it possible to use
 LibFTDI 1.0 to improve speed of my driver for FT2232 chip? :-)

 Hi,
 It is implemented and should work! Please note that you should not mix
 synchronous and asynchronous requests, with exception of control transfers.
 If you are programming a bulk endpoint, use either all synchronous or all
 asynchronous.
 --HPS

Wow! Good news! Thank you Hans!! :-)

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
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


usb wifi dongle for advanced testing - recommendation request

2013-07-18 Thread CeDeROM
Hello :-)

I am looking for a really good and well supported WiFi USB dongle for
advanced testing like network sniffing, packet injection, setting up
access point, etc. I guess that would be Atheros based device? Can you
recommend a solution that works for you? :-)

Thank you! :-)
Tomek

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
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


Atheros AR9002U-2NG based TP-LINK TL-WN822N Ver:2.0 - adding support to FreeBSD

2013-07-18 Thread CeDeROM
Hello :-)

I have just bought USB WiFi b/g/n dongle from TP-LINK model TL-WN822B
Ver:2.0 [1] which use following chipsets: Atheros AR9002U-2NG, Atheros
AR7010, Atheros AR9287. It looks nice bacuse it cost ~20EUR it has
external antennas and has very good opinions. Now, I start to think
that finding Ver:3.0 based on RTL8192CU [2] might be a better
choice..? Still I consider Atheros to be a better solution than
Realtek..?

I have made simple modification of /usr/src/sys/dev/usb/usbdevs and
/usr/src/sys/dev/usb/wlan/if_uath.c to get it recognised, but uath
driver seems to only support AR5005UG according to manpage. Is there
any known driver to operate AR9002 chips?

Here is what dmesg shows after my kernel modification/rebuild:

ugen1.3: ATHEROS at usbus1
uath0: ATHEROS USB WLAN, rev 2.00/2.02, addr 3 on usbus1
uath0: could not allocate USB transfers, err=USB_ERR_NO_PIPE
device_attach: uath0 attach returned 12

So it looks this driver will not operate with this chipset..?

Any hints appreciated! :-)
Tomek

[1] http://wikidevi.com/wiki/TP-LINK_TL-WN822N_v2
[2] http://wikidevi.com/wiki/TP-LINK_TL-WN822N_v3

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
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: Atheros AR9002U-2NG based TP-LINK TL-WN822N Ver:2.0 - adding support to FreeBSD

2013-07-18 Thread CeDeROM
On Thu, Jul 18, 2013 at 7:06 PM, Adrian Chadd adr...@freebsd.org wrote:
 It's not uath. It's a different beast entirely.

 Basically, it requires someone with USB clue to write the USB glue
 between the ath(4) and ath_hal(4) code and the USB interface.

 Look at what ath9k_htc implements. It uses most of ath9k, but it
 implements a data/control pipe over USB and some commands to tell the
 firmware to do things (like new/delete client, etc.)

Yea, I have grepped the sources and that this chip seems to have
already some support, but it needs some more glue to work over USB as
you tell Adrian :-) Not sure if I can do this, but I can always try :D
:D

Be(a)st regards! :-)
Tomek Cedro

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
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: usb/177895: similar 1TB Western Digital My Passports - some load, some don't

2013-07-16 Thread CeDeROM
On Tue, Jul 16, 2013 at 12:06 PM, Hans Petter Selasky
hans.petter.sela...@bitfrost.no wrote:
 I`ve been thinking that perhaps I should start selling certified USB hardware 
 that doesn`t have all of these caveats you guys report all the time :-) Would 
 you buy stuff if I opened up an USB shop?

+1 :-) Good idea to introduce FreeBSD Certified or Daemon Powers
or similar kind of certificate to know if this hardware works with
FreeBSD or not, not only in USB area :-) This could be managed by
FreeBSD Foundation like a hardware-compatibility with great
granularity. Test could be performed by vendors, core team, or
independent researchers, then clients would simply know what to buy
and what to avoid (i.e. avoid Intel WiFi cards, problems with WDC
drives, etc). Vendors would be interested in increased sale of their
products and so FreeBSD would have better drivers when vendors take
care of their proper implementation and funding :-)

+1 For selling stuff that works out of the box on FreeBSD, that would
also create financial support for your great work Hans so you can
concentrate on things that are really important! :-)

Best regards! :-)
Tomek

--
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
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


usb mass storage problem

2013-02-28 Thread CeDeROM
ahcich1: Timeout on slot 0 port 0
ahcich1: is  cs 0001 ss  rs 0001 tfd d0 serr
 cmd c017
ugen1.5: Corsair at usbus1 (disconnected)
umass0: at uhub3, port 3, addr 5 (disconnected)
(da0:umass-sim0:0:0:0): lost device - 0 outstanding, 1 refs
(da0:(pass2:umass-sim0:0:umass-sim0:0:0:0:0): removing device entry
0): passdevgonecb: devfs entry is gone

Cannot connect any other mass storage on this port anymore.

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
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: usb mass storage problem

2013-02-28 Thread CeDeROM
On Thu, Feb 28, 2013 at 1:36 PM, CeDeROM cede...@tlen.pl wrote:
 ahcich1: Timeout on slot 0 port 0
 ahcich1: is  cs 0001 ss  rs 0001 tfd d0 serr
  cmd c017
 ugen1.5: Corsair at usbus1 (disconnected)
 umass0: at uhub3, port 3, addr 5 (disconnected)
 (da0:umass-sim0:0:0:0): lost device - 0 outstanding, 1 refs
 (da0:(pass2:umass-sim0:0:umass-sim0:0:0:0:0): removing device entry
 0): passdevgonecb: devfs entry is gone

 Cannot connect any other mass storage on this port anymore.

All USB ports in my laptop are down. Laptop is connected to docking
station and docking station ports work fine. The USB pendrive had over
200 viruses on it (scanned with clamav) - do you think it could impact
USB stack? I will shutdown in ~2hours, so still we can experiment on a
living organism :-P

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
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: usb mass storage problem

2013-02-28 Thread CeDeROM
On Thu, Feb 28, 2013 at 3:03 PM, Hans Petter Selasky h...@bitfrost.no wrote:
 On Thursday 28 February 2013 13:36:46 CeDeROM wrote:
 ahcich1: Timeout on slot 0 port 0
 ahcich1: is  cs 0001 ss  rs 0001 tfd d0 serr
  cmd c017
 ugen1.5: Corsair at usbus1 (disconnected)
 umass0: at uhub3, port 3, addr 5 (disconnected)
 (da0:umass-sim0:0:0:0): lost device - 0 outstanding, 1 refs
 (da0:(pass2:umass-sim0:0:umass-sim0:0:0:0:0): removing device entry
 0): passdevgonecb: devfs entry is gone

 Cannot connect any other mass storage on this port anymore.

 Hi,

 What version of FreeBSD is this?

Hey :-) Its 9.1-RELEASE GENERIC (although my compilation).

% uname -a
FreeBSD mercury 9.1-RELEASE FreeBSD 9.1-RELEASE #0: Fri Feb  8
23:26:37 CET 2013
root@mercury:/usr/obj/usr/src/sys/CeDeROM-MERCURY  amd64

Best regards :-)
Tomek

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
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


hp usb mass storage issues

2013-02-08 Thread CeDeROM
Hello :-)

I got a pendrive that does not want to detect on FreeBSD 9.1 and
9.1-RC3, here is what I get:

ugen1.7: HP at usbus1
umass0: HP v195b, class 0/0, rev 2.00/81.92, addr 7 on usbus1
umass0:  SCSI over Bulk-Only; quirks = 0x0100
umass0:5:0:-1: Attached to scbus5
(probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 0 0 0 24 0
(probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an error
(probe0:umass-sim0:0:0:0): Retrying command
(probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 0 0 0 24 0
(probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an error
(probe0:umass-sim0:0:0:0): Retrying command

Please advise :-)
Tomek

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
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: hp usb mass storage issues

2013-02-08 Thread CeDeROM
On Fri, Feb 8, 2013 at 11:18 AM, Hans Petter Selasky hsela...@c2i.net wrote:
 Try to set the no synchronize cache quirk using usbconfig.

Hello Hans :-)

Yes that helps:

ugen1.7: HP at usbus1
umass0: HP v195b, class 0/0, rev 2.00/81.92, addr 7 on usbus1
umass0:  SCSI over Bulk-Only; quirks = 0x4000
umass0:5:0:-1: Attached to scbus5

# usbconfig -d 1.7 add_quirk UQ_MSC_NO_SYNC_CACHE

da0 at umass-sim0 bus 0 scbus5 target 0 lun 0
da0: hp v195b 8192 Removable Direct Access SCSI-0 device
da0: 40.000MB/s transfers
da0: 7728MB (15826944 512 byte sectors: 255H 63S/T 985C)

Thank you! :-) What should I do to avoid this manual intervention in future?

I also noticed that with another pendrive I get the device nodes, but
in dmesg I get lots of this messages:

(da0:umass-sim0:0:0:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 1 0
(da0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI status: Check Condition
(da0:umass-sim0:0:0:0): SCSI sense: No sense data present
(da0:umass-sim0:0:0:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 1 0
(da0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI status: Check Condition
(da0:umass-sim0:0:0:0): SCSI sense: No sense data present
(da0:umass-sim0:0:0:0): Retrying command (per sense data)


Best regards :-)
Tomek

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
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