willblades / sdrtrunk

Automatically exported from code.google.com/p/sdrtrunk
0 stars 1 forks source link

Cannot configure second USB tuner #19

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. More than one USB tuner connected.
2. Starting application via batch file.
3. Happens every time.

What is the expected output? What do you see instead?

Here is an excerpt from the output:

20:07:21.437 [main] INFO  source.tuner.TunerManager - discovered [3] attached US
B devices
        [RECOGNIZED]            Bus 005 Device 002: ID 0bda:2838 RTL2832 SDR
        [NOT RECOGNIZED]        Bus 001 Device 003: ID 2166:6649
        [RECOGNIZED]            Bus 005 Device 003: ID 0bda:2838 RTL2832 SDR

This is OK. Middle device is USB mouse.

20:07:24.875 [main] ERROR source.tuner.TunerManager - error constructing tuner
source.SourceException: error during init()
        at source.tuner.rtl.r820t.R820TTunerController.init(Unknown Source) ~[SD
RTrunk.jar:na]
        at source.tuner.TunerManager.loadTuners(Unknown Source) [SDRTrunk.jar:na
]
        at source.tuner.TunerManager.<init>(Unknown Source) [SDRTrunk.jar:na]
        at controller.ResourceManager.<init>(Unknown Source) [SDRTrunk.jar:na]
        at controller.ResourceManager.<init>(Unknown Source) [SDRTrunk.jar:na]
        at gui.SDRTrunk.<init>(Unknown Source) [SDRTrunk.jar:na]
        at gui.SDRTrunk.main(Unknown Source) [SDRTrunk.jar:na]
Caused by: javax.usb.UsbPlatformException: USB error 9: Unable to submit control
 message: Pipe error
        at org.usb4java.javax.ExceptionUtils.createPlatformException(ExceptionUt
ils.java:39) ~[usb4java-javax-1.2.0.jar:na]
        at org.usb4java.javax.AbstractIrpQueue.processControlIrp(AbstractIrpQueu
e.java:229) ~[usb4java-javax-1.2.0.jar:na]
        at org.usb4java.javax.ControlIrpQueue.processIrp(ControlIrpQueue.java:41
) ~[usb4java-javax-1.2.0.jar:na]
        at org.usb4java.javax.ControlIrpQueue.processIrp(ControlIrpQueue.java:18
) ~[usb4java-javax-1.2.0.jar:na]
        at org.usb4java.javax.AbstractIrpQueue.process(AbstractIrpQueue.java:104
) ~[usb4java-javax-1.2.0.jar:na]
        at org.usb4java.javax.AbstractIrpQueue$1.run(AbstractIrpQueue.java:73) ~
[usb4java-javax-1.2.0.jar:na]
        at java.lang.Thread.run(Unknown Source) ~[na:1.7.0_67]

20:07:24.890 [main] INFO  source.tuner.TunerManager - Configuring USB Tuners

20:07:24.890 [main] INFO  source.tuner.TunerManager - discovered and using [2] a
vailable tuner devices
        [LOADED]        0BDA:2838 RTL2832 SDR/R820T #00000013
        [NOT LOADED]    0BDA:2838 Unknown - Error constructing R820T tuner contr
oller - error during init()

could not load 'loading.png'

What version of the product are you using? On what operating system?

Unable to determine .jar version. 
Windows XP Pro SP3.

Please provide any additional information below.

Original issue reported on code.google.com by davidtho...@gmail.com on 27 Sep 2014 at 12:18

GoogleCodeExporter commented 9 years ago
Downloaded newer version. I think it loads both tuners, but see the next Issue 
(Fatal JRE Error).

Original comment by davidtho...@gmail.com on 27 Sep 2014 at 12:35

GoogleCodeExporter commented 9 years ago
I replaced the entire usb4java High Level api with the usb4java low-level api.  
I'm not sure if this will resolve this issue, but the offending code is no 
longer part of the code base.

If the issue occurs again with the new build dated today or later, then please 
resubmit a ticket

Original comment by dennis.s...@gmail.com on 26 Oct 2014 at 11:24