From: Romain L. <rom...@wa...> - 2003-09-24 06:29:06
|
Hi, > Message du 23/09/03 21:35 > De : Pierrick Brossin <pbr...@sw...> > A : ro...@ti... > Copie =E0 :=20 > Objet : FreeBSD 5.1-C and TI V200 > Hi! >=20 > I saw on your site you've done a huge work on the software. I want to > first thank you. Me and other people (I hope) always appreciate when > some skilled guys create programs to make more and more devices work > under Linux/Unix. Windows is such a pain that I don't even use it > anymore :) >=20 > OK so here is the point, I'm using FreeBSD 5.1-C and I'm trying to use > TiLP to connect my V200 through a USB link. >=20 > I'm not asking my question on the mailing list because I guess it's more > a bug or a kernel option missing than anything else. I'd be proud to ok, but by using the tilp-devel mailing list, Tijl Coosemans (FreeBSD porte= r) whould have got your mail. That's OK, I CC'ized it... > help you to make it work under BSD (I mean the USB link). > Maybe I didn't know how to make it work but here is what I've done: >=20 > Connected the USB link to the computer (USB port #1). > syslogd reports something has been connected as this: >=20 > -- > Sep 23 21:21:38 beer kernel: ugen0: Texas Instruments TI-GRAPH LINK USB, > rev 1.10/2.08, addr 2 good... > -- >=20 > Now I ran TiLP as a normal user using sudo (to make sure they are no > permission issues). >=20 > -- > Sep 23 21:21:50 beer sudo: dynek : TTY=3Dttyp2 ; PWD=3D/usr/home/dynek= ; > USER=3Droot ; COMMAND=3D/usr/X11R6/bin/tilp > -- >=20 > I setup (setup->communication) TiLP so it uses "USB TIGraphLink" as link > then, I have no other choise then "USB port #1" for the communication > port. > In the "Calculator" tab I choose the V200 option and then I push OK >=20 > On the command line I can read the following: >=20 > -- > Libticables: current settings... > Link cable: SilverLink > Port: USB port #1 > Method: automatic (direct access thru API) > Timeout value: 15 > Delay value: 10 > Baud-rate: 9600 > Hardware flow control: on > I/O address: 0x2f8 > Device name: none > Libtifiles settings... > Calc type: V200 > Libticalcs settings... > Calc type: V200 > TIGL-USB found with libusb. very good.... > -- >=20 > Unfortunately at the bottom of the window I can read "Status: not > connected." This change when you attempt an operation (such as Ready) with success. It = has nothing to do with (un)plugging the cable. > I thought I didn't plug the USB link in the right port so I tried all > the other USB ports I have on the mobo but it wouldn't work either. >=20 > When I try to list the directories I get: >=20 > -- > Msg: Error while reseting USB endpoints. > Cause: Your cable may be stalled. Unplug and replug it !. > -- >=20 > and on the command line I can read: >=20 > -- > Is calculator ready ? > Error: usb_resetep: usb_clear_halt called, unimplemented on BSD > Error: usb_resetep: usb_resetep called, unimplemented on BSD > Error: usb_reset: usb_reset called, unimplemented on BSD Argh, some important functions seem to be unimplemented on BSD... There are 2 ways: use a libusb which implement this call (but they seem to = be BSD specific) or port the SilverLink kernel module to the BSD platform..= . > -- >=20 > Here is the final point. Am I missing an option in the kernel or is > there an issue with the USB link with TiLP. Unfortunately, there is an issue with USB management under BSD >=20 > Remember I'm there if you want to make tests! >=20 > Regards >=20 > --=20 > Pierrick Brossin <pbrossin .at. swissgeeks .dot. com> > < http://www.swissgeeks.com > > perl -e\ > 'print $i=3Dpack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);' >=20 Regards, Romain --- Romain Li=E9vin, aka 'roms' =09 <ro...@ti...> Site web =09=09=09 <http://tilp.info> Messagerie instantan=E9e (ICQ) 43585029 "Linux, y'a moins bien mais c'est plus cher !" |