system awareness of endpoints

2016-03-12 Thread bruce m beach
Hello All I'm new to libusb (and programming usb) so am not clear on a host of things but am making lots of progress. In an email to libusb I wrote: I'm trying to get a debug endpoint on the open firmware for an atheros usb wifi stick (ar9271) with a fusb200 controller. All the bits and pieces

system awareness of endpoints

2016-03-13 Thread bruce m beach
Hello Greg >> I believe I can change the Device descriptors in firmware, upload the new >> firmware and reboot the stick but wouldn't the usb subsystem have the old >> device descriptor from the previous hotplug/system boot? > Nope, the kernel reads the descriptor from the device when it is conne

system awareness of endpoints

2016-03-14 Thread bruce m beach
Greg wrote: > lsusb is looking at the descriptor that the device originally gave the > operating system and parsing that. You can't dynamically change your > descriptors without resetting your device and having the OS restart it. Oliver wrote: > The firmware uploader may need to do a reset though.

Re: system awareness of endpoints

2016-03-12 Thread Greg KH
On Sat, Mar 12, 2016 at 07:56:03PM -0800, bruce m beach wrote: > I believe I can change the Device descriptors in firmware, > upload the new firmware and reboot the stick but wouldn't > the usb subsystem have the old device descriptor from the > previous hotplug/system boot? Nope, the kernel reads

Re: system awareness of endpoints

2016-03-13 Thread Greg KH
On Sun, Mar 13, 2016 at 09:31:39PM -0700, bruce m beach wrote: > Hello Greg > > >> I believe I can change the Device descriptors in firmware, upload the new > >> firmware and reboot the stick but wouldn't the usb subsystem have the old > >> device descriptor from the previous hotplug/system boot?

Re: system awareness of endpoints

2016-03-13 Thread Lars Melin
On 2016-03-14 11:31, bruce m beach wrote: Hello Greg I believe I can change the Device descriptors in firmware, upload the new firmware and reboot the stick but wouldn't the usb subsystem have the old device descriptor from the previous hotplug/system boot? Nope, the kernel reads the descrip

Re: system awareness of endpoints

2016-03-14 Thread Oliver Neukum
On Sat, 2016-03-12 at 20:30 -0800, Greg KH wrote: > On Sat, Mar 12, 2016 at 07:56:03PM -0800, bruce m beach wrote: > > I believe I can change the Device descriptors in firmware, > > upload the new firmware and reboot the stick but wouldn't > > the usb subsystem have the old device descriptor from t