bc125py icon indicating copy to clipboard operation
bc125py copied to clipboard

Scanner not found

Open geogis56 opened this issue 3 years ago • 7 comments

In Arch Linux, using the command sudo bc125py import --csv channels.csv results in the message [ERROR] No scanner found . Using the command sudo modprobe usbserial results in a message that usbserial is not found in the kernel directory. Both pyserial and pyudev are installed. Using this tool on a Debian machine worked without error. Only on Arch did I experience the issue, which likely has to do with the kernel modules.

geogis56 avatar Sep 26 '23 11:09 geogis56

This issue created as a result of email conversation. PySerial does not find device on Arch. Will investigate once I get some time.
Thanks.

itsmaxymoo avatar Sep 29 '23 18:09 itsmaxymoo

I'm getting this issue on a Debian based OS (Raspberry PI OS), I am using a UBC125XLT but the protocol seems to be the same according to the documentation. Any thoughts?

pascalla avatar May 20 '24 19:05 pascalla

@pascalla Please run the program as root with the verbose -v command line option, and paste the output. If it's just a matter of allowing the model string and everything else is the same, then it should be an easy fix.

itsmaxymoo avatar May 21 '24 17:05 itsmaxymoo

@itsmaxymoo I managed to get it working with a minor tweak.

For anyone else who may stumble across this, you can get this working by changing the model number to "BC125XLT" on these lines https://github.com/itsmaxymoo/bc125py/blob/c2e3b446f6a38eac51caf5c06ab07b12637b08b4/bc125py/con.py#L230

and then running with the legacy detection flag

I think something may be slightly different as couldn't global locking/unlocking seemed to be very temperamental! Wouldn't show as locked out on the scanner (or be locked out) but would show on the list using the GLF command in shell. However I don't think that is an issue for this repo.

pascalla avatar May 21 '24 17:05 pascalla

@pascalla That is suggesting it may be just an issue of enabling the different model... Would you mind sending me the programming manual for your specific model?

itsmaxymoo avatar May 21 '24 17:05 itsmaxymoo

@itsmaxymoo I haven't been able to find a specific manual for my modelm most of the references on forums/github lead to it being the same BC125AT Operation Specification

pascalla avatar May 21 '24 19:05 pascalla

@pascalla it appears the difference between the two models are the range of frequencies they support, being that they are essentially the same thing for different countries. I am thinking of a way to efficiently integrate this into the software.

itsmaxymoo avatar Sep 11 '24 13:09 itsmaxymoo