The officially official Devuan Forum!

You are not logged in.

#1 2023-11-12 18:09:15

mclien
Member
Registered: 2020-02-29
Posts: 99  

Chromebox CN62 USB not working

My first chromebox install isn't going well as it seems.
I did install in the following setup:
2nd Monitor input and an USB switch for keyboard/mouse
-I did choose "only drivers specific for this hardware" (don't know the exact words used)
Which leaves me with working keyboard/mouse only when using the USB devices over the USB switch.

Plus I need to choose the boot option with the "6.1.0-10-amd" kernel (the one running during installation, I guess), with the (default) "6.1.0-13-amd" I won't even get a working keyboard even through the USBswitch.

one hint might be that during package install I get several lines of:

W: Possible missing firmware /lib/firmware/i915/..

EDIT: conclusion in post #5

Last edited by mclien (2023-11-14 06:57:06)

Offline

#2 2023-11-12 19:30:10

Altoid
Member
Registered: 2017-05-07
Posts: 1,577  

Re: Chromebox CN62 USB not working

Hello:

mclien wrote:

... get several lines of:

W: Possible missing firmware /lib/firmware/i915/..

For that part of the problem, have a thorough read at this thread at stackexchange.

Specifically the answer with 135 votes which is the most comprehensive one.

That said, it could well solve all the issues you are having as the i915 chipset runs the USB ports.

Best,

A.

Offline

#3 2023-11-12 20:08:55

mclien
Member
Registered: 2020-02-29
Posts: 99  

Re: Chromebox CN62 USB not working

Thanks a lot. That seems to solve the problem. I haven't tested all setups, so I'll wait until I did that tomorrow.

Offline

#4 2023-11-12 20:52:06

Altoid
Member
Registered: 2017-05-07
Posts: 1,577  

Re: Chromebox CN62 USB not working

Hello:

mclien wrote:

Thanks ...

You're welcome.
Once you've fixed things, please post steps taken, results, etc. so it will be available to all in the future.

Also, you may want to consider changing the title of your OP to reflect the hardware and Devuan version you were installing.

eg: Chromebox [model] with [Devuan version used here] - USB interfaces not working 

Best,

A.

Last edited by Altoid (2023-11-13 10:45:53)

Offline

#5 2023-11-14 06:56:23

mclien
Member
Registered: 2020-02-29
Posts: 99  

Re: Chromebox CN62 USB not working

TL;DR
It is working with one port still not usable for mouse/keyboard. Installing "firmware-linux"
Asus Chromebook CN&" with intel i7 CPU and flashed with coreboot (MrChromebox)

Details:
Installation setup was: Mouse/keyboard at an USB switch on the lower USB port, Installation from USB Stick.
I use the expert install with a minimal system and add my needed software from there.
While choosing the kernel to use I picked the pre-selected. After that there is the option to install all drivers or only those specific for the device. I picked the later. Perhaps this is why the upper port now accepts USB memory sticks fine, but just not any USB HID device. I have it working with the keyboard at the lower port in the back and the mouse at one of the front USB ports.
While this blocks one front port everything else works fine (so far).

Gladly would like to learn how this last bit is fixable.

Offline

#6 2023-11-14 10:36:43

Altoid
Member
Registered: 2017-05-07
Posts: 1,577  

Re: Chromebox CN62 USB not working

Hello:

mclien wrote:

... working with one port still not usable for mouse/keyboard.
.. "firmware-linux"
Asus Chromebook CN&" with intel i7 CPU and flashed with coreboot (MrChromebox)

Right.

mclien wrote:

... expert install with a minimal system ...
... install all drivers or only those specific for the device.

Therein may lie the problem.
ie: could be that the installer is not identifying all the needed drivers or modules.

From what I have read on-line, the USB ports on your CB are USB 3.0, with the two in the front supporting BC1.2 (charging capability).
Please look at the specific manual for your unit and check that, it may differ in hardware sold in different markets.

The fact that you are able to use a kb and mouse means that the HID drivers/module are loaded and working for two of the available USB ports so that is not the problem.

Please open up a terminal and do ...

~$ sudo dmesg -wH

This will give you a rolling terminal output from dmesg with user-friendly features (-H).

Once you have done this, unplug the keyboard and plug it into one of the non-working sockets, unplug it and plug it back into the socket is was working in.
Do the same with the other non-working socket.

This will tell us what is going on and maybe reveal the origin of the problem.

Please post the results.
   
Best,

A.

Offline

#7 2023-11-14 16:18:05

mclien
Member
Registered: 2020-02-29
Posts: 99  

Re: Chromebox CN62 USB not working

comments from me, followed by the dmesg that results from action in comment

## mouse disconnected from front port, reconnect top back port
[Nov14 17:05] usb 1-3: USB disconnect, device number 2
[  +8.930261] hub_port_connect: 5 callbacks suppressed
[  +0.000011] usb usb1-port5: connect-debounce failed

## mouse back front front port
[Nov14 17:07] usb 1-3: new low-speed USB device number 4 using xhci_hc
[  +0.153630] usb 1-3: New USB device found, idVendor=046d, idProduct=c03e, bcdDevice=20.00
[  +0.000015] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  +0.000006] usb 1-3: Product: USB-PS/2 Optical Mouse
[  +0.000004] usb 1-3: Manufacturer: Logitech
[  +0.004152] input: Logitech USB-PS/2 Optical Mouse as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/0003:046D:C03E.0004/input/input12
[  +0.000106] hid-generic 0003:046D:C03E.0004: input,hidraw0: USB HID v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on usb-0000:00:14.0-3/input0

## keyboard from back buttom port to back top port and back
[Nov14 17:09] usb 1-6: USB disconnect, device number 3
[  +3.305752] usb 1-5: new full-speed USB device number 5 using xhci_hcd
[  +0.128088] usb 1-5: device descriptor read/64, error -71
[  +0.235964] usb 1-5: device descriptor read/64, error -71
[  +0.236013] usb 1-5: new full-speed USB device number 6 using xhci_hcd
[  +0.127984] usb 1-5: device descriptor read/64, error -71
[  +0.236036] usb 1-5: device descriptor read/64, error -71
[  +0.108093] usb usb1-port5: attempt power cycle
[  +0.411887] usb 1-5: new full-speed USB device number 7 using xhci_hcd
[  +0.000189] usb 1-5: Device not responding to setup address.
[  +0.207987] usb 1-5: Device not responding to setup address.
[  +0.207819] usb 1-5: device not accepting address 7, error -71
[  +0.128005] usb 1-5: new full-speed USB device number 8 using xhci_hcd
[  +0.000195] usb 1-5: Device not responding to setup address.
[  +0.207977] usb 1-5: Device not responding to setup address.
[  +0.207820] usb 1-5: device not accepting address 8, error -71
[  +0.000126] usb usb1-port5: unable to enumerate USB device
[  +9.783881] usb 1-6: new low-speed USB device number 9 using xhci_hcd
[  +0.157427] usb 1-6: New USB device found, idVendor=04f2, idProduct=3f41, bcdDevice= 9.21
[  +0.000015] usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  +0.000005] usb 1-6: Product: HP Wired Desktop 320K Keyboard
[  +0.000005] usb 1-6: Manufacturer: Chicony 
[  +0.005052] input: Chicony  HP Wired Desktop 320K Keyboard as /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/0003:04F2:3F41.0005/input/input13
[  +0.057922] hid-generic 0003:04F2:3F41.0005: input,hidraw1: USB HID v1.11 Keyboard [Chicony  HP Wired Desktop 320K Keyboard] on usb-0000:00:14.0-6/input0
[  +0.003539] input: Chicony  HP Wired Desktop 320K Keyboard Consumer Control as /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.1/0003:04F2:3F41.0006/input/input14
[  +0.060312] input: Chicony  HP Wired Desktop 320K Keyboard System Control as /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.1/0003:04F2:3F41.0006/input/input15
[  +0.000346] hid-generic 0003:04F2:3F41.0006: input,hidraw2: USB HID v1.11 Device [Chicony  HP Wired Desktop 320K Keyboard] on usb-0000:00:14.0-6/input1

### USB Devuan install stick on upper back port and disconnect again
[Nov14 17:12] usb 2-3: new SuperSpeed USB device number 2 using xhci_hcd
[  +0.255226] usb 2-3: New USB device found, idVendor=1f75, idProduct=0917, bcdDevice= 0.01
[  +0.000014] usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  +0.000007] usb 2-3: Product: PenDrive
[  +0.000004] usb 2-3: Manufacturer: Innostor
[  +0.000004] usb 2-3: SerialNumber: 000000000000000014
[  +0.015427] usb-storage 2-3:1.0: USB Mass Storage device detected
[  +0.000316] scsi host4: usb-storage 2-3:1.0
[  +0.000088] usbcore: registered new interface driver usb-storage
[  +0.002718] usbcore: registered new interface driver uas
[  +1.026909] scsi 4:0:0:0: Direct-Access     Innostor Innostor         1.00 PQ: 0 ANSI: 6
[  +0.000564] sd 4:0:0:0: Attached scsi generic sg1 type 0
[  +0.000237] sd 4:0:0:0: [sdb] 7864320 512-byte logical blocks: (4.03 GB/3.75 GiB)
[  +0.000131] sd 4:0:0:0: [sdb] Write Protect is off
[  +0.000003] sd 4:0:0:0: [sdb] Mode Sense: 23 00 00 00
[  +0.000146] sd 4:0:0:0: [sdb] Write cache: disabled, read cache: disabled, doesn't support DPO or FUA
[  +0.001836]  sdb: sdb1 sdb2
[  +0.000276] sd 4:0:0:0: [sdb] Attached SCSI removable disk
[ +10.883659] usb 2-3: USB disconnect, device number 2

Last edited by mclien (2023-11-14 16:19:08)

Offline

#8 2023-11-14 23:15:32

Altoid
Member
Registered: 2017-05-07
Posts: 1,577  

Re: Chromebox CN62 USB not working

Hello:

mclien wrote:

comments from me, followed by the dmesg ...

Right.

--- snip ---
[  +8.930261] hub_port_connect: 5 callbacks suppressed
[  +0.000011] usb usb1-port5: connect-debounce failed
--- snip ---
[  +3.305752] usb 1-5: new full-speed USB device number 5 using xhci_hcd
[  +0.128088] usb 1-5: device descriptor read/64, error -71
[  +0.235964] usb 1-5: device descriptor read/64, error -71
[  +0.236013] usb 1-5: new full-speed USB device number 6 using xhci_hcd
[  +0.127984] usb 1-5: device descriptor read/64, error -71
[  +0.236036] usb 1-5: device descriptor read/64, error -71
[  +0.108093] usb usb1-port5: attempt power cycle
--- snip ---

HID devices need more power than a USB stick and from what dmesg says, it seems that (for whatever reason) they are not getting it from all the available ports.

Maybe these specific ports are disabled or asleep?
Is there a setting in the BIOS that has to do with enabling USB ports selectively or something related to power management or *wake up* settings?

From page 28 of the Asus CN62 manual:

All ASUS products with the ENERGY STAR logo comply with the ENERGY STAR standard, and the power management feature is enabled by default. The monitor and computer are automatically set to sleep after 10 and 30 minutes of user inactivity. To wake your computer, click the mouse or press any key on the keyboard
--- snip ---
NOTE: Energy Star is NOT supported on FreeDOS and Linux-based    # <- !!!
products

We can find out some more by using a powered hub.

Try to borrow or purchase one and plug it into one of the non working USB sockets.

Once it is plugged in, plug in the mouse and then the kb (one at a time) into the hub.
Check the output of each step via ~$ sudo dmesg -wH.

Please post the results.

If it the kb and mouse work, it would rule out faulty USB socket problems and point us to a USB power/configuration issue.

Best,

A.

Last edited by Altoid (2023-11-15 11:33:50)

Offline

#9 2023-11-15 11:33:30

Altoid
Member
Registered: 2017-05-07
Posts: 1,577  

Re: Chromebox CN62 USB not working

Hello:

Altoid wrote:

We can find out some more by using a powered hub.

Just to clarify the above suggestion.

It must be an externally powered hub, the type that uses a small wall wart.
USB hubs powered via one of the USB ports with charging capability will (most probably) have the same problem you are having now.

Best,

A.

Offline

#10 2023-11-16 07:01:51

mclien
Member
Registered: 2020-02-29
Posts: 99  

Re: Chromebox CN62 USB not working

Sorry for the delay. Since it is working in the current setup, it is not really urgent.
I wasn't aware that HID device do need more power than a thumb drive. and I get the idea of the powered USB hub to check if it's a low power problem. The ports are of this design:
https://www.performance-pcs.com/media/c … -b-usb.jpg
Which I assumed (maybe wrongly) to be powered from the same line.
I'm quite unsure about investing the time to get hands on a powered USB hub (I might have an old 1.1USB hub lying around which has the option of external power (not sure about the powersupply, though), let alone one for USB3.

As for the BIOS, I guess that wouldn't apply with a chromebox flashed with coreboot. But maybe coreboot uses the same defaults, which I have to look up in the coreboot menu.

Offline

#11 2023-11-16 07:29:56

aluma
Member
Registered: 2022-10-26
Posts: 646  

Re: Chromebox CN62 USB not working

In my hands I have a USB optical mouse, it says 5V, 100 mA.
A standard USB port should provide 500 mA.

P.S. I'm sorry, maybe it's stupid...
As I understand it, the device is not new. In such cases, it often happens that the USB port, located in the most convenient place, is either dirty or loose. In this case, due to poor contact, failures are possible.

Last edited by aluma (2023-11-16 07:57:17)

Offline

#12 2023-11-16 09:47:11

Altoid
Member
Registered: 2017-05-07
Posts: 1,577  

Re: Chromebox CN62 USB not working

Hello:

mclien wrote:

... working in the current setup, it is not really urgent.

No problem.

Best,

A.

Offline

Board footer