From: Johannes E. <joh...@er...> - 2002-05-25 20:28:17
|
On Sat, May 25, 2002, Florian Baumgartner <bau...@cs...> wrote: > I am playing around with some USB mp3 device, linux (kernel 2.4.5) and > the libusb (0.1.5). So far things were going rather straightforward > and I was able to exchange data with the device, query its > configuration, > setting parameters and things like that. > > Now a certain request results in the errormessage: > > "error reading from bulk endpoint 0x82: > Invalid or incomplete multibyte or wide character" > > Since several preceding bulk transfers over the same "channel" are > working fine, I do not think I made any (obvious) mistake in opening > the usb device or claiming an interface. The problem seems somewhat > be related with that certain request. > > Especially I would be interested to know who generates the second part > of that error message. Okay, it's a strerror call following the bulk > transfer ioctl, but is it a message by the linux system or might this > message also be generated by the usb device passing it to the linux > usb stack ? > > Since the request I'm sending to the device contains some wide character > strings, such an error by the device would make sense .. I think it's a coincidence. libusb and the kernel USB code don't care what the data is, they just pass it blindly to the device. However, I have no idea how that message got generated. I don't see that text in any header files. What distribution are you using? What version of glibc? JE |