Salta al contenuto

Piero Bosio Social Web Site Personale Logo Fediverso

Social Forum federato con il resto del mondo. Non contano le istanze, contano le persone
  • #Sunday #comics #Sun

    Mondo sunday comics sun
    1
    1
    0 Votazioni
    1 Post
    0 Visualizzazioni
    vicfroh@mastodon.social
    #Sunday #comics #Sun
  • # Fixing a Sun Type 7 Keyboard

    Mondo openbsd retrocomputing unix solaris sun
    1
    0 Votazioni
    1 Post
    0 Visualizzazioni
    rqm@littleone.littlefedi.social
    Fixing a Sun Type 7 Keyboard Recently, not quite sure why, I decided to start looking for a Sun keyboard. Originally I was on the hunt for a keyboard that would have vim bindings printed on the keycaps, but as I was browsing around, I stumbled on a great deal on eBay -- fraction of the price, but there was no USB cable. That's a relatively easy fix, so I got one. The keyboard arrived in good shape, and apart from the insane amount of fluff in it and the faded / yellowed plastic of the keyboard it was in decent shape. Yes, the cable was cut. But it was easily accessible: two screws on the bottom and further three underneath the top keyboard cover. Once undoing the two longer screws on the bottom I popped off the top keyboard cover; this is held on with tabs and if you work your way around the left, bottom, and right side, it hinges at the top. I decided the first job would be cleaning. I used a soft brush to get rid of the debris under the keys after opening (but not fully disassembling) the keyboard, and then took cotton wool balls dipped in rubbing alcohol to the surface to clean. This took a while but it worked OK. Next was connecting up the USB cable. On the PCB the USB connector is probably some kind of a standard SMD connector, with standard USB cables coming off it: black, white, green, red. These are GND, D-, D+, 5V, usually. There is a fifth ground cable going to the USB cable, which is the "shield ground". I disconnected the USB connector to the PCB and chopped up a USB connector. My initial plan was to use a USBC female to USBA 3.0 male connector's USBC end. But USB3.0 has, I think, 8 pins rather than 4, and while it should be possible to only hook up the 4 "standard" USB lines, I did not have much success with this. Otherwise the soldering job was fine, although with these thin cables, rather than stripping them, I took to melting back just enough of the cable sleeve on each to expose a workable amount of wire. Just apply some hot solder on the tip of the soldering iron and it works well. Second attempt involved cannibalising an old MiniUSB cable I really had no use for anymore. This has the "correct" amount of wires and this time it worked! I was delighted. OpenBSD recognised it really well as a Sun Type 7 USB keyboard: uhidev1 at uhub1 port 4 configuration 1 interface 0 "Fujitsu Component Sun USB Keyboard" rev 2.00/1.05 addr 4 Then I fired up xev to see whether the most exciting bits, the extra "Stop" and "Again" keys do something. And they do! xev reports the following mappings by default: Left hand extra column of keys: -Help: DEAD. Stop: keycode 145 (keysym 0xff69, Cancel) Again: keycode 146 (keysym 0xff66, Redo) Props: keycode 147 (keysym 0x1005ff70, SunProps) Undo: keycode 148 (keysym 0xff65, Undo) Front: keycode 149 (keysym 0x1005ff71, SunFront) Copy: keycode 150 (keysym 0x1008ff2f, XF86Sleep) * Open: keycode 151 (keysym 0x1005ff73, SunOpen) Paste: keycode 152 (keysym 0x1005ff74, SunPaste) Find: keycode 153 (keysym 0x1008ff17, XF86AudioNext) * Cut: keycode 154 (keysym 0x1005ff75, SunCut) Top right hand extra row of keys (above numpad): keycode 160 (keysym 0x1008ff12, XF86AudioMute) keycode 174 (keysym 0x1008ff11, XF86AudioLowerVolume) keycode 176 (keysym 0x1008ff13, XF86AudioRaiseVolume) keycode 222 (keysym 0x1008ff2a, XF86PowerOff) Bottom row: Compose: Menu So as you can see, it mostly works okay. There are two funky key mappings by default, "Copy" doesn't copy but wants to put the computer to sleep; "Find" wants to skip to the next playing song. But these should be remappable. The "Paste" and "Cut" keys do what one expects them to under X11, this is really really neat. I really like not having to press "Ctrl-Shift-V" for "paste" but ... "Paste". The Compose key will be remapped as a Compose key I think, this is doable with xmodmap and .XCompose I think. I want to dig into whether, similar to SunPaste, there ought to be a SunCopy key that I could map to Copy. For "Front" I want to set up a custom macro; for 9+Front I want to launch drawterm. πŸ˜† Pity that "Help" doesn't do anything. It simply doesn't register as a keystroke. But you can't have it all -- besides, I haven't come up with anything funny to map it to. #unix #OpenBSD #sun #solaris #retrocomputing
  • 0 Votazioni
    4 Post
    0 Visualizzazioni
    esoastronomy@mastodon.social
    ⚠️ One last thing: never look directly at the Sun without proper eye protection, even during a partial eclipse.Make sure you use certified eclipse glasses or other appropriate solar filters!4/4πŸ“· ESO/L. CalΓ§ada
  • 0 Votazioni
    6 Post
    0 Visualizzazioni
    raethdragon@pawb.fun
    @blakespot @AdamStuartSmith YES
  • The mast and the sun.

    Mondo sunspots gbr64zn0 astronomy sunset sun
    1
    3
    0 Votazioni
    1 Post
    0 Visualizzazioni
    nomenloony@nomenloony.com
    The mast and the sun.If you zoom in on the sun you can see quite clearly that there are #sunspots visible.#gbr64zn0 #astronomy #sunset #sun
  • Wake up call.

    Mondo grickledoodle sun heat summer horror cartoon art drawing
    5
    1
    0 Votazioni
    5 Post
    0 Visualizzazioni
    drwho@masto.hackers.town
    @grickle Sure feels that way some days.
  • 0 Votazioni
    1 Post
    0 Visualizzazioni
    perrobe@mastodon.uno
    E poi quando è così si pensa: ma davvero ce la faremo ?#photography #photo #landscapephotography #mayday #gooddaytoday #goodmorning #sunset #sun #buongiorno #water #watercolor
  • 0 Votazioni
    1 Post
    0 Visualizzazioni
    nomenloony@nomenloony.com
    Oracle lays off up to 30,000 staff with 6am emailhttps://www.independent.co.uk/tech/oracle-layoff-ai-data-centre-b2950165.htmlOracle are the reason Android ditched Java. They copyright trolled early Android and nearly killed the platform. I'm not surprised their management pull stunts like this because they're pushing the AI agenda. I hope all these companies crash and burn hard.#oracle #sun #java #android #aiisnotart #aiisnotethical #dontuseai #aislop
  • Mental health πŸ“ˆπŸ“ˆπŸ“ˆ #SUN

    Mondo sun
    7
    1
    0 Votazioni
    7 Post
    33 Visualizzazioni
    ttfka_tay0@fosstodon.org
    @Gina Hail the orb!
  • Todays office 🌞 #SUN #OMG #SUN #AAAAH

    Mondo sun omg aaaah
    8
    1
    0 Votazioni
    8 Post
    47 Visualizzazioni
    smallcircles@social.coop
    @Gina @mitch Roll out the terraces!