<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Linux USB ports</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/126289/linux-usb-ports</link><description>I have a nrf9160dk that drives a screen via SPI, using an IT8951 controller. The firmware driving the screen works fine if I plug the USB cable on a power bank or using MS Windows, but the screen updates are not performed when using Linux as host machine</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 09 Jan 2026 08:09:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/126289/linux-usb-ports" /><item><title>RE: Linux USB ports</title><link>https://devzone.nordicsemi.com/thread/558352?ContentTypeID=1</link><pubDate>Fri, 09 Jan 2026 08:09:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6057cb91-56ed-4070-b6b5-1a41b3f80934</guid><dc:creator>amelio</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;I am going to ask our HW specialist, as I am a SFW developer .. I will keep you posted.&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;
&lt;p&gt;Amelio&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Linux USB ports</title><link>https://devzone.nordicsemi.com/thread/558350?ContentTypeID=1</link><pubDate>Fri, 09 Jan 2026 08:06:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2942d2b3-04cf-4549-aa9a-5a5144f46b5e</guid><dc:creator>Simon D-M</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I might be wrong, but I don&amp;#39;t see any ground sharing between the DK and the driver module. Can you confirm it ?&lt;/p&gt;
&lt;p&gt;If you indeed don&amp;#39;t have any ground sharing, can you please connect both GNDs.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon D-M&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Linux USB ports</title><link>https://devzone.nordicsemi.com/thread/558349?ContentTypeID=1</link><pubDate>Fri, 09 Jan 2026 07:57:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c38f60d2-1c64-4513-bcfb-af762805430b</guid><dc:creator>amelio</dc:creator><description>&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1767945445416v1.jpeg" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Linux USB ports</title><link>https://devzone.nordicsemi.com/thread/558323?ContentTypeID=1</link><pubDate>Thu, 08 Jan 2026 17:18:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:95db48e4-9d3e-4db1-9152-1f98bc962149</guid><dc:creator>amelio</dc:creator><description>&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/home/amca/Desktop/im1.jpg" /&gt;Hi Simon, I tried to resend the pic (using the INSERT label) but maybe I cannot follow the right way, could you please help me ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Linux USB ports</title><link>https://devzone.nordicsemi.com/thread/558294?ContentTypeID=1</link><pubDate>Thu, 08 Jan 2026 14:22:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e5afed1-73d0-4262-9edd-2478e07c1e6a</guid><dc:creator>Simon D-M</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="amelio"]below a picture of system.[/quote]
&lt;p&gt;I think you didn&amp;#39;t send the picture. Can you please resend it ?&lt;/p&gt;
[quote user="amelio"]my colleague told me the current can be up 500 mA so we are very close to Linux limit[/quote]
&lt;p&gt;I think it would then be a good idea to measure the power usage to see it there are some amperage issue or some voltage drop. Maybe a capacitor close to the screen / driver can do the trick.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon D-M&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Linux USB ports</title><link>https://devzone.nordicsemi.com/thread/558145?ContentTypeID=1</link><pubDate>Wed, 07 Jan 2026 12:19:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff16ccc0-4076-45be-90fa-d4a5d5e69664</guid><dc:creator>amelio</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;1) The computer is the same (a desktop machine). Windows is version 11, Linux is Ubuntu 24&lt;/p&gt;
&lt;p&gt;2) my colleague told me the current can be up 500 mA so we are very close to Linux limit&lt;/p&gt;
&lt;p&gt;3) below a picture of system. I don&amp;#39;t have the code right now as it is under development by a colleague. I can ask him if you consider it very important.&lt;img style="max-height:1506px;max-width:1040px;" alt=" " src="https://devzone.nordicsemi.com/home/amca/Desktop/im1.jpg" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Linux USB ports</title><link>https://devzone.nordicsemi.com/thread/557947?ContentTypeID=1</link><pubDate>Mon, 05 Jan 2026 15:03:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:62eb50a2-0e26-49d6-9479-54eb48960790</guid><dc:creator>Simon D-M</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="amelio"]The Maximum power command gives (BTW the ID is 1064 and not 1055):[/quote]
&lt;p&gt;My bad, apparently the product ID is not always the same everywhere. On my device, it was 1055.&lt;/p&gt;
[quote user="amelio"]Under MS Windows I have a serial terminal opened when it works fine. Under Linux it do not work with or without the serial terminal opened.[/quote]
&lt;p&gt;When you tried on Linux and Windows did you use different computer or is it always the same one ? It may be caused by a difference between computer and not OS.&amp;nbsp;&lt;/p&gt;
[quote user="amelio"]MaxPower 500mA[/quote]
&lt;p&gt;Do you know what is the theoretical maximum value that the screen + driver should be drawing ?&lt;/p&gt;
&lt;p&gt;It might be useful to monitor the current (and maybe even the voltage) to be sure that the problem is about the power and not something else.&lt;/p&gt;
&lt;p&gt;Some other possibilities can be that there is a grounding issue between the screen/IT8951 and the board. Or Maybe you need a bigger capacitor for the IT8951 or the screen. There are too many possibilities to have a definitive answer there.&lt;/p&gt;
[quote user="amelio"]Let me know if this info is enough for your needs.[/quote]
&lt;p&gt;Would it be possible to have some schematics / photos. And Maybe even a bit of code ? I can convert this ticket to private if you don&amp;#39;t want to share them publicly (ask me first, and send the files only when the ticket is private), however if you don&amp;#39;t mind, I would rather have the ticket public so that if someone has the same problem, the ticket can be found.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon D-M&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Linux USB ports</title><link>https://devzone.nordicsemi.com/thread/557849?ContentTypeID=1</link><pubDate>Sat, 03 Jan 2026 10:24:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:29756973-7974-41ce-835e-0f4e95742596</guid><dc:creator>amelio</dc:creator><description>&lt;p&gt;Sorry for late reply but I was abroad some days.&lt;/p&gt;
&lt;p&gt;The screen is connected via a ribbon cable to IT8951, and the IT8951 is connected to nrf9160DK using the pins P0.31,&amp;nbsp; P0.30, P0.20, GND, P0.14, P0.15, P0.16, 5 V&lt;/p&gt;
&lt;p&gt;At the moment I cannot measure the current (if really important I will try to get a PPK2)&lt;/p&gt;
&lt;p&gt;Under MS Windows I have a serial terminal opened when it works fine. Under Linux it do not work with or without the serial terminal opened.&lt;/p&gt;
&lt;p&gt;The Maximum power command gives (BTW the ID is 1064 and not 1055):&lt;/p&gt;
&lt;p&gt;$ lsusb -d 1366:1064 -v | grep MaxPower&lt;/p&gt;
&lt;p&gt;&lt;br /&gt; MaxPower 500mA&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Let me know if this info is enough for your needs.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Best Regards&lt;/p&gt;
&lt;p&gt;Amelio&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Linux USB ports</title><link>https://devzone.nordicsemi.com/thread/557689?ContentTypeID=1</link><pubDate>Mon, 29 Dec 2025 14:17:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d95f7392-7584-4ce1-abe7-2f9f097ff0d7</guid><dc:creator>Simon D-M</dc:creator><description>&lt;p&gt;Hi Amelio,&lt;/p&gt;
&lt;p&gt;Can you share a bit more information about the current hardware setup ?&lt;/p&gt;
&lt;p&gt;How do you provide power to the screen ? If you power it through the DK, which pin are you using ?&lt;/p&gt;
&lt;p&gt;Are you able to measure the current (using a &lt;a href="https://www.nordicsemi.com/Products/Development-hardware/Power-Profiler-Kit-2"&gt;PPK2&lt;/a&gt; or an oscilloscope) ? How much current is drawn ?&lt;/p&gt;
[quote user=""]I have a nrf9160dk that drives a screen via SPI, using an IT8951 controller.[/quote]
&lt;p&gt;Are you sure the problem is on the nrf9160 side and not on the IT8951 controller? To check it, you can try to measure the SPI signals to see if there is some communication happening.&lt;/p&gt;
[quote user=""]The firmware driving the screen works fine if I plug the USB cable on a power bank or using MS Windows[/quote]
&lt;p&gt;Do you have a serial terminal open on Windows when it works fine ? And on Linux, does it work when no serial terminal is connected ? It might be that for some reason, your serial communication is interfering with the SPI of the screen.&lt;/p&gt;
[quote user=""]I was thinking the problem was a lack of power on USB ports[/quote]
&lt;p&gt;You can try to run the command &amp;quot;&lt;code&gt;lsusb -d 1366:1055 -v | grep MaxPower&amp;quot;&lt;/code&gt; in a Linux terminal with the device connected. It should show you the &lt;strong&gt;Maximum Power&lt;/strong&gt; requested by the SEGGER J-Link.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;In my case, it shows :&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;$ lsusb -d 1366:1055 -v | grep MaxPower 
    MaxPower              100mA&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Maybe Windows and the power bank don&amp;#39;t care about this value and output as much current as the device wants... If this is the issue, it might be possible to make the device request more power, but I&amp;#39;ll have to look in more detail to do so.&lt;/p&gt;
&lt;p&gt;Tell me if any of this helped.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon D-M&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Linux USB ports</title><link>https://devzone.nordicsemi.com/thread/557637?ContentTypeID=1</link><pubDate>Sun, 28 Dec 2025 08:30:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d212a008-4cf5-4439-8de5-9daf91534c30</guid><dc:creator>amelio</dc:creator><description>&lt;p&gt;Thanks, but this is not the case. The data are received via LTE-M internal modem and then displayed via SPI. The USB is only used to power the board and see the debug messages on /dev/ttyACM0. I suspect that there is a difference (between Windows and Linux) in managing the power of USB port or some kind of interference between the power and the virtual ttys. With Windows or a generic USB power supply the app works fine, while under Linux (I used different flavors and releases) it works fine for all parts of the app except when it writes to screen via SPI.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Linux USB ports</title><link>https://devzone.nordicsemi.com/thread/557634?ContentTypeID=1</link><pubDate>Sun, 28 Dec 2025 07:57:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d7e15fda-5394-41d9-8cc0-b3eb93f3b4d3</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;Maybe it&amp;#39;s too obvious:&lt;/p&gt;
&lt;p&gt;Does the nRF9160dk get the data from the PC via USB and then displays that via SPI on that display?&lt;/p&gt;
&lt;p&gt;Maybe it&amp;#39;s then just a question of the line-endings/termination. On windows it&amp;#39;s common to use&amp;nbsp; CR+LF, in unix it&amp;#39;s only LF. The most terminal programs (both on windows and unix) offers then usually some configuration for that. Try to set that to the windows style (CR+LF) and see, if that works. If it&amp;#39;s an application on unix, which feeds the data, try to add a &amp;quot;\r&amp;quot; before &amp;quot;\n&amp;quot;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>