Search found 6 matches

by mostafayasin
Sun Dec 30, 2018 9:32 pm
Forum: V-USB
Topic: ubuntu virtual machine can't recognize my device
Replies: 1
Views: 33756

Re: ubuntu virtual machine can't recognize my device

Firstly, you should install the extension pack for the VBox.
Second, open the VBox with root privilege.
by mostafayasin
Sat Nov 03, 2018 2:23 pm
Forum: V-USB
Topic: ubuntu virtual machine can't recognize my device
Replies: 1
Views: 33756

ubuntu virtual machine can't recognize my device

Hello everyone,

I am using ubuntu Oracle virtualBox on my ubuntu PC, and I have Attiny45 running "hid-custom-rq" example, the Attiny can be recognized on my ubuntu PC normally BUT it is not recognized on my virtual machine,

What can I do ?
Thanks for advice.
by mostafayasin
Fri Oct 26, 2018 9:12 pm
Forum: V-USB
Topic: Can't copy vaiable "data" to another variable inside "usbFunctionWrite"
Replies: 2
Views: 38965

Re: Can't copy vaiable "data" to another variable inside "usbFunctionWrite"

Thanks ulao, I solved my problem by using another example, I used hid-custom-rq on the vusb examples instead of hid-data .
by mostafayasin
Mon Oct 22, 2018 4:06 pm
Forum: V-USB
Topic: hid-data comunication problem
Replies: 3
Views: 47364

Re: hid-data comunication problem

I think the first byte it contain the report ID .
by mostafayasin
Sun Oct 21, 2018 10:36 am
Forum: V-USB
Topic: Can't copy vaiable "data" to another variable inside "usbFunctionWrite"
Replies: 2
Views: 38965

Can't copy vaiable "data" to another variable inside "usbFunctionWrite"

Hello guys, I tried to copy the whole content of "data" to global array to deal with it as shown in the for loop below : volatile static uchar myData[8]; uchar usbFunctionWrite(uchar *data, uchar len) { if(bytesRemaining == 0) return 1; /* end of transfer */ if(len > bytesRemaining) len = ...
by mostafayasin
Sun Oct 21, 2018 12:37 am
Forum: V-USB
Topic: Can't copy vaiable "data" to another variable inside "usbFunctionWrite"
Replies: 0
Views: 69867

Can't copy vaiable "data" to another variable inside "usbFunctionWrite"

Hello guys, I tried to copy the whole content of "data" to global array to deal with it as shown in the for loop below : volatile static uchar myData[8]; uchar usbFunctionWrite(uchar *data, uchar len) { if(bytesRemaining == 0) return 1; /* end of transfer */ if(len > bytesRemaining) len = ...