Unable to list and connect any USB devices from Linux to Windows

Forum / NoMachine for Linux / Unable to list and connect any USB devices from Linux to Windows

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #13057
    Slavius
    Participant

    Source: Windows 10 x64, ver 5.1.62 free

    Target: Linux Sabayon x64, ver 5.1.62_1 free

    After the connection I cannot see anything in the Remote USB devices, saying “Sorry, no USB devices found in the system”.

    I have installed on Linux emulating RedHat as it gives me almost no error during the install (except unable to install systemctl service).

    I had to patch message_queue.c and replace SLAB_DEBUG_FREE with SLAB_CONSISTENCY_CHECKS for the nxusb kernel module to compile on 4.8.9 kernel. I have repacked the nxclient.tar.gz and did normal install using /uysr/NX/nxserver –install redhat

    nxserver is started manually using /etc/init.d/nxserver start

    What I have observed there is no nxusbd running. I don’t know if it should run or not but after starting it manually approx. after 40 seconds it exits with 0.

    ps output:

    root 18603 0.0 0.0 5880 852 pts/0 S+ 20:47 0:00 tail -f /usr/NX/var/log/nxd.log /usr/NX/var/log/nxerror.log /usr/NX/var/log/nxinstall.log /usr/NX/var/log/nxserver.log

    nx 19482 0.0 0.6 322176 73008 ? Sl 20:52 0:02 /usr/NX/bin/nxserver.bin root 1 –daemon

    slavius 19580 0.0 0.0 31892 3540 ? S< 20:52 0:00 /usr/NX/bin/nxexec –node –user slavius –priority realtime –mode 0 –pid 11

    nx 19581 0.0 0.0 483120 8336 ? Sl 20:52 0:00 /usr/NX/bin/nxd

    slavius 19592 13.5 1.9 28003184 233100 ? Snxnode.bin

    slavius 19617 0.0 0.3 1900552 43204 ? Sl 20:52 0:00 /usr/NX/bin/nxclient.bin –monitor –pid 2325

    nx 20601 0.0 0.6 868792 74976 ? Sl 21:13 0:00 /usr/NX/bin/nxserver.bin -c /etc/NX/nxserver –login -H 5

    slavius 20614 0.0 0.0 31892 3644 ? S< 21:13 0:00 /usr/NX/bin/nxexec –node –user slavius –priority realtime –mode 0 –pid 13 -H 5

    slavius 20619 0.7 0.7 2401016 93912 ? Snxnode.bin -H 5

    nxusb module is loaded (I also tried with eveusb_debug to get some more debug output)

    Output from the dmesg:

    [ 4163.911318] nxusb: starting

    [ 4163.911374] nxusb: message_up cache created

    [ 4163.911469] nxusb: integrated TT in USB 2.0 root hub

    [ 4163.911473] nxusb nxusb: NoMachine USB Host Controller

    [ 4163.911533] nxusb nxusb: new USB bus registered, assigned bus number 3

    [ 4163.911572] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002

    [ 4163.911574] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1

    [ 4163.911576] usb usb3: Product: NoMachine USB Host Controller

    [ 4163.911578] usb usb3: Manufacturer: Linux 4.8.0-sabayon nxusb

    [ 4163.911579] usb usb3: SerialNumber: nxusb

    [ 4163.914358] hub 3-0:1.0: USB hub found

    [ 4163.914363] nxusb: USB 2.0 hub

    [ 4163.914370] hub 3-0:1.0: 15 ports detected

    [ 4163.915502] nxusb: nxusb char device 10:48

    [ 4163.915532] usbcore: registered new interface driver nxusb

    [ 4163.915533] nxusb: started

    [ 4842.476904] nxusb: finishing

    [ 4842.476991] usbcore: deregistering interface driver nxusb

    [ 4842.477028] nxusb nxusb: remove, state 4

    [ 4842.477035] usb usb3: USB disconnect, device number 1

    [ 4842.479232] nxusb nxusb: USB bus 3 deregistered

    [ 4842.479353] nxusb: message_up: 34 new of 2 allocations

    [ 4842.479354] nxusb: MsgHeader: 4 new of 8 allocations

    [ 4842.479355] nxusb: finished

    [ 5429.621653] nxusb: starting

    [ 5429.621689] nxusb: message_up cache created

    [ 5429.621756] nxusb: integrated TT in USB 2.0 root hub

    [ 5429.621759] nxusb nxusb: NoMachine USB Host Controller

    [ 5429.621840] nxusb nxusb: new USB bus registered, assigned bus number 3

    [ 5429.621868] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002

    [ 5429.621869] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1

    [ 5429.621870] usb usb3: Product: NoMachine USB Host Controller

    [ 5429.621871] usb usb3: Manufacturer: Linux 4.8.0-sabayon nxusb

    [ 5429.621872] usb usb3: SerialNumber: nxusb

    [ 5429.621994] hub 3-0:1.0: USB hub found

    [ 5429.621996] nxusb: USB 2.0 hub

    [ 5429.621999] hub 3-0:1.0: 15 ports detected

    [ 5429.623032] nxusb: nxusb char device 10:48

    [ 5429.623070] usbcore: registered new interface driver nxusb

    [ 5429.623071] nxusb: started

    output of the nxusbd strace (strace -fq /usr/NX/bin/nxusbd -p -L debug -t) in the attachments.

    Thanks for any help!

    #13095
    kroy
    Contributor

    We where able to reproduce problem on kernel 4.8.0-sabayon. We’ll look at this closer. Can you send the strace you mentioned to forum[at]nomachine[dot]com?

    #13114
    Slavius
    Participant

    Thank You.

    I have sent the strace output. Feel free to contact me if needed.

    #15516
    Britgirl
    Keymaster

    At the moment it’s not possible for us to solve this in the current version 5 tree. With some changes coming up in version 6 which will add improvements to how USB is handled, it is possible that we can find a fix then.

Viewing 4 posts - 1 through 4 (of 4 total)

This topic was marked as solved, you can't post.