-
-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Proxmox, LXC with Debian12, Error: lcd_thread: failed to open usbhid 1-8:1.1 #35
Comments
means it couldn't open the device for the lcd. the "1-8:1.1" translates to Bus-Port:Device. but you would need to troubleshoot it more. try running it manually from the s1panel directory:
|
here is the log from main.js:
and here are the details of device 6:
Bus 001 Device 006: ID 04d9:fd01 Holtek Semiconductor, Inc. when i run lsusb -t i can see for device 6 if 1 that there is no driver. Could this be the rootcause for the problen and if yes how could i install the missing driver?
|
First of all, great solution to make the LCD availabe also on Linux.
I have installed AceMagic-S1-LED-TFT-Linux on Proxmox with at LXC Debian 12. The installation was ok after i have changed the package.json to "canvas": "^3.0.0-rc2".
After the service is startet there are the following error message in the log-file:
Oct 25 11:38:01 debian12lcd s1panel[127538]: [info] lcd_thread: started...
Oct 25 11:38:01 debian12lcd s1panel[127538]: [error] lcd_thread: failed to open usbhid 1-8:1.1
Oct 25 11:38:01 debian12lcd s1panel[127538]: [error] cannot open device with path 1-8:1.1
in the config.json i can see the entry
"device": "1-8:1.1",
but i have no glue what this means.
this is my usb-config:
`
lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 006: ID 04d9:fd01 Holtek Semiconductor, Inc.
Bus 001 Device 005: ID 1a86:7523 QinHeng Electronics CH340 serial converter
Bus 001 Device 004: ID 0573:1573 Zoran Co. Personal Media Division (Nogatech) USB Audio and HID
Bus 001 Device 003: ID 0bda:b85b Realtek Semiconductor Corp. Bluetooth Radio
Bus 001 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
/acemagic/s1panel# lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 10000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/12p, 480M
|__ Port 4: Dev 2, If 1, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 4: Dev 2, If 2, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 4: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 5: Dev 3, If 1, Class=Wireless, Driver=btusb, 12M
|__ Port 5: Dev 3, If 0, Class=Wireless, Driver=btusb, 12M
|__ Port 6: Dev 4, If 2, Class=Audio, Driver=snd-usb-audio, 12M
|__ Port 6: Dev 4, If 0, Class=Audio, Driver=snd-usb-audio, 12M
|__ Port 6: Dev 4, If 3, Class=Human Interface Device, Driver=, 12M
|__ Port 6: Dev 4, If 1, Class=Audio, Driver=snd-usb-audio, 12M
|__ Port 7: Dev 5, If 0, Class=Vendor Specific Class, Driver=ch341, 12M
|__ Port 8: Dev 6, If 1, Class=Human Interface Device, Driver=, 12M
|__ Port 8: Dev 6, If 2, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 8: Dev 6, If 0, Class=Human Interface Device, Driver=usbhid, 12M
lsusb -v -s 1:5
Bus 001 Device 005: ID 1a86:7523 QinHeng Electronics CH340 serial converter
Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 255 Vendor Specific Class
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x1a86 QinHeng Electronics
idProduct 0x7523 CH340 serial converter
bcdDevice 81.34
iManufacturer 0
iProduct 2 USB Serial
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0027
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 104mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 1
bInterfaceProtocol 2
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0020 1x 32 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0020 1x 32 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 1
`
any idea why i get this error message?
The text was updated successfully, but these errors were encountered: