QinHeng CH340S (LogiLink) USB->Parallel adapter printer status failure
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Expired
|
Medium
|
Unassigned |
Bug Description
This seems to be a failing driver problem.
Doing (C):
unsigned char r;
int hIO = open("/
ioctl(
I wouldn't get the right state for the three available status bits of a USB to parallel converter.
It seems that these bits are delayed, but even when I sleep(1) before ioctl(), these bits are sometimes wrong.
The same code works perfectly on a true parallel port (/deb/lp0).
Notably, the data output {ioctl(
However, the Windows version works fine on the same machine and the same converter, on any Windows and any bitness, with a quite similar method:
unsigned char r;
OVERLAPPED o;
HANDLE hIO = OpenUsbPrn(
// www-user.
DeviceIoContro
everything works fine.
SUMMARY:
Release of Ubuntu:
Sorrily, the version of Ubuntu is not available. Same behaviour on i32 and amd64 platforms.
Expected behaviour:
ioctl(hIO,
What happens:
This call seems to block too long (not measured), and returns wrong bits to r.
Even when I sleep() before this call, wrong bit values are returned.
affects: | ubuntu → cups (Ubuntu) |
summary: |
- usb->parallel_printer status failure + QinHeng CH340S (LogiLink) USB->Parallel adapter printer status failure |
Changed in linux (Ubuntu): | |
importance: | Undecided → Medium |
Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https:/ /wiki.ubuntu. com/Bugs/ FindRightPackag e. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.
To change the source package that this bug is filed about visit https:/ /bugs.launchpad .net/ubuntu/ +bug/1156210/ +editstatus and add the package name in the text box next to the word Package.
[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]