| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Hi all, I use libusb under MacOS X10.3.7 and gcc version is 3.3 20030304 (Apple Computer, Inc. build 1666) I used a USB Phone named P1K. And I used libusb in below order, and I get a error in claiming interface. and cann't read data by usb_interrupt_read, but I can write data to it by usb_control_msg successfully. usb_init(); usb_set_debug(4); usb_find_busses(); usb_find_devices(); usb_get_busses(); usb_open(pUSBPhone); usb_claim_interface(hPhone, 0x03); // ERROR here usb_close(hPhone); can you tell me what the trouble with my operaction, or how can I use libusb in a right way? attachment is my example code and debug result. pls read it and give me some advice. If you need any infomation more about my environment, please tell me ASAP. We are also on quite a tight schedule so if you could get back to me as soon as possible that would be great. B.rgds, SYZ 2005-12-05 Xiamen YeaLink Network Technology Co.,Ltd. MSN:email@hidden E-Mail:email@hidden
Attachment:
simpUSB.cpp
Description: Binary data
Attachment:
debug.log
Description: Binary data
_______________________________________________ Do not post admin requests to the list. They will be ignored. Usb mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/usb/email@hidden This email sent to email@hidden
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.