/srv/irclogs.ubuntu.com/2012/07/07/#ubuntu-uk.txt

Azelphurali1234: so, I've got this fan controller all up and running in a VM, care to give me a bit of guidance? :)00:30
Legion5dir07:45
Legion5list07:45
AlanBellraspberry jam \o/ http://www.eventbrite.com/event/387809147608:14
=== Lcawte|Away is now known as Lcawte
czajkowskialoha08:43
brobostigongood morning everyone.09:40
AlanBellnow do I have enough bits on my desk to build a new computer09:41
gigixAlanBell, what are the parts ?09:44
AlanBellseveral incomplete units09:45
christelbits \o/09:45
AlanBellI think I have one together, found some ram that fits, have loads of HDDs kicking about09:45
AlanBellyup, that boots09:46
gigixas long as it does not burn ;-)09:47
=== Lcawte is now known as Lcawte|Away
AlanBelldual core atom with 1GB ram and a 320GB disk now10:01
AlanBelljust installing Precise10:01
AlanBellbother, the wireless card won't fit10:04
gigixAlanBell, ethernet otherwise ?10:36
=== Lcawte|Away is now known as Lcawte
=== Lcawte is now known as Lcawte|Away
=== Lcawte|Away is now known as Lcawte
Azelphurali1234: you about to give me some help with this bitfenix fan controller? :)12:44
ali1234Azelphur: ok13:11
Azelphurali1234: so I got it up in virtualbox, and I've been hacking away in python trying to get it to talk to me, no luck :(13:11
ali1234got dumps?13:11
Azelphurit should be broadcasting pings to tell me fan speeds and stuff, not sure if I have to request those pings13:11
Azelphuryea13:11
ali1234you do13:12
ali1234USB is entirely host controlled13:12
ali1234device cannot initiate comms13:12
Azelphurali1234: https://dl.dropbox.com/u/3832397/misc/2012/July/recon it's a wireshark dump13:12
ali1234what about a lsusb -vvv13:12
Azelphurhttp://pastebin.com/0WSTQ2W613:13
Azelphurit's a mouse! :D13:13
ali1234hid mouse wat13:14
ali1234that makes no sense at all13:14
Azelphurapparently it's a dirty hack to stop windows searching for drivers for it13:14
ali1234if you plug it in inux does the pointer mose right when the temperature goes up?13:14
ali1234well, anyway13:14
Azelphurhaha13:15
ali1234you only have 1 endpoint there13:15
ali1234and it's interrupt13:15
ali1234so that's where the temperatre data will come from13:15
ali1234there's no EP OUT13:15
ali1234so most likely everything else is done using the setup EP13:15
ali1234which means making a driver is really simple13:15
ali1234you'll have to read the dump to find out the commands though13:16
Azelphurthat's cool, my python code gets the right address then13:16
Azelphurmy code tries to read from endpoint 0x81, but I just get operation timed out.13:16
ali1234dunno about that13:16
ali1234ah13:16
ali1234so interrupt end point is funny13:16
ali1234you read and it blocks until the the interrupt happens13:16
ali1234if you don't tell libusb it's an interrupt it will time out13:16
ali1234you might also increase the timeout13:17
Azelphurhttp://pastebin.com/iagv2d7R is what I have atm13:17
ali1234i've never used that stuff13:17
ali1234libusb looks a bit different to that13:18
Azelphurapparently it's more or less the same as the C libusb stuff just in a different syntax13:18
Azelphuroh13:18
ali1234let me show you a program that uses libusb to do setup requests13:18
Azelphurok :)13:18
ali1234you want to figure that stuff out first13:18
ali1234so this is C http://al.robotfuzz.com/~al/s1mp3/unstable/hostapp/hostapp.c13:19
ali1234usb_control_msg13:19
ali1234timeout 500013:19
ali1234and so on13:20
ali1234what you want to do is look in the dump for setup/control messages13:20
ali1234then try to replicate those13:20
AzelphurI see, still don't fully understand the dumps13:21
Azelphurlooks like pyUSB has a controlMsg :)13:22
ali1234yeah it should13:22
ali1234ok let me install wireshark13:22
Azelphur:D13:22
ali1234hmm that dump is not helpful13:23
Azelphur:(13:23
ali1234ah13:23
ali1234you see where it says USB_CONTROL out13:24
ali1234URB_INTERRUPT in13:24
Azelphuroh yea :)13:24
ali1234well, source host means computer wrote to device13:24
Azelphuryea I gathered that13:25
Azelphurthe data doesn't make much sense though13:25
ali1234it's hex13:25
ali1234it is going to be one of: char, short, int, long, possibly signed or unsigned13:26
ali12340010  83 93 f7 4f 00 00 00 00  2c 0c 02 00 8d ff ff ff   ...O.... ,.......13:26
AzelphurI see13:26
ali1234that's a dead giveaway for little endian signed13:27
ali123432 bit ints13:27
ali123432 bit because of 00 00 00 00 = 013:27
ali1234little endian because you have a 00 in 4th position13:27
ali1234and smaller numbers more likely than big13:27
ali1234not sure about signed/unsigned13:28
ali1234so, 2c 0c 02 00 -> 0x00020c2c13:28
ali1234open a python shell and type 0x00020c2c and hit enter13:29
ali123413418813:29
ali1234does not mean much to me13:29
Azelphurme either xD13:29
ali1234there could be floats in there too13:29
ali1234so, what actual data does this thing send to PC?13:30
ali1234you have to think like the programmer. "if i wanted to send this data to PC, how would i do it?"13:30
Azelphurthat's one I can answer, the stock driver shows debug output13:30
ali1234meaning?13:30
Azelphurmeaning I can show you example decoded fan controller output :P13:31
ali1234great, let's see it?13:32
ali1234btw what controller chip does it use?13:33
ali1234i bet it's an AVR or a PIC13:33
Azelphurno idea13:33
Azelphurali1234: http://pastebin.com/Hq1wxYHt13:34
ali1234SONiX USB Device13:34
ali1234i think you dumped the wrong device13:34
Azelphurno, virtualbox identifies it as a SONiX USB Device too13:35
Azelphurthat's the device I passthrough to make it work13:35
ali1234then the Microdia thing is wrong?13:35
ali1234ah maybe not13:36
AzelphurI think it's more that the pci db is wrong or that they are misusing a pci id13:36
ali1234no, that data all comes from the device13:36
Azelphurbecause I used the vendor and product id from virtualbox to find it in lsusb13:36
Azelphurso it's definitely the right thing :)13:36
ali1234actually vendor id string doesn't come from device13:36
ali1234ok from the dump13:37
Azelphurthe dump, I have one fan plugged in it's running at 1300 RPM on channel 0 and it's maximum RPM is 280013:37
Azelphurso that's what that data is about :p13:38
ali1234so 5 channels?13:38
Azelphuryup13:38
ali1234the packet length is 7213:38
ali1234the response is 6413:38
ali123464/5 = 12.813:39
ali1234so 4 byte header, and then 12 bytes per channel13:39
ali1234so in python shell do hex(1300), gives 0x51413:39
Azelphurfun, patched my code to match that :)13:39
ali1234in little endian thats 14 0513:40
ali1234but there's temperature sensors too13:41
ali1234and something that looks like a bitfield13:41
AzelphurI don't think it's actually reporting temperature, just the alarm temperature for that sensor (sadface)13:42
ali1234in dumps there is a field that = 20013:42
Azelphuryea, there's lots of 200's in the debug output too13:43
Azelphurthat's the maximum RPM of a not connected fan \o/13:43
ali1234hang on, the dump is showing the whole packet13:44
Azelphuro.O13:45
ali1234so there USB packet headers are shown there13:46
ali1234the actual data starts at 0x2813:46
AzelphurI see13:48
Azelphurhmm, I think controlMsg() got removed in pyUSB 1.013:48
Azelphurand now there's just write.13:48
ali1234ah found it13:50
ali1234so the sequence goes like this13:50
ali1234host sends setup->device13:50
ali1234device acks setup13:50
ali1234device sends interrupt to host13:51
ali1234host acks interrupt13:51
ali1234so on the interrupt packets sent from device to host13:51
ali1234if you go to packet 3113:51
ali12340x44 = 00 c813:52
ali12340x45 = 0xc8 = 20013:52
ali1234there isn't much data here13:53
Azelphurfun13:53
Azelphuryea, I figured it'd be pretty simple13:53
ali1234you should write a python script to dump it rather than using wireshark13:54
AzelphurI can't even get my python script to talk to it at all right now :(13:54
ali1234you don't use usblib for that13:54
ali1234you just read from debug device13:54
AzelphurI see13:55
Azelphurre controlMsg, I found device.ctrl_transfer in the docs, does that sound like what I want?13:55
Azelphurctrl_transfer(0x40, CTRL_LOOPBACK_WRITE, 0, 0, msg) is an example call13:55
ali1234don't worry about that yet13:55
Azelphuroh ok13:55
Azelphurali1234: but surely if I just get the control message working, my code should just start working13:57
ali1234no13:57
Azelphurall my read stuff is good, it's just there's nothing for it to read yet since the device isn't pinging13:57
ali1234not by a long way13:57
Azelphur:(13:57
Azelphurwhat should I be doing then?13:57
ali1234the control message is arbitrary data13:57
ali1234you need to determine what the different values do13:58
Azelphurthe different values in the control message you mean?13:58
ali1234yes13:58
AzelphurI'd imagine for ping requests they are static13:59
ali1234so, if you do lsusb -d 0c45:710013:59
ali1234you see it is on bus 513:59
Azelphuryup13:59
ali1234go to /sys/kernel/debug/usbmon13:59
ali1234cat 5u13:59
ali1234watch usb packets in real time13:59
MartijnVdSooh13:59
MartijnVdScan wireshark handle those?13:59
MartijnVdSapparently it can14:00
ali1234yes it can14:00
ali1234however it isn't very helpful when looking for something14:00
Azelphurrighto, I'm doing that14:00
ali1234so on lsusb again14:00
Azelphurand i see lots of pretty packets.14:00
ali1234you see it is device 214:00
ali1234ffff880419515f00 143202048 C Ii:3:002:1 0:8 4 = 00fdff0014:01
ali1234Ii:3:002:114:01
ali1234the 002 is the device14:01
MartijnVdSali1234: Hmm.. that would work with USB ports passed into VMs? Probably?14:01
Azelphurok14:01
ali1234so first thing you want to do is filter out the lines that aren't 00214:01
AzelphurMartijnVdS: yea it does14:01
ali1234MartijnVdS: that's exactly what we are doing right now14:01
ali1234"how to reverse engineer USB device with windows drivers in virtualbox"14:02
Azelphurthat was easy, they are all 00214:02
Azelphur:D14:02
MartijnVdSali1234: ah, didn't read enough scrollback :)14:02
ali1234Azelphur: if it is the only device on that bus they will be14:02
MartijnVdS002?14:02
Azelphuryea, the fan controller connects directly to 2 motherboard headers.14:02
ali1234it only appears as one device thugh right?14:03
Azelphurnot sure, I think so14:03
ali1234so t just takes power from the others14:03
AzelphurI guess so14:03
Azelphurthat whole setup is a bit weird though, because it takes power from a molex as well14:03
ali1234does it have a pass through usb port on the front or something?14:03
Azelphurnope14:03
ali1234well, that is odd14:03
Azelphurindeed14:04
ali1234maybe one of the connectors is optional14:04
Azelphurmy best guess is that it's doing something like powering the LCD screen off USB14:04
Azelphurand the fans off the molex14:04
ali1234couldbe14:04
ali1234fans need 12V14:04
Azelphur:)14:04
ali1234anyway, please show me some raw dump from usbmon14:04
Azelphurffff8802a81649c0 309250180 S Ci:5:002:0 s 80 06 0301 0409 0102 258 <14:05
Azelphurffff8802a81649c0 309252462 C Ci:5:002:0 0 12 = 0c035300 4f004e00 6900580014:05
Azelphurffff8802a81649c0 309253959 S Ci:5:002:0 s 80 06 0302 0409 0102 258 <14:05
Azelphurffff8802a81649c0 309255386 C Ci:5:002:0 0 22 = 16035500 53004200 20004400 65007600 69006300 650014:05
Azelphurffff8802a81649c0 309256422 S Ci:5:002:0 s 80 06 0300 0409 0082 130 <14:05
ali1234smooth14:05
Azelphuroops, accidentally pasted the dump instead of the pastebin link \o/14:06
Azelphurhttp://pastebin.com/CEZcqqqC14:06
ali1234ok, see that column that is 0 or s14:07
ali1234that means endpoint number or setup endpoint14:07
AzelphurI see14:08
ali1234the parts after the = are the actual non-protocol data14:09
ali1234Ii and Co - the lower case i or o means in or out14:09
ali1234in or out to or from the host that is14:09
MartijnVdSI and C are "interrupt" and "Control"14:10
MartijnVdSor isochronous?14:10
MartijnVdSand then there's "bulk"14:10
ali1234not sure, but it doesn't really matter14:11
Azelphurcool14:11
ali1234they are all pretty much the same at a high level14:11
Azelphurah, now I'm starting to understand why I need to understand what the numbers are \o/14:11
ali1234now, when it says 8 >14:11
ali1234that means "i am going to send 8 bytes"14:11
ali1234and when it says 8 < it means "please send me 8 bytes"14:11
Azelphurcool14:12
ali1234only the host can send such messages14:12
Azelphurfun14:13
ali1234so really the only interesting part right now is the lines with an = on14:13
ali1234so first figure out what the device is saying14:14
ali1234so filter out everything except lines with lower case i and =14:15
ali1234should leave just these lines: ffff8802c3e23200 315391401 C Ii:5:002:1 0:1 8 = 05839e00 00da000014:15
ali1234i can already see some data14:15
ali1234looks like it is big endian14:15
Azelphurhmm14:15
Azelphurwell the first few lines are no doubt it sending the config (auto/manual, F/C) back14:16
Azelphurand then the rest of those lines follow a format so those are gonna be the fan speed replies14:16
ali1234so 5 consecutive packets contain 0x5c4, 0xc8, 0xc8, 0xc8, 0xc814:16
Azelphurindeed14:16
ali1234so that field is fan speed for one channel14:16
ali1234ah there is our 6 bits bitfield and channel number14:17
ali1234you should be able to write a python program which reads lines from usbmon, and prints out exactly what you see in the debug log14:18
ali1234when you've done that you have deciphered the device->host protocol14:18
ali1234next step is to figure out the outgoing packets14:19
ali1234that is harder as you will need to mess with the UI while watching the dump14:19
AzelphurI see14:19
Azelphurrighto then, I shall try and write that :)14:19
ali1234so yeah the process here is first to document the protocol, then you start writing usb code14:20
ali123405819e00 00dc0000 -> 058 is the ==M=== bitfield, 1 is the channel, dunno next 4 bytes, 00dc is a fanspeed, dunno next 4 bytes14:21
ali1234if you sit and watch the dump long enough you should figure out what all the bytes mean14:21
Azelphurhehe14:23
ali1234there's just enough space in there for 12 bits, 4 bit channel number, and 3 shorts14:26
ali1234can you do a long capture (couple of megs) and put it on dropbox?14:26
Azelphursure14:27
Azelphurali1234: shall I fuck with the fan speed too?14:27
ali1234ok, but note the changes14:29
Azelphurok14:29
Azelphurali1234: https://dl.dropbox.com/u/3832397/misc/2012/July/recon.txt14:36
Azelphurali1234: I notice in the fan controller it shows voltage too, so one of the numbers it throws out will be voltage (5 or 5.6V)14:37
ali1234ok14:37
ali1234so i do: cat recon.txt | grep i | grep =14:37
ali1234ah14:38
Azelphur:)14:38
ali1234this gives the host->device msgs cat recon.txt | grep o | grep =14:39
ali1234doing that we see only a couple packets that aren't 00000000 at the end14:39
ali1234cat recon.txt | grep o | grep = | grep -v 0000000014:39
AzelphurI guess those are the "me messing with it" ones :)14:39
ali12340xae3 = 278714:40
Azelphuralthough, there are only 5 events there, I made 7 adjustments14:40
ali1234C/F is a UI thing14:41
ali1234it will always report same format14:41
Azelphurthe PC sends a signal to the fan controller changing the readout on the LCD display14:41
ali1234perhaps14:41
Azelphurwell, it does, I watched it do it :P14:42
ali1234that could be in the other part of the message though14:42
Azelphurah14:42
ali1234like it updates the display continuously14:42
ali1234anyway it's safe to assume that 0x5c6 = 69 somehow14:43
ali1234and 0x5c4 = 70 somehow14:43
Azelphur:P14:43
ali1234what is the maximum range?14:43
Azelphuron what?14:44
Azelphurthe temp?14:44
ali1234the temperature14:44
* Azelphur finds out14:44
Azelphur9014:44
ali1234actually14:44
Azelphur90C, 194F14:44
AzelphuroO, I haxed it14:45
ali1234cat 2u | grep o | grep = | grep -v 0000000014:45
Azelphurturn it up to 194F, switch to C, C drops to 124 :P14:45
Azelphuryou mean 5u right?14:45
ali1234you should only see packets when changing stuff14:45
ali1234yeah14:45
ali1234so now now try all temps and figure out the relatin14:46
ali1234i'm going to look at the output fields14:46
Azelphurdon't get anything out of it really when things are changed14:47
AzelphurI got a couple of lines out of it at the beginning, and a couple random lines, apart from that nothing14:47
AzelphurI have to go to some meeting thing, when I come back I'll work on parsing the debug output :)14:51
Azelphurty for your help, will be back around 9ish14:51
bjbGetting frustrated here.  Trying out Linux Mint  Xchat for a someone [hoping to convert her across from "the dark side"].  Trying to use two servers so I can actually log into #ubuntu-uk via freenode [as well as Mint channels via mint server] to show a community comparison.  Using same nick for both or different nicks - I still get  "This nickname is registered" on freenode [both nicks fully registered ok, same pwd for each].15:29
bjbWere am I going wrong?15:29
bjb*Where15:29
ali1234you're using xchat15:36
SuperEngineeroh so nice to be back - first full weekend off off in 3 weeks - get out of the way, I'm heading for the bottle opener ;)16:20
SuperEngineer[& no, I don't know what an "off off" is]16:21
* AlanBell takes a broken ironing board to the dump16:36
christeloh i've just been to the dump!16:38
MartijnVdSspeaking of dumps..16:38
matttthe recycling centre in reading is always so busy on weekends16:39
MartijnVdSmattt: because normal people have jobs on other days :P16:39
matttkinda scary to see how much crap doesn't get recycled and goes to the dump :(16:39
matttMartijnVdS: they stay open late during the week tho, i think they close at 8 :P  but on weekends it takes like an hour just to get in16:39
MartijnVdSmattt: Recycling and dump are the same place here.. just different bins ;)16:40
* bigcalm awakens16:40
popeyafternoon16:41
SuperEngineerAny trading bankers here? I'd hate to think the channel had been polluterd with evil while I've been away16:45
DaraelWould they confess?16:45
SuperEngineer;)16:45
bigcalmI've been called a banker before now16:46
SuperEngineerbigcalm: ditto16:46
SuperEngineerbut never a trading bnanker - I'm too honest16:46
SuperEngineerhmm - what's a bnanker I asume u ask? It's 'polite' word for trading banker methinks16:48
SuperEngineerIs it impolite to ask why a man just won the ladies tennis singles?16:51
* SuperEngineer slaps own wrist16:51
SuperEngineerSome headlines make me sad - e.g. Parachutist found dead in field [ http://tinyurl.com/6s9rtsv ]16:55
MartijnVdSSuperEngineer: Well he was the best parachutist in his field16:56
MartijnVdSSuperEngineer: Maybe he needed a field engineer16:56
SuperEngineerMartijnVdS: ooo - naughty16:57
MartijnVdSSuperEngineer: [too soon?]16:57
SuperEngineerIs it just me or has anyone else found recent updates slow grub to desktop startup times?17:14
SuperEngineer...& no - I have not any package called "please slow down my startup times"17:16
brobostigonhttp://taylorworld.me.uk/wiki/doku.php/taylorworld_wiki now there a theme. :)17:17
SuperEngineerOnce at password dialogue screen it used to be a few seconds to be at desktop... now I tap fingers waiting17:21
ali1234SuperEngineer: that happened to me too17:22
penguin42SuperEngineer: bootchart is supposed to help find that out a bit - it can be quite difficult to track that type of thing down, but stuff is getting slow17:22
SuperEngineerali1234: hmmm... at least I'm not alone in this17:23
SuperEngineertried bootchart as well - still hunting!"17:23
ali1234bug 100113817:24
lubotu3Launchpad bug 1001138 in gnome-session (Ubuntu) "logging in to gnome-classic session takes over 45 seconds" [Low,New] https://launchpad.net/bugs/100113817:24
ali1234read all the comments17:24
SuperEngineerali1234: priority "low" ??? wtf?17:25
ali1234it onyl happens if you log in to gnome classic17:25
penguin42SuperEngineer: There are a set of rules for priorities - it's probably technically right17:25
ali1234once you have logged into gnome classic it affects all compiz based desktops though17:25
penguin42SuperEngineer: I mean it's lower than a crash or it turning your computer into smoke17:25
ali1234it doesn't cause a crash or data loss so yeah17:25
SuperEngineerali1234:  ...but I'm on standard unity here17:26
* penguin42 looks at his bootchart for the 1st time in ages and wonder what colord is doing taking a few seconds of cpu17:26
ali1234like i said17:26
SuperEngineer..and thanks for ythe priority listing;)17:26
ali1234if you ever log into gnome classic, it affects all desktops from that point on17:26
penguin42SuperEngineer: https://wiki.ubuntu.com/Bugs/Importance is the real list17:27
SuperEngineeroh buhga!17:28
SuperEngineer:)17:28
SuperEngineershouldn't there be an update then to simply "refresh".... or os that too simple a solotionn?17:30
SuperEngineerI'll rephrase that..17:31
SuperEngineershouldn't there be an update then to simply "refresh".... or is that too simple a solotion? doh!17:31
SuperEngineer*soloution17:32
MartijnVdSWeird17:32
MartijnVdSThunderstorms approaching and signal strength gets _better_17:33
SuperEngineerarsen: electrons travel better in wet atmospshere?17:34
MartijnVdSthey tend not to17:35
MartijnVdSMaybe thunderstorms calm the ionosphere or something17:35
* penguin42 would have thought they would be below the ionosphere17:35
penguin42MartijnVdS: Reception on what?17:35
SuperEngineerMartijnVdS: known fact: radio reception poorer on sunny days than rainy days17:36
MartijnVdSpenguin42: satellite TV17:36
penguin42MartijnVdS: OK, so in that case you want you're ionosphere to be more transparent; is it you're signal strength that's got better or your error rate that's dropped?17:36
MartijnVdSpenguin42: status 1f | signal 014f | snr 0077 | ber 00000000 | unc fffffffe | FE_HAS_LOCK17:37
MartijnVdSpenguin42: "signal" is usually around 130ish17:37
MartijnVdSBER is always 017:37
penguin42ok, so it's actual signal increased17:37
MartijnVdSyeah17:38
SuperEngineerhmmm.. atmospheric electronic interference with signal clarity apoplies - global warming, stop it or I'll kick your teeth in!17:39
* SuperEngineer curses human race [excvept for U-UK'er's]17:40
SuperEngineerwhere do all these extra letters come from? I'm not typing them!17:42
SuperEngineerwanted - new keyboard!17:42
directhexFentiman's Cherrytree Cola - much better than their regular cola17:46
* SuperEngineer watrches mysterious Dr. Who18:09
dwatkinsSuperEngineer: a random episode?18:10
SuperEngineerBeeb 3 - old episode - but good one18:10
directhexthe movie! starring the 8th doctor!18:11
dwatkinsno, there was no movie18:11
SuperEngineer...and only a mere 50 mins18:11
SuperEngineerDemons Run18:13
SuperEngineera.k.a A Good Man Goes Goes To War18:14
dwatkinsah yes, a child is born etc.18:14
dwatkinsI never quite understood the point of all that warring in that episode, supposedly it was a circular argument18:14
SuperEngineerdwatkins: yup18:15
dwatkinsanyhoo, time for food, happy doctoring :)18:15
SuperEngineerdwatkins: for recurring - see recurring ;:18:15
SuperEngineerdwatkins: happy noshing18:16
=== jeff_ is now known as Guest12557
andylockranwoop, just wrote a captive portal using ufw19:06
andylockranhappy days!19:06
gnuisnotlinuxWhat sort of activities do people do on 1st line support? I have an interview as a 1st line support person19:58
gnuisnotlinuxwhat's it like?19:58
gnuisnotlinuxhow much do they 'know'?19:58
gnuisnotlinuxis it more about customer service or technical knowledge?19:59
penguin421st line is very basic20:00
penguin42gnuisnotlinux: It depends on the organisation though, but it's the simpler problems mostly following a script I would have thought20:00
MartijnVdSGNU iSnot Linux?20:01
penguin42MartijnVdS: It's the hayfever20:01
gnuisnotlinuxyeah I know it's supposed to be unix20:03
gnuisnotlinuxBut, I am in my rebellion stage20:03
gnuisnotlinuxso nothing like bash, powershell, python or anything like that would help me?20:04
penguin42gnuisnotlinux: It depends on what it's 1st line support for!20:05
penguin42gnuisnotlinux: Some companies 1st line support could be handled by a cabbage, others actually know stuff20:05
gnuisnotlinuxalright cheers!20:06
gnuisnotlinuxvery excited about this20:06
penguin42gnuisnotlinux: But ideally if you know stuff you could end up being 2nd line20:06
SuperEngineeron thwe other hand - if you know nothing at all - you could end up managing the whole support group20:09
* SuperEngineer slaps own wrist [for the 2nd time tonight]20:10
gnuisnotlinuxWell I have no experience20:10
gnuisnotlinuxbut I think I can progress quick20:10
gnuisnotlinuxlove tech20:10
SuperEngineergnuisnotlinux: know nothing at all?... your're bound to end up at board level20:11
SuperEngineerhowever -if you're inclined to dishonesty - take up banking :)20:11
gnuisnotlinuxha!20:11
gnuisnotlinuxI'm guessing your an engineer, what field of engineering are you employed in?20:12
SuperEngineerfield servixce of a technical nature - I service fields20:13
gnuisnotlinuxnot sure if serious20:13
SuperEngineerok - I don't dervice fields - darn you're goog, caught me there :)20:15
SuperEngineer* service20:15
SuperEngineerbtw - I'm also a cynic, a sarcast, a philanthropist - & a darn good engineer20:18
SuperEngineer[& modest]20:18
gnuisnotlinuxA person of many trades20:21
SuperEngineergnuisnotlinux: ;)20:21
SuperEngineerseriously though - if the job suits... go for it & push hard but wisely to progress20:22
gnuisnotlinuxUsing it as an entry20:25
gnuisnotlinuxas an aside, I am trying hard to develop my programming skills more20:25
gnuisnotlinuxperhaps I may get a developers job20:26
gnuisnotlinuxeventually....not soon20:26
gnuisnotlinux:D20:26
gnuisnotlinuxWhen developers get jobs as developers do they get bored of coding?20:28
gnuisnotlinuxSome must do20:28
SuperEngineerin which case my last very much applies - ask, listen, learn from & then excel those on the job for the money only20:28
gnuisnotlinuxSuperEngineer your name should be used in a comic book20:29
* Darael has his name (but not his nick) used in a comic book.20:29
SuperEngineergnuisnotlinux: I live in hope20:29
gnuisnotlinuxHow can you spot a vegan?20:40
Azelphurlook under a table and you'll find them eating a cheese burger?20:40
brobostigonlol20:40
gnuisnotlinuxDon't worry, they'll tell you20:40
Azelphur:p20:41
popeyMeat is murder!20:41
popeyTasty, tasty murder.20:42
SuperEngineerif they don't tell you - the passing "winds of thyme" will20:42
* SuperEngineer congratulates self for not using "farts"20:43
brobostigonreminds me of john simm as the master, popey's statement.20:44
SuperEngineer[& slaps wrist for third time tonighT!]20:44
SuperEngineer...& meat is not murder - it's killing the atmoshere. So perhaps it's self defence.20:47
gnuisnotlinuxThe thing is, vegans eat quite a bit of veg and fruit anyway. This food could provide animals with something to eat20:51
SuperEngineerit does - I'm a total animal when needed - yum yum [btw, cows don't eat oranges]20:53
gnuisnotlinuxdogs don't eat oranges either20:53
SuperEngineerthey do if you place one between their legs & kick hard enough20:54
SuperEngineer;)20:54
gnuisnotlinuxD: Monster!20:54
shaunoI haven't found anything my dog won't eat.  he's particularly partial to hardback books lately though20:57
gnuisnotlinuxTry potatoes20:57
SuperEngineershauno: buy the dog a kindle20:58
Pendulumshauno: any specific genre or any hardcover book?20:58
gnuisnotlinuxwhen ever I put potatoes in my dogs bowl he throws them out20:58
Pendulumgnuisnotlinux: really? we had a dog who loved them20:58
Pendulummy cat likes potato20:58
brobostigonlol. this is getting very weird.20:58
SuperEngineerwhenever I put potatoes in my dogs bowel he throws them up20:58
SuperEngineer...& now even wierder20:59
SuperEngineersooner or later someone's gonna spoil it & ask for the way out of a technical problem ;)21:00
brobostigoncertainly.21:01
SuperEngineerI need help - ever since I moved to 12.04 my cow won't oranges.  I've inspected all of its logs.21:04
shaunoI agree with your initial prognosis.  I also believe you need help :)21:05
SuperEngineer*won't eat [doh]21:05
DaraelI know a dog that lives on white rice, yoghurt, milk, egg, and bannana.21:07
SuperEngineershauno: I sought professional help a long time ago - but they all came to the same conclusion after a while in my company... they needed help21:07
gnuisnotlinuxno meat21:07
Daraelgnuisnotlinux: No.  Lives in a vegetarian South-Indian household.  Appears perfectly healthy, against all logic considering his species.21:09
gazmhiya21:18
gnuisnotlinuxbye21:22
gnuisnotlinuxgazm21:22
=== em is now known as ninkasi
=== ninkasi is now known as em
ali1234Azelphur: http://paste.ubuntu.com/1080403/22:10
ali1234this should give you output which is very similar to the debug log22:10
Azelphurali1234: awesome :D22:10
Azelphurlooks simple enough22:10
ali1234yes22:11
ali1234if you run it as root you could change "recon.txt" to "/sys/kernel/debug..."22:11
ali1234to read directly from the debug nodes22:11
ali1234so at this point i would extend that to understand all packets (all lines with '=')22:12
ali1234when you understand all those you can write the driver22:12
Azelphur:D22:13
* Azelphur fires it up pointed at /sys/kernel22:15
ali1234you#ll see two lines for channel 022:15
ali1234i think the first of those lines is the "common config" from the debug log22:16
ali1234probably contains a bitfield22:16
ali1234one of which if the celsius/farenheit22:16
Azelphursounds right :)22:17
Azelphurali1234: hmm, not sure the numbers are right22:19
ali1234they look to be offset somehow22:20
ali1234i'm sure you can figure it out though22:20
ali1234just keep doing dumps and watchng the debug log, and you can figure out the relationship22:20
Azelphurguess so22:20
Azelphurit's odd the number keeps changing even though according to the software the fan speed is constant22:20
ali1234this is what RE is all about :)22:20
Azelphurmaybe it just rounds, haha22:20
ali1234yes, possibly22:21
ali1234or averages over time22:21
Azelphurseems to alternate between 1520 and 1462 for my fan running at 1300RPM22:21
penguin42Azelphur: I bet because it doesn't sample for a minute22:24
Azelphurhehe22:24
penguin42Azelphur: I bet it samples for say a second and multiplies up - or something like that22:25
* Azelphur shrugs22:26
penguin42which thing are you reading to get the fan speed?22:26
Azelphurpenguin42: the output from a BitFenix Recon fan controller :p22:26
Azelphurali1234: at least off is 0, \o/22:27
penguin42hmm22:27
Azelphur...sometimes22:27
* Azelphur facedesks22:27
Azelphurali1234: ok so we've got the output parsed anyway, what next? :p22:28
ali1234not all of the output22:28
Azelphuroh, just some22:28
Azelphurso I do the rest, righto :P22:28
ali1234and the input is not looked at22:28
Azelphurfun22:29
Azelphurso I want to aim to understand all messages, basically22:29
ali1234yes22:29
Azelphurdid you handle all of the line your capturing, or is there more undecoded data in that line?22:30
ali1234there is more undecoded data22:31
Azelphurok22:31
brlabshi23:11
CurbuntuI've been trying all week to upgrade an Ubuntu 10.04 laptop to 12.04.  Nothing later than the 10.04.3 live CD (or the USB equivalent) will boot on this machine.  I've had considerable help and input over at http://ubuntuforums.org/showthread.php?t=2015447, but the end result is failure.  Is it possible that this thing is just too older -- or worse, peculiar -- that it won't be able to run 12.04?23:30
CurbuntuThat should have been "too old"...23:30
penguin42Curbuntu: What hardware do you have, how are you upgrading?23:31
penguin42Curbuntu: I've got 12.04 running on some pretty old hardware23:31
CurbuntuCompaq Presario R3399CL, AMD 64 3200+, 2 Gb RAM, 120 Gb HDD.  10.04 runs fine on it.  Just trying to upgrade via some Ubuntu-provided option (including alternate CD).  Nothing after 10.04.3 will boot.23:32
CurbuntuThere aren't that many settings in BIOS to change, but can be changed (mainly boot order) has been.23:32
CurbuntuOh, GPU is nVidia GeForce4 440 Go 64 M.23:34
penguin42Curbuntu: I've been reading through the forum - hmm23:35
penguin42Curbuntu: I've got 2 old machines of my dads running various hacked 12.04s - they took a bit of a fight to get installed23:36
ali1234bios settings are unlikely to help you23:36
penguin42Curbuntu: One is a ~1GHz Athlon, the other is a Athlon XP2200 (1.8GHz) - I think the 1GHz has a Geforce223:36
penguin42Curbuntu: Will a text mode install work for you - one with no graphics at all?23:37
Curbuntupenguin42: Yes, I've gotten 12.04 to work -- and quite well -- on something as old as Eee PC, one of the early ones with the tiny screen and a 4 Gb "HDD."23:38
penguin42Curbuntu: Have you got a text mode 12.04 to work on that problematic machine?23:38
CurbuntuI've tried the alternate CD.  Was also asked to try knoppix 7.0 as well as 6.7.23:39
CurbuntuSo far, nothing has worked.  I keep thinking I'm missing something simple...23:39
penguin42Curbuntu: Try the ubuntu-server install, and you should be able to boot off USB so don't need to bother with actual CD burns23:39
CurbuntuSo you're saying, install server to the /root partition (/home is separate on all my machines), then sort of upgrade it with the Unity GUI?23:40
penguin42Curbuntu: Well don't even worry about the GUI at first - just see whether you can get it to boot stabily to a text login - then worry about the GUI23:41
DaraelCurbuntu: I'm going to assume you mean / rather than /root; having /root on a dedicated partition would be somewhat unusual ;)23:41
CurbuntuYes, /, not /root.  Sorry.  Trying to do too many things at once.  Meanwhile, I've started a torrent download of server 32-bit for 12.04.23:43
CurbuntuI keep wondering -- what would have changed after 10.04.3 that would keep live CDs from working?  Everything from 10.10 onwards fails on this machine.  And the CDs are "known good," since they work in other machines.23:45
penguin42Curbuntu: Ah there is so much that has changed in many places23:45
penguin42Curbuntu: It'll probably be some trivially tiny bug fix for something23:46
DaraelCurbuntu: Have you tried installing Lucid, upgrading to Precise, and booting with "quiet splash" removed from the GRUB command line, so you can see where it stops?  Wouldn't help fix the issue directly, but might help with diagnosis.23:48
CurbuntuAdmittedly, since it runs 10.04, I don't HAVE to upgrade it.  But I was hoping to get ALL of our machines running 12.04.  I have two 10.10 desktops that aren't getting updates any more.  But in our daily routine, this 'problem' laptop is the most expendable at the moment.23:49
penguin42Curbuntu: 12.04 was the 1st one which got the graphics working for my Geforce2 machine, and that's without Nvidias driver23:51
CurbuntuFor instance, in trying to test with a Lubuntu live CD, nomodeset, acpioff, and splash and quiet removed, thing hung right after "Starting CUPS printing spooler/server    [OK]"23:53
penguin42Curbuntu: Yeh I read your forum posts23:53
penguin42Curbuntu: I suspect that's a red-herring23:53
CurbuntuNo matter what color that herring is, something smells fishy about this machine!  ;-)23:54
penguin42Curbuntu: I suspect what's really happening is that whatever happens next (starting X maybe?) is the thing that fails, so it just comes down to what happens to be the last thing displayed that you see there23:54
CurbuntuYes, that's what I suspected -- the failed item never gets a chance to report.23:54
penguin42Curbuntu: Try to get a plain text mode going where you can get to a text mode login: prompt reliably, then add X23:55
CurbuntuWhen you say "plain text mode," are you referring to an alternate-install CD or something else?23:56
penguin42Curbuntu: I can't remember what each version ends up as, but certainly the server install used to never even do X or anything graphical - you just got a text login: prompt23:56
penguin42Curbuntu: I thought there was a way to do that with the alternate CD as well but I might be wrong23:57
CurbuntuI have to step away for 30 minutes.  Sorry...23:58
penguin42I may be gone by the time you return23:58

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!