Hi,
I am building a small headless server on a cherrytrail box with debian 9 . The goal is no monitor, no mouse, no keyboard, no X server on it (but GUI acces with XRDP). Everything is set up and running, except one blocking issue :
If I have a keyboard plugged in one of the 2 usb ports at boot time, everything is booting ok.
If I try to boot with no keyboard at all, the boot will not complete and I get messages looping on the console :
usb1-port4 : cannot enable : maybe the usb cable is bad
usb1-port4 : enable to enumerate usb devides
I've spent hours reading the forums, but found no solution.
Any idea?
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
How to boot without keyboard
Re: How to boot without keyboard
The messages are what I have written in the first post :
usb1-port4 : cannot enable : maybe the usb cable is bad
usb1-port4 : enable to enumerate usb devices
Continuing further investigations, I have discovered that it was not a matter of keyboard, but of having something plugged in one of the usb ports at boot time, ie I connect a usb disk, but no keyboard, it will boot. It it like if it had to be able to exchange some messages with a usb device to be able to boot. One exception anyway, if it is a usb mouse which is connected, it won't boot.
usb1-port4 : cannot enable : maybe the usb cable is bad
usb1-port4 : enable to enumerate usb devices
Continuing further investigations, I have discovered that it was not a matter of keyboard, but of having something plugged in one of the usb ports at boot time, ie I connect a usb disk, but no keyboard, it will boot. It it like if it had to be able to exchange some messages with a usb device to be able to boot. One exception anyway, if it is a usb mouse which is connected, it won't boot.
Re: How to boot without keyboard
I'm surprised you haven't received more responses to your issue. Maybe the "cherrytrail" reference was too obscure. I was not familiar with that term, so I googled "cherytrail". I see it is a flavor of Intel Atom motherboard.
So I have two thoughts, maybe not that helpful, but....
1. Leave something plugged into one of the USB ports (e.g., an old USB flash drive you're not using any more).
2. Experiment with the newer Linux kernel available in Stretch backports. (version 4.18)
So I have two thoughts, maybe not that helpful, but....
1. Leave something plugged into one of the USB ports (e.g., an old USB flash drive you're not using any more).
2. Experiment with the newer Linux kernel available in Stretch backports. (version 4.18)
Re: How to boot without keyboard
Thanks forr your reply Tynman. I was also considering option 1 (leave an old usb key plugged) when you replied, unless someone gives another solution.
I've already spent a lot of time on this issue, so I will not give a try to a kernel upgrade.
I've already spent a lot of time on this issue, so I will not give a try to a kernel upgrade.
Re: How to boot without keyboard
Sounds a bit risky to me. If for any reason I cannot connect anymore with xrdp, I have no way to connect back to the physical machine to fix the issue. I will have a brick.p.H wrote:I have a solution (rather a workaround), but you won't like it : disable the USB ports or the USB drivers.
- sunrat
- Administrator
- Posts: 6412
- Joined: 2006-08-29 09:12
- Location: Melbourne, Australia
- Has thanked: 116 times
- Been thanked: 462 times
Re: How to boot without keyboard
Does your UEFI/BIOS have an option to halt boot if keyboard not detected?
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
-
- Global Moderator
- Posts: 3049
- Joined: 2017-09-17 07:12
- Has thanked: 5 times
- Been thanked: 132 times
Re: How to boot without keyboard
I knew you would not like it. Anyway, USB is supposed to be enabled at boot time, until the boot loader is loaded.Thierry91 wrote:Sounds a bit risky to me. If for any reason I cannot connect anymore with xrdp, I have no way to connect back to the physical machine to fix the issue. I will have a brick.p.H wrote:I have a solution (rather a workaround), but you won't like it : disable the USB ports or the USB drivers.