xr_usb_serial_common limited to 32 devices

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty margin-bottom:0;







up vote
1
down vote

favorite












I'm using 64 serial devices connected to one machine with Ubuntu 18.04 LTS.



All devices are from Exar Corp. It worked like a charm with 32 devices but failed with 64. Only 32 /dev/ttyXRUSB* got created.



Dmesg error some times:



no more free xr_usb_serial devices


Google didn't get me any results and after many trial & error this solved the problem. So maybe someone will find this information useful:



  1. Downloaded driver source from exar


  2. In xr_usb_serial_common.h I changed line 30 to



     #define XR_USB_SERIAL_TTY_MINORS 64


  3. Compile, insmod and disabled/blacklisted old driver.


So it works, but I don't know exactly what I've caused and if there any side effects?







share|improve this question





















  • Probably no side effects: The driver needs to reserve space to hold information for the devices. Now you've allocated more space, which is wasteful for those not needing as many devices (most people won't), but otherwise harmless.
    – dirkt
    Jul 18 at 12:26










  • Thanks :-) Seems that no problems occured since two days.
    – Christian
    Jul 19 at 19:04
















up vote
1
down vote

favorite












I'm using 64 serial devices connected to one machine with Ubuntu 18.04 LTS.



All devices are from Exar Corp. It worked like a charm with 32 devices but failed with 64. Only 32 /dev/ttyXRUSB* got created.



Dmesg error some times:



no more free xr_usb_serial devices


Google didn't get me any results and after many trial & error this solved the problem. So maybe someone will find this information useful:



  1. Downloaded driver source from exar


  2. In xr_usb_serial_common.h I changed line 30 to



     #define XR_USB_SERIAL_TTY_MINORS 64


  3. Compile, insmod and disabled/blacklisted old driver.


So it works, but I don't know exactly what I've caused and if there any side effects?







share|improve this question





















  • Probably no side effects: The driver needs to reserve space to hold information for the devices. Now you've allocated more space, which is wasteful for those not needing as many devices (most people won't), but otherwise harmless.
    – dirkt
    Jul 18 at 12:26










  • Thanks :-) Seems that no problems occured since two days.
    – Christian
    Jul 19 at 19:04












up vote
1
down vote

favorite









up vote
1
down vote

favorite











I'm using 64 serial devices connected to one machine with Ubuntu 18.04 LTS.



All devices are from Exar Corp. It worked like a charm with 32 devices but failed with 64. Only 32 /dev/ttyXRUSB* got created.



Dmesg error some times:



no more free xr_usb_serial devices


Google didn't get me any results and after many trial & error this solved the problem. So maybe someone will find this information useful:



  1. Downloaded driver source from exar


  2. In xr_usb_serial_common.h I changed line 30 to



     #define XR_USB_SERIAL_TTY_MINORS 64


  3. Compile, insmod and disabled/blacklisted old driver.


So it works, but I don't know exactly what I've caused and if there any side effects?







share|improve this question













I'm using 64 serial devices connected to one machine with Ubuntu 18.04 LTS.



All devices are from Exar Corp. It worked like a charm with 32 devices but failed with 64. Only 32 /dev/ttyXRUSB* got created.



Dmesg error some times:



no more free xr_usb_serial devices


Google didn't get me any results and after many trial & error this solved the problem. So maybe someone will find this information useful:



  1. Downloaded driver source from exar


  2. In xr_usb_serial_common.h I changed line 30 to



     #define XR_USB_SERIAL_TTY_MINORS 64


  3. Compile, insmod and disabled/blacklisted old driver.


So it works, but I don't know exactly what I've caused and if there any side effects?









share|improve this question












share|improve this question




share|improve this question








edited Jul 18 at 11:44









slm♦

232k65479649




232k65479649









asked Jul 18 at 9:46









Christian

61




61











  • Probably no side effects: The driver needs to reserve space to hold information for the devices. Now you've allocated more space, which is wasteful for those not needing as many devices (most people won't), but otherwise harmless.
    – dirkt
    Jul 18 at 12:26










  • Thanks :-) Seems that no problems occured since two days.
    – Christian
    Jul 19 at 19:04
















  • Probably no side effects: The driver needs to reserve space to hold information for the devices. Now you've allocated more space, which is wasteful for those not needing as many devices (most people won't), but otherwise harmless.
    – dirkt
    Jul 18 at 12:26










  • Thanks :-) Seems that no problems occured since two days.
    – Christian
    Jul 19 at 19:04















Probably no side effects: The driver needs to reserve space to hold information for the devices. Now you've allocated more space, which is wasteful for those not needing as many devices (most people won't), but otherwise harmless.
– dirkt
Jul 18 at 12:26




Probably no side effects: The driver needs to reserve space to hold information for the devices. Now you've allocated more space, which is wasteful for those not needing as many devices (most people won't), but otherwise harmless.
– dirkt
Jul 18 at 12:26












Thanks :-) Seems that no problems occured since two days.
– Christian
Jul 19 at 19:04




Thanks :-) Seems that no problems occured since two days.
– Christian
Jul 19 at 19:04















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f456948%2fxr-usb-serial-common-limited-to-32-devices%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes










 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f456948%2fxr-usb-serial-common-limited-to-32-devices%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Bahrain

Postfix configuration issue with fips on centos 7; mailgun relay