12oclocker / V-USB_TinyAvr

V-USB variant with added compatability for TinyAvr0 TinyAvr1 series
GNU General Public License v3.0
11 stars 2 forks source link

Outdated version of usbdrv/usbdrv.c in your repository #2

Open vobsch opened 3 months ago

vobsch commented 3 months ago

Thanks for sharing your work! I sucessfully implemented a HID keyboard on a ATtiny212.

Trying to implement avr-cdc on a ATtiny1614 I ran into problems: My Linux PC was unable to set DTR and RTS handshake signals. The reason: The file usbdrc/usbdrv.c you provided seems to be outdated, Pls. compare it to respecive file in v-usb repository on github or see following diff:

--- usbdrv/usbdrv.c 2020-12-01 01:33:13.000000000 +0100 +++ ../../www.github.com/v-usb/usbdrv/usbdrv.c 2024-03-12 16:37:43.113167475 +0100

@@ -341,6 +333,9 @@ GET_DESCRIPTOR(USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER, usbDescriptorStringSerialNumber) SWITCH_DEFAULT if(USB_CFG_DESCR_PROPS_UNKNOWN & USB_PROP_IS_DYNAMIC){

Regards, Volker

12oclocker commented 1 month ago

Thank you for the report. Can you please post a link or attachment to your modified usbdrv.c that you are using with V-USB_TinyAvr. www.github.com/v-usb/usbdrv/usbdrv.c results in "Not Found". Thank you.

vobsch commented 1 month ago

Sorry, the correct URL of usbdrv.c is: https://github.com/obdev/v-usb/blob/master/usbdrv/usbdrv.c

Volker