[odroidn2-130-64bit-20210414] KVM SWITCHER 의 USB 미동작

Post Reply
nullcode
Posts: 9
Joined: Wed Apr 21, 2021 12:02 am
languages_spoken: english
ODROIDs: n2
Has thanked: 0
Been thanked: 0
Contact:

[odroidn2-130-64bit-20210414] KVM SWITCHER 의 USB 미동작

Post by nullcode »

kvm switcher 사용시 USB 인식 오류에 대한 문의드립니다.
사용하는 제품의 모델명은 랜스타 LS-HD4KVM(https://eleparts.co.kr/goods/view?no=9130462) 이며, AX68004 를 kvm soc 로 채용하고 있는 모델입니다.

n2 와 kvm switcher 간에 USB 2.0 케이블로 연결되어 있으며, USB HUB 인식이 되지 않아 kvm switcher 기능을 하지 못합니다.

아래는 n2 에서의 dmesg 입니다.

Code: Select all

[ 1050.020331] usb 1-1-port2: Cannot enable. Maybe the USB cable is bad?
[ 1050.992322] usb 1-1-port2: Cannot enable. Maybe the USB cable is bad?
[ 1050.993465] usb 1-1-port2: attempt power cycle
[ 1052.280322] usb 1-1-port2: Cannot enable. Maybe the USB cable is bad?
[ 1053.252331] usb 1-1-port2: Cannot enable. Maybe the USB cable is bad?
[ 1053.253448] usb 1-1.2: the parent's name is 1-1
[ 1053.253965] usb 1-1-port2: Device no response
[ 1053.257870] usb 1-1-port2: unable to enumerate USB device
동일 조건에서 x86 linux 환경에서는 정상동작을 하고 있으며 dmesg 는 아래와 같습니다.

Code: Select all

[11441.484078] usb 1-6.1: Manufacturer: ASIX Electronics
[11442.375446] usb 1-6.1.6: Manufacturer: ASIX Electronics
[11442.384168] input: ASIX Electronics AX68004 as /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6.1/1-6.1.6/1-6.1.6:1.0/0003:0B95:6801.0096/input/input266
[11442.441241] hid-generic 0003:0B95:6801.0096: input,hidraw5: USB HID v1.10 Keyboard [ASIX Electronics AX68004] on usb-0000:00:14.0-6.1.6/input0
[11442.445665] input: ASIX Electronics AX68004 as /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6.1/1-6.1.6/1-6.1.6:1.1/0003:0B95:6801.0097/input/input267
[11442.446175] input: ASIX Electronics AX68004 System Control as /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6.1/1-6.1.6/1-6.1.6:1.1/0003:0B95:6801.0097/input/input268
[11442.500914] input: ASIX Electronics AX68004 Consumer Control as /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6.1/1-6.1.6/1-6.1.6:1.1/0003:0B95:6801.0097/input/input269
[11442.501406] hid-generic 0003:0B95:6801.0097: input,hidraw6: USB HID v1.10 Mouse [ASIX Electronics AX68004] on usb-0000:00:14.0-6.1.6/input1
아래는 해당 칩 정보입니다.

Code: Select all

0b95  ASIX Electronics Corp.
	6801  AX68004 KVM Switch SoC
감사합니다.

User avatar
odroid
Site Admin
Posts: 37403
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 1797 times
Been thanked: 1143 times
Contact:

Re: [odroidn2-130-64bit-20210414] KVM SWITCHER 의 USB 미동작

Post by odroid »

KVM Switch용 USB 디바이스 드라이버가 저희 커널 설정에 없는것 같습니다.
x86과 N2에서 'lsusb', 'lsusb -t', 'lsmod' 출력을 올려주시면 해당 드라이버를 찾아 다음 커널 업데이트 포함시켜 보겠습니다.

nullcode
Posts: 9
Joined: Wed Apr 21, 2021 12:02 am
languages_spoken: english
ODROIDs: n2
Has thanked: 0
Been thanked: 0
Contact:

Re: [odroidn2-130-64bit-20210414] KVM SWITCHER 의 USB 미동작

Post by nullcode »

요청하신 정보 아래와 같이 공유드립니다.
감사합니다.

x86

Code: Select all

[root@nofailed nofailed]# lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 04f2:b5da Chicony Electronics Co., Ltd EasyCamera
Bus 001 Device 009: ID 0b95:6801 ASIX Electronics Corp. AX68004
Bus 001 Device 008: ID 0483:532d STMicroelectronics 87EC-XRGB
Bus 001 Device 007: ID 192f:0416 Avago Technologies, Pte. ADNS-5700 Optical Mouse Controller (3-button)
Bus 001 Device 006: ID 0b95:6804 ASIX Electronics Corp. AX68004
Bus 001 Device 004: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 003: ID 8087:0a2a Intel Corp. Bluetooth wireless interface
Bus 001 Device 002: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
[root@nofailed nofailed]# lsusb -t
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 5000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/12p, 480M
    |__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
    |__ Port 4: Dev 3, If 1, Class=Wireless, Driver=btusb, 12M
    |__ Port 4: Dev 3, If 0, Class=Wireless, Driver=btusb, 12M
    |__ Port 6: Dev 4, If 0, Class=Hub, Driver=hub/4p, 480M
        |__ Port 1: Dev 6, If 0, Class=Hub, Driver=hub/7p, 12M
            |__ Port 1: Dev 7, If 0, Class=Human Interface Device, Driver=usbhid, 12M
            |__ Port 6: Dev 9, If 0, Class=Human Interface Device, Driver=usbhid, 12M
            |__ Port 6: Dev 9, If 1, Class=Human Interface Device, Driver=usbhid, 12M
            |__ Port 2: Dev 8, If 2, Class=Human Interface Device, Driver=usbhid, 12M
            |__ Port 2: Dev 8, If 0, Class=Human Interface Device, Driver=usbhid, 12M
            |__ Port 2: Dev 8, If 1, Class=Human Interface Device, Driver=usbhid, 12M
    |__ Port 7: Dev 5, If 0, Class=Video, Driver=uvcvideo, 480M
    |__ Port 7: Dev 5, If 1, Class=Video, Driver=uvcvideo, 480M
[root@nofailed nofailed]# lsmod
Module                  Size  Used by
8021q                  40960  0
garp                   16384  1 8021q
mrp                    20480  1 8021q
stp                    16384  1 garp
llc                    16384  2 stp,garp
ccm                    20480  6
snd_hda_codec_hdmi     73728  1
snd_soc_skl           180224  0
snd_hda_codec_conexant    24576  1
snd_hda_codec_generic    98304  1 snd_hda_codec_conexant
ledtrig_audio          16384  1 snd_hda_codec_generic
snd_soc_sst_ipc        20480  1 snd_soc_skl
snd_soc_sst_dsp        36864  1 snd_soc_skl
snd_hda_ext_core       36864  1 snd_soc_skl
uvcvideo              114688  0
snd_soc_acpi_intel_match    45056  1 snd_soc_skl
snd_soc_acpi           16384  2 snd_soc_acpi_intel_match,snd_soc_skl
snd_hda_intel          57344  1
videobuf2_vmalloc      20480  1 uvcvideo
videobuf2_memops       20480  1 videobuf2_vmalloc
snd_intel_dspcfg       24576  2 snd_hda_intel,snd_soc_skl
soundwire_intel        45056  1 snd_intel_dspcfg
videobuf2_v4l2         36864  1 uvcvideo
soundwire_generic_allocation    16384  1 soundwire_intel
videobuf2_common       65536  2 videobuf2_v4l2,uvcvideo
soundwire_cadence      36864  1 soundwire_intel
cmac                   16384  7
snd_hda_codec         172032  4 snd_hda_codec_generic,snd_hda_codec_conexant,snd_hda_codec_hdmi,snd_hda_intel
algif_hash             16384  3
videodev              290816  3 videobuf2_v4l2,uvcvideo,videobuf2_common
joydev                 28672  0
algif_skcipher         16384  3
mousedev               24576  0
af_alg                 32768  14 algif_hash,algif_skcipher
x86_pkg_temp_thermal    20480  0
mc                     61440  4 videodev,videobuf2_v4l2,uvcvideo,videobuf2_common
intel_powerclamp       20480  0
bnep                   28672  2
iTCO_wdt               16384  0
snd_hda_core          106496  7 snd_hda_codec_generic,snd_hda_codec_conexant,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_soc_skl
iwlmvm                479232  0
intel_pmc_bxt          16384  1 iTCO_wdt
coretemp               20480  0
usbhid                 65536  0
snd_hwdep              16384  1 snd_hda_codec
hid_multitouch         32768  0
mei_hdcp               24576  0
kvm_intel             327680  0
mac80211             1110016  1 iwlmvm
iTCO_vendor_support    16384  1 iTCO_wdt
soundwire_bus          90112  3 soundwire_intel,soundwire_generic_allocation,soundwire_cadence
intel_rapl_msr         20480  0
wmi_bmof               16384  0
kvm                   933888  1 kvm_intel
intel_wmi_thunderbolt    20480  0
i915                 2715648  7
snd_soc_core          323584  2 soundwire_intel,snd_soc_skl
libarc4                16384  1 mac80211
irqbypass              16384  1 kvm
nls_iso8859_1          16384  1
crct10dif_pclmul       16384  1
snd_compress           32768  1 snd_soc_core
crc32_pclmul           16384  0
vfat                   24576  1
ghash_clmulni_intel    16384  0
ac97_bus               16384  1 snd_soc_core
aesni_intel           372736  14
fat                    86016  1 vfat
iwlwifi               417792  1 iwlmvm
snd_pcm_dmaengine      16384  1 snd_soc_core
crypto_simd            16384  1 aesni_intel
snd_pcm               147456  9 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,soundwire_intel,snd_compress,snd_soc_core,snd_soc_skl,snd_hda_core,snd_pcm_dmaengine
cryptd                 24576  5 crypto_simd,ghash_clmulni_intel
glue_helper            16384  1 aesni_intel
rapl                   16384  0
i2c_algo_bit           16384  1 i915
intel_cstate           20480  0
intel_xhci_usb_role_switch    16384  0
roles                  16384  1 intel_xhci_usb_role_switch
snd_timer              45056  1 snd_pcm
intel_uncore          172032  0
drm_kms_helper        274432  1 i915
snd                   114688  12 snd_hda_codec_generic,snd_hda_codec_conexant,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_timer,snd_compress,snd_soc_core,snd_pcm
btusb                  65536  0
i2c_i801               36864  0
soundcore              16384  1 snd
i2c_smbus              20480  1 i2c_i801
mei_me                 45056  1
btrtl                  24576  1 btusb
cfg80211              987136  3 iwlmvm,iwlwifi,mac80211
processor_thermal_device    24576  0
cec                    69632  2 drm_kms_helper,i915
btbcm                  20480  1 btusb
mei                   139264  3 mei_hdcp,mei_me
intel_lpss_pci         24576  0
intel_gtt              24576  1 i915
btintel                32768  1 btusb
intel_lpss             16384  1 intel_lpss_pci
syscopyarea            16384  1 drm_kms_helper
intel_rapl_common      28672  2 intel_rapl_msr,processor_thermal_device
sysfillrect            16384  1 drm_kms_helper
int340x_thermal_zone    16384  1 processor_thermal_device
idma64                 20480  0
sysimgblt              16384  1 drm_kms_helper
ideapad_laptop         24576  0
intel_pch_thermal      16384  0
fb_sys_fops            16384  1 drm_kms_helper
intel_soc_dts_iosf     20480  1 processor_thermal_device
bluetooth             741376  28 btrtl,btintel,btbcm,bnep,btusb
sparse_keymap          16384  1 ideapad_laptop
tpm_crb                20480  0
tpm_tis                16384  0
wmi                    36864  3 intel_wmi_thunderbolt,wmi_bmof,ideapad_laptop
tpm_tis_core           32768  1 tpm_tis
video                  53248  2 ideapad_laptop,i915
tpm                    73728  3 tpm_tis,tpm_crb,tpm_tis_core
int3400_thermal        20480  0
acpi_thermal_rel       16384  1 int3400_thermal
i2c_hid                32768  0
ecdh_generic           16384  2 bluetooth
rng_core               16384  1 tpm
mac_hid                16384  0
acpi_pad               24576  0
rfkill                 28672  7 bluetooth,ideapad_laptop,cfg80211
ecc                    36864  1 ecdh_generic
vboxnetflt             32768  0
vboxnetadp             28672  0
vboxdrv               528384  2 vboxnetadp,vboxnetflt
drm                   569344  7 drm_kms_helper,i915
cp210x                 40960  0
fuse                  163840  1
crypto_user            20480  0
agpgart                53248  2 intel_gtt,drm
bpf_preload            16384  0
ip_tables              32768  0
x_tables               53248  1 ip_tables
ext4                  933888  1
crc32c_generic         16384  0
crc16                  16384  2 bluetooth,ext4
mbcache                16384  1 ext4
jbd2                  151552  1 ext4
sdhci_pci              65536  0
crc32c_intel           24576  1
cqhci                  32768  1 sdhci_pci
sdhci                  77824  1 sdhci_pci
serio_raw              20480  0
mmc_core              192512  3 sdhci,cqhci,sdhci_pci
xhci_pci               20480  0
xhci_pci_renesas       20480  1 xhci_pci
N2

Code: Select all

odroidn2:/ # lsusb
Bus 002 Device 002: ID 05e3:0620
Bus 001 Device 001: ID 1d6b:0002
Bus 001 Device 003: ID 0b05:17cb
Bus 001 Device 002: ID 05e3:0610
Bus 002 Device 001: ID 1d6b:0003
odroidn2:/ # lsusb -t
Bus 002 Device 002: ID 05e3:0620
Bus 001 Device 001: ID 1d6b:0002
Bus 001 Device 003: ID 0b05:17cb
Bus 001 Device 002: ID 05e3:0610
Bus 002 Device 001: ID 1d6b:0003
odroidn2:/ # lsmod
Module                  Size  Used by
amvdec_mavs            49152  0 
vpu                    49152  0 
encoder                53248  0 
amvdec_avs2           200704  0 
amvdec_vp9            122880  0 
amvdec_vc1             57344  0 
amvdec_real            40960  0 
amvdec_mmpeg4          40960  0 
amvdec_mpeg4           57344  0 
amvdec_mmpeg12         45056  0 
amvdec_mpeg12          90112  0 
amvdec_mmjpeg          28672  0 
amvdec_mjpeg           36864  0 
amvdec_h265           147456  0 
amvdec_h264mvc         49152  0 
amvdec_mh264          159744  0 
amvdec_h264           131072  0 
amvdec_avs             61440  0 
stream_input          192512  11 amvdec_mavs,amvdec_avs2,amvdec_vp9,amvdec_real,amvdec_mmpeg12,amvdec_mpeg12,amvdec_h265,amvdec_h264mvc,amvdec_mh264,amvdec_h264,amvdec_avs
decoder_common        188416  18 amvdec_mavs,encoder,amvdec_avs2,amvdec_vp9,amvdec_vc1,amvdec_real,amvdec_mmpeg4,amvdec_mpeg4,amvdec_mmpeg12,amvdec_mpeg12,amvdec_mmjpeg,amvdec_mjpeg,amvdec_h265,amvdec_h264mvc,amvdec_mh264,amvdec_h264,amvdec_avs,stream_input
firmware               28672  19 amvdec_mavs,encoder,amvdec_avs2,amvdec_vp9,amvdec_vc1,amvdec_real,amvdec_mmpeg4,amvdec_mpeg4,amvdec_mmpeg12,amvdec_mpeg12,amvdec_mmjpeg,amvdec_mjpeg,amvdec_h265,amvdec_h264mvc,amvdec_mh264,amvdec_h264,amvdec_avs,stream_input,decoder_common
media_clock            45056  13 amvdec_mavs,vpu,encoder,amvdec_avs2,amvdec_vp9,amvdec_mpeg12,amvdec_h265,amvdec_mh264,amvdec_h264,amvdec_avs,stream_input,decoder_common,firmware
spi_meson_spicc        20480  0 
spidev                 20480  0 
mali_kbase            569344  26

User avatar
tobetter
Posts: 7805
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 431 times
Been thanked: 1210 times
Contact:

Re: [odroidn2-130-64bit-20210414] KVM SWITCHER 의 USB 미동작

Post by tobetter »

혹시 KVM스위치를 전면의 USB포트에 USB-to-OTG케이블로 연결해서 동작되는지 확인 부탁드립니다.

nullcode
Posts: 9
Joined: Wed Apr 21, 2021 12:02 am
languages_spoken: english
ODROIDs: n2
Has thanked: 0
Been thanked: 0
Contact:

Re: [odroidn2-130-64bit-20210414] KVM SWITCHER 의 USB 미동작

Post by nullcode »

동작하지 않습니다.

User avatar
odroid
Site Admin
Posts: 37403
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 1797 times
Been thanked: 1143 times
Contact:

Re: [odroidn2-130-64bit-20210414] KVM SWITCHER 의 USB 미동작

Post by odroid »

리눅스로 알았는데 안드로이드를 사용하고 계시네요.
안드로이드 프레임웍에서 KVM 스위치의 지원 여부는 잘 모르겠습니다.

그리고 올려주신 x86의 lsmod 출력만으로는 어떤 드라이버 모듈이 KVM용으로 올라왔는지 알아내기가 어렵네요.
KVM 연결 전과 후의 lsmod를 비교해서 어떤 드라이버가 올라오는지 확인 가능할까요?

그나저나 일반적인 HID 마우스나 키보드를 N2에 직접 연결하면 정상 동작하나요?

nullcode
Posts: 9
Joined: Wed Apr 21, 2021 12:02 am
languages_spoken: english
ODROIDs: n2
Has thanked: 0
Been thanked: 0
Contact:

Re: [odroidn2-130-64bit-20210414] KVM SWITCHER 의 USB 미동작

Post by nullcode »

지금 직장이라 lsmod 확인은 바로 안되는데, usbhid 가 관여하는 것으로 추정합니다. N2 android kernel 에서 켜져있는 상태구요. 요건 다시 확인해서 답변드리겠습니다.

KVM 에 부착된 키보드 마우스를 직접 연결시에는 잘 동작합니다.

User avatar
odroid
Site Admin
Posts: 37403
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 1797 times
Been thanked: 1143 times
Contact:

Re: [odroidn2-130-64bit-20210414] KVM SWITCHER 의 USB 미동작

Post by odroid »

usbhid 드라이버는 모듈형태가 아니고 안드로이드 커널 이미지에 포함되어 있습니다.
https://github.com/hardkernel/linux/blo ... nfig#L3579
시간되실때 드라이버 모듈은 다시 확인 부탁드립니다.

그런데 올려주신 dmesg 출력을 다시 들여다보니 전원 부족이나 케이블 노이즈 또는 USB 1.0 (1.5Mbps 모드) 호환성 문제 때문 일수도 있다는 생각이 드네요.
저희가 판매하는 12V/2A 어댑터를 사용하시나요?

nullcode
Posts: 9
Joined: Wed Apr 21, 2021 12:02 am
languages_spoken: english
ODROIDs: n2
Has thanked: 0
Been thanked: 0
Contact:

Re: [odroidn2-130-64bit-20210414] KVM SWITCHER 의 USB 미동작

Post by nullcode »

네 config.gz 확인시 활성화 상태입니다. 어댑터는 보드랑 같이 구매한 정품을 사용하고 있고요. 케이블은 x86 환경에서도 동일한 구성으로 테스트 했습니다.

User avatar
odroid
Site Admin
Posts: 37403
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 1797 times
Been thanked: 1143 times
Contact:

Re: [odroidn2-130-64bit-20210414] KVM SWITCHER 의 USB 미동작

Post by odroid »

그럼 댁에 가시면 x86에서 USB 1.0 장치가 어떤 것인지 확인해봐 주세요. Amlogic 플랫폼이 USB 1.0 (1.5Mbps) 및 USB 1.1(12Mbps) 장치들과의 호환성이 떨어집니다.

Code: Select all

Class=Human Interface Device, Driver=usbhid, 1.5M
그런 경우 @tobetter님 말씀대로 OTG 포트에 직결하면 해결되는 경우가 많았는데, 이번에는 좀 다른 상황인듯 합니다.

nullcode
Posts: 9
Joined: Wed Apr 21, 2021 12:02 am
languages_spoken: english
ODROIDs: n2
Has thanked: 0
Been thanked: 0
Contact:

Re: [odroidn2-130-64bit-20210414] KVM SWITCHER 의 USB 미동작

Post by nullcode »

x86 에서 KVM Switch 연결 및 해제시 나타났다가 사라지는 장치는 다음입니다.

Code: Select all

Bus 001 Device 039: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 040: ID 0b95:6804 ASIX Electronics Corp. AX68004
Bus 001 Device 041: ID 192f:0416 Avago Technologies, Pte. ADNS-5700 Optical Mouse Controller (3-button)
Bus 001 Device 042: ID 0483:532d STMicroelectronics 87EC-XRGB
Bus 001 Device 043: ID 0b95:6801 ASIX Electronics Corp. AX68004


아래처럼 매핑해 볼 수 있겠네요.

Code: Select all

    |__ Port 6: Dev 39, If 0, Class=Hub, Driver=hub/4p, 480M =====> Genesys Logic, Inc. Hub
        |__ Port 1: Dev 40, If 0, Class=Hub, Driver=hub/7p, 12M =====> ASIX Electronics Corp. AX68004
            |__ Port 1: Dev 41, If 0, Class=Human Interface Device, Driver=usbhid, 12M =====> Avago Technologies, Pte. ADNS-5700 Optical Mouse Controller (3-button)(마우스)
            |__ Port 2: Dev 42, If 0, Class=Human Interface Device, Driver=usbhid, 12M =====> STMicroelectronics 87EC-XRGB(키보드)
            |__ Port 6: Dev 43, If 0, Class=Human Interface Device, Driver=usbhid, 12M =====> ASIX Electronics Corp. AX68004
결국 Port 6: Dev 39, If 0, Class=Hub, Driver=hub/4p, 480M =====> Genesys Logic, Inc. Hub 가 N2 의 android kernel 에서 인식 되지 못하는게 문제인듯 합니다.

User avatar
odroid
Site Admin
Posts: 37403
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 1797 times
Been thanked: 1143 times
Contact:

Re: [odroidn2-130-64bit-20210414] KVM SWITCHER 의 USB 미동작

Post by odroid »

말씀하신대로 AX68004 내부에 있는 USB 1.1 스펙의 7 Port hub를 Genesys Logic GL3523 허브칩이 인식을 못하는것 같기도 합니다.

확인을 위해서 번거로우시겠지만, OTG에 연결했을때 lsusb -tdmesg 출력을 검토해봐 주실 수 있을까요?
그리고 N2+의 MicroUSB OTG 포트에 KVM을 연결할때 아래와 유사한 형태의 otg-to-host 어댑터를 사용하셨나요?
https://www.hardkernel.com/shop/usb2-0-otg-cable/

nullcode
Posts: 9
Joined: Wed Apr 21, 2021 12:02 am
languages_spoken: english
ODROIDs: n2
Has thanked: 0
Been thanked: 0
Contact:

Re: [odroidn2-130-64bit-20210414] KVM SWITCHER 의 USB 미동작

Post by nullcode »

OTG 에 KVM Switch 를 연결 및 해제 했을때 lsusb 와 dmesg 에 아무런 변화가 없습니다.
OTG 는 링크의 사진과 유사한 형태입니다.

참고로 OTG 에 마우스를 직결 했을 때에는 N2 에서 동작을 하는데, 키보드는 그렇지 않네요.

User avatar
odroid
Site Admin
Posts: 37403
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 1797 times
Been thanked: 1143 times
Contact:

Re: [odroidn2-130-64bit-20210414] KVM SWITCHER 의 USB 미동작

Post by odroid »

원인을 찾기가 매우 어렵네요.

만약 N2용 우분투 OS에서도 동일한 현상이 나타난다면 해결하기 어려울것 같습니다.
가능하시다면 아래 우분투 OS 이미지로 테스트 부탁드립니다.
https://wiki.odroid.com/odroid-n2/os_im ... u/20210223

nullcode
Posts: 9
Joined: Wed Apr 21, 2021 12:02 am
languages_spoken: english
ODROIDs: n2
Has thanked: 0
Been thanked: 0
Contact:

Re: [odroidn2-130-64bit-20210414] KVM SWITCHER 의 USB 미동작

Post by nullcode »

20210126 일자 버전(https://dn.odroid.com/S922X/ODROID-N2/U ... 126.img.xz) 으로 테스트 했을때 N2용 Android 와 동일하네요.

lsusb

Code: Select all

Bus 002 Device 002: ID 05e3:0620 Genesys Logic, Inc. USB3.1 Hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
lsusb -t

Code: Select all

/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 5000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/2p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
dmesg

Code: Select all

[ 4452.274497] usb 1-1-port2: Cannot enable. Maybe the USB cable is bad?
[ 4453.246440] usb 1-1-port2: Cannot enable. Maybe the USB cable is bad?
[ 4453.247844] usb 1-1-port2: attempt power cycle
[ 4454.534304] usb 1-1-port2: Cannot enable. Maybe the USB cable is bad?
[ 4455.506248] usb 1-1-port2: Cannot enable. Maybe the USB cable is bad?
[ 4455.507408] usb 1-1.2: the parent's name is 1-1
[ 4455.507450] usb 1-1-port2: Device no response
[ 4455.511783] usb 1-1-port2: unable to enumerate USB device
전면 OTG 케이블 연결시에도 Android 와 동일하게 반응이 없습니다.

User avatar
odroid
Site Admin
Posts: 37403
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 1797 times
Been thanked: 1143 times
Contact:

Re: [odroidn2-130-64bit-20210414] KVM SWITCHER 의 USB 미동작

Post by odroid »

테스트 감사합니다.
USB 1.1 12Mbps 허브 장치와 호환성 문제가 있는 것으로 보입니다.
죄송스럽게도 저희가 해결하기 어려운 문제로 생각됩니다.

nullcode
Posts: 9
Joined: Wed Apr 21, 2021 12:02 am
languages_spoken: english
ODROIDs: n2
Has thanked: 0
Been thanked: 0
Contact:

Re: [odroidn2-130-64bit-20210414] KVM SWITCHER 의 USB 미동작

Post by nullcode »

비록 해결은 안되었지만 오랜시간 대응해 주셔서 감사합니다.

Post Reply

Return to “N2/N2+”

Who is online

Users browsing this forum: No registered users and 5 guests