You are not logged in.

#1 2020-11-27 14:37:49

fran42
Member
Registered: 2020-11-16
Posts: 70

Error while creating the node

Hi,

When I connect a UV projector to my raspberry I create two new nodes, /hidraw0 and /usb.

Although the projector isn't responding because the node should be a serial lilke /ttyUSB*.

Can I get any help about why I'm getting the wrong node and about how to fix it?

Thanks!!

Offline

#2 2020-11-28 14:48:47

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,541

Re: Error while creating the node

Usually you can clue on dmesg output.
Just disconnect and reconnect it and take a debug file and send it.

Offline

#3 2020-11-30 12:40:33

fran42
Member
Registered: 2020-11-16
Posts: 70

Re: Error while creating the node

Thanks for the help.
I will try with dmesg.

How do I send the debug file?

Offline

#4 2020-12-01 11:36:49

fran42
Member
Registered: 2020-11-16
Posts: 70

Re: Error while creating the node

Hi,

In the debug the error seems to be the following:

--    usbhid 1-1.4:1.1: couldn't find an input interrupt endpoint  --

The raspberry recognizes the projector, as it says the product, the manufacturer and the serial number...  but then this error appears.

Offline

#5 2020-12-01 15:38:57

fran42
Member
Registered: 2020-11-16
Posts: 70

Re: Error while creating the node

Instead of getting the projector as the regular /ttyUSB* I get it in /usb... so when I open nanodlp the projector give me the following error:

**usb port could not be activated is a directory**

Offline

#6 2020-12-02 07:49:47

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,541

Re: Error while creating the node

Not have seen such error before, you should checkout online resources on linux/usb issues
https://unix.stackexchange.com/question … t-endpoint

Offline

#7 2020-12-02 14:17:40

F.m
Member
Registered: 2017-12-22
Posts: 147

Re: Error while creating the node

fran42 wrote:

Instead of getting the projector as the regular /ttyUSB* I get it in /usb... so when I open nanodlp the projector give me the following error:

**usb port could not be activated is a directory**

it shows that the device is detected by raspberry, so you need command lines to control the projector. in young optics projectors, manufacturer provides python codes. ask the manufacturer to provide you executable control codes. your device is recognized by its id vendor and id products that you can check it with "lsusb" command in bash. if your device shows up in the list, you don't need to do anything but sending the right commands.

Last edited by F.m (2020-12-02 14:24:39)

Offline

#8 2020-12-10 16:08:25

fran42
Member
Registered: 2020-11-16
Posts: 70

Re: Error while creating the node

My projector uses the USB HID command protocol or I2C protocol to send and receive commands. It looks like NANODLP software is set to use a USB to serial port adapter requiring a projector which accepts serial commands. Can I try setting with Communication Type set to Disable. What can I do to set a connection USB to serial?

Offline

#9 2020-12-14 16:08:46

fran42
Member
Registered: 2020-11-16
Posts: 70

Re: Error while creating the node

I updated the config .txt to activate the hdmi lines, and get the following result:

If I turn on the projector with the computer, and leave the projector ON and then connect it to the raspberry, then I can project an image and clear the image from the nanodlp buttons (display full white and clear full white).
The problem now is that I cannot turn off (or on) the projector, because it keeps saying the serial address is invalid (with the buttons of projector turn ON/OFF in projector calibration).

But an important thing is that I can send and clear images (so turn on and off the light).

I think the problem is almost solved.... can you please help me with the last step?
Appreciate your help

Offline

Board footer

Powered by FluxBB