Skip to content
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

no device in /dev/ttyACM0, where is it then? #51

Open
ghost opened this issue May 27, 2019 · 8 comments
Open

no device in /dev/ttyACM0, where is it then? #51

ghost opened this issue May 27, 2019 · 8 comments

Comments

@ghost
Copy link

ghost commented May 27, 2019

lsusb claims NZXT is
Bus 001 Device 003: ID 1e71:1714 NZXT
so where would that be mounted?

I really have never done anything like this in linux before

@romantelecom
Copy link

I have the same issue, any advice please?

command "usb-devices" - Gives me the below data and I am not sure how to work out the port from that:

T:  Bus=01 Lev=01 Prnt=01 Port=04 Cnt=04 Dev#=  4 Spd=12  MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1e71 ProdID=1714 Rev=02.00
S:  Manufacturer=NZXT.-Inc.
S:  Product=NZXT USB Device
S:  SerialNumber=87685F895156
C:  #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=03(HID  ) Sub=00 Prot=00 Driver=usbhid

@Nyeksenn
Copy link

Nyeksenn commented Aug 1, 2019

have you tried executing the application as root?

@flaire-project
Copy link

I've used this script on Ubuntu to find which port is mapped to which USB device:

#!/bin/bash

for sysdevpath in $(find /sys/bus/usb/devices/usb*/ -name dev); do
    (
        syspath="${sysdevpath%/dev}"
        devname="$(udevadm info -q name -p $syspath)"
        [[ "$devname" == "bus/"* ]] && continue
        eval "$(udevadm info -q property --export -p $syspath)"
        [[ -z "$ID_SERIAL" ]] && continue
        echo "/dev/$devname - $ID_SERIAL"
    )
done

@ghost
Copy link
Author

ghost commented Aug 21, 2019

continue is broken in that script and it claims the answer is

/dev/bus/usb/001/005 which is wrong

@ghost
Copy link
Author

ghost commented Aug 21, 2019

<class 'serial.serialutil.SerialException'>:
Could not configure port: (25, 'Inappropriate ioctl for device')

@rjpiston
Copy link

rjpiston commented Aug 25, 2019

I'm running into the same issue.

Could not configure port: (25, 'Inappropriate ioctl for device')

Not sure where to go next.

T: Bus=03 Lev=01 Prnt=01 Port=07 Cnt=02 Dev#= 2 Spd=12 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1e71 ProdID=1714 Rev=02.00
S: Manufacturer=NZXT.-Inc.
S: Product=NZXT USB Device
S: SerialNumber=497D34943131
C: #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=03(HID ) Sub=00 Prot=00 Driver=usbhid

@saltchicken
Copy link

What is your output for dmesg | grep tty?

@abhi-iyer
Copy link

Has there been a resolution on this? I'm having the same problem - the NZXT hub connected to the comp's USB is not under /dev/ttyACM0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants