Quantcast
Channel: Linux Device Hacking - Displays
Viewing all articles
Browse latest Browse all 91

Usb Connect error - Failed to claim usb device! (3 replies)

$
0
0
hey guys ive got a few little xg4241 picture frames from dicksmiths here in aus heres a link


and heres my addon for flashlib.ini
[m25p80]
; ×éÖ¯
Capacity = 0x100000
Sector-Type = Simple
Max-Sector-Size = 0x10000
Min-Sector-Size = 0x1000
Page-Size = 0x100
; ID
ID-9F = 0x20201400
ID-9F-MASK = 0xFFFFFF00

; ÃüÁî
Write-Enable = 0x06
Write-Disable = 0x04
Read-Status-Register = 0x05
Write-Status-Register = 0x01
Word-Program = 0x02
Read = 0x03
Fast-Read = 0x0B
Page-Program = 0x02
Erase-4K = 0x20
Erase-64K = 0xD8
Erase-Chip = 0xC7

after playing with the offical sdk from appotech but not getting my screen working i had alook around and found this site and after trying many firmware's i found it works with the 27893 fw .

now my issue is i can not get it to connect to anything i have compiled everythign in the dpf-ax svn "after sdcc2.9 and libhid ect.. where installed :p" but when i try lcd4linux for example i get this

user@ubuntu:~/dpf-ax/trunk/lcd4linux$ ./lcd4linux -F -v -f dpf.conf
LCD4Linux 0.11.0-SVN-1092 starting
Found AX206 DPF
Error: Failed to claim usb device!
Possibly you have to detach the device from hid.
Use hiddetach from the fw folder: 'sudo fw/hiddetach'
                       or libhid: 'sudo libhid-detach-device 1908:3318'
dpf: cannot open dpf device usb0
Error initializing driver DPF: Exit!

ive tried the hiddetach script but it tells me theres no dpf in bootloader mode witch it isnt its just on the screen with the eyes , i also tried ax206term but it complanes about the same kinda thing finds the frame but cannot attach.

im on ubuntu 12.04 LTS

and heres my dump i dont think its needed but there might be something differnt

also dam great support @superelchi your makeing wins :)

Viewing all articles
Browse latest Browse all 91

Trending Articles