From: Michael R. <re...@eu...> - 2007-02-03 16:12:12
|
Hi there, > Did you managed to make picoLCD work ? I'm still having problems with > bar graphs maybe you can take a look too ? > Some tips will be great. > > P.S. There is indeed a problem with 2.6.19 kernel that prevents libusb > detaching from the kernel hid driver. Ok, today I tried to use the picoLCD with linux-2.6.18, but I get the same "nothing". I had a look at the sample code from ituner, and found that they use usb_interrupt_write() instead of usb_bulk_write(). I changed this in the lcd4linux driver too, and.... it works! Now I've seen the "bar bugs" too, and I found and corrected the bug: As you've stolen^Wadopted the code from USBLCD, there are two places where a ASCII 0 (zero) is escaped by another zero. This is necessary for the USBLCD, but not for your picoLCD. Removind this code, and all the bars work correctly! Unfortunately the SVN server is down at the moment, so I cannot chek my changes in. But I will do so as soon as it is up again. bye, Michael -- Michael Reinelt <re...@eu...> http://home.pages.at/reinelt GPG-Key 0xDF13BA50 ICQ #288386781 |