this is what stty gives:
root@fx30:/legato/apps/2f2481778f965a2d93e088c30eb25ece/read-only/bin# stty -F /dev/ttyHSL1 -a
speed 9600 baud;stty: /dev/ttyHSL1
line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; s usp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V;
flush = ^O; min = 1; time = 0;
-parenb -parodd cs8 hupcl -cstopb cread clocal crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff -iuclc -ixany -imaxbel -iutf8
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke
but I don’t think that’s the issue…
I had a look at the patch, where it changed the firmware directory location, in …/bluez/tools/hciattach_ti.c, the line
sprintf(firmware_file_name, FIRMWARE_DIRECTORY "TIInit_%d.%d.%d.bts", chip, maj_ver, min_ver);
that’s missing a comma - and there’s a compiler warning, but it goes ahead and builds anyway. I changed it and hardcoded the string to the directory and filename, the warning goes away and it builds, but I still have some either shell issues or compile issues on my system, because I get errors like
./hciattach: line 1: syntax error: unexpected ")"
./hciconfig: line 4: syntax error: unexpected ")"
I’d like to fix those and get the hci tools going with everything up to date.