dCore Import Debian Packages to Mountable SCE extensions > dCore x86 Imported Extensions

usb-modeswitch

<< < (5/7) > >>

Jason W:
Glad to hear!  I like to get the upstream packages to work if possible but when needed, we will usurp Debian/Ubuntu with custom built packages.

hiro:
Guys, can you clarify please on what exactly works? you plug in the device and it switches mode automatically? Or did you have to change the rules files or run usb_modeswitch binary manually?

I don't seem to understand how this works. What is running ./lib/udev/usb_modeswitch ? and what is running the dispatcher?
In the .rules file it seems like usb_modeswitch is run. But is it not using the PATH, is udev first looking in /lib/udev?

hiro:
Ok. Found the bug (which was really hard, had to guess as it wouldn't error visibly anywhere!)

You have to make sure that /usr/local/tce.installed/usb-modeswitch is compatible to you tcl package
I changed ln -s /usr/local/bin/tclsh /usr/bin/ to ln -s /usr/local/bin/tclsh8.5 /usr/bin/tclsh

Should be fixed at least in tc 6.x

Jason W:
I fixed the startup script in tcl8.5, the affected package, so should work now in all dCore ports.

hiro:
please also fix http://distro.ibiblio.org/tinycorelinux/6.x/x86/tcz/tcl.tcz

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version