Live data from Hacker News

Show HN: I built an HTML5 RTL-SDR application

radio.ea1iti.es

31–40 of 62 posts

Re: Show HN: I built an HTML5 RTL-SDR application

#31

I'm unable to get it to work with my receiver (setRegBuffer failed block=0x600 reg=74, Caused By: RadioError.UsbTransferError: USB write failed value=0x74 index=0x610 status=stall), but I love the idea! Looking forward to a local webusb+rtlsdr based Flightradar.

Is your stick an RTL-SDR Blog V4? Because it looks like the failure happens when accessing a R828D tuner, which should be supported.

Re: Show HN: I built an HTML5 RTL-SDR application

#33
post #31

I'm unable to get it to work with my receiver (setRegBuffer failed block=0x600 reg=74, Caused By: RadioError.UsbTransferError: USB write failed value=0x74 index=0x610 status=stall), but I love the idea! Looking forward to a local webusb+rtlsdr based Flightradar.

Is your stick an RTL-SDR Blog V4? Because it looks like the failure happens when accessing a R828D tuner, which should be supported.

Unfortunately I don't know what device it is. Would a lsusb help?

Re: Show HN: I built an HTML5 RTL-SDR application

#34
post #31

Earlier quoted context omitted.

Is your stick an RTL-SDR Blog V4? Because it looks like the failure happens when accessing a R828D tuner, which should be supported.

Unfortunately I don't know what device it is. Would a lsusb help?

If you don't know, it probably isn't; they brand it quite extensively both outside and in the USB manufacturer strings (it appears as "Blog V4" in the device selection window.)

If it is indeed not one of them, I'd be interested in getting one to test on, so I'd like to know where you got it from. Can you email me? My address is trivial to find or figure out knowing my website is https://jacobo.tarrio.org :-)

Re: Show HN: I built an HTML5 RTL-SDR application

#35
post #16

Earlier quoted context omitted.

Mozilla's position is to not implement this API due to security and privacy concerns, and I agree with them on that even though I'd really like to use this API too.

Given that it's been available in Chrome for 7 years, if there were any security and privacy concerns we should be able to point to at least one abuse of this API right?

I'd say predicting instances of abuse of this API is tied to usage of the API, not existence of the API. I'd argue it's extremely generous to say we'd see a case of abuse after 10 deployments of this API. Can we point to at least 10 deployments of this API?

[Ed.:] https://github.com/webusb/awesome lists applications using this API. It's 11≈14 depending on how you count. Most of them are pretty fringe, except arguably the 3 update/flash tools and maybe the Android mirror.

I'm not sure I'd expect to have seen a case of abuse here yet.

Re: Show HN: I built an HTML5 RTL-SDR application

#36
post #35

Earlier quoted context omitted.

Given that it's been available in Chrome for 7 years, if there were any security and privacy concerns we should be able to point to at least one abuse of this API right?

I'd say predicting instances of abuse of this API is tied to usage of the API, not existence of the API. I'd argue it's extremely generous to say we'd see a case of abuse after 10 deployments of this API. Can we point to at least 10 deployments of this API? [Ed.:] https://github.com/webusb/awesome lists applications using this API. It's 11≈14 depending on how you count. Most of them are pretty fringe, except arguably…

That doesn't make any sense. The API is available for abuse independently of how many legitimate users there are.

Or are you thinking only about attacks where the attackers have a genuine reason to ask for USB access? Because IMO that is going to pretty rare, and also not very interesting because in those cases the alternative is you download an executable with unlimited permissions.

But in any case it makes no difference. If the API has been available to 75% of users for 7 years, it's downright idiotic to think making it available to 77% of users will make a difference.

Re: Show HN: I built an HTML5 RTL-SDR application

#38
post #37

This is awesome, great work! Is there anywhere I can follow development on this? I'm really interested in seeing this evolve.

I don't have a dedicated place for announcements and such, but I post on my Bluesky whenever there's a major improvement (@jacobo.tarrio.org).

And you can always star it on GitHub: https://github.com/jtarrio/radioreceiver

Re: Show HN: I built an HTML5 RTL-SDR application

#40
post #16

I wish Firefox would implement this API too, it's been years.

Mozilla's position is to not implement this API due to security and privacy concerns, and I agree with them on that even though I'd really like to use this API too.

Good!
Post reply on HN