grag38 / qextserialport

Automatically exported from code.google.com/p/qextserialport
0 stars 0 forks source link

friendName, vendorID and productID not working under Linux #65

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. use enumerator with ttyUSB or ttyACM serial ports

What is the expected output? What do you see instead?
You don't gather information from /sys and /dev

What version of the product are you using? On what operating system?
hg download on ubuntu 10.04

Please provide any additional information below.
I'm posting a patch that solves the problem

Giorgio

Original issue reported on code.google.com by giorgio.cardarelli@gmail.com on 16 Jun 2010 at 12:23

Attachments:

GoogleCodeExporter commented 8 years ago
I have already done similar work on Issue 4:
http://code.google.com/p/qextserialport/issues/detail?id=4
However the issues is closed fora about a halfyear ago my patch have not been 
merged yet. 

IMHO your implementation is much more pretty than mine.  

Original comment by martonmi...@gmail.com on 2 Aug 2010 at 1:27

GoogleCodeExporter commented 8 years ago
Thanks for your comment. I've developed this patch for a huge personal project 
and I'm using it in a quite stressing way (using USB hubs, for example). As for 
now, I've never had problems.

I think that, if merged in the main project, this patch would lead to a series 
of important improvements, since it is just a starting point.

Giorgio

Original comment by giorgio.cardarelli@gmail.com on 28 Aug 2010 at 9:25

GoogleCodeExporter commented 8 years ago
Thank you for your publishing your patch. Works greate for me, and additionally 
now I know a lot more about the /sys part of the filesystem^^

I've integrated your work, amongst other improvements into my fork at github: 
https://github.com/tomgey/qextserialport

Original comment by tom...@gmail.com on 23 Jul 2011 at 4:30

GoogleCodeExporter commented 8 years ago
Hello Everybody,

Thank you for this patch. It works perfect. Strange that it takes so long to 
fix this issue...

Greetings
Reto

Original comment by reto.pab...@gmail.com on 12 Nov 2012 at 10:08

GoogleCodeExporter commented 8 years ago
Hi, since there's someone using my patch, here's the updated version for 
qextserialport-1.2rc

The enumerator code is in src/qextserialenumerator_linux.cpp

I've also modified other files in order to have this behaviour: if a serial 
device is disconnected from the computer (for example a USB-Serial converter) 
the port is automatically closed and the signal exceptionHandled() is emitted.

HTH,
Giorgio

Original comment by giorgio.cardarelli@gmail.com on 16 Jul 2013 at 9:49

Attachments:

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
This patch helps with linux kernel panic on 3.5.x and up. verified on Ubuntu 
12.04 and 13.04

Original comment by karsten....@gmail.com on 18 Sep 2013 at 10:02