timrudorf Posted February 17, 2023 Share Posted February 17, 2023 I would love to see "usb_serial_simple" added to the kernel. I need my TETRA PEI device to be detected as tty* 1 Quote Link to comment
GRRRRRRR Posted February 17, 2023 Share Posted February 17, 2023 What do you mean, added to the kernel? Shouldn't it be a ko file that can be insmodded when needed? I am confused. Please share more details. I use some stuff like this for home automation as well maybe it will be useful for me. Quote Link to comment
timrudorf Posted February 17, 2023 Author Share Posted February 17, 2023 (edited) Sadly there is no ko file for usb_serial_simple that can be added by modprobe. When I use my device with a Debian VM, it works out of the box. When I check the driver’s name with „lsusb“ it is called „usb_serial_simple“ Edited February 17, 2023 by timrudorf Quote Link to comment
GRRRRRRR Posted February 17, 2023 Share Posted February 17, 2023 I am not sure how that is supposed to work. But I remember there were some Ko files that were later integrated into the kernel itself. So something similar may be happening with this stuff. Meanwhile, you can try to compile this stuff https://github.com/torvalds/linux/tree/master/drivers/usb/serial to see what ko files come out of it if any... ? Quote Link to comment
GRRRRRRR Posted February 17, 2023 Share Posted February 17, 2023 And here I found some info how to compile kernel + modules for more specifically slackware maybe a module with be available that has this tty driver https://docs.slackware.com/howtos:slackware_admin:using_slackwares_kernel_build_scripts Quote Link to comment
ich777 Posted February 19, 2023 Share Posted February 19, 2023 On 2/17/2023 at 12:47 PM, timrudorf said: I would love to see "usb_serial_simple" added to the kernel. There is already the plugin USB Serial in the CA App from @SimonF please try it and see if it is working (reboot required after installation). I don‘t know what this device and I don‘t know if the plugin does handle this device too, please keep me updated if it is working for you. If not I can look into it what‘s needed to add it to the plugin. Quote Link to comment
SimonF Posted February 19, 2023 Share Posted February 19, 2023 2 hours ago, ich777 said: There is already the plugin USB Serial in the CA App from @SimonF please try it and see if it is working (reboot required after installation). I don‘t know what this device and I don‘t know if the plugin does handle this device too, please keep me updated if it is working for you. If not I can look into it what‘s needed to add it to the plugin. @ich777 the plugin has serial_options so serial_simple would need to be added. 1 Quote Link to comment
ich777 Posted February 19, 2023 Share Posted February 19, 2023 On 2/17/2023 at 12:47 PM, timrudorf said: TETRA PEI Can you please explain what this is and maybe a link to it? I will have a look at that, I‘m assuming you are on 6.11.5 correct? Quote Link to comment
timrudorf Posted February 19, 2023 Author Share Posted February 19, 2023 3 hours ago, ich777 said: There is already the plugin USB Serial in the CA App from @SimonF please try it and see if it is working (reboot required after installation). I don‘t know what this device and I don‘t know if the plugin does handle this device too, please keep me updated if it is working for you. If not I can look into it what‘s needed to add it to the plugin. I already tried this one but I did not restart my system after the installation. I will try this again later and keep you updated. Quote Link to comment
timrudorf Posted February 19, 2023 Author Share Posted February 19, 2023 (edited) 49 minutes ago, ich777 said: Can you please explain what this is and maybe a link to it? I will have a look at that, I‘m assuming you are on 6.11.5 correct? It is a pager for firefighters. here is the link to the official website: https://www.motorolasolutions.com/de_xc/products/tetra/terminals/tpg2200.html and yes, I’m on latest stable. Edited February 19, 2023 by timrudorf Quote Link to comment
ich777 Posted February 19, 2023 Share Posted February 19, 2023 1 hour ago, timrudorf said: It is a pager for firefighters. May i ask if you use this in combination with software? I will keep you updated about that (will take me a bit because I‘m currently mot at home), have to look into it what other modules it pulls in. Quote Link to comment
timrudorf Posted February 19, 2023 Author Share Posted February 19, 2023 5 hours ago, ich777 said: There is already the plugin USB Serial in the CA App from @SimonF please try it and see if it is working (reboot required after installation). I don‘t know what this device and I don‘t know if the plugin does handle this device too, please keep me updated if it is working for you. If not I can look into it what‘s needed to add it to the plugin. I tried again but this time with a restart afterwards. Sadly it did not work. Quote Link to comment
timrudorf Posted February 19, 2023 Author Share Posted February 19, 2023 (edited) 41 minutes ago, ich777 said: May i ask if you use this in combination with software? I will keep you updated about that (will take me a bit because I‘m currently mot at home), have to look into it what other modules it pulls in. Sure. It use it with a self writen program in python (module: pyserial) that communicates by AT comands. Thank you for your efforts! Edited February 19, 2023 by timrudorf Quote Link to comment
ich777 Posted February 19, 2023 Share Posted February 19, 2023 12 minutes ago, timrudorf said: Thank you for your efforts! Can you post your Diagnostics with the device attached, I‘m mostly interested in the vendor and device ID. Quote Link to comment
timrudorf Posted February 19, 2023 Author Share Posted February 19, 2023 1 hour ago, ich777 said: Can you post your Diagnostics with the device attached, I‘m mostly interested in the vendor and device ID. Yeah sure: ID 0cad:9016 Motorola CGISS TETRA PEI interface 1 Quote Link to comment
ich777 Posted February 19, 2023 Share Posted February 19, 2023 3 hours ago, timrudorf said: Yeah sure: Please do the following: Make sure that you have installed @SimonF's plugin "USB Manager Serial Options addon" Download the attached txz and txz.md5 package from this post Navigate through SMB or your favorite SCP software to /boot/config/plugins/Usb_manager_serial_options_addon/packages/5.19.17/ Delete the existing txz and txz.md5 in this folder Place the downloaded files from the attachment in the above mentioned folder Reboot After that the module should be available and hopefully should be loaded automatically. Please let me know if it is loaded automatically, so to speak if the device is found automatically and the driver is loaded or if you have to do a manually with: modprobe usb-serial-simple Please note that the this attached packages will only work on Unraid 6.11.5! Keep me updated and I can add it to the plugin. usbserial-20230219-5.19.17-Unraid-1.txz usbserial-20230219-5.19.17-Unraid-1.txz.md5 Quote Link to comment
timrudorf Posted February 19, 2023 Author Share Posted February 19, 2023 6 hours ago, ich777 said: Please do the following: Make sure that you have installed @SimonF's plugin "USB Manager Serial Options addon" Download the attached txz and txz.md5 package from this post Navigate through SMB or your favorite SCP software to /boot/config/plugins/Usb_manager_serial_options_addon/packages/5.19.17/ Delete the existing txz and txz.md5 in this folder Place the downloaded files from the attachment in the above mentioned folder Reboot After that the module should be available and hopefully should be loaded automatically. Please let me know if it is loaded automatically, so to speak if the device is found automatically and the driver is loaded or if you have to do a manually with: modprobe usb-serial-simple Please note that the this attached packages will only work on Unraid 6.11.5! Keep me updated and I can add it to the plugin. usbserial-20230219-5.19.17-Unraid-1.txz 17.11 kB · 1 download usbserial-20230219-5.19.17-Unraid-1.txz.md5 33 B · 1 download works like a charm! thank you so much! 1 Quote Link to comment
ich777 Posted February 19, 2023 Share Posted February 19, 2023 2 minutes ago, timrudorf said: works like a charm! Did it work OOB? There was a reason why I wrote that you should tell me if it works without doing the modprobe or with the modprobe because I want to add this module to the plugin and I have to maybe edit the plugin if you had to do the manual modprobe. Quote Link to comment
timrudorf Posted February 19, 2023 Author Share Posted February 19, 2023 17 minutes ago, ich777 said: Did it work OOB? There was a reason why I wrote that you should tell me if it works without doing the modprobe or with the modprobe because I want to add this module to the plugin and I have to maybe edit the plugin if you had to do the manual modprobe. Sorry my bad. Overread this one. worked oob. Did not had to modprobe. 1 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.