dpf-ax 0.320 October 16, 2012 08:48AM |
Registered: 12 years ago Posts: 365 |
* Support for model specific contrast init. * Dpf type definition moved from config.h to ./lcd/TYPE/dpfmodel.h. * New: knowntypes_builder.py builds type info from definitions in lcd/$(TYPE)/dpfmodel.h: - fw/knowntypes.py - for use by identify.py - fw/knowntypes.html - simple html page listing all supported dpfs. * Identify.py rewrite: - Commandline options (-v = verbose, -d = developer support) replace manual dev_mode editing. - Extended developer support by putting dump-snipppets and disassembler-scripts in folder fw/identify.out. - Detection of default brightness / contrast value. - Better identification of models mit non-standard init ("fake" CRC generation). - Replaced knowdpfs.py with autogenerated knowntypes.py (see knowtypes_builder.py). * Shebang added to all python scripts in folder fw. * Hint to use hiddetach if dpf is claimed by hid added to rawusb.c * Modelname change: - pearl -> pearl_portrait - pearl_landscape -> pearl - focal -> focal_portrait - focal_landscape -> focal * New model: - acme_2 - delightdigi_black_portrait - jovisa - linkdelight_2 - linkdelight_3 - pearl_custom
Re: dpf-ax 0.320 October 17, 2012 08:21AM |
Registered: 11 years ago Posts: 61 |
Re: dpf-ax 0.320 October 17, 2012 09:27AM |
Registered: 12 years ago Posts: 365 |
Re: dpf-ax 0.320 October 18, 2012 06:23AM |
Registered: 11 years ago Posts: 61 |
Re: dpf-ax 0.320 November 20, 2012 09:42AM |
Registered: 11 years ago Posts: 5 |
Re: dpf-ax 0.320 November 21, 2012 01:57AM |
Registered: 12 years ago Posts: 365 |
Re: dpf-ax 0.320 November 21, 2012 10:16AM |
Registered: 11 years ago Posts: 5 |
Re: dpf-ax 0.320 November 22, 2012 08:04AM |
Registered: 12 years ago Posts: 365 |
Solo0815
Re: dpf-ax 0.320 December 01, 2012 04:31AM |
# sudo python ./identify.py /dev/sg7 Detecting & reading dpf flash... Opening generic SCSI device '/dev/sg7' Manufacturer: Winbond Size : 2 MB Reading 200000 bytes... Flash written to file 'identify.out/full.bin'. Looking for firmware.............: Found (coby, 320x240 px). Looking for Openwin..............: Found. Looking for LcdIniTbl............: Found. Looking for known signatures.....: None. Looking for known version info...: None. Sorry, no matching dpf found. But following models have a partial signature match: [['dx21334b']]
# ./lcd4linux -i -f ~/lcd4linux.conf Found AX206 DPF Error: Failed to claim usb device! Possibly you have to 'sudo libhid-detach-device 1908:3318' dpf: cannot open dpf device usb0 Error initializing driver DPF: Exit!But the devixe is 1908:0102 as lsusb says:
# lsusb -v Bus 007 Device 015: ID 1908:0102 GEMBIRD Couldn't open device, some information will be missing Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass 255 Vendor Specific Class bDeviceSubClass 255 Vendor Specific Subclass bDeviceProtocol 255 Vendor Specific Protocol bMaxPacketSize0 8 idVendor 0x1908 GEMBIRD idProduct 0x0102 bcdDevice 2.00 iManufacturer 2 iProduct 3 iSerial 1 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 32 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x80 (Bus Powered) MaxPower 200mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass 0 bInterfaceProtocol 0 iInterface 4 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x01 EP 1 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 0How can I detach the device from usbhid and use it with lcd4linux?
ATTRS{idVendor}=="1908", ATTRS{idProduct}=="0102", OPTIONS=="ignore_device" SUBSYSTEM=="usb", ACTION=="remove", ENV{ID_MODEL_ID}=="0102", ENV{ID_VENDOR_ID}=="1908"Thx for your great work and your help ;)
Re: dpf-ax 0.320 December 01, 2012 08:55AM |
Registered: 12 years ago Posts: 365 |
Solo0815
Re: dpf-ax 0.320 December 02, 2012 04:56AM |
# sudo ./lcd4linux -i -f ~/lcd4linux.conf Found AX206 DPF Error: Failed to claim usb device! Possibly you have to 'sudo libhid-detach-device 1908:3318' dpf: cannot open dpf device usb0 Error initializing driver DPF: Exit!"libhid-detach-device" is not available for the newer (>10.04) versions of Ubuntu and even you add it to Ubuntu via deb, it is _not_ working! To get rid of this error, you have to be "root" first with "sudo -i". Now lcd4linux is working from the CLI
SUBSYSTEM=="usb", ACTION=="add", ENV{ID_MODEL_ID}=="0102", ENV{ID_VENDOR_ID}=="1908", RUN+="/path/to/dpf-ax/lcd4linux/lcd4linux -f /path/to/lcd4linux.conf" SUBSYSTEM=="usb", ACTION=="remove", ENV{ID_MODEL_ID}=="0102", ENV{ID_VENDOR_ID}=="1908", RUN+="/usr/bin/killall lcd4linux"change it to fit your DPFs Vendor- and Model-ID, save it to "/etc/udev/rules.d/90-lcd.rules" and reload udev with "sudo reload udev" (on Ubuntu)
Re: dpf-ax 0.320 December 02, 2012 06:48AM |
Registered: 12 years ago Posts: 365 |
Re: dpf-ax 0.320 December 03, 2012 06:51AM |
Registered: 11 years ago Posts: 61 |
Re: dpf-ax 0.320 March 13, 2013 08:44AM |
Registered: 12 years ago Posts: 365 |
Re: dpf-ax 0.320 March 15, 2013 02:07PM |
Registered: 11 years ago Posts: 5 |
Re: dpf-ax 0.320 March 15, 2013 02:45PM |
Registered: 11 years ago Posts: 5 |
dwc_otg.microframe_schedule smsc95xx.turbo_mode = 1 = N-sdhci sdhci-bcm2708.sync_after_dma bcm2708.missing_status = 0 = 0 = 0 console = tty1 dwc_otg.lpm_enable root = / dev/mmcblk0p2 rootfstype = ext4 rootwait dwc_otg.speed = 1
Re: dpf-ax 0.320 March 16, 2013 09:22AM |
Registered: 12 years ago Posts: 365 |
mediocremole
Re: dpf-ax 0.320 April 23, 2013 03:43PM |
Re: dpf-ax 0.320 April 23, 2013 03:53PM |
Registered: 11 years ago Posts: 5 |
Re: dpf-ax 0.320 April 24, 2013 01:48AM |
Registered: 10 years ago Posts: 3 |
Re: dpf-ax 0.320 April 24, 2013 02:55AM |
Registered: 12 years ago Posts: 365 |
Re: dpf-ax 0.320 April 24, 2013 05:21AM |
Registered: 10 years ago Posts: 3 |
Re: dpf-ax 0.320 April 24, 2013 05:33AM |
Registered: 12 years ago Posts: 365 |
Re: dpf-ax 0.320 April 24, 2013 06:23AM |
Registered: 10 years ago Posts: 3 |