• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
USB Enumareted Device List
#5
(October-22nd-2019, 12:10 PM)Armin@netPI Wrote: Well, a device "/dev/..." in a container is as good as if you would access it on a native host. This is all managed by Docker automatically and is not related to netPI or its hardware.
The very same applies for any software that runs in a container. Python runs the same as on a native host.

These three restrictions we have on netPI

*    privileged mode is not automatically adding all host devices /dev/ to a container
*    volume bind mounts to rootfs is not supported
*    the devices /dev,/dev/mem,/dev/sd*,/dev/dm*,/dev/mapper,/dev/mmcblk* cannot be added to a container

Others are not know by me or my team.

So to which device was your CDC device finally mapped to? How did you find it?

You say you have a problem with python. Which problem do you have?

Thx
Armin
I mapped /dev/ttyACM0 as /dev/ttyS0. It was same as your suggestion. Luckily your yocto build and raspbian uses same driver.

I checked image file and found out pi isn't added to dialout group and mounted /dev/ttyS0 didn't have other users access.

After adding pi to dialout group i also changed permissions of /dev/ttyS0 to 666 then everything started working.

But not able to see enumareted device is still big question mark for me to continue.
  Reply


Messages In This Thread
USB Enumareted Device List - by IBeRyUS - October-22nd-2019, 11:52 AM
RE: USB Enumareted Device List - by Armin@netPI - October-22nd-2019, 11:54 AM
RE: USB Enumareted Device List - by IBeRyUS - October-22nd-2019, 11:57 AM
RE: USB Enumareted Device List - by Armin@netPI - October-22nd-2019, 12:10 PM
RE: USB Enumareted Device List - by IBeRyUS - October-22nd-2019, 12:42 PM
RE: USB Enumareted Device List - by Armin@netPI - October-22nd-2019, 12:57 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  netPI core as serial device server MGharat 1 2,153 June-16th-2021, 07:55 AM
Last Post: Armin@netPI
  USB Device not plugged in during boot rlahnsteiner 3 3,183 May-31st-2021, 04:50 AM
Last Post: Armin@netPI

Forum Jump:


Users browsing this thread: 1 Guest(s)