Hi, I try to get the mentioned USB device to run in Linux. It is a small (USB stick sized) device, which only passes through the radio signal to the line in. Control is done via USB.
I did some reverse engineering in Windows and I think I determined all important functions (i.e. bytes :) ). As it is a HID device I started to read something about HID on usb.org and in linux/Documentation and I began to write a user space program which accesses the device through the /dev/usb/hiddev*-file. My problem now is, I don't know how to control the device using the ioctl-calls. I see the bytes from the rev-eng. but I don't know what they mean regarding to the HID-specs. Report_id, -_type, or something. For example: setting a frequency looks like this: buffer to ep 2: 00 55 aa 03 a4 00 00 08 (0xa4 probably mean tunetofreq) to ep 2: 20 2e 01 00 00 00 00 00 (mean 102750 kHz) switching mono/stereo like this: buffer to ep 2: 00 55 aa 00 ae 01 00 00 (0xae mono/stereo, 0x01 mean mono) So sometimes an extra buffer is necessary sometimes not. I would very much appreciate if someone could point me out, how I have to write the buffer above using the ioctl-calls for the hiddev. Or is the user-space hid stuff not appropriate, shall I use libhid ? On the following website I put the complete reverse-engineer-log (and my interpretation) and the lsusb output. http://www-zeuthen.desy.de/~pboettch/usbradio/ Thanks in advance, Patrick. -- Mail: [EMAIL PROTECTED] WWW: http://www.wi-bw.tfh-wildau.de/~pboettch/ ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel