The always unclear look at Linux and Open source muddling with questionable answers found at the bottom of the technical interpretation of past words, and of course there are no correct answers only more questions to add to the list .
Monday, July 6, 2020
GM Canyon 2008 bad sun visors
Though most would say just replace it , but at over $100 for the replacement part for 1 , I refuse . Both driver side and passenger side cracked in the same place after 2-3 years and then the drive side wouldn't stay up any more so I fixed the connector first by glue and then a total re-design . Here is the connector :
As you can see the damage is to the connector that holds the visor , besides the crack there should be a tube to hold the pipe from the visor , that has fallen apart, IE broken into many small pieces. Glue will not fix this because the parts are gone. So I created a piece of metal to replace this with a tube inside for the visor to sit on and rotate.
It now holds the visor on the roof with no problems , the passenger side still needs fixing so here is the driver side fixed :
And the passenger side still broke and getting worse each day:
It seems the vibrations from the truck normal use cause this and the fact that the plastic design is just crap . Seems to me this should be a recall but in the last 10 years very few things get recalled any more so I guess I will be creating yet another metal part to fix this .
Sunday, April 19, 2020
Chromcast chromium Linux not connecting
Just a short post on problems connecting Chromium to a Chromcast device
Much confusion on this problem, people go into great detail on obvious answers with setting up Chromcast but of course this is a bit more detailed then simple setup problem. The first problem is to see that chromium supports casting nativity no need for extensions for apps etc. Go into settings and you will see a cast label, select the label and something should popup like cast tab ? If your Chromcast device pops up your are all set, if not read on. Chromcast is not firewalls friendly , IE once found a udp flow from Chromcast comes to your machine/IP that is NOT related . So in order to connect to your Chromcast device you must open your machine FW a bit. Since Chromcast works best if you are on the same wireless device you can put up a rule that just's allows the Chromcast device IP in your INPUT rules: "iptables -I INPUT 7 -s Chromcast-IP -j ACCEPT -m comment --comment "chromcast cast device" , where Chromcast-IP is the IP of the device. I found a much more complicated set of rules like this:export CHROMECAST_IP=10.1.2.3 # Adjust to the Chromecast IP in your local network
iptables -A INPUT -s ${CHROMECAST_IP}/32 -p udp -m multiport --sports 32768:61000 -m multiport --dports 32768:61000 -m comment --comment "Allow Chromecast UDP data (inbound)" -j ACCEPT
iptables -A OUTPUT -d ${CHROMECAST_IP}/32 -p udp -m multiport --sports 32768:61000 -m multiport --dports 32768:61000 -m comment --comment "Allow Chromecast UDP data (outbound)" -j ACCEPT
iptables -A OUTPUT -d ${CHROMECAST_IP}/32 -p tcp -m multiport --dports 8008:8009 -m comment --comment "Allow Chromecast TCP data (outbound)" -j ACCEPT
iptables -A OUTPUT -d 239.255.255.250/32 -p udp --dport 1900 -m comment --comment "Allow Chromecast SSDP" -j ACCEPT
That said my simple rule is a bit simpler and assumes you all ready have rules that allows outbound connection like this: INPUT/OUTPUT ctstate RELATED,ESTABLISHED , that allows outbound connections to flow . I think the complicated above should work but is a bit complicated so I didn't try it . Once I had the one rule for the Chromcast IP in INPUT everthing worked from Chromium without issues . Most problems are simple and most solutions are also simple why get complicated .
Friday, April 19, 2019
ESP8266 notes and hints
There is a fair amount of information out there and web sites to building/using the ESP8266, the problem is there is a lot of just wrong info on the ESP8266 out there . ESP8266 wasn't designed to be like a Arduino but info was released and programmers hacked it and now it's a lot like a Arduino , it seems to be designed to be used by a Arduino like a processor using a serial connection and a AT modem set (a flash back to the 1990) . You can find a lot of Arduino library's that let you do this but the real power of the ESP8266 is that you can re-flash it with Arduino like code and use it as a stand alone Arduino. The confusion on the ESP8266 starts because there are a lot of hardware version of the ESP8266, google ESP8266 wiki and read, lots of versions and manufacturers so here is the start of miss-information . Lots of datasheets poor translations , incorrect interpretations of the documents . It also doesn't help that these are 3.3v devices where most of the Arduino's were 5v, IE 3.3v devices are a lot easier to damage due to over voltage IE anything over 3.6v and you device is garbage, and let me count the ways that can happen (at least 4-5 times I have done this, by mistake or indirectly). Once you damage a ESP8266 it can still function but not to spec , IE GPIO's show off when on , A/D can work but be wrong , at boot pins will recycle up and down randomly etc .
One of the first things you hit when using the ESP8266 is how you have to set it up to program or just run it , IE 3 pins will need pull up resistors and 1 pin a pull down , RESET,GPIO0,GPIO2 up, GPIO15 down, please read the data sheet for the device you have to verify this, don't trust anyone , again because of the above . GPIO0 is the program pin, low puts it into programming/flashing mode. But one of the things you will run into is that there are a lot of pins that go up and down during a boot, IE power on. This can cause un-wanted functions to trigger on your design, so again find some documentation and experiment. The other major problem is that the ESP8266 has a built in wireless stack that when activated will take time away from any process to keep the connections alive and well. There are many Arduino library writers that have had to fix there code because of this time share of this device, IE your code is not the only thing running of this chip, keeping that in mind you have to be able to give up control to the communication code so that it can maintain connections health etc .
The ESP32 is the next generation of the ESP8266 and it solves some of the ESP8266 problems IE duel processors more pins better documentation and designed to be programmable from the ground up. But the ESP32 is 2x the money at least if not more as of this document creation. So in the low price area ESP8266 still has a place and a market if you can get around the above issues. I had some good success with it so far .
Sunday, November 1, 2015
Honda Wallpaper img imid option
Each image file can be up to 2 MB.
• The maximum image size is 1,680 x 936 pixels. If the image size is less than 420 x 234 pixels, the image is displayed in the middle of the screen with the extra area appearing in black.
• The number of files that can be selected is up to 255.
• Up to 64 characters can be displayed in the file name.
Also when you create the JPEG file you must not use progressive compression for the jpg file. By default gimp turns this on and the paint program does not.
Monday, February 2, 2015
DIY PDF Bluetooth foot pedal for Android
Why do this:
Designing the pedal:
- Some kind of platform to rest the foot on to trigger a switch/page turn.
- Some kind of switch ?
- Power the unit ?
- Some way to package the hole unit ?
- Power the module with 3-16VDC, so a 9V battery will work great.
- Acts just like a BT keyboard, IE plug a switch to a key and it works.
- Sends the 4 arrow keys, return, space, etc.
- Comfort , I don't want to be picking the foot up to hit a page turn, I wanted something to use as a foot rest and then rotate the foot left or right.
- Back and forward keys will be closest and I wanted a home and end function key to act as a top of document and end of document.
- Pitch of the pedal would be not too high and not too low so again minimal foot movement.
- Size of unit should be small to be able to easily pack away in a gig bag.
- Stability of the unit no tip or chance of turning over during a session.
![]() |
| Pitch of the platform for resting the foot |
![]() |
| EZ-key , battery, switch |
![]() |
| Underside so that you can see supports and wiring |
![]() | |
| The buttons are mapped right to left as bottom, page down, page up, top. |
Tuesday, December 18, 2012
Asus AS U32U laptop with Linux
00:01.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Wrestler [Radeon HD 6320]
00:01.1 Audio device: Advanced Micro Devices [AMD] nee ATI Wrestler HDMI Audio [Radeon HD 6250/6310]
00:04.0 PCI bridge: Advanced Micro Devices [AMD] Family 14h Processor Root Port
00:11.0 SATA controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode] (rev 40)
00:12.0 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:12.2 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:13.0 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:13.2 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:14.0 SMBus: Advanced Micro Devices [AMD] nee ATI SBx00 SMBus Controller (rev 42)
00:14.1 IDE interface: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 IDE Controller (rev 40)
00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel HDA) (rev 40)
00:14.3 ISA bridge: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 LPC host controller (rev 40)
00:14.4 PCI bridge: Advanced Micro Devices [AMD] nee ATI SBx00 PCI to PCI Bridge (rev 40)
00:15.0 PCI bridge: Advanced Micro Devices [AMD] nee ATI SB700/SB800/SB900 PCI to PCI bridge (PCIE port 0)
00:15.1 PCI bridge: Advanced Micro Devices [AMD] nee ATI SB700/SB800/SB900 PCI to PCI bridge (PCIE port 1)
00:15.2 PCI bridge: Advanced Micro Devices [AMD] nee ATI SB900 PCI to PCI bridge (PCIE port 2)
00:15.3 PCI bridge: Advanced Micro Devices [AMD] nee ATI SB900 PCI to PCI bridge (PCIE port 3)
00:18.0 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 0 (rev 43)
00:18.1 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 1
00:18.2 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 2
00:18.3 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 3
00:18.4 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 4
00:18.5 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 6
00:18.6 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 5
00:18.7 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 7
04:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. Device 5289 (rev 01)
04:00.2 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 0a)
05:00.0 USB controller: ASMedia Technology Inc. ASM1042 SuperSpeed USB Host Controller
06:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
The only real problem area was the Realtek RTL8111/8168B Ethernet controller , I had to upgrade to Linux kernel 3.7.0 for this to work at all. Atheros wireless works at N speed without any issues so far at kernel 3.6.6 .
Sunday, March 27, 2011
You never get fired for buying MS/Cisco/Oracle/IBM/HP/Dell etc ?
Is this the magic formula to a successful corporate job ?
Does corporate IT still live and breath this cry, has nothing changed in 30 years ?
Linux in the corporate environment has caused some small cracks in the above Iron, but it seems not much. In my job I get questions like "are sure you are spending enough here", or "well that is only a AMD machine" Or "why don't we just buy all the machines now" . In general most managers just don't understand what a corporate machine should be, thus they want to fall back to someone to defined that for them (and expert), and big brand names are more then happy to do this. Big brands try to look at what they think the current corporate environment is and to drain as much cash from that environment, thus the model lines are developed and sold. Is there a way to fight/counter this madness ? Here are some steps that might help change the corporate environment.
1) To bring in hardware that is off brand it has to work, and work well for today and into the future.
2) You need to establish a track record of the above at least 2-3 years.
3) You must then sell this to your managers and underlings all the time.
4) Mangers must understand that this is not only saving money but is better for today and the future.
5) Underlings must work with you and not against.
Why fight this fight, here are some reasons :
1) Most big brand hardware is 1-2 years behind the technical hardware curve, thus you will spend more for less advanced hardware.
2) Fast and more up to date hardware will give you a 2-3 year advantage for performance and up time numbers.
3) You will be able to buy more hardware, faster and reliable because you can shop for the best/price point within each category .
Current examples:
1) SSD hard drives are changing everything about I/O, database access and reliability .
2) The fastest system memory is the best way to make applications run fast.
3) Mega multi core machines are creating main frames on 1U servers.
4) There are always 2-3 reasons to build your own machines, always.
Are there reason why you don't want to do this (Yes):
1) You just don't have the time.
2) You are scared of failing .
3) Non Linux software does not work well with new hardware.
4) MS licensing gives you a huge costs disadvantage to rolling your own.
As always what do you think ? Any more reasons to add to the list ? What ideas do you have ?










