Skip to contentSkip to conversation

TechnoTrend TT-USB2.0 driver appears broken

Possible regression Hans Petter Selasky 1 participant 2 messages Feb 22, 2022 – Feb 23, 2022 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

Hi,

Do the technotrend TT-USB 2.0 devices still work with Linux v5.17 ?

Last known working version was Linux v3.16.

ugen0.8: <TechnoTrend TT-USB2.0> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (10mA)

bLength = 0x0012
bDescriptorType = 0x0001
bcdUSB = 0x0200
bDeviceClass = 0x0000 <Probed by interface class> bDeviceSubClass = 0x0000
bDeviceProtocol = 0x0000
bMaxPacketSize0 = 0x0040
idVendor = 0x0b48
idProduct = 0x3007
bcdDevice = 0x0101
iManufacturer = 0x0001 <TechnoTrend> iProduct = 0x0002 <TT-USB2.0> iSerialNumber = 0x0000 <no string> bNumConfigurations = 0x0001

First I get this error:

webcamd 98640 - - pctv452e: I2C error -5; AA 91 CC 00 01 -> 0x803003000h

Removed "drivers/media/usb/dvb-usb/pctv452e.c"

Quoted 5 lines
        /* I2C device didn't respond as expected. */
        ret = -EREMOTEIO;
        if (buf[6] < rcv_len) {
                goto failed;
        }

Then w_scan complained:

Quoted 18 lines

w_scan version 20120415 (compiled for DVB API 5.11) using settings for 0.8 west Thor 3/5 & Intelsat 10-02 scan type SATELLITE, channellist 53
output format vdr-1.7
WARNING: could not guess your codepage. Falling back to 'UTF-8' output charset 'UTF-8', use -C <charset> to override -_-_-_-_ Getting frontend capabilities-_-_-_-_
Using DVB API 5.b
frontend 'STB0899 Multistandard' supports INVERSION_AUTO
DVB-S
DVB-S2
FREQ (0.95GHz ... 2.15GHz)
SRATE (5.000MSym/s ... 45.000MSym/s)
using LNB "UNIVERSAL"
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
(time: 00:00) (time: 00:05) skipped: (srate 1450000 unsupported by driver)

Quoted 5 lines

initial_tune:2265: Setting frontend failed S f = 11166 kHz V SR = 1450 7/8 0,35 QPSK
(time: 00:06) skipped: (srate 3100000 unsupported by driver)

initial_tune:2265: Setting frontend failed S f = 11182 kHz V SR = 3100 7/8 0,35 QPSK
(time: 00:08) skipped: (srate 2142000 unsupported by driver)

Tried to change:

Quoted 7 lines
static const struct dvb_frontend_ops stb0899_ops = {
        .delsys = { SYS_DVBS, SYS_DVBS2, SYS_DSS },
        .info = {
                .name                   = "STB0899 Multistandard",
                .frequency_min_hz       =  950 * MHz,
                .frequency_max_hz       = 2150 * MHz,
                .symbol_rate_min        =   500000,

^^^ this value

Quoted 1 line
                .symbol_rate_max        = 45000000,

But no luck.

--HPS

#1 lore raw
Quoted 70 lines · Hans Petter Selasky

Hi,

Do the technotrend TT-USB 2.0 devices still work with Linux v5.17 ?

Last known working version was Linux v3.16.

ugen0.8: <TechnoTrend TT-USB2.0> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (10mA)

  bLength = 0x0012
  bDescriptorType = 0x0001
  bcdUSB = 0x0200
  bDeviceClass = 0x0000  <Probed by interface class> bDeviceSubClass = 0x0000
  bDeviceProtocol = 0x0000
  bMaxPacketSize0 = 0x0040
  idVendor = 0x0b48
  idProduct = 0x3007
  bcdDevice = 0x0101
  iManufacturer = 0x0001  <TechnoTrend> iProduct = 0x0002  <TT-USB2.0> iSerialNumber = 0x0000  <no string> bNumConfigurations = 0x0001

First I get this error:

webcamd 98640 - - pctv452e: I2C error -5; AA 91  CC 00 01 -> 0x803003000h

Removed "drivers/media/usb/dvb-usb/pctv452e.c"

Quoted 5 lines

        /* I2C device didn't respond as expected. */ ret = -EREMOTEIO;
        if (buf[6] < rcv_len) {
                goto failed;
        }

Then w_scan complained:

Quoted 17 lines

w_scan version 20120415 (compiled for DVB API 5.11) using settings for 0.8 west Thor 3/5 & Intelsat 10-02 scan type SATELLITE, channellist 53
output format vdr-1.7
WARNING: could not guess your codepage. Falling back to 'UTF-8' output charset 'UTF-8', use -C <charset> to override -_-_-_-_ Getting frontend capabilities-_-_-_-_ Using DVB API 5.b frontend 'STB0899 Multistandard' supports
INVERSION_AUTO
DVB-S
DVB-S2
FREQ (0.95GHz ... 2.15GHz)
SRATE (5.000MSym/s ... 45.000MSym/s)
using LNB "UNIVERSAL" -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ (time: 00:00) (time:
00:05)     skipped: (srate 1450000 unsupported by driver)

Quoted 5 lines

initial_tune:2265: Setting frontend failed S  f = 11166 kHz V SR = 1450  7/8 0,35  QPSK (time: 00:06)     skipped: (srate 3100000 unsupported by driver)

initial_tune:2265: Setting frontend failed S  f = 11182 kHz V SR = 3100  7/8 0,35  QPSK (time: 00:08)     skipped: (srate 2142000 unsupported by driver)

Tried to change:

Quoted 7 lines

static const struct dvb_frontend_ops stb0899_ops = { .delsys = { SYS_DVBS, SYS_DVBS2, SYS_DSS }, .info = {
                .name                   = "STB0899 Multistandard", .frequency_min_hz       =  950 * MHz, .frequency_max_hz       = 2150 * MHz, .symbol_rate_min        =   500000,

Quoted 4 lines

^^^ this value

Quoted 1 line

                .symbol_rate_max        = 45000000,

But no luck.

Looks like a device firmware update did the trick.

--HPS