New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 591917 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Apr 2016
Cc:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug



Sign in to add a comment

servo_micro and raiden.ko cannot coexist

Project Member Reported by nsanders@chromium.org, Mar 4 2016

Issue description

raiden.ko grabs ownership of servo_micro and prevents servod from accessing it. They should be able to coexist. 

Ideally raiden.ko should exclude servo_* and servod should support CCD.
 
I believe that servod should be able to just call the equivalent of libusb_detach_kernel_driver from user space to get the kernel USB serial driver to give up the device.  I don't think that raiden.ko needs to change to make that work.
libusb has a function to do that automatically: libusb_set_auto_detach_kernel_driver(). Not sure if it's part of the python library

I don't think python supports it, but it's not hard to check and detatch.

Sign in to add a comment