TerraTec H7 - FreeBSD

Device info on main page.

Work log

2014-02-15: I tested with a "cold" start of the H7, ie. powered it off, then again, before starting webcamd:

root@kg-f4# usbconfig -d ugen3.2
ugen3.2: <TerraTec H7 TerraTec Electronic GmbH> at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (100mA)
root@kg-f4# webcamd -d ugen3.2
Attached to ugen3.2[0]
Loading firmware at '/boot/modules/dvb-usb-terratec-h7-az6007.fw', f=7
Loading firmware at '/boot/modules/dvb-usb-terratec-h7-drxk.fw', f=7
Creating /dev/dvb/adapter1/ca0
Creating /dev/dvb/adapter1/demux0
Creating /dev/dvb/adapter1/dvr0
Creating /dev/dvb/adapter1/frontend0
Creating /dev/input/event0

which was what I expected. Good. The "official" way works too:

root@kg-f4# service webcamd start ugen3.2
Starting webcamd.
Attached to ugen3.2[0]

and files:

root@kg-f4# ls -l /dev/dvb/adapter1/*
crw-rw----  1 webcamd  webcamd  0xa1 Feb 15 15:18 /dev/dvb/adapter1/ca0
crw-rw----  1 webcamd  webcamd  0xa2 Feb 15 15:18 /dev/dvb/adapter1/demux0
crw-rw----  1 webcamd  webcamd  0xa3 Feb 15 15:18 /dev/dvb/adapter1/dvr0
crw-rw----  1 webcamd  webcamd  0xa4 Feb 15 15:18 /dev/dvb/adapter1/frontend0

Nice.

2014-02-09: test with webcamd 3.11.0.2 and w_scan:

root@kg-f4# uname -a
FreeBSD kg-f4.kg4.no 9.2-STABLE FreeBSD 9.2-STABLE #3 r261516: Wed Feb  5 22:38:36 CET 2014     root@kg-f4.kg4.no:/usr/obj/usr/src/sys/GENERIC  amd64
root@kg-f4# pv webcamd*
webcamd-3.11.0.2            =  up-to-date with port
root@kg-f4# pv w_scan*
w_scan-20120415             =  up-to-date with port

the device:

root@kg-f4# usbconfig -d ugen3.2
ugen3.2: <TerraTec H7 TerraTec Electronic GmbH> at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (100mA)
root@kg-f4# webcamd -d ugen3.2
Attached to ugen3.2[0]
Loading firmware at '/boot/modules/dvb-usb-terratec-h7-drxk.fw', f=7
Creating /dev/dvb/adapter0/ca0
Creating /dev/dvb/adapter0/demux0
Creating /dev/dvb/adapter0/dvr0
Creating /dev/dvb/adapter0/frontend0
Creating /dev/input/event0

from another terminal:

root@kg-f4# ls -l /dev/dvb/adapter0
total 0
crw-rw----  1 webcamd  webcamd  0x9c Feb  9 18:47 ca0
crw-rw----  1 webcamd  webcamd  0x9d Feb  9 18:47 demux0
crw-rw----  1 webcamd  webcamd  0x9e Feb  9 18:47 dvr0
crw-rw----  1 webcamd  webcamd  0x9f Feb  9 18:47 frontend0

run w_scan:

root@kg-f4# w_scan -fc -c NO -C ISO-8859-1
w_scan version 20120415 (compiled for DVB API 5.5)
using settings for NORWAY
DVB cable
DVB-C
scan type CABLE, channellist 7
output format vdr-1.6
output charset 'ISO-8859-1'
Info: using DVB adapter auto detection.
    /dev/dvb/adapter0/frontend0 -> CABLE "DRXK DVB-C DVB-T": good :-)
Using CABLE frontend (adapter /dev/dvb/adapter0/frontend0)
-_-_-_-_ Getting frontend capabilities-_-_-_-_
Using DVB API 5.a
frontend 'DRXK DVB-C DVB-T' supports
INVERSION_AUTO
QAM_AUTO not supported, trying QAM_64 QAM_256.
FEC_AUTO
FREQ (47.00MHz ... 865.00MHz)
SRATE (0.870MSym/s ... 11.700MSym/s)
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
searching QAM64...
73000: sr6900 (time: 00:02)
(output snipped)
searching QAM256...
73000: sr6900 (time: 13:07) sr6875 (time: 13:12)
81000: sr6900 (time: 13:17) sr6875 (time: 13:22)
(output snipped)
850000: sr6900 (time: 25:52) sr6875 (time: 25:57)
858000: sr6900 (time: 26:02) sr6875 (time: 26:07)

ERROR: Sorry - i couldn't get any working frequency/transponder
 Nothing to scan!!

Oh well.

2014-02-06: after upgrading to FreeBSD 9.2-stable, retest webcamd 3.9.0.4.

root@kg-f4# webcamd -d ugen3.2
Attached to ugen3.2[0]
Loading firmware at '/boot/modules/dvb-usb-terratec-h7-az6007.fw', f=7
Loading firmware at '/boot/modules/dvb-usb-terratec-h7-drxk.fw', f=7
Creating /dev/dvb/adapter0/ca0
Creating /dev/dvb/adapter0/demux0
Creating /dev/dvb/adapter0/dvr0
Creating /dev/dvb/adapter0/frontend0
Creating /dev/input/event0

from another terminal, check for devices:

root@kg-f4# ls -l /dev/dvb/adapter0
total 0
crw-rw----  1 webcamd  webcamd  0x9b Feb  6 00:27 ca0
crw-rw----  1 webcamd  webcamd  0x9c Feb  6 00:27 demux0
crw-rw----  1 webcamd  webcamd  0x9d Feb  6 00:27 dvr0
crw-rw----  1 webcamd  webcamd  0x9e Feb  6 00:27 frontend0

looks good. Run w_scan:

root@kg-f4# w_scan -fc -c NO -C ISO-8859-1
w_scan version 20120415 (compiled for DVB API 5.5)
using settings for NORWAY
DVB cable
DVB-C
scan type CABLE, channellist 7
output format vdr-1.6
output charset 'ISO-8859-1'
Info: using DVB adapter auto detection.
    /dev/dvb/adapter0/frontend0 -> CABLE "DRXK DVB-C DVB-T": good :-)
Using CABLE frontend (adapter /dev/dvb/adapter0/frontend0)
-_-_-_-_ Getting frontend capabilities-_-_-_-_
Using DVB API 5.a
frontend 'DRXK DVB-C DVB-T' supports
INVERSION_AUTO
QAM_AUTO not supported, trying QAM_64 QAM_256.
FEC_AUTO
FREQ (47.00MHz ... 865.00MHz)
SRATE (0.870MSym/s ... 11.700MSym/s)
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
(much output snipped)
858000: sr6900 (time: 25:41) sr6875 (time: 25:46)

ERROR: Sorry - i couldn't get any working frequency/transponder
 Nothing to scan!!

that's it.

2013-01-30: I realized that the correct firmware file was missing from /boot/modules, and it dawned on me that 'f=-1' might be an error, so copy the firmware file in place:

root@kg-f4# cp -pv /home/tingo/dl/dvb-usb-terratec-h7-drxk.fw /boot/modules
/home/tingo/dl/dvb-usb-terratec-h7-drxk.fw -> /boot/modules/dvb-usb-terratec-h7-drxk.fw

and re-test webcamd:

root@kg-f4# webcamd -d ugen3.2
Attached to ugen3.2[0]
Loading firmware at '/boot/modules/dvb-usb-terratec-h7-drxk.fw', f=7
Creating /dev/dvb/adapter0/ca0
Creating /dev/dvb/adapter0/demux0
Creating /dev/dvb/adapter0/dvr0
Creating /dev/dvb/adapter0/frontend0
Creating /dev/input/event0

look for devices:

root@kg-f4# ls -l /dev/dvb/adapter0
total 0
crw-rw----  1 webcamd  webcamd  0x97 Jan 31 00:03 ca0
crw-rw----  1 webcamd  webcamd  0x98 Jan 31 00:03 demux0
crw-rw----  1 webcamd  webcamd  0x99 Jan 31 00:03 dvr0
crw-rw----  1 webcamd  webcamd  0x9a Jan 31 00:03 frontend0

Allright. test with w_scan:

root@kg-f4# w_scan -fc -c NO -C ISO-8859-1
w_scan version 20120415 (compiled for DVB API 5.5)
using settings for NORWAY
DVB cable
DVB-C
scan type CABLE, channellist 7
output format vdr-1.6
output charset 'ISO-8859-1'
Info: using DVB adapter auto detection.
    /dev/dvb/adapter0/frontend0 -> CABLE "DRXK DVB-C DVB-T": good :-)
Using CABLE frontend (adapter /dev/dvb/adapter0/frontend0)
-_-_-_-_ Getting frontend capabilities-_-_-_-_
Using DVB API 5.a
frontend 'DRXK DVB-C DVB-T' supports
INVERSION_AUTO
QAM_AUTO not supported, trying QAM_64 QAM_256.
FEC_AUTO
FREQ (47.00MHz ... 865.00MHz)
SRATE (0.870MSym/s ... 11.700MSym/s)
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
(lots of output snipped)
858000: sr6900 (time: 25:42) sr6875 (time: 25:47)

ERROR: Sorry - i couldn't get any working frequency/transponder
 Nothing to scan!!

That's the end of it.

2013-01-30: testing the H7 with webcamd 3.9.0.4:

root@kg-f4# portversion -v webcamd
webcamd-3.9.0.4             =  up-to-date with port

first manually:

root@kg-f4# webcamd -d ugen3.2
Attached to ugen3.2[0]
Loading firmware at '/boot/modules/dvb-usb-terratec-h7-drxk.fw', f=-1
Creating /dev/dvb/adapter0/demux0
Creating /dev/dvb/adapter0/dvr0

Hmm, still no frontend. List the devices (from another login)

root@kg-f4# ls -l /dev/dvb/adapter0
total 0
crw-rw----  1 webcamd  webcamd  0x97 Jan 30 23:39 demux0
crw-rw----  1 webcamd  webcamd  0x98 Jan 30 23:39 dvr0

Nope, no frontend0 in there. Test automatic mode:

root@kg-f4# service webcamd onestart ugen3.2
Starting webcamd.
Attached to ugen3.2[0]

from another login:

root@kg-f4# ls -l /dev/dvb/adapter0
total 0
crw-rw----  1 webcamd  webcamd  0x97 Jan 30 23:52 demux0
crw-rw----  1 webcamd  webcamd  0x98 Jan 30 23:52 dvr0

No better. And onestop still doesn't work:

root@kg-f4# service webcamd onestop ugen3.2
webcamd not running? (check webcamd.dummy).

oh well.

2013-01-30: testing the H7 with webcamd 3.7.0.4:

root@kg-f4# portversion -v | grep webcamd
webcamd-3.7.0.4             <  needs updating (port has 3.9.0.4)

try manually first:

root@kg-f4# webcamd -d ugen3.2
Attached to ugen3.2[0]
Loading firmware at '/boot/modules/dvb-usb-terratec-h7-az6007.fw', f=7
Creating /dev/dvb/adapter0/demux0
Creating /dev/dvb/adapter0/dvr0

Hmm, looks promising. From another ssh login, I check for devices:

root@kg-f4# ls -l /dev/dvb/adapter0
total 0
crw-rw----  1 webcamd  webcamd  0x97 Jan 30 21:59 demux0
crw-rw----  1 webcamd  webcamd  0x98 Jan 30 21:59 dvr0

But shouldn't there be a frontend0 also? Now, how do I test this? with w_scan:

root@kg-f4# w_scan -fc -c NO -C ISO-8859-1
w_scan version 20120415 (compiled for DVB API 5.5)
using settings for NORWAY
DVB cable
DVB-C
scan type CABLE, channellist 7
output format vdr-1.6
output charset 'ISO-8859-1'
Info: using DVB adapter auto detection.
main:3206: FATAL: ***** NO USEABLE CABLE CARD FOUND. *****
Please check wether dvb driver is loaded and
verify that no dvb application (i.e. vdr) is running.

Yep, there probably is a frontend missing. For good measure, let's try automatic too.

root@kg-f4# service webcamd onestart ugen3.2
Starting webcamd.
Attached to ugen3.2[0]
root@kg-f4# ls -l /dev/dvb/adapter0
total 0
crw-rw----  1 webcamd  webcamd  0x97 Jan 30 22:13 demux0
crw-rw----  1 webcamd  webcamd  0x98 Jan 30 22:13 dvr0

Still no frontend. Stop webcamd:

root@kg-f4# service webcamd onestop ugen3.2
webcamd not running? (check webcamd.dummy).
root@kg-f4# service webcamd status
root@kg-f4# pgrep -lf webcamd
72851 /usr/local/sbin/webcamd -B -U webcamd -G webcamd -d ugen3.2 -i 0

Ok, so the onestop keyword doesn't work. Kill it the manual way:

root@kg-f4# pkill webcamd
root@kg-f4# pgrep -lf webcamd

That's it.

2013-01-30: I'm still using the f4 machine as a test machine. Now upgraded to FreeBSD 9.1-stable, let's see what happens.

root@kg-f4# uname -a
FreeBSD kg-f4.kg4.no 9.1-STABLE FreeBSD 9.1-STABLE #2 r245474: Wed Jan 16 08:15:54 CET 2013     root@kg-f4.kg4.no:/usr/obj/usr/src/sys/GENERIC  amd64

usbconfig output:

root@kg-f4# usbconfig
ugen0.1: <OHCI root HUB ATI> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE
ugen1.1: <EHCI root HUB ATI> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE
ugen2.1: <OHCI root HUB ATI> at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE
ugen3.1: <EHCI root HUB ATI> at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE
ugen4.1: <OHCI root HUB ATI> at usbus4, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE
ugen5.1: <OHCI root HUB ATI> at usbus5, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE
ugen6.1: <EHCI root HUB ATI> at usbus6, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE
ugen3.3: <PCTV 290e PCTV Systems> at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
ugen0.2: <PS2toUSB Adapter GASIA> at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON
ugen3.2: <TerraTec H7 TerraTec Electronic GmbH> at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON

and just one device;

root@kg-f4# usbconfig -u 3 -a 2
ugen3.2: <TerraTec H7 TerraTec Electronic GmbH> at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
root@kg-f4# usbconfig -d ugen3.2
ugen3.2: <TerraTec H7 TerraTec Electronic GmbH> at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON

check that the firmware is in the right place:

root@kg-f4# ls -l /boot/modules/*h7*
-rw-r--r--  1 root  wheel  8832 Aug 29 20:29 /boot/modules/dvb-usb-terratec-h7-az6007.fw

ok.

2012-08-30: testing the H7 with webcamd 3.7.0.1:

root@kg-f4# uname -a
FreeBSD kg-f4.kg4.no 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #1: Sun Aug  5 18:43:08 CEST 2012     root@kg-f4.kg4.no:/usr/obj/usr/src/sys/GENERIC  amd64
root@kg-f4# portversion -v | grep webcamd
webcamd-3.7.0.1             >  succeeds port (port has 3.6.0.1_1)
root@kg-f4# pgrep -lf webcamd
root@kg-f4# usbconfig -d ugen1.2
ugen1.2: <TerraTec H7 TerraTec Electronic GmbH> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
root@kg-f4# service webcamd onestart ugen1.2
Starting webcamd.
Attached to ugen1.2[0]

Hmm, that doesn't work, no /dev/dvb get created. If I kill webcamd, powercycle the H7 and try manually, I get:

root@kg-f4# webcamd -d ugen1.2
Attached to ugen1.2[0]
Loading firmware at '/boot/modules/dvb-usb-terratec-h7-az6007.fw', f=7

but still no /dev/dvb:

root@kg-f4# ls /dev/dvb
ls: /dev/dvb: No such file or directory

Test done.

2012-08-30: after powering up the H7 (it needs external power), things look a bit different:

root@kg-f4# uname -a
FreeBSD kg-f4.kg4.no 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #1: Sun Aug  5 18:43:08 CEST 2012     root@kg-f4.kg4.no:/usr/obj/usr/src/sys/GENERIC  amd64
root@kg-f4# usbconfig -d ugen1.2
ugen1.2: <TerraTec H7 TerraTec Electronic GmbH> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON

testing with webcamd:

root@kg-f4# kldload cuse4bsd
root@kg-f4# webcamd -d ugen1.2
Attached to ugen1.2[0]
Loading firmware at '/boot/modules/dvb-usb-terratec-h7-az6007.fw', f=7
Creating /dev/dvb/adapter0/demux0
Creating /dev/dvb/adapter0/dvr0
Creating /dev/input/event0

Hmm, now it looks like it works. Let's test with w_scan:

root@kg-f4# service webcamd onestart ugen1.2
Starting webcamd.
Attached to ugen1.2[0]
root@kg-f4# pgrep -lf webcamd
1459 /usr/local/sbin/webcamd -B -U webcamd -G webcamd -d ugen1.2 -i 0
root@kg-f4# ls -l /dev/dvb/adapter0
total 0
crw-rw----  1 webcamd  webcamd    0, 100 Aug 30 22:51 demux0
crw-rw----  1 webcamd  webcamd    0, 141 Aug 30 22:51 dvr0
root@kg-f4# w_scan -fc -c NO
w_scan version 20120415 (compiled for DVB API 5.5)
using settings for NORWAY
DVB cable
DVB-C
scan type CABLE, channellist 7
output format vdr-1.6
WARNING: could not guess your codepage. Falling back to 'UTF-8'
output charset 'UTF-8', use -C <charset> to override
Info: using DVB adapter auto detection.
main:3206: FATAL: ***** NO USEABLE CABLE CARD FOUND. *****
Please check wether dvb driver is loaded and
verify that no dvb application (i.e. vdr) is running.

So it still doesn't work.

2012-08-29: testing with webcamd 3.6.0.2 (pre ports version, from svn):

root@kg-f4# uname -a
FreeBSD kg-f4.kg4.no 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #1: Sun Aug  5 18:43:08 CEST 2012     root@kg-f4.kg4.no:/usr/obj/usr/src/sys/GENERIC  amd64
root@kg-f4# portversion -v | grep webcamd
webcamd-3.6.0.2             >  succeeds port (port has 3.6.0.1_1)

Testing:

root@kg-f4# usbconfig -d ugen3.2
ugen3.2: <External Generic> at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
root@kg-f4# webcamd -d ugen3.2
webcamd: Cannot find USB deviceroot@kg-f4#
root@kg-f4# ls /boot/modules/d*
/boot/modules/dvb-usb-terratec-h7-az6007.fw
root@kg-f4# webcamd -d ugen3.2 -f dvb-usb-terratec-h7-az6007.fw
webcamd: Cannot find USB deviceroot@kg-f4#
root@kg-f4# webcamd -d ugen3.2 -f /boot/modules/dvb-usb-terratec-h7-az6007.fw
webcamd: Cannot find USB deviceroot@kg-f4#
root@kg-f4# webcamd -f dvb-usb-terratec-h7-az6007.fw -d ugen3.2
webcamd: Cannot find USB deviceroot@kg-f4#
root@kg-f4# webcamd -f /boot/modules/dvb-usb-terratec-h7-az6007.fw -d ugen3.2
webcamd: Cannot find USB deviceroot@kg-f4#

Alternative firmware:

root@kg-f4# webcamd -d ugen3.2 -f /home/tingo/dl/dvb-usb-terratec-h7-drxk.fw
webcamd: Cannot find USB deviceroot@kg-f4#

Nah, doesn't work.

2012-08-29: Now testing with the f4 machine, which runs FreeBSD 9.1:

root@kg-f4# uname -a
FreeBSD kg-f4.kg4.no 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #1: Sun Aug  5 18:43:08 CEST 2012     root@kg-f4.kg4.no:/usr/obj/usr/src/sys/GENERIC  amd64

The H7 is detected:

root@kg-f4# usbconfig -d 3.2
ugen3.2: <External Generic> at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON

a bit strange, perhaps it needs firmware? Download from linuxtv.org:

tingo@kg-f4$ cd dl
tingo@kg-f4$ fetch http://linuxtv.org/downloads/firmware/dvb-usb-terratec-h7-az6007.fw
dvb-usb-terratec-h7-az6007.fw                 100% of 8832  B  238 kBps

fetch the other one too, just in case:

tingo@kg-f4$ fetch http://linuxtv.org/downloads/firmware/dvb-usb-terratec-h7-drxk.fw
dvb-usb-terratec-h7-drxk.fw                   100% of 7770  B  224 kBps

That's it. Testing with multimedia/webcamd:

root@kg-f4# portversion -v | grep webcamd
webcamd-3.6.0.1_1           =  up-to-date with port
root@kg-f4# webcamd -d 3.2
webcamd: Cannot find USB deviceroot@kg-f4#
root@kg-f4# webcamd -d ugen3.2
webcamd: Cannot find USB deviceroot@kg-f4#

Ok, try with firmware:

root@kg-f4# l /home/tingo/dl/d*
/home/tingo/dl/dvb-usb-terratec-h7-az6007.fw  /home/tingo/dl/dvb-usb-terratec-h7-drxk.fw
root@kg-f4# webcamd -d 3.2 -f /home/tingo/dl/dvb-usb-terratec-h7-az6007.fw
webcamd: Cannot find USB deviceroot@kg-f4#
root@kg-f4# webcamd -d ugen3.2 -f /home/tingo/dl/dvb-usb-terratec-h7-az6007.fw
webcamd: Cannot find USB deviceroot@kg-f4#

Hmm, doesn't work. Try with the other firmware (for completeness):

root@kg-f4# webcamd -d 3.2 -f /home/tingo/dl/dvb-usb-terratec-h7-drxk.fw
webcamd: Cannot find USB deviceroot@kg-f4#
root@kg-f4# webcamd -d ugen3.2 -f /home/tingo/dl/dvb-usb-terratec-h7-drxk.fw
webcamd: Cannot find USB deviceroot@kg-f4#

Does it matter if the firmware resides in /boot/modules?

root@kg-f4# cp -v /home/tingo/dl/dvb-usb-terratec-h7-az6007.fw /boot/modules
/home/tingo/dl/dvb-usb-terratec-h7-az6007.fw -> /boot/modules/dvb-usb-terratec-h7-az6007.fw

try again:

root@kg-f4# webcamd -d 3.2 -f dvb-usb-terratec-h7-az6007.fw
webcamd: Cannot find USB deviceroot@kg-f4#
root@kg-f4# webcamd -d ugen3.2 -f dvb-usb-terratec-h7-az6007.fw
webcamd: Cannot find USB deviceroot@kg-f4#

Doesn't look like it is going to work.

2010-12-31: The device needs external power to operate. When connected to a machine running FreeBSD 8.1-stable, I get this in /var/log/messages:

Dec 31 16:29:09 kg-v2 kernel: ugen3.2: <TerraTec Electronic GmbH> at usbus3

and here is the relevant line from usbconfig:

ugen3.2: <TerraTec H7 TerraTec Electronic GmbH> at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON

A dump description from usbconfig:

root@kg-v2# usbconfig -u 3 -a 2 dump_device_desc
ugen3.2: <TerraTec H7 TerraTec Electronic GmbH> at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON

  bLength = 0x0012
  bDescriptorType = 0x0001
  bcdUSB = 0x0200
  bDeviceClass = 0x0000
  bDeviceSubClass = 0x0000
  bDeviceProtocol = 0x0000
  bMaxPacketSize0 = 0x0040
  idVendor = 0x0ccd
  idProduct = 0x10a3
  bcdDevice = 0x0003
  iManufacturer = 0x0001  <TerraTec Electronic GmbH>
  iProduct = 0x0002  <TerraTec H7>
  iSerialNumber = 0x0003  <0008CA1EB0EC>
  bNumConfigurations = 0x0001

Current config:

root@kg-v2# usbconfig -u 3 -a 2 dump_curr_config_desc
ugen3.2: <TerraTec H7 TerraTec Electronic GmbH> at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON


 Configuration index 0

    bLength = 0x0009
    bDescriptorType = 0x0002
    wTotalLength = 0x0020
    bNumInterfaces = 0x0001
    bConfigurationValue = 0x0001
    iConfiguration = 0x0000  <no string>
    bmAttributes = 0x00c0
    bMaxPower = 0x0032

    Interface 0
      bLength = 0x0009
      bDescriptorType = 0x0004
      bInterfaceNumber = 0x0000
      bAlternateSetting = 0x0000
      bNumEndpoints = 0x0002
      bInterfaceClass = 0x00ff
      bInterfaceSubClass = 0x0000
      bInterfaceProtocol = 0x0000
      iInterface = 0x0000  <no string>

     Endpoint 0
        bLength = 0x0007
        bDescriptorType = 0x0005
        bEndpointAddress = 0x0081  <IN>
        bmAttributes = 0x0002  <BULK>
        wMaxPacketSize = 0x0200
        bInterval = 0x0064
        bRefresh = 0x0000
        bSynchAddress = 0x0000

     Endpoint 1
        bLength = 0x0007
        bDescriptorType = 0x0005
        bEndpointAddress = 0x0082  <IN>
        bmAttributes = 0x0002  <BULK>
        wMaxPacketSize = 0x0200
        bInterval = 0x0001
        bRefresh = 0x0000
        bSynchAddress = 0x0000

That's it, so far.