luigifab / python-radexreader

Reader for the RADEX RD1212 and the RADEX ONE Geiger counters.
GNU General Public License v2.0
11 stars 3 forks source link

RADEX ONE (serial) not found Linux FIX #17

Closed wigiglenekit closed 3 months ago

wigiglenekit commented 4 months ago

dmesg before fix:

[   88.323166] usb 2-2: New USB device found, idVendor=abba, idProduct=a011, bcdDevice= 1.00
[   88.323181] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   88.323188] usb 2-2: Product: RADEX ONE
[   88.323192] usb 2-2: Manufacturer: Silicon Labs
[   88.323197] usb 2-2: SerialNumber: 0001

its not detecting uart I'm not an expert in the field, but it seems to me that the manufacturer changed the product id and the driver is not loaded on it FIX (Run as Root!):

modprobe cp210x
echo [idVendor] [idProduct] >/sys/bus/usb-serial/drivers/cp210x/new_id

for example:

modprobe cp210x
echo abba a011 >/sys/bus/usb-serial/drivers/cp210x/new_id

after fix:

[  245.033067] usbcore: registered new interface driver cp210x
[  245.033076] usbserial: USB Serial support registered for cp210x
[  273.084575] cp210x 2-2:1.0: cp210x converter detected
[  273.116442] usb 2-2: cp210x converter now attached to ttyUSB0

and reader works:

2024-04-30 19:36:46+00:00    0.10 µSv/h  ±75% (0.03 ≤ 0.10 ≤ 0.18)
                     732.54 µSv accumulated /     17 CPM  [±75%]

source

maybe it relates to #14 #7

wigiglenekit commented 4 months ago

Does the source also say that these IDs can be passed on to kernel developers? This sounds logical ¯\_(ツ)_/¯

luigifab commented 4 months ago

Wow, interesting, thanks!